Need some help

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
rage447
Posts: 18
Joined: Thu Dec 22, 2011 9:56 am

Need some help

#1 Post by rage447 » Sat Jul 07, 2012 5:13 am

HI, While botting Dod with 4 chars sometimes i get a strange error with 1-3 of my chars.
Dont know what to do
Does anybody know what to do ?
Unbenannt.PNG

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Need some help

#2 Post by lisa » Sat Jul 07, 2012 6:28 am

Hmm interesting. well that line is

Code: Select all

partymemberpawn[i]:update()
Only thing I can think of is that the update is getting an occasional issue when a party member is zoning, so the memory address changes.

The error itself doesn't make sence for the line but it must be part of the update itself failing. Might have to look at it when I have a bit more time, unless Rock has some time to check it out.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Need some help

#3 Post by lisa » Sat Jul 07, 2012 6:51 am

Had a quick loot and I probably don't need to use the pawn update at all since all I want is the X Z values for distance calculation, so I could add in the actual memory reads into the function itself and then deal with errors in the function aswell.
I might get a little time tomorrow to have a look at it.

--=== Edit ===--

When you call the function checkparty(_dist) do you have a yrest of atleast 500 in the loop ?
If not try increasing the yrest to 500+ and then test it, the function uses an in game macro and might need the half a second between calls.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

rage447
Posts: 18
Joined: Thu Dec 22, 2011 9:56 am

Re: Need some help

#4 Post by rage447 » Sat Jul 07, 2012 7:34 am

This is may Waypoint

Code: Select all

  <!-- #  2 --><waypoint x="1673" z="-5004" y="760">
			
			
				  Countround()
              
			  
			    local groupnumber = RoMScript("GetNumPartyMembers()")
					if gcheck() == false then 
						cprintf(cli.red, "--==Not in a Groupe==--\n")
						repeat
						until gcheck() == true
						__WPL:setWaypointIndex(__WPL:findWaypointTag("enter"))
					else
						keyboardPress(key.VK_SPACE)
						repeat
						until checkparty(80) == true
						selfname()
						yrest(1000)
					end
					keyboardPress(key.VK_SPACE)
					yrest(2000)
				</waypoint>   

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Need some help

#5 Post by rock5 » Sat Jul 07, 2012 7:50 am

So that's your 'may' waypoint? May was awhile ago. Where are your June and July waypoints? :lol:
  • 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

rage447
Posts: 18
Joined: Thu Dec 22, 2011 9:56 am

Re: Need some help

#6 Post by rage447 » Sat Jul 07, 2012 7:52 am

Oh sry for my terrible english ^^

i forgot the second waypoint on which it chrashs

Code: Select all

!-- # 12 --><waypoint x="2186" z="2530" y="408" type="NORMAL" tag="bossfight"></waypoint>  yrest(5000)
               if gcheck() == true then
                  if Instancereset == true then
                     Boss_buff()
					 yrest(2000)
                     player:fight()
                  elseif not Instancereset == true then
                     keyboardPress(key.VK_SPACE)
					  yrest(5000)
                     local _time = os.time()
                     repeat
                     until checkparty(100) == true or (os.time() - _time > 120)
                     Boss_buff()
                     player:fight()
                  end
               elseif not gcheck() == true then
                  Boss_buff()
                  player:fight()
               end
			   player:lootAll()
			   player:loot()
			   player:loot()
            yrest(3000)

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Need some help

#7 Post by lisa » Sat Jul 07, 2012 7:30 pm

Code: Select all

                     repeat
                     until checkparty(100) == true or (os.time() - _time > 120)

add in a rest

Code: Select all

                     repeat
yrest(700)
                     until checkparty(100) == true or (os.time() - _time > 120)

Also give this file a try, goes in classes folder, just replace existing file
party.lua
changed partycheck to just update memory of Z and X and not entire pawn info.
(5.11 KiB) Downloaded 113 times
You can always go back to the default file by doing SVN revert on the file.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

rage447
Posts: 18
Joined: Thu Dec 22, 2011 9:56 am

Re: Need some help

#8 Post by rage447 » Sun Jul 08, 2012 11:43 am

Thanks Lisa =) Woking now perfekt.
830 mems/h

Post Reply

Who is online

Users browsing this forum: No registered users and 14 guests