Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Coding Corner
You last visited: Today at 14:33

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

Advertisement



About CPosition, Help me, Thanks.

Discussion on About CPosition, Help me, Thanks. within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2012
Posts: 53
Received Thanks: 6
About CPosition, Help me, Thanks.

Hi Silkroaders:

PHP Code:
class MPosition
{
public:
    
unsigned short RegionID//0x0000
    
unsigned short unk_0010// what is this ?
    
float PosX//0x0004
    
float PosY//0x0008
    
float PosZ//0x000C
};

class 
CPosition
{
public:
    
char pad_0000[8]; // // what is this ?
    
MPosition position//0x0004

    
void CopyPosition(CPositiondest);
}; 
anybody know [pad_0000] and [unk_0010] is what mean?

i try printf , i get messy code。

thank you very much!
halloway520 is offline  
Old 12/09/2020, 19:24   #2
 
#HB's Avatar
 
elite*gold: 100
Join Date: Sep 2017
Posts: 1,110
Received Thanks: 907
No offense, but it's kinda stupid to expect anyone to understand anybody's code from nowhere.

About your questions, unk_0010 is actually padding bytes typically generated by compiler. I shouldn't have even declared that, compiler should automatically generate it.

pad_0000 no clue, was lazy to parse it, so I just skipped it.
#HB is offline  
Old 12/10/2020, 10:30   #3
dotCom
 
Devsome's Avatar
 
elite*gold: 9842
The Black Market: 107/0/0
Join Date: Mar 2009
Posts: 16,854
Received Thanks: 4,681
Quote:
Originally Posted by LegendarySouL View Post
You want know more language assembly!! to know what this mean ...

IDA HEX
Quote:
Originally Posted by GameRPoP View Post
You've been very helpful.
This was also very helpful, please stick to the context.
Devsome is offline  
Thanks
1 User
Old 12/14/2020, 10:05   #4
 
elite*gold: 0
Join Date: Dec 2012
Posts: 53
Received Thanks: 6
thaks every body !
halloway520 is offline  
Old 12/14/2020, 12:31   #5
 
#HB's Avatar
 
elite*gold: 100
Join Date: Sep 2017
Posts: 1,110
Received Thanks: 907
Quote:
Originally Posted by halloway520 View Post
thanks every body !
What are you talking about? :v
#HB is offline  
Reply


Similar Threads Similar Threads
Thanks ist geil! Thanks ist Thanks!
08/11/2011 - Main - 17 Replies
Tach auch (: Ja, der Titel soll schon an den alten Saturnslogan erinnern, aber eig. auch egal. Also, ich wollte mal eure Meinung zu den Leuten haben, die fett und in Schriftgröße 6 "Thanks wenn ich geholfen habe!!!" o.ä. stehen haben! In meinen Augen macht sowas kein Sinn. Es ist doch das Selbe, wie wenn wir uns ein T-Shirt drucken lassen mit dem selben Satz und der Aufgabe irgendjemanden helfen zu wollen zu würden auch wenn wir keine Ahnung hätten. Ist ja nicht so, dass all diese Kinder...
Thanks ist geil! Thanks ist Thanks!
08/09/2011 - Off Topic - 11 Replies
Moin, was haltet ihr von diesen coolen, spammenden Kindern die von fast nichts eine Ahnung haben und meinen sie wären die größten und wüssten alles? Siehe War Rock Section, auf Anhieb bestes Beispiel ;) mfg
What is the difference between thanks and thanks in posts?
09/10/2007 - Conquer Online 2 - 5 Replies
as i said in the title...what is Thanks for and what is thanks in number of posts for. I think i know what thanks in number of posts does..but what is thanks for..yesterday i had 3 and today i have 4 =/.:confused:



All times are GMT +1. The time now is 14:33.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.