Few waypoint problems

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
drakerpg
Posts: 4
Joined: Wed Jun 23, 2010 2:25 am

Few waypoint problems

#1 Post by drakerpg » Wed Jun 23, 2010 3:10 am

Hello, I'm working on a 10-20 level pack and have a few questions/problem's that I would like some help with.

First up, I wanted to make a starter.xml that went to an area based on level.

Code: Select all

if( player.Level < 15) then
		load_paths("10-14_travel.xml");
  	end
This error's and it seems that the < variable doesn't work, or maybe there's another way around it?

Setting that problem aside; If I connect the starter waypoint with the 10-14 waypoint file it works fine, then runs the waypoints its suppose to, until it gets to this line

Code: Select all

if( player.Level > 13) then
		load_paths("10-14_travel.xml");
  	end
It completely ignores this line and proceeds to run the waypoint's again, even tho my character is level 14. I'm assuming its because I did not actually hit 14 while doing the run (I was already 14 before starting), is there something I'm missing?

I'm new to micromacro so this is my first actual "project", any help is appreciated.

Restler
Posts: 12
Joined: Tue Jun 22, 2010 11:14 am

Re: Few waypoint problems

#2 Post by Restler » Wed Jun 23, 2010 4:52 am

I am noobish, so mb all my post is spam..but
First up, I wanted to make a starter.xml that went to an area based on level.
AFAIK this is not necessary- you can put all such "IF" @ "onload" part of profile or in main option part(subst the normal "path line").....

or in to "base" waypoint file .. the question is-how to put "check sequence" b4 going to waypoint...

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

Re: Few waypoint problems

#3 Post by rock5 » Wed Jun 23, 2010 5:04 am

drakerpg wrote:

Code: Select all

if( player.Level < 15) then
I don't know why it happens but to avoid it I always turn it around ie.

Code: Select all

if( 15 > player.Level) then
drakerpg wrote:If I connect the starter waypoint with the 10-14 waypoint file it works fine, then runs the waypoints its suppose to, until it gets to this line

Code: Select all

if( player.Level > 13) then
		load_paths("10-14_travel.xml");
  	end
It completely ignores this line and proceeds to run the waypoint's again, even tho my character is level 14. I'm assuming its because I did not actually hit 14 while doing the run (I was already 14 before starting), is there something I'm missing?
I recently noticed that when waypoints get missed, their code still gets executed so I don't think it's because it missed that waypoint. Look for some other reason i think.
  • 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

drakerpg
Posts: 4
Joined: Wed Jun 23, 2010 2:25 am

Re: Few waypoint problems

#4 Post by drakerpg » Wed Jun 23, 2010 8:55 am

I *think* I found the problem with the level check

Code: Select all

if( player.Level > 15) then
      			load_paths("shana16-19_travel.xml");
    		end
The check came after the last waypoint so I'm guessing it just moves back to waypoint 1 once it reaches the last waypoint, ignoring any code afterwards. Haven't had a chance to check it though I cant see any other reason for it failing

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

Re: Few waypoint problems

#5 Post by rock5 » Wed Jun 23, 2010 9:00 am

drakerpg wrote:I *think* I found the problem with the level check

Code: Select all

if( player.Level > 15) then
      			load_paths("shana16-19_travel.xml");
    		end
The check came after the last waypoint so I'm guessing it just moves back to waypoint 1 once it reaches the last waypoint, ignoring any code afterwards. Haven't had a chance to check it though I cant see any other reason for it failing
Sounds right. Code has to be between <waypoint> and </waypoint> tags or it doesn't get executed.
  • 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

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 2 guests