Script for mana stones

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Message
Author
Cindy
Posts: 237
Joined: Fri Sep 28, 2012 4:23 pm

Re: Script for mana stones

#21 Post by Cindy » Sun Nov 04, 2012 11:17 am

Ah thats simple enough :) thanks

kilbord
Posts: 49
Joined: Fri Feb 24, 2012 11:27 am

Re: Script for mana stones

#22 Post by kilbord » Mon Nov 05, 2012 9:04 am

i used script bought the items but didn't make mana stones how can i fix that?

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

Re: Script for mana stones

#23 Post by rock5 » Mon Nov 05, 2012 9:16 am

kilbord wrote:i used script bought the items but didn't make mana stones how can i fix that?
What script?
  • 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

kilbord
Posts: 49
Joined: Fri Feb 24, 2012 11:27 am

Re: Script for mana stones

#24 Post by kilbord » Mon Nov 05, 2012 9:24 am

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>
   <!-- #  1 --><waypoint x="-17157" z="-24295" y="737">   
   player:openStore(Faia Yarding)
   store:buyItem(Sublime Belt, 10)
   </waypoint>
   <!-- #  2 --><waypoint x="-17078" z="-24272" y="738">   </waypoint>
   <!-- #  3 --><waypoint x="-16994" z="-24257" y="736">      player:openStore(Iha Janna)
   store:buyItem(Random Fusion Stone, 10)
   </waypoint>
   <!-- #  5 --><waypoint x="-17101" z="-24262" y="737">
   </waypoint>
Fusion_Config(setting, value)
Fusion_MakeMaxManaStones(_maxManaStoneLevel)
</waypoints>
this script

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

Re: Script for mana stones

#25 Post by rock5 » Mon Nov 05, 2012 9:34 am

I don't understand how it could have bought the items, the npc names don't have quotes around them.

Also the commands actually require values as I discussed here
http://www.solarstrike.net/phpBB3/viewt ... 028#p39028
  • 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

kilbord
Posts: 49
Joined: Fri Feb 24, 2012 11:27 am

Re: Script for mana stones

#26 Post by kilbord » Mon Nov 05, 2012 9:37 am

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>
   <!-- #  1 --><waypoint x="-17157" z="-24295" y="737">   
   player:openStore("Faia Yarding")
   store:buyItem("Sublime Belt", 10)
   </waypoint>
   <!-- #  2 --><waypoint x="-17078" z="-24272" y="738">   </waypoint>
   <!-- #  3 --><waypoint x="-16994" z="-24257" y="736">      player:openStore("Iha Janna")
   store:buyItem("Random Fusion Stone", 10)
   </waypoint>
   <!-- #  5 --><waypoint x="-17101" z="-24262" y="737">
   </waypoint>
Fusion_Config("speed", 0.2)
Fusion_MakeMaxManaStones(6) -- Make tier 6 stones
</waypoints>
is what i already have done to them sorry forgot to mention that

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

Re: Script for mana stones

#27 Post by rock5 » Mon Nov 05, 2012 9:41 am

Ok then. All code needs to be between open and close tags, either onload tags or waypoint tags. Those last 2 commands are not between tags, ie. it should probably be

Code: Select all

   <!-- #  5 --><waypoint x="-17101" z="-24262" y="737">
Fusion_Config("speed", 0.2)
Fusion_MakeMaxManaStones(6) -- Make tier 6 stones
   </waypoint>
  • 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

kilbord
Posts: 49
Joined: Fri Feb 24, 2012 11:27 am

Re: Script for mana stones

#28 Post by kilbord » Mon Nov 05, 2012 9:45 am

3:44pm - [string "..."]:2: attempt to call global 'Fusion_Config' (a
nil value) i get this error
and when i took that line out this error
3:44pm - [string "..."]:2: attempt to call global 'Fusion_MakeMaxManaStones' (a
nil value) any suggestion to fix that?

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

Re: Script for mana stones

#29 Post by rock5 » Mon Nov 05, 2012 9:50 am

I think that means you don't have my fusion userfunction installed. Do a search for it.
  • 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

kilbord
Posts: 49
Joined: Fri Feb 24, 2012 11:27 am

Re: Script for mana stones

#30 Post by kilbord » Mon Nov 05, 2012 9:53 am

Ty it works :D if anybody wants to use it here is the code:

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>
   <!-- #  1 --><waypoint x="-17157" z="-24295" y="737">   
   player:openStore("Faia Yarding")
   store:buyItem("Sublime Belt", 10)
   </waypoint>
   <!-- #  2 --><waypoint x="-17078" z="-24272" y="738">   </waypoint>
   <!-- #  3 --><waypoint x="-16994" z="-24257" y="736">      player:openStore("Iha Janna")
   store:buyItem("Random Fusion Stone", 10)
   </waypoint>
   <!-- #  5 --><waypoint x="-17101" z="-24262" y="737">
Fusion_MakeMaxManaStones(6) -- Make tier 6 stones
   </waypoint>
</waypoints>

Post Reply

Who is online

Users browsing this forum: No registered users and 41 guests