- Joined
- Aug 20, 2009
- Messages
- 1,554
I prototyped a text based database convertor.
What this basically need to do is take the first 4 field from Re DB, and get the rest of the field from Pre DB with slight modification of string.
This is a tool I rapidly prototyped in Python for my Ragnarok Online Private Server,
its far from done, but If anyone could help me solve the error, that would be helpful!
This is the error I am getting after running the program
Here is the file
kRO to jRO DB converter
Thank you for reading!
What this basically need to do is take the first 4 field from Re DB, and get the rest of the field from Pre DB with slight modification of string.
This is a tool I rapidly prototyped in Python for my Ragnarok Online Private Server,
its far from done, but If anyone could help me solve the error, that would be helpful!
This is the error I am getting after running the program
Code:
Traceback (most recent call last):
File "C:\Users\Gekigengar\Desktop\kRO to jRO converter Project\kRO 2 jRO mobdb converter\kRO 2 jRO Mob Converter Functions v0.03 Alpha.py", line 232, in <module>
MakeOutput(renewal_File, prerenewal_File, output_File, TEST_NUM)
File "C:\Users\Gekigengar\Desktop\kRO to jRO converter Project\kRO 2 jRO mobdb converter\kRO 2 jRO Mob Converter Functions v0.03 Alpha.py", line 205, in MakeOutput
wholeString = ProcessDBLine(renewal_DB,prerenewal_DB,x)
File "C:\Users\Gekigengar\Desktop\kRO to jRO converter Project\kRO 2 jRO mobdb converter\kRO 2 jRO Mob Converter Functions v0.03 Alpha.py", line 133, in ProcessDBLine
processed_String = processed_String + GetDBEntry(renewal_DB,num,z) + ','
File "C:\Users\Gekigengar\Desktop\kRO to jRO converter Project\kRO 2 jRO mobdb converter\kRO 2 jRO Mob Converter Functions v0.03 Alpha.py", line 84, in GetDBEntry
if wholeString[ch] == ',' or wholeString[ch:ch+EXIT_LENGTH] == EXIT_CODE:
IndexError: string index out of range
Here is the file
kRO to jRO DB converter
Thank you for reading!
Last edited: