Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Nostale
You last visited: Today at 03:43

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



walk packet - question about one variable

Discussion on walk packet - question about one variable within the Nostale forum part of the MMORPGs category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2018
Posts: 1
Received Thanks: 0
walk packet - question about one variable

Hi, i have a little question about walk packet.
for example, there's a packet:
Code:
walk 60 71 0 12
so
Code:
walk <x> <y> <?> <speed>
But i don't know what's this "?", it's always 0 or 1.
Can u help me or give a hint?
xYahik is offline  
Old 02/21/2018, 22:15   #2
 
Bejine's Avatar
 
elite*gold: 0
Join Date: Jul 2014
Posts: 283
Received Thanks: 317
if my friend recalls correctly, its
if ((x+y)%3)
arg = 1
else
arg = 0

just check the pattern with packetlogger in nosville, go to 0, 0 and check the arg, then move one to the right (to 1, 0), check it and so on. the pattern is always the same
Bejine is offline  
Old 02/22/2018, 18:03   #3



 
Asuramaru's Avatar
 
elite*gold: 20
The Black Market: 110/0/0
Join Date: Nov 2009
Posts: 2,256
Received Thanks: 1,570
Quote:
Originally Posted by Bejine View Post
if my friend recalls correctly, its
if ((x+y)%3)
arg = 1
else
arg = 0

just check the pattern with packetlogger in nosville, go to 0, 0 and check the arg, then move one to the right (to 1, 0), check it and so on. the pattern is always the same
Almost, its ((x+y)%3)%2
Otherwise you might get 2 (which isnt valid) instead of 0.
Asuramaru is offline  
Thanks
3 Users
Old 07/12/2019, 19:03   #4



 
IceTrailer's Avatar
 
elite*gold: 150
Join Date: Sep 2010
Posts: 2,070
Received Thanks: 821
#closed
IceTrailer is offline  
Closed Thread




All times are GMT +1. The time now is 03:49.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.