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.
Zone ID random
Re: Zone ID random
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
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
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: Zone ID random
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
Re: Zone ID random
Ah right, yeh I was using the in game function to aquire the Zone id. I'll change them to getZoneId(), thanks.