Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 22:26

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

Advertisement



[Problem] Cannot read the ChangeDirection

Discussion on [Problem] Cannot read the ChangeDirection within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2008
Posts: 1,683
Received Thanks: 506
[Problem] Cannot read the ChangeDirection

Patch 5165.
[table="head"]Offset | Type | Value
0 | ushort | Length [0x24]
2 | ushort | Type [0x271A]
20 | byte | Direction [206]
This Direction is wrong, I keep receiving the same direction, but it should be below 8 in all cases.
It doesn't even change, whichever direction I pick.
Anyone has ideas.
Also don't tell me I should do this: Input[22] % 8 because this will give me a Direction below 8, but the same one every time.

Unbelievable I'm having trouble with changing the direction o_o
Basser is offline  
Old 07/14/2010, 19:15   #2
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
Which patch are you using? I know that for newer ones the structure changed. I tried using the wiki when I was doing mob directions for my proxy and was super confused lol.

I'd strongly suggest simply printing out or writing to a text file when you receive it from the client, then see which offset is changing, confirm it's under 8 and go with that. I'm positive you'll find it easily enough.

<edit>

Wow... if I was any less blind I'd have noticed that you said 5165. gimme 2 sec
pro4never is offline  
Old 07/14/2010, 21:02   #3
 
elite*gold: 0
Join Date: Oct 2009
Posts: 768
Received Thanks: 550
Quote:
Originally Posted by Basser View Post
Patch 5165.
[table="head"]Offset | Type | Value
0 | ushort | Length [0x24]
2 | ushort | Type [0x271A]
20 | byte | Direction [206]
This Direction is wrong, I keep receiving the same direction, but it should be below 8 in all cases.
It doesn't even change, whichever direction I pick.
Anyone has ideas.
Also don't tell me I should do this: Input[22] % 8 because this will give me a Direction below 8, but the same one every time.

Unbelievable I'm having trouble with changing the direction o_o
Then do

for(int count = 0; count < Length; count++)
if(Buffer[count] < 8)
Console.WriteLine(count + "~" + Buffer[count]);

Try more than once and make sure you know the number for the direction you just changed to, then take out all possibilities till you found the right offset.

btw, count "~" + buffer[count] <-> offset ~ value
-impulse- is offline  
Old 07/14/2010, 21:44   #4
 
elite*gold: 20
Join Date: Apr 2008
Posts: 2,281
Received Thanks: 913
Try a byte at offset 22.
It's what I use, but mind you its a bit newer =P

Edit:
And if that doesn't work, just dump the packet
kinshi88 is offline  
Old 07/14/2010, 22:23   #5
 
elite*gold: 0
Join Date: Oct 2009
Posts: 768
Received Thanks: 550
Quote:
Originally Posted by kinshi88 View Post
Try a byte at offset 22.
It's what I use, but mind you its a bit newer =P

Edit:
And if that doesn't work, just dump the packet
OR do what I already said which works 100%.
-impulse- is offline  
Old 07/14/2010, 22:25   #6
 
elite*gold: 20
Join Date: Apr 2008
Posts: 2,281
Received Thanks: 913
Quote:
Originally Posted by -impulse- View Post
OR do what I already said which works 100%.
But that's ugly =P
kinshi88 is offline  
Old 07/14/2010, 22:32   #7
 
elite*gold: 0
Join Date: Oct 2009
Posts: 768
Received Thanks: 550
Quote:
Originally Posted by kinshi88 View Post
But that's ugly =P
Well, that's the fastest way and it works very well in most cases.

Idk what people use, but that's what I use and if someone has a better, faster method, please don't hesitate to tell me.

Ah, about my method being ugly, I don't care if it's ugly or pretty, all I care is about the results.
-impulse- is offline  
Old 07/14/2010, 22:33   #8
 
elite*gold: 20
Join Date: Apr 2008
Posts: 2,281
Received Thanks: 913
Quote:
Originally Posted by -impulse- View Post
Well, that's the fastest way and it works very well in most cases.

Idk what people use, but that's what I use and if someone has a better, faster method, please don't hesitate to tell me.

Ah, about my method being ugly, I don't care if it's ugly or pretty, all I care is about the results.
<3

I like pretty code =P
kinshi88 is offline  
Old 07/14/2010, 22:35   #9
 
elite*gold: 0
Join Date: Oct 2009
Posts: 768
Received Thanks: 550
Quote:
Originally Posted by kinshi88 View Post
<3

I like pretty code =P
Pretty code doesn't always mean good results. <3
-impulse- is offline  
Old 07/14/2010, 22:40   #10
 
elite*gold: 20
Join Date: Apr 2008
Posts: 2,281
Received Thanks: 913
Quote:
Originally Posted by -impulse- View Post
Pretty code doesn't always mean good results. <3
In the long run it does; easier debugging, easy to understand, and pretty code is usually **** efficient =P
kinshi88 is offline  
Old 07/14/2010, 22:46   #11
 
elite*gold: 0
Join Date: Oct 2009
Posts: 768
Received Thanks: 550
Quote:
Originally Posted by kinshi88 View Post
In the long run it does; easier debugging, easy to understand, and pretty code is usually **** efficient =P
Hmm this thing is not for 'long run', it was all for finding an offset, which by my guess is a pretty short run.

Anyway, I agree with you, on long run I use pretty code too <3
-impulse- is offline  
Old 07/14/2010, 22:56   #12


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
Just do 3 or 4 general data packet dumps and post them here in hex.

Edit:

Direction is stored at offset 22 in 5165.
Korvacs is offline  
Old 07/14/2010, 22:57   #13
 
elite*gold: 20
Join Date: Apr 2008
Posts: 2,281
Received Thanks: 913
Quote:
Originally Posted by -impulse- View Post
Hmm this thing is not for 'long run', it was all for finding an offset, which by my guess is a pretty short run.

Anyway, I agree with you, on long run I use pretty code too <3
Yush

<3
kinshi88 is offline  
Old 07/14/2010, 23:21   #14
 
elite*gold: 0
Join Date: Jul 2010
Posts: 37
Received Thanks: 8
Quote:
Originally Posted by kinshi88 View Post
Yush

<3
Not commenting on the immaturity readen so far. However, 'pretty code' or clean code as I prefer to call it is indeed easier for debugging and organization is one of the steps to write a successfull source, not necessarily. Though commenting on other programmer's coding style is totally wrong, everybody prefers his own methods and 'programming style'.
InfamousGeek is offline  
Old 07/15/2010, 00:14   #15
 
elite*gold: 20
Join Date: Apr 2008
Posts: 2,281
Received Thanks: 913
Quote:
Originally Posted by InfamousGeek View Post
Not commenting on the immaturity readen so far. However, 'pretty code' or clean code as I prefer to call it is indeed easier for debugging and organization is one of the steps to write a successfull source, not necessarily. Though commenting on other programmer's coding style is totally wrong, everybody prefers his own methods and 'programming style'.
Yeah, I was just stating my opinion =P
kinshi88 is offline  
Reply


Similar Threads Similar Threads
OFFGAMERS PROBLEM READ PLS AND HELP !!!
01/09/2011 - Silkroad Online - 11 Replies
Reference number: LTK149073----- Please use this ticket number in any correspondence with us. Subject: i wan't my money back why durring to long ?! Dear Customer, Thank you for contacting us. Please do refer to Paypal for the whereabout of the money. We had refunded the money to your paypal account [email protected] on 25th Feb 22:39:04 GMT+8 with Refund Transaction ID 4--829-----8366-4-. Please feel free to contact us if you have any additional questions.
C# Mem Read problem
05/13/2010 - .NET Languages - 10 Replies
Die Datei oder Assembly "fasmdll_managed, Version=1.0.3262.20709, Culture=neutral, PublicKeyToken=null" oder eine Abhängigkeit davon wurde nicht gefunden. Es wurde versucht, eine Datei mit einem falschen Format zu laden. Code: using System; using Magic; namespace Solitär_Hack { class Program
DC problem with hacks (just read)
02/24/2010 - Dekaron - 4 Replies
Is the second time i will post my problem .. hope some1 help me.. I install everything follow the guides of the forum and i use my hacks right.. But when i go any dungeon with hacks i allwys disconect/crash the game. Some1 can lost some minutes do me a guide for fix this ? thx u so much
[Help]Please read i have a problem with tq bin
01/02/2010 - CO2 Private Server - 1 Replies
Hello everyone,I use TQ Binaries 5065 translated with hamachi,everything working (NPC ACC AND GAME SERVER ONLINE) but when i log in from my client it goes untill the middle and then error SE:10249 ... please help me...i don`t know what`s wrong...help me i will pay 1 million thanks someone pls reply me
I got a little problem :D Please read!
03/29/2009 - SRO Private Server - 5 Replies
Hi all... Yesterday i got my lvl 52 with SJSRO...But with the old pk.2's... Now i downloaded the PK.2's by Li and i got my lvl back to 45 and i still farmer :D But there is the biggest problem :S:S Its that i lost my friends!!!!!! Damn!



All times are GMT +1. The time now is 22:26.


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.