Register for your free account! | Forgot your password?

You last visited: Today at 16:52

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


Chi Rank Structure.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2008
Posts: 864
Received Thanks: 226
Chi Rank Structure.

solved ty to teroareboss1.

#closed



abdoumatrix is offline  
Old 05/08/2013, 02:53   #2
 
elite*gold: 0
Join Date: Apr 2012
Posts: 58
Received Thanks: 1
you hav'nt send the offsets by right way try more once again abdo my love and if i finish it will send to you wish me and you GL


Mero.El.Omda is offline  
Old 05/08/2013, 13:09   #3
 
elite*gold: 0
Join Date: Jul 2008
Posts: 864
Received Thanks: 226
Quote:
Originally Posted by Mero.El.Omda View Post
you hav'nt send the offsets by right way try more once again abdo my love and if i finish it will send to you wish me and you GL

my only error as i think is in here

PHP Code:
//  wtr.Write((uint)1684852);
                    //  wtr.Write((uint)1684852);
                    
uint uid2 Conquer_Online_Server.BitConverter.ToUInt32(packet, ((40 xxChi.Tigerss[b].rank) + (16 * (xxChi.Tigerss[b].rank 1))));
                    
wtr.Write((uint)uid2);
                    
wtr.Write((uint)uid2); 
as it change at each rank and didnt't make the right value of the next.
the other offest r right.

u looked at the pic or the codes
cuz the pic the value is right i set it to that.

Anyway Ty and GL
I will give it a look again.
abdoumatrix is offline  
Old 05/08/2013, 14:22   #4
 
elite*gold: 0
Join Date: Feb 2009
Posts: 235
Received Thanks: 147
Quote:
Originally Posted by abdoumatrix View Post
my only error as i think is in here

PHP Code:
//  wtr.Write((uint)1684852);
                    //  wtr.Write((uint)1684852);
                    
uint uid2 Conquer_Online_Server.BitConverter.ToUInt32(packet, ((40 xxChi.Tigerss[b].rank) + (16 * (xxChi.Tigerss[b].rank 1))));
                    
wtr.Write((uint)uid2);
                    
wtr.Write((uint)uid2); 
as it change at each rank and didnt't make the right value of the next.
the other offest r right.

u looked at the pic or the codes
cuz the pic the value is right i set it to that.

Anyway Ty and GL
I will give it a look again.


Code:
  
.
.
.
            if (uid == 0x03938704)
                wtr.Write((uint)(Math.Min(xxChi.Turtless.Count, 10)));
[COLOR="Red"]wtr.Write((uint)0);[/COLOR]
  #region Dragon
            if (uid == 0x03938701)
            {
                for (int b = (int)pagenumber * 10; b <= pagenumber * 10 + Math.Min(10, xxChi.Dragonss.Count) - 1; b++)
                {
                    if (pagenumber == 1)




wtr.Write((uint)xxChi.Dragonss[b].rank);
wtr.Write((uint)0);
wtr.Write((uint)xxChi.Dragonss[b].dragons);//amount points
wtr.Write((uint)0);
wtr.Write(client.uid);
wtr.Write(client.uid);
// next add name....
for (int s = 0; s < 16; s++)
{
if (s < xxChi.Dragonss[b].name.Length)
{
wtr.Write((byte)xxChi.Dragonss[b].name[s]);
}
else
wtr.Write((byte)0);
}
for (int s = 0; s < 16; s++)
{
if (s < xxChi.Dragonss[b].name.Length)
{
wtr.Write((byte)xxChi.Dragonss[b].name[s]);
}
else
wtr.Write((byte)0);

}


teroareboss1 is offline  
Old 05/08/2013, 20:24   #5
 
elite*gold: 0
Join Date: Jul 2008
Posts: 864
Received Thanks: 226
Quote:
Originally Posted by teroareboss1 View Post
Code:
  
.
.
.
            if (uid == 0x03938704)
                wtr.Write((uint)(Math.Min(xxChi.Turtless.Count, 10)));
[COLOR="Red"]wtr.Write((uint)0);[/COLOR]
  #region Dragon
            if (uid == 0x03938701)
            {
                for (int b = (int)pagenumber * 10; b <= pagenumber * 10 + Math.Min(10, xxChi.Dragonss.Count) - 1; b++)
                {
                    if (pagenumber == 1)




wtr.Write((uint)xxChi.Dragonss[b].rank);
wtr.Write((uint)0);
wtr.Write((uint)xxChi.Dragonss[b].dragons);//amount points
wtr.Write((uint)0);
wtr.Write(client.uid);
wtr.Write(client.uid);
// next add name....
for (int s = 0; s < 16; s++)
{
if (s < xxChi.Dragonss[b].name.Length)
{
wtr.Write((byte)xxChi.Dragonss[b].name[s]);
}
else
wtr.Write((byte)0);
}
for (int s = 0; s < 16; s++)
{
if (s < xxChi.Dragonss[b].name.Length)
{
wtr.Write((byte)xxChi.Dragonss[b].name[s]);
}
else
wtr.Write((byte)0);

}
Wow that was too helpful.
always love ur helpful reply and appreciate it too much.
abdoumatrix is offline  
Old 05/09/2013, 02:51   #6
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,012
Received Thanks: 2,877
your naming is awful "xxChi" "Dragonss" etc... learn standard conventions...


InfamousNoone is offline  
Reply



« PServer | Question! »

Similar Threads
[NEW] mob_proto structure
03/12/2013 - Metin2 PServer Guides & Strategies - 13 Replies
With this structure can see the monster in game when login with the leastest version of launcher and mob_proto Structure: /*// Source Server : metin2ar Source Server Version : 30517 //*/ SET FOREIGN_KEY_CHECKS=0;
SQL-DB structure
05/29/2010 - SRO Main - Discussions / Questions - 0 Replies
Hey folks, does anyone happen to have the structure of the official SRO SQL-DB? I need no more than the column names and their associated table names (usually located in the DB "INFORMATION_SCHEMA").
packet structure
03/09/2008 - CO2 Main - Discussions / Questions - 16 Replies
For what I'd like to do, I think packets are the place to start. After that, probably java then C and VB. This is a question for the people here who are self-taught... what resources would you recommend for... 1. understanding packet structure 2. learning some programming language without enrolling at the local university I'm mainly interested in packet structure and how to capture/decipher/edit/send them, and eventually I'd like to "automate" these functions by writing some programs. ...



All times are GMT +1. The time now is 16:52.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.