help with bot running wild

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Message
Author
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: help with bot running wild

#21 Post by rock5 »

What values do you have in your profile for these options?

Code: Select all

		<option name="TARGET_LEVELDIF_ABOVE" value="3" />
		<option name="TARGET_LEVELDIF_BELOW" value="10" />
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan
mayainverse
Posts: 94
Joined: Tue Dec 21, 2010 3:12 am

Re: help with bot running wild

#22 Post by mayainverse »

now also refusing to use way points. and when it wanders it doesnt use the max wander radius it seems. will wander forever instead of around a small area
mayainverse
Posts: 94
Joined: Tue Dec 21, 2010 3:12 am

Re: help with bot running wild

#23 Post by mayainverse »

i set both to 99 because i was having problems. but its not with levels it does not target anything that does not have the ability to agro you withyout you attacking it. thats what it seems that is. the wander broken part gets anoying. got to babysit it alot. before i updated it worked perfectly though. would stay inside my given raidus.
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: help with bot running wild

#24 Post by rock5 »

mayainverse wrote:now also refusing to use way points. and when it wanders it doesnt use the max wander radius it seems. will wander forever instead of around a small area
What value do you have for MAX_TARGET_DIST?
mayainverse wrote:i set both to 99 because i was having problems. but its not with levels it does not target anything that does not have the ability to agro you withyout you attacking it. thats what it seems that is. the wander broken part gets anoying. got to babysit it alot. before i updated it worked perfectly though. would stay inside my given raidus.
Are you saying it only fights back when attacked? There are probably a few things that could be causing that. Instead of me trying to make a list, paste a copy of your profile and waypoint file here and I'll see if i can see what the problem is.
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan
mayainverse
Posts: 94
Joined: Tue Dec 21, 2010 3:12 am

Re: help with bot running wild

#25 Post by mayainverse »

i think max target distance is like 1000? thats not it though. the bot will actually wonder far far far away. even if i set waypoints it wanders. i find (before doing this update) wander fucntion was great no need to mess with waypoints and stays in general area.

here is my profile file. i do not see need to post waypoint file as it is just a very standard using normal waypoints in waypoint creator. I may or may not have the file set right now to wander/waypoints but i assure you I do switch them AND click save when I want to change between the 2.

the script at the very bottom i -- out because it does not work.
Attachments
characterprofile.xml
(7.36 KiB) Downloaded 282 times
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: help with bot running wild

#26 Post by rock5 »

mayainverse wrote:i think max target distance is like 1000? thats not it though. the bot will actually wonder far far far away. even if i set waypoints it wanders. i find (before doing this update) wander fucntion was great no need to mess with waypoints and stays in general area.
I don't know much about wander mode, never use it, but I don't think it's changed recently. In waypoint mode max target distance is how far it will go from the waypoint path chasing mobs. If you set a big enough value and there are enough mobs in the area, it may never get to the next waypoint! Try setting MAX_TARGET_DIST to something like 200 and see how it behaves.
mayainverse wrote:here is my profile file. i do not see need to post waypoint file as it is just a very standard using normal waypoints in waypoint creator. I may or may not have the file set right now to wander/waypoints but i assure you I do switch them AND click save when I want to change between the 2.

the script at the very bottom i -- out because it does not work.
Something you need to understand about waypoint files is they are xml files. The only lua code allowed must be between the tags. '--' is an lua command. You can't use it to comment out a tag. Instead, to comment out a tag you have to do something like this.

Code: Select all

<!--onSkillCast>
...
</onSkillCast-->
Although, if there are already xml comments between the tags, it probably wont work.

I see the error you were getting with hasBuff is because you didn't copy the example I gave you. player.hasBuff is different to player:hasBuff. Also I noticed when it goes to cast KNIGHT_ENHANCED_ARMOR, it doesn't have quotes around it so it wouldn't have worked. Sorry i didn't pick up on that earlier.

Hope that helps.
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan
mayainverse
Posts: 94
Joined: Tue Dec 21, 2010 3:12 am

Re: help with bot running wild

#27 Post by mayainverse »

well right now the error is not with has buff. and i allready tried your way it didnt work. i edited it back afterwards. but right now the error is being giving nil value on the first part of the script where it updatesbuffs


no it is defiantly on wander mode even though i specifically put it on waypoints. what wondermode does is just set its own waypoint 1 randomly pretty much and thats what it does. you can see in bot it always says "moving to waypoint #1" and its always moving when it says that to some random far off spot so puting in waypoints as movement pathtype is not working. and as waypoints it doesnt load waypoint file at all.
it doesnt have anything to do with ranges as those are unchanged from before updating and it worked fantastic then.

ah i didnt know about that commenting out but it does work so cant complain.


on a side note on my server golden eggs sell for 10-11k gold. and some ahole just put up nearly 2 thousand eggs for half that. I have no idea why you would undercut by so much you could get same results just undercut by 100gold
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: help with bot running wild

#28 Post by rock5 »

To me it looks like it's behaving like your installation of rombot is completely screwed up. It's behaving like it's in wander mode when it's in waypoint mode and it can't find updateBuffs and hasBuffs even though they do exist. I'm not sure how we can find the problem or problems.

Maybe we need to go back to basics. Leave your rom folder for the moment and create a new folder in the 'scripts' directory called something like 'test'. Right click it and select 'SVN Checkout'. Enter the svn url and click ok. Now you have a fresh installation of rombot. Create a new human character and test out the '1-10Pioneers' waypoint files by typing 'test/bot profile:l1-10 path:1-10Pioneers/l1t_start.xml'. See if it behaves as expected.
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan
mayainverse
Posts: 94
Joined: Tue Dec 21, 2010 3:12 am

Re: help with bot running wild

#29 Post by mayainverse »

does it have to be a mage or anything special?

would be nice to at least get the buff part to work because atm ithink all it does is attempt to press the buffs once every 5/15 minutes and they are important or else will die.
mayainverse
Posts: 94
Joined: Tue Dec 21, 2010 3:12 am

Re: help with bot running wild

#30 Post by mayainverse »

if you dont want it to attack a mob you do <friend name="Red_Skipper" /> right? or must it be all uppercase or something else sorry for all the trouble too :( i suck at this stuff. you guys must be pretty awsome to do all this lol.


edit: ok today the waypoints are working so are neutral mobs no dam idea what could have changed i have not touched my profile beyond changing the way point file name and do not know what could have changed with the neutral mobs really weird.
Post Reply