Page 1 of 1
Bot Not Communicating With RoM Since Update
Posted: Sat Aug 14, 2010 12:43 pm
by althalos
The bot will not communicate with RoM since the last update, but only on my laptop. It still works fine on my desktop. Running Windows 7 64 bit on both, same version. I am following the advice on the stickied topic for macros not working:
We need the following informations from you to check the reasen:
* Do you see the message 'MACRO test: send value 1234 to macro place 2' within your ingame chat or not?
* Do you see the message 'MACRO test: test failed !!! No return values found!' within your ingame chat or not?
* Please post the content of the macro space 1 (after the failure)
* Please post the content of the macro space 2 (after the failure)
* Please post the last 10 line of your MM windows
* Please be really sure you created a dummy macro at macro place 1 and assigned that ingame to the action button with the key from your profile option '<hotkey name="MACRO" key="VK_0" />'.
I do not see either message.
Content of macro space 1:
Code: Select all
/script r='' a={1234;ChatFrame1:AddMessage("MACRO test: send value 1234 to macro place 2");} for i=1,#a do r=r..tostring(a[i]) r=r..' ' end EditMacro(2,'',7,r);
There is no macro 2
Macro is at hotkey 0 and profile is as quoted - everything is as it should be in profile options and ingame. Macro hotkey flashes ingame on key 0, but nothing happens. I have deleted the macros, closed the game, deleted the macro.bsd file, restarted the game, created the new empty macro, same thing happens - or nothing, that is.
Bot reads:
Code: Select all
Resumed.
OPENING LOCAL SKILLS DB!
RoM windows size is 667x690, upper left corner at 691,30
[DEBUG] TIMEOUT in RoMScript ...
The communication to the game with the MACRO function seems not to work.
Define ingame an empty macro at the FIRST macro space and assign that to your MA
CRO hotkey '0'.
Is anyone else having this problem? I am very confused. Please let me know if any other information is needed.
Re: Bot Not Communicating With RoM Since Update
Posted: Sat Aug 14, 2010 4:14 pm
by Administrator
SVN revert to r488. If that doesn't work, reinstall the game. RoM's updater is absolute garbage and, more often than not, ends up breaking something.
Re: Bot Not Communicating With RoM Since Update
Posted: Sun Aug 15, 2010 5:30 am
by Rom Botter
Are u running PBinfo 0.50 FIX or not?
if not update pbinfo and it will work

(at least it did for me)
Re: Bot Not Communicating With RoM Since Update
Posted: Sun Aug 15, 2010 7:04 am
by althalos
I applied the pbinfo 0.50 fix. Now the bot causes the client to crash, on r488 or r489. Here is the code from the bot:
Code: Select all
The macro is currently not running. Press the start key (Delete) to begin.
You may use (End) key to stop/pause the script.
Resumed.
OPENING LOCAL SKILLS DB!
RoM windows size is 667x690, upper left corner at 691,30
MACRO Test: ok
[DEBUG] TIMEOUT in RoMScript ...
Error while reading the language settings of the game. Have you assigned your e
pty MACRO ingame? Please restart the bot and/or the games client.Ranged skill f
und: WARRIOR_SURPRISE_ATTACK
[DEBUG] CPU Frequency 2045.703
Loading items tables.
100% [**************************************************]
Wrong value returned in update of item id: 210305
Waypoint files from C:/Users/Tony/Runes of Magic Associated Programs/micromacro
scripts/rom:
0: wander 17: 1-10Pi../l9-10_bugs_r 34: demo_return.xml
1: .xml 18: 1-10Pi../l9t_9-10_bug 35: Howling Mountains Gr
2: 1-10Pi../l10t_classha 19: adds.xml 36: Howling Mountains Ti
3: 1-10Pi../l10t_postbox 20: Aslan Anteater.xml 37: Lake of Eternal Sile
4: 1-10Pi../l1t_start.xm 21: Aslan Bear.xml 38: n0.xml
5: 1-10Pi../l2-3_wolf.xm 22: Aslan Boar.xml 39: RBAssist.xml
6: 1-10Pi../l2-3_wolf_re 23: Aslan Demonthorns.xml 40: Reindeer Return.xml
7: 1-10Pi../l3-4_bear.xm 24: Aslan Repair By Carl. 41: Tagena Patrolman and
8: 1-10Pi../l3-4_bear_re 25: Aslan Snoop to Miles. 42: Test.xml
9: 1-10Pi../l3t_3-4_bear 26: Bloody Gallery.xml 43: testpath.xml
10: 1-10Pi../l4t_5-7_beet 27: Cyclops Return.xml 44: Varanas - Copper She
11: 1-10Pi../l4t_logar.xm 28: demo.xml 45: Varanas.xml
12: 1-10Pi../l5-7_beetle. 29: demo1.xml 46: varanasboarbeetle.xm
13: 1-10Pi../l7-9_boar.xm 30: demo2.xml 47: varanaschargeboarbee
14: 1-10Pi../l7-9_boar_re 31: demo3.xml 48: Ystra Frostwood Cycl
15: 1-10Pi../l7t_7-9_boar 32: demo3_return.xml 49: Ystra Frostwood Cycl
16: 1-10Pi../l9-10_bugs.x 33: demo_npc.xml 50: Ystra Frostwood Cycl
17: 1-10Pi../l9-10_bugs_r 34: demo_return.xml 51: Ystra Khazor Reindee
Enter the number of the path you want to use and press Enter >
I am running the english us server.
As always, thanks again.
Re: Bot Not Communicating With RoM Since Update
Posted: Sun Aug 15, 2010 6:40 pm
by althalos
To confuse the matter more, the problem appears to be account specific. The other account I have runs on my desktop, and laptop, but the main botting account does not work on either. I'm glad that the problem is not with the computer or client on my laptop, but now I am double confused as to what could be causing the timeout and language problems that the bot gave me.
Re: Bot Not Communicating With RoM Since Update
Posted: Sun Aug 15, 2010 8:56 pm
by Administrator
As posted hundreds of times before, delete My Documents/Runes of Magic/<character>/Macro.bsd.
Re: Bot Not Communicating With RoM Since Update
Posted: Sun Aug 15, 2010 9:20 pm
by rock5
Administrator wrote:As posted hundreds of times before, delete My Documents/Runes of Magic/<character>/Macro.bsd.
I thought he said he did that?
althalos wrote:I have deleted the macros, closed the game, deleted the macro.bsd file, restarted the game, created the new empty macro, same thing happens - or nothing, that is.
Re: Bot Not Communicating With RoM Since Update
Posted: Sun Aug 15, 2010 10:23 pm
by Administrator
He also stated that it was account specific, so he would need to delete Macro.bsd for every character under every account.
Re: Bot Not Communicating With RoM Since Update
Posted: Mon Aug 16, 2010 6:53 am
by althalos
I will attempt to delete every macro.bsd for every account, even those I don't bot with. Thank you for the advice. I will let you know how it goes.
Re: Bot Not Communicating With RoM Since Update
Posted: Tue Aug 17, 2010 6:40 am
by althalos
Ya, still not working. I have no idea what is going on - obviously this is something in this game account or character. I am posting the crash report from the client, if anybody's interested, and just hope that the problem eventually resolves itself.
Re: Bot Not Communicating With RoM Since Update
Posted: Tue Aug 17, 2010 6:54 am
by Administrator
Yeah, it's definitely something wrong with the game client. Have you tried uninstalling and then completely redownloading and installing a new copy?
Re: Bot Not Communicating With RoM Since Update
Posted: Tue Aug 17, 2010 2:27 pm
by althalos
Did a clean install and same thing. Client crashed. I guess I lost that botting account (or at least the character, I only had one on that account).
Re: Bot Not Communicating With RoM Since Update
Posted: Tue Aug 17, 2010 9:21 pm
by Administrator
If you manually use a macro on that character, does it still crash?
Re: Bot Not Communicating With RoM Since Update
Posted: Wed Aug 18, 2010 3:25 pm
by althalos
No - I created the use skill script and it executed just fine. I think there is a problem with the bot using a script function to call up the language settings (as evidenced by the error message). I was reading through the settings.lua file to find the error message generated from the english.lua file in the language folder. What is still confusing me, is why this is the only character this error occurs with. Obviously I can't send the crash report to RoM, or I would endanger the bot (and possibly my account). If I could use only that script function that is causing the client to crash, while not running the bot, I would feel safer about sending the crash report and letting RoM deal with my problem.
Re: Bot Not Communicating With RoM Since Update
Posted: Fri Aug 20, 2010 8:30 am
by althalos
Update - it appears to be character specific. I created a new character on the account and it works fine. I don't know what's going on. Any help would be appreciated; I considered running the scripts that generate the error response separately, and sending the crash report to RoM then, to not endanger my account, but so far I have been unsuccessful in running the script that causes the client to crash. I don't even know if I am running the right scripts; I have been trying to read through the lua files for clues. If anyone has an idea of what scripts I could run that cause the error message, I would appreciate it - I can then run the script alone and let RoM fix the account.
Re: Bot Not Communicating With RoM Since Update
Posted: Fri Aug 20, 2010 8:42 am
by Administrator
I'm not even sure where to begin debugging this one. The bot doesn't do anything that would cause a client crash because it's not modifying the client at all.
Could you maybe try re-creating the profile from scratch (making only necessary changes; no extra scripting in any of the events or waypoint scripts) to see if that helps?
Re: Bot Not Communicating With RoM Since Update
Posted: Fri Aug 20, 2010 10:36 am
by althalos
Yes, I will try that. I will copy the default profile over the current one. Failing that, I will also try to run all the scripts I can find in all the bot files, to determine which may be causing the crash. I will then send the crash report to RoM to let them take care of the problem. All RoM script should be preceeded by the "Romscript" header, correct? Before I go ahead with this, I want to ensure I will bot be endangering the bot itself, and all my fellow botters, by running individual scripts (not running the bot, and sending the report to RoM after the crash - this seems like iniviting trouble).
Re: Bot Not Communicating With RoM Since Update
Posted: Fri Aug 20, 2010 10:47 am
by althalos
Same deal. Default profile caused crash. Hopefully if I can find the script that is causing the client to crash, RoM will fix this character. Would still like the go ahead, due to the reasons mentioned in the previous post.
Re: Bot Not Communicating With RoM Since Update
Posted: Fri Aug 20, 2010 10:48 am
by Administrator
Yes, RoMScript() should be used for calling macros within the game client by the bot. However, you might also see sendMacro() (which uses RoMScript()) in some instances.
Re: Bot Not Communicating With RoM Since Update
Posted: Sun Aug 22, 2010 3:34 am
by MiesterMan
Are there any manual addon functions you created that you only use on that character? It can only be something unique to that character that's causing the crash. Possibly something involving loops (which rom will either drop or vomit into your computer uncontrollably).