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
User avatar
Eggman1414
Posts: 111
Joined: Sun Jun 17, 2012 2:27 pm

Re: Mana Stone Tier Production Factory V2.4

#101 Post by Eggman1414 » Sun Jun 08, 2014 3:35 am

Ok i will be uploading V2.5 later tonight.
Main feature is the addition of Wailing Fjord as a location to buy belts. (finally!!)
You can now buy and send belts in a fraction of the time it took when in Sarlo.
I have left Sarlo as a location just in case someone needs it.

I have included changes to better help against the mail bug. Make sure you update Rock5's Mail Userfunction

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

Re: Mana Stone Tier Production Factory V2.4

#102 Post by rock5 » Sun Jun 08, 2014 3:46 am

Having multiple locations to work from is always a good idea because users might not be able to get to the new zones yet. Just keep that in mind when thinking about removing a location.
  • 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.5

#103 Post by Eggman1414 » Sun Jun 08, 2014 4:26 am

Updated to V2.5 :) see first page for download

famousk
Posts: 10
Joined: Sat Jun 07, 2014 9:20 am

Re: Mana Stone Tier Production Factory V2.5

#104 Post by famousk » Sun Jun 08, 2014 1:01 pm

Eggman1414 wrote:Updated to V2.5 :) see first page for download
thanks for the update! love the option to choose between sarlo and and WF so much faster to buy belts in WF

famousk
Posts: 10
Joined: Sat Jun 07, 2014 9:20 am

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

#105 Post by famousk » Thu Jun 12, 2014 9:16 am

i am having an issue with the Wailing Fjord part of the new buy belt waypoint, it buys the belts but it doesn't open the mailbox so it just keeps buying belts and not sending any. everything seems to work fine in sarlo but not in Wailing Fjord =/

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

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

#106 Post by rock5 » Thu Jun 12, 2014 10:34 am

Do you have the latest version of the mail userfunction? http://www.solarstrike.net/phpBB3/viewt ... 952#p12952 I added an exception for the Wailing Fjord mail box in the latest version.
  • 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
buchaneer
Posts: 33
Joined: Tue Jul 01, 2014 4:30 pm

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

#107 Post by buchaneer » Tue Jul 01, 2014 4:48 pm

Hi everyone,

I am very new to this (coding) but i am prepared to tinker with it especially when it injects new life into RoM and other games.

I have been trying to get this "Mana stone production factory" working and after a few days of tinkering, I have succeded in the most part. However, I am now really stuck. After a character has finished making stones and ready to move to the next character, the system stops and I get this message:

The game client did not crash.
2014-07-01 22:23:25 - ...Live\Games\GBR_eng\Runes Of Magic\micromacro\lib\lib.lu
a:486: stack overflow



Please enter the script name to run.
Type in 'exit' (without quotes) to exit.
Script>


Can anybody help me get past this. In anticipation..many thanks
Tradition and Dogma are the killers of Innovation. challenge them and change them!

User avatar
buchaneer
Posts: 33
Joined: Tue Jul 01, 2014 4:30 pm

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

#108 Post by buchaneer » Tue Jul 01, 2014 4:54 pm

Sorry, I thought I was being helpful painting the text yellow as in the MM message but, you cannot read it!

Here is the bit in yellow:
2014-07-01 22:23:25 - ...Live\Games\GBR_eng\Runes Of Magic\micromacro\lib\lib.lu
a:486: stack overflow
Tradition and Dogma are the killers of Innovation. challenge them and change them!

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

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

#109 Post by Eggman1414 » Wed Jul 02, 2014 1:47 am

hmmmm never seen that error before. Maybe Rock or someone with some more experience can divulge some information.

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

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

#110 Post by rock5 » Wed Jul 02, 2014 2:08 am

I think my lib.lua is not the same. Tell me what version of micromacro you are using and what's on line 486 of lib.lua.
  • 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
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

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

#111 Post by lisa » Wed Jul 02, 2014 2:35 am

you get that if you have an infinite loop that is doing something, ie memory reads.

Usually an issue with your coding.
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
buchaneer
Posts: 33
Joined: Tue Jul 01, 2014 4:30 pm

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

#112 Post by buchaneer » Wed Jul 02, 2014 4:22 am

I think my lib.lua is not the same. Tell me what version of micromacro you are using and what's on line 486 of lib.lua.
My MM version is 1.04.154 and line 486:
485 local function global_hotkey_hook(event, line)
486:if( keyPressed(key.VK_CONTROL) and keyPressed(key.VK_L) ) then
487: local ah = getAttachedHwnd();
488: local fw = foregroundWindow();
you get that if you have an infinite loop that is doing something, ie memory reads.

Usually an issue with your coding.
This is quite possible as my coding is non existent :oops:
Tradition and Dogma are the killers of Innovation. challenge them and change them!

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

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

#113 Post by rock5 » Wed Jul 02, 2014 4:37 am

To tell you the truth I wouldn't even know how to intentionally make that error happen so trying to debug it will be difficult.

You could try the latest stable version of micromacro. I believe currently the stable 1 is a higher version than the beta.
  • 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
buchaneer
Posts: 33
Joined: Tue Jul 01, 2014 4:30 pm

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

#114 Post by buchaneer » Wed Jul 02, 2014 7:38 pm

Many thanks Rock.. I will try this and let you all know how I get on :|
Tradition and Dogma are the killers of Innovation. challenge them and change them!

User avatar
buchaneer
Posts: 33
Joined: Tue Jul 01, 2014 4:30 pm

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

#115 Post by buchaneer » Thu Jul 03, 2014 1:06 pm

Well..I installed the latest Stable release v1.04.167. The same problem exists but with different lines affected.

The game client did not crash.
2014-07-03 16:54:46 - ...Live\Games\GBR_eng\Runes Of Magic\micromacro\lib\lib.lu
a:491: stack overflow


490 local function global_hotkey_hook(event, line)
491 if( keyPressed(key.VK_CONTROL) and keyPressed(key.VK_L) ) then
492 local ah = getAttachedHwnd();
493 local fw = foregroundWindow();
494 if( ah == fw or fw == getHwnd() ) then
495 stopPE();

which if I guess correctly means "If Ctrl+L are pressed, then do something" :?
Tradition and Dogma are the killers of Innovation. challenge them and change them!

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

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

#116 Post by rock5 » Thu Jul 03, 2014 11:37 pm

That's something that is always run. Why you are getting a stack overflow error I don't know. If no one else is getting this error while using these scripts then it has to be something you are doing different. Have you changed anything in the scripts you are using?
  • 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
buchaneer
Posts: 33
Joined: Tue Jul 01, 2014 4:30 pm

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

#117 Post by buchaneer » Fri Jul 04, 2014 6:23 am

I have only changed those parts where a change has been intended. However, I might have done this incorrectly as shown below :|

userfuntion_LoginNextCharacter.lua

Code: Select all

local charList = {}
local CharacterLoadCount = 1
local RestartClientInterval = 0 -- Restarts client after this many character changes. 0 means 'disabled'.

function SetCharList(_table)
	
		SetCharList({
			{account=2, chars= {}},
			
		})
Daily.xml

Code: Select all

function relog()						
         SetCharList({{
            {account=2 , chars= {1,2,3,4,5,6,7,8}},
		
        }})
If this is ok, then I will wipe and reinstall the entire set

@Eggman1414
I have a few observations of the Buybelts and Buyfusion routines. However, I'll sort this problem out 1st before going onto those minor issues. This really is a fantastic facility - Thankyou so much
Tradition and Dogma are the killers of Innovation. challenge them and change them!

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

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

#118 Post by rock5 » Fri Jul 04, 2014 6:43 am

This is wrong.
buchaneer wrote:

Code: Select all

function SetCharList(_table)
   
      SetCharList({
         {account=2, chars= {}},
         
      })
You are creating a function that calls itself. That's what's causing the stack overflow. You shouldn't be changing the userfunction. The userfunction just creates some functions for you to use in your waypoint files, like it's used in your daily.xml. Restore your userfunction and you should have better luck.
  • 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
buchaneer
Posts: 33
Joined: Tue Jul 01, 2014 4:30 pm

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

#119 Post by buchaneer » Sat Jul 05, 2014 4:40 am

Now that you have pointed it out..it seems obvious. :oops: I am one of those Bears that need handholding at every turn.

Corrected and now it works. Many thanks Rock5 you are the best :D
Tradition and Dogma are the killers of Innovation. challenge them and change them!

User avatar
buchaneer
Posts: 33
Joined: Tue Jul 01, 2014 4:30 pm

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

#120 Post by buchaneer » Sat Jul 05, 2014 5:34 am

@Eggman1414

A couple of "fine tuning" observations:

1.) After finishing buying belts in Wailingfjord > Recall to Reiffort > Snoop to Varanas > Lieve to Lower city West; the following waypoint is initiated:
<!-- # 137 --><waypoint x="-9882" z="2264" tag = "Mailbox_To_Shop_Fjord" y="23"> </waypoint>

2.)Close "buybelts.xml", go back to Lieve and run "Buy_Fusion.xml"
The following waypoint is intiated:
<!-- # 1 --><waypoint x="2755" z="-1627" tag = "Shop">
Which tries to make a beeline to Odeley Pole through all the obstacles. After a very short time, it becomes obvious that it is a Bot.

Perhaps it is intended that the user make their own waypoint file for this, but for the new Bear like myself; this might be a bit confusing :lol:

Otherwise, this truely is an excellent piece or work! :D
Tradition and Dogma are the killers of Innovation. challenge them and change them!

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests