Mana Stone Tier Production Factory Now V2.5 06/08/2014
Forum rules
Only post additional bot resources here. Please do not ask unrelated questions.
Only post additional bot resources here. Please do not ask unrelated questions.
-
- Posts: 13
- Joined: Mon Mar 24, 2014 3:24 am
Re: Mana Stone Tier Production Factory V2.4
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?
- Eggman1414
- Posts: 111
- Joined: Sun Jun 17, 2012 2:27 pm
Re: Mana Stone Tier Production Factory V2.4
What waypoint did you run that gave that error?
-
- Posts: 13
- Joined: Mon Mar 24, 2014 3:24 am
Re: Mana Stone Tier Production Factory V2.4
The Daily one in Elven Island
- Eggman1414
- Posts: 111
- Joined: Sun Jun 17, 2012 2:27 pm
Re: Mana Stone Tier Production Factory V2.4
post the error.
I have been using the daily with no problems, maybe just a syntax error or something small.
I have been using the daily with no problems, maybe just a syntax error or something small.
-
- Posts: 13
- Joined: Mon Mar 24, 2014 3:24 am
Re: Mana Stone Tier Production Factory V2.4
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.
-
- Posts: 13
- Joined: Mon Mar 24, 2014 3:24 am
Re: Mana Stone Tier Production Factory V2.4
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;
- Eggman1414
- Posts: 111
- Joined: Sun Jun 17, 2012 2:27 pm
Re: Mana Stone Tier Production Factory V2.4
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.
-
- Posts: 13
- Joined: Mon Mar 24, 2014 3:24 am
Re: Mana Stone Tier Production Factory V2.4
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
- Eggman1414
- Posts: 111
- Joined: Sun Jun 17, 2012 2:27 pm
Re: Mana Stone Tier Production Factory V2.4
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.
-
- Posts: 13
- Joined: Mon Mar 24, 2014 3:24 am
Re: Mana Stone Tier Production Factory V2.4
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.
- Eggman1414
- Posts: 111
- Joined: Sun Jun 17, 2012 2:27 pm
Re: Mana Stone Tier Production Factory V2.4
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.
Try this: http://www.solarstrike.net/phpBB3/viewt ... 867#p54867
I had the same problem awhile back and haven't had it since.
Re: Mana Stone Tier Production Factory V2.4
I believe those changes are part of the bot now.
From changelog 771;
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
- Eggman1414
- Posts: 111
- Joined: Sun Jun 17, 2012 2:27 pm
Re: Mana Stone Tier Production Factory V2.4
ahhhh did not know that. Well if it is part of the bot, I'm out of ideas now.
-
- Posts: 13
- Joined: Mon Mar 24, 2014 3:24 am
Re: Mana Stone Tier Production Factory V2.4
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.
- Eggman1414
- Posts: 111
- Joined: Sun Jun 17, 2012 2:27 pm
Re: Mana Stone Tier Production Factory V2.4
Ive been using this for a couple of months so I know it works, aside from the mailbox bug....
-
- Posts: 13
- Joined: Mon Mar 24, 2014 3:24 am
Re: Mana Stone Tier Production Factory V2.4
Yea I see other people's post so I know it works, just wish it did for me lol
- Eggman1414
- Posts: 111
- Joined: Sun Jun 17, 2012 2:27 pm
Re: Mana Stone Tier Production Factory V2.4
you have the bot updated to latest version right?
-
- Posts: 13
- Joined: Mon Mar 24, 2014 3:24 am
Re: Mana Stone Tier Production Factory V2.4
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.
Re: Mana Stone Tier Production Factory V2.4
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?
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?
Who is online
Users browsing this forum: No registered users and 1 guest