Zone ID random

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
ZZZZZ
Posts: 513
Joined: Sun Oct 21, 2012 1:42 am

Zone ID random

#1 Post by ZZZZZ »

I have been having issues with checking Zone ID on official servers when entering siege in particular. Not sure why but the Zone ID is supposed to be 402, but I keep getting 1402, 2402 even 3402 as I did today. Not sure if its just their siege system that does it or what.

I'm just wondering how I can look for just '402' in the Zone ID, rather than having a long list of if zoneid == 402, 1402, 2402 etc.

Can't test currently, was thinking something like find.string would work, but a string is a series of letters, not numbers right? So not sure.
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Zone ID random

#2 Post by lisa »

those are for "channels"
getZoneId()
is set up to ignore the 1,000's though, so I don't see this as being an actual issue if you are using getZoneId()

To answer your actual question though.

%1000

Code: Select all

Command> print(1402%1000)
402
Command> print(3402%1000)
402
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
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Zone ID random

#3 Post by rock5 »

He's probably using the in game function.
  • 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
ZZZZZ
Posts: 513
Joined: Sun Oct 21, 2012 1:42 am

Re: Zone ID random

#4 Post by ZZZZZ »

Ah right, yeh I was using the in game function to aquire the Zone id. I'll change them to getZoneId(), thanks.
Post Reply