Mana Stone Tier Production Factory Now V2.5 06/08/2014

Additional botting resources. Addons may be either for the game itself or for the RoM bot.
Forum rules
Only post additional bot resources here. Please do not ask unrelated questions.
Message
Author
Sasuke
Posts: 503
Joined: Mon May 17, 2010 3:40 pm
Location: Poland

Re: Mana Stone Tier Production Factory V2.4

#41 Post by Sasuke » Sat Mar 08, 2014 10:26 pm

ty i try

SouthernLights
Posts: 13
Joined: Mon Mar 24, 2014 3:24 am

Re: Mana Stone Tier Production Factory V2.4

#42 Post by SouthernLights » Mon Mar 24, 2014 3:27 am

Ok I have dl'd all the userfunctions and all waypoints and everything is where it should be.. I believe lol I keep getting the error Failed to compile and run Lua code for waypointlist onLoad event. I have read through the posts but have not seen how to fix this. Any help?

User avatar
Eggman1414
Posts: 111
Joined: Sun Jun 17, 2012 2:27 pm

Re: Mana Stone Tier Production Factory V2.4

#43 Post by Eggman1414 » Tue Mar 25, 2014 3:54 am

What waypoint did you run that gave that error?

SouthernLights
Posts: 13
Joined: Mon Mar 24, 2014 3:24 am

Re: Mana Stone Tier Production Factory V2.4

#44 Post by SouthernLights » Tue Mar 25, 2014 4:53 am

The Daily one in Elven Island

User avatar
Eggman1414
Posts: 111
Joined: Sun Jun 17, 2012 2:27 pm

Re: Mana Stone Tier Production Factory V2.4

#45 Post by Eggman1414 » Tue Mar 25, 2014 6:45 am

post the error.

I have been using the daily with no problems, maybe just a syntax error or something small.

SouthernLights
Posts: 13
Joined: Mon Mar 24, 2014 3:24 am

Re: Mana Stone Tier Production Factory V2.4

#46 Post by SouthernLights » Tue Mar 25, 2014 8:01 am

desktop/micromacro/scripts/rom/classes/waypointlist.lua:83: Failed to compile and run Lua code for waypointlist onLoad event. That might be a 0 instead of an 8.

SouthernLights
Posts: 13
Joined: Mon Mar 24, 2014 3:24 am

Re: Mana Stone Tier Production Factory V2.4

#47 Post by SouthernLights » Thu Mar 27, 2014 12:54 am

Code: Select all

	table.insert(self.Waypoints, tmp);
		elseif( string.lower(name) == "onload" ) then
			if( string.len(action) > 0 and string.find(action, "%w") ) then
				self.onLoadEvent = loadstring(action);
				assert(self.onLoadEvent, sprintf(language[152]));

				if( _G.type(self.onLoadEvent) ~= "function" ) then
					self.onLoadEvent = nil;
				end;
Im guessing its saying something is wrong here at the line assert(self.onLoadEvent.......but what I don't have the foggiest.

User avatar
Eggman1414
Posts: 111
Joined: Sun Jun 17, 2012 2:27 pm

Re: Mana Stone Tier Production Factory V2.4

#48 Post by Eggman1414 » Thu Mar 27, 2014 2:04 am

ok quickest way to solve this issue. Copy the onLoad section of daily.xml and make a new file but has a .lua extension, and paste that code. It should show you where the error is. Maybe its 2 commas somewhere.

SouthernLights
Posts: 13
Joined: Mon Mar 24, 2014 3:24 am

Re: Mana Stone Tier Production Factory V2.4

#49 Post by SouthernLights » Thu Mar 27, 2014 5:56 pm

so i copied the onload code from daily pasted in its own file and saved it as a lua. still not sure what i should be looking for mistake wise. i am noob to writing code :(

User avatar
Eggman1414
Posts: 111
Joined: Sun Jun 17, 2012 2:27 pm

Re: Mana Stone Tier Production Factory V2.4

#50 Post by Eggman1414 » Fri Mar 28, 2014 3:05 am

well the only way to really know what is causing the errors, we need to see the waypoint file. Unfortunately you will have to remove all the personal data.

SouthernLights
Posts: 13
Joined: Mon Mar 24, 2014 3:24 am

Re: Mana Stone Tier Production Factory V2.4

#51 Post by SouthernLights » Fri Mar 28, 2014 4:06 am

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints type="TRAVEL">
<onLoad>
<!-- Eggman1414's Mana Stone Production Script      -->
<!--                   V2.4                         -->
<!--                01/26/2014                      -->
<!--       Two User options need changed            -->
<!--            line 11 and line 18                 --> 
	  
	  
	  function buycharges()
         BuyFromItemShop(896, ""*********"") <!--Insert your secondary password inside the quotes. ex: BuyFromItemShop(896, "romiscool")-->
      end

      NpcID = 112794
      QName = "Helping Them Grow" 
	  
	function relog()						<!--Put your Character list here see http://www.solarstrike.net/phpBB3/viewtopic.php?f=27&t=1245 for more info-->
         SetCharList({{
            {account=1 , chars= {}},
            {account=2 , chars= {1}},
		},{
			{account=3 , chars= {}},
			{account=4 , chars= {}},
		},{
			{account=5 , chars= {}},
        }})
         LoginNextChar()
         yrest(3000)
         player:update()
         loadProfile()
         loadPaths("Daily.xml");
	end
											<!-- Uses botje's cleanbag functions, see http://www.solarstrike.net/phpBB3/viewtopic.php?f=27&t=2849 for more info -->
		function kill_stupid_newbie_pet()
			if player:findNearestNameOrId(113199) then  -- search vicinity for Newbie Pet
				inventory:update()
				if (inventory:itemTotalCount(207051) > 0) then
					inventory:useItem(207051)
					local newbEgg = inventory:findItem(207051); -- Newbie Pet Egg
					if newbEgg ~= nil then
						inventory:deleteItemInSlot(newbEgg.SlotNumber)
					end
				end
			end
		end
											<!-- Uses botje's cleanbag functions, see http://www.solarstrike.net/phpBB3/viewtopic.php?f=27&t=2849 for more info -->		
		function delete_atonement_voucher()
			if (inventory:itemTotalCount(207082) > 0) then
				local voucher = inventory:findItem(207082); -- Atonement Voucher
				if voucher ~= nil then
						inventory:deleteItemInSlot(voucher.SlotNumber)
				end
			end
		end
</onLoad>
<!-- # 1 --><waypoint x="31847" z="4592" tag ="Main">
	kill_stupid_newbie_pet();
	delete_atonement_voucher();
      if player.Level == 1 then
	  loadPaths("Pre_Daily.xml");
	  end
	  
	  local queststate = getQuestStatus(QName);
      if queststate == "complete" then
         player:target_NPC(NpcID);
         CompleteQuestByName(QName);
         yrest(300);
      end
      
      local dqCount, dqPerDay = RoMScript("Daily_count()");
      if dqPerDay == dqCount then      
         phirCoins = inventory:itemTotalCount(203038)
         print("We have "..phirCoins.." phirius coins")
         amountToBuy = phirCoins / 100
         print("trying to buy "..amountToBuy.." 10x arcane transmutor charges packs")
         repeat 
            buycharges()
            yrest(1000);
            amountToBuy = amountToBuy - 1
			if RoMScript("IsMagicBoxEnable()") then
			while inventory:itemTotalCount(202928) >0 do
            inventory:useItem(202928)
			end
			end
            yrest(10);
            print("Using 10x arcane transmutor pack")
         until 1 > amountToBuy
		 loadPaths("makefusion.xml");
      else
         player:target_NPC(NpcID);
         AcceptQuestByName(QName,NpcID);
         yrest(300);
      end
   </waypoint>
   <!-- #  3 --><waypoint x="31860" z="4646" y="9">   </waypoint>
   <!-- #  2 --><waypoint x="31742" z="5070" y="-11">   </waypoint>
   <!-- #  1 --><waypoint x="31416" z="5715" y="-33" tag = "Item">   
      queststate = getQuestStatus(QName)
      if queststate == "incomplete" then
         player:target_Object(112976,300);
         yrest(2500);
         __WPL:setWaypointIndex(__WPL:findWaypointTag("Item"));
      end
    </waypoint>
   <!-- #  1 --><waypoint x="31416" z="5715" y="-33">   </waypoint>
   <!-- #  2 --><waypoint x="31742" z="5070" y="-11">   </waypoint>
   <!-- #  3 --><waypoint x="31860" z="4646" y="9">   </waypoint>
   <!-- #  4 --><waypoint x="31847" z="4583" y="9">   </waypoint>
</waypoints>

It should be exactly as yours as it is the one I downloaded. I took out the secondary password.

User avatar
Eggman1414
Posts: 111
Joined: Sun Jun 17, 2012 2:27 pm

Re: Mana Stone Tier Production Factory V2.4

#52 Post by Eggman1414 » Fri Mar 28, 2014 5:37 am

hmm I'm not seeing anything out of the ordinary. You said you get the error when you run daily.xml?

Try this: http://www.solarstrike.net/phpBB3/viewt ... 867#p54867

I had the same problem awhile back and haven't had it since.

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

Re: Mana Stone Tier Production Factory V2.4

#53 Post by rock5 » Fri Mar 28, 2014 9:36 am

I believe those changes are part of the bot now.

From changelog 771;
- Added feature to __WPL:getNearestWaypoint. Now you can specify a range of waypoints to look in.
  • 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

User avatar
Eggman1414
Posts: 111
Joined: Sun Jun 17, 2012 2:27 pm

Re: Mana Stone Tier Production Factory V2.4

#54 Post by Eggman1414 » Fri Mar 28, 2014 7:39 pm

ahhhh did not know that. Well if it is part of the bot, I'm out of ideas now.

SouthernLights
Posts: 13
Joined: Mon Mar 24, 2014 3:24 am

Re: Mana Stone Tier Production Factory V2.4

#55 Post by SouthernLights » Sat Mar 29, 2014 3:15 am

Well fooey. Was hoping I could use this to make some tier stones with all the garden alts I created. But alas, it seems it is not to be.

User avatar
Eggman1414
Posts: 111
Joined: Sun Jun 17, 2012 2:27 pm

Re: Mana Stone Tier Production Factory V2.4

#56 Post by Eggman1414 » Sat Mar 29, 2014 3:19 am

Ive been using this for a couple of months so I know it works, aside from the mailbox bug....

SouthernLights
Posts: 13
Joined: Mon Mar 24, 2014 3:24 am

Re: Mana Stone Tier Production Factory V2.4

#57 Post by SouthernLights » Sat Mar 29, 2014 4:16 am

Yea I see other people's post so I know it works, just wish it did for me lol

User avatar
Eggman1414
Posts: 111
Joined: Sun Jun 17, 2012 2:27 pm

Re: Mana Stone Tier Production Factory V2.4

#58 Post by Eggman1414 » Sat Mar 29, 2014 6:07 am

you have the bot updated to latest version right?

SouthernLights
Posts: 13
Joined: Mon Mar 24, 2014 3:24 am

Re: Mana Stone Tier Production Factory V2.4

#59 Post by SouthernLights » Mon Mar 31, 2014 5:36 am

I assume so. How would I check? I mean I know I've updated to revision 772 as of now, and continue to have the same issue with the small exception that the error says line 84 instead of 83.

User avatar
cowbot7
Posts: 27
Joined: Tue Oct 04, 2011 4:25 pm

Re: Mana Stone Tier Production Factory V2.4

#60 Post by cowbot7 » Thu Apr 24, 2014 9:26 am

I log into first character and run Daily.xml waypoint it did the dailies and bought 10 AT tokens, then it walked to the mailbox on Elf Island and MicroMacro got a error.

The game client did not crash.
10:3am - ...cripts/rom/userfunctions/addon_Rock5s_Mail_Functions.lua:66: The UMM
mail interface needs to be open first before using the UMM_TakeMail() function.

What can i do to fix this?

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest