Re: RoM bot
Posted: Fri Oct 09, 2009 4:54 am
since there are many things to change or edit, will there be working SVN update, so i should wait for it or do i have to edit everything by hand?
The fixes have been on SVN for hours now. Why, are you still having problems? If so, try deleting any files marked with a red icon and then updating again.runedancer wrote:since there are many things to change or edit, will there be working SVN update, so i should wait for it or do i have to edit everything by hand?
Looks like you failed to properly update. Delete all files (except your waypoints and profiles folder), then do another update.shotpuller wrote:when i try running the bot (just updated via svn) i was comming up with unexpectd car near > setting.lua63...took care of that but new error states
pawn.lua:172: attempt to index global 'bot' <a nil value>
could someone please help me.. this program has been awesome but with last patch i started getting errors so i waited to do update.
TryMaaa wrote:I got a problem, the bot works fine for some minutes but then after a while he is just walking the path and is not attacking anything ( he targets the monsters, not only one:S ).
Code: Select all
<option name="DEBUG_TARGET" value="true" />
It seems not to use the debugging option. Post your profile to check that.Maaa wrote:It doesnt show any errors, so I made a screenshot.
sendMessage("test");BlackGod wrote:Or he got all the mobs on hin friendlist...![]()
But my question is, how could I send text messages to rom...
Like: "Macro test: send 1234 to macro place 2"...
I wanna see ingame what the bot do...
Could someone tell me the command for this plz?
Thx
try to change lvl for low mob.....Maaa wrote:It doesnt show any errors, so I made a screenshot.
Hey thank you!droppen wrote:sendMessage("test");BlackGod wrote:Or he got all the mobs on hin friendlist...![]()
But my question is, how could I send text messages to rom...
Like: "Macro test: send 1234 to macro place 2"...
I wanna see ingame what the bot do...
Could someone tell me the command for this plz?
Thx
Code: Select all
Sun Oct 11 21:51:16 2009 : [string "..."]:2: attempt to call global 'sendMessage' (a nil value)
Sun Oct 11 21:51:16 2009 : Execution error: Runtime error
Code: Select all
<waypoints>
<!-- # 1 --><waypoint x="-10258" z="-2871">
sendMessage("wp 1"); </waypoint>
<!-- # 2 --><waypoint x="-9868" z="-2737">
sendMessage("wp 2"); </waypoint>
<!-- # 3 --><waypoint x="-9664" z="-2873">
sendMessage("wp 3"); </waypoint>
<!-- # 4 --><waypoint x="-9539" z="-2701">
sendMessage("wp 4"); </waypoint>
<!-- # 5 --><waypoint x="-9313" z="-2521">
sendMessage("wp 5"); </waypoint>
<!-- # 6 --><waypoint x="-9505" z="-2368">
sendMessage("wp 6"); </waypoint>
<!-- # 7 --><waypoint x="-9455" z="-2205">
sendMessage("wp 7"); </waypoint>
<!-- # 8 --><waypoint x="-9157" z="-2257">
sendMessage("wp 8"); </waypoint>
<!-- # 9 --><waypoint x="-9001" z="-2404">
sendMessage("wp 9"); </waypoint>
<!-- # 10 --><waypoint x="-8818" z="-2590">
sendMessage("wp 10"); </waypoint>
<!-- # 11 --><waypoint x="-8917" z="-2812">
sendMessage("wp 11"); </waypoint>
<!-- # 12 --><waypoint x="-8756" z="-2923">
sendMessage("wp 12"); </waypoint>
<!-- # 13 --><waypoint x="-8547" z="-2971">
sendMessage("wp 13"); </waypoint>
<!-- # 14 --><waypoint x="-8801" z="-3327">
sendMessage("wp 14"); </waypoint>
<!-- # 15 --><waypoint x="-8856" z="-3550">
sendMessage("wp 15"); </waypoint>
<!-- # 16 --><waypoint x="-9262" z="-3547">
sendMessage("wp 16"); </waypoint>
<!-- # 17 --><waypoint x="-9416" z="-3096">
sendMessage("wp 17"); </waypoint>
<!-- # 18 --><waypoint x="-9767" z="-3013">
sendMessage("wp 18"); </waypoint>
<!-- # 19 --><waypoint x="-10076" z="-3273">
sendMessage("wp 19");
</waypoint>
</waypoints>
BlackGod wrote:How can I make it easier to display the wp in the ingame-chat?
Code: Select all
addMessage(message)
Ok thx!d003232 wrote:BlackGod wrote:How can I make it easier to display the wp in the ingame-chat?is the right command. You can do that in the WP file or modifie the bot.lua at around line 570 or player.lua at around line 1092.Code: Select all
addMessage(message)
Code: Select all
addMessage(actual_wp)
BlackGod wrote:But I need a variable likeDo you know what I mean?Code: Select all
addMessage(actual_wp)
I don't wanna write "wp 1" , "wp 2"... and so on...
Do you have a solution for me?
Thanks in advance!![]()
BlackGod
Code: Select all
addMessage(__WPL.CurrentWaypoint);
Wow... thanks for this fast answer!d003232 wrote:But perhaps not for all cases. (or __RPL if you are on a return path).Code: Select all
addMessage(__WPL.CurrentWaypoint);
BlackGod wrote: But how can I combine normal text messages with with?
I wanna send "BOT: __WPL.CurrentWaypoint"
How does it have to look in my script?
Code: Select all
addMessage("BOT:"..__WPL.CurrentWaypoint);
Thank you dude!d003232 wrote:BlackGod wrote: But how can I combine normal text messages with with?
I wanna send "BOT: __WPL.CurrentWaypoint"
How does it have to look in my script?Code: Select all
addMessage("BOT:"..__WPL.CurrentWaypoint);