Page 1 of 1

Error at startup

Posted: Thu Dec 19, 2013 6:15 pm
by ZZZZZ
Getting this error when loading rombot now:

Code: Select all

Welcome to rom bot! press END to quitñññññññññññññññññññññññññññññññññññññ
RoM Bot Version 3.29, Revision 768ññññññññññññññññññññññññññññññññññññññññ
Press the (End) key to stop/pause the script.
You can resume with the (Delete) key.
The game client did not crash.
9:10am - E:/micromacro/scripts/rom/functions.lua:923: bad argument #1 to 'gsub'
(string expected, got nil)
Deleted functions and ran SVN update already, the bot was working last night after patch and now isnt this morning so im not sure what is wrong.

Re: Error at startup

Posted: Thu Dec 19, 2013 8:42 pm
by rock5
That error is in function utf8ToAscii_umlauts. This function is used in the following places: the character selection when more than one client is running, pawn names, object names and party member names. Most likely it has something to do with the character selection so I'm assuming you had more than one client running. Does it do it if you start the bot with only one client running? Also do you have any conflicting files after updating to 768 besides addresses.lua?

Re: Error at startup

Posted: Thu Dec 19, 2013 8:59 pm
by ZZZZZ
Only running 1 client when i attempted it, had no other MM windows open either. As for conflicted files it was only settings and functions which i manually change 2 values in anyway.


edit: Nvm, re-downloaded MM and after being prompted to update ingamefunctions its now working, idk why but hey xD

Re: Error at startup

Posted: Thu Dec 19, 2013 9:19 pm
by rock5
I'm assuming you are certain those changes had nothing to do with it?

Can't you think of anything you changed from last night?

You need to try different things to see if you can narrow it down. Try a different character, profile and waypoint file and see if that makes a difference. Also you could try removing the userfunctions in case it is a badly written userfunction causing the problem. The easiest way to do this is to rename the folder and then create a new empty userfunctions folder. You'll have to add a file in the folder or you will get an error, an empty txt file will do.