Page 101 of 111

Re: RoM bot

Posted: Fri Oct 09, 2009 4:54 am
by runedancer
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?

Re: RoM bot

Posted: Fri Oct 09, 2009 5:02 am
by Administrator
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?
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.

Re: RoM bot

Posted: Fri Oct 09, 2009 9:19 am
by runedancer
no, i've updated when those fixes came, also it worked (the beggining) for me, but like others after few minutes (10kills) i got that pawn or what error that auto stops bot. since then always the same...

edit: i had no "red" files marked, but i still deleted all lua files and uptadet again, it was the same result

edit2: i've tried now, will try again and tell if it works.

Re: RoM bot

Posted: Fri Oct 09, 2009 8:39 pm
by shotpuller
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.

Re: RoM bot

Posted: Sat Oct 10, 2009 1:18 am
by Administrator
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.
Looks like you failed to properly update. Delete all files (except your waypoints and profiles folder), then do another update.

Re: RoM bot

Posted: Sat Oct 10, 2009 1:49 pm
by shotpuller
thank you for the reply...it worked..its odd though because i did do the svn update and then every file that wasnt check marked i did indiviually.. but again thank you.. it does seem a little choppier than before but its still awesome!!

Re: RoM bot

Posted: Sat Oct 10, 2009 4:08 pm
by Maaa
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 ).

Re: RoM bot

Posted: Sat Oct 10, 2009 6:49 pm
by d003232
Maaa 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 ).
Try

Code: Select all

<option name="DEBUG_TARGET"		value="true" />
to help to find the reason.

Re: RoM bot

Posted: Sat Oct 10, 2009 9:45 pm
by Maaa
It doesnt show any errors, so I made a screenshot.

Re: RoM bot

Posted: Sat Oct 10, 2009 9:50 pm
by d003232
Maaa wrote:It doesnt show any errors, so I made a screenshot.
It seems not to use the debugging option. Post your profile to check that.

Re: RoM bot

Posted: Sun Oct 11, 2009 5:35 am
by BlackGod
Or he got all the mobs on hin friendlist... :D

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

Re: RoM bot

Posted: Sun Oct 11, 2009 7:57 am
by droppen
BlackGod wrote:Or he got all the mobs on hin friendlist... :D

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
sendMessage("test");

Re: RoM bot

Posted: Sun Oct 11, 2009 11:47 am
by maurice
Maaa wrote:It doesnt show any errors, so I made a screenshot.
try to change lvl for low mob.....

<!-- Attack monsters 3 levels above or 10 below your level -->
<option name="TARGET_LEVELDIF_ABOVE" value="3" />
<option name="TARGET_LEVELDIF_BELOW" value="10" />

Re: RoM bot

Posted: Sun Oct 11, 2009 2:46 pm
by BlackGod
droppen wrote:
BlackGod wrote:Or he got all the mobs on hin friendlist... :D

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
sendMessage("test");
Hey thank you!
but doesn't work...

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
What's wrong?

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>
How can I make it easier to display the wp in the ingame-chat?

Re: RoM bot

Posted: Sun Oct 11, 2009 3:20 pm
by d003232
BlackGod wrote:How can I make it easier to display the wp in the ingame-chat?

Code: Select all

addMessage(message)
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.

Re: RoM bot

Posted: Sun Oct 11, 2009 4:58 pm
by BlackGod
d003232 wrote:
BlackGod wrote:How can I make it easier to display the wp in the ingame-chat?

Code: Select all

addMessage(message)
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.
Ok thx!

But I need a variable like

Code: Select all

addMessage(actual_wp)
Do you know what I mean?
I don't wanna write "wp 1" , "wp 2"... and so on...
Do you have a solution for me?

Thanks in advance! :)
BlackGod

Re: RoM bot

Posted: Sun Oct 11, 2009 5:02 pm
by d003232
BlackGod wrote:But I need a variable like

Code: Select all

addMessage(actual_wp)
Do you know what I mean?
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);
But perhaps not for all cases. (or __RPL if you are on a return path).

Re: RoM bot

Posted: Sun Oct 11, 2009 5:06 pm
by BlackGod
d003232 wrote:

Code: Select all

addMessage(__WPL.CurrentWaypoint);
But perhaps not for all cases. (or __RPL if you are on a return path).
Wow... thanks for this fast answer! :D
I love this forum!
THX!!! :mrgreen:

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?

Re: RoM bot

Posted: Sun Oct 11, 2009 5:21 pm
by d003232
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);

Re: RoM bot

Posted: Sun Oct 11, 2009 5:42 pm
by BlackGod
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);
Thank you dude!
Works like a swatch! :lol:

good night