Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 29.09.2006, 19:36   #1
mcrabben7
Архивный участник
 
Join Date: Apr 2006
Posts: 461
Default [PROJECT] C5 Packet Fixing

I am going to begin working on some C5 packet fixes, since Nevyn and I already found out how to fix the protocol revision and connect with a C5 client.

I know there is packet errors at the log in screen. Once those are fixed, we'll have to fix all the rest. Anyone who can post any information about *changed* packet structures (like 'cddd' to 'cdddS' for example) and packet headers (if the packet header is different, TELL ME!) would be helping a lot.

Also, bringing me changed packets from C4->C5 using L2J revisions from before and after is ok too. I will be using some L2J changes to help me out probably as I go through this process.

I hope to see this thread be productive.

Protocol Revision and How to Change it:

Quote:
009BA9A8 aRevision656 db '$Revision: 656 $',0 ; DATA XREF: GetProtocolRevision__+1B
The L2Server does String to Int conversion on the numeric part of that ASCII string. Change 656 to 693 and you will change the Protocol Revision. Tested with a C5 client already. Nevyn made a link, he can post it here...I'm too lazy :P
mcrabben7 is offline  
Old 29.09.2006, 19:46   #2
Nevyn
Архивный участник
 
Join Date: Sep 2006
Posts: 114
Default

Since, My friend mcrabben7 wanted to go big with this. I'll post the url here instead.

http://rapidshare.de/files/34880648/L2Server693.7z

The explanation from mcraben7 is clear enough how to change it yourself.

Cheers.
Nevyn is offline  
Old 29.09.2006, 20:14   #3
hel
Архивный участник
 
Join Date: Apr 2006
Posts: 729
Default

http://www.l2jserver.com/svn/trunk/L...serverpackets/
hel is offline  
Old 29.09.2006, 20:38   #4
Nevyn
Архивный участник
 
Join Date: Sep 2006
Posts: 114
Default

Nice, hel. I'll check it out along with the engine.dll structure.
Nevyn is offline  
Old 29.09.2006, 22:23   #5
mcrabben7
Архивный участник
 
Join Date: Apr 2006
Posts: 461
Default

Interesting, NcSoft has introduced a 'Q' packet variable, meaning that now we have to rewrite Assemble(), and also store Exp and other 'Q' variables as 8 bytes instead of 4. Going to be a headache, heh.
mcrabben7 is offline  
Old 30.09.2006, 03:36   #6
Stazis
Архивный участник
 
Join Date: Feb 2005
Posts: 200
Default

means client also moves to 64 bit slowly =)
Stazis is offline  
Old 01.10.2006, 00:29   #7
mcrabben7
Архивный участник
 
Join Date: Apr 2006
Posts: 461
Default

Quote:
Originally Posted by Stazis View Post
means client also moves to 64 bit slowly =)
Nah, if NcSoft wasn't lazy they could just write a custom Long class that would extend two 32-bit integers into one 64-bit integer, and use that number. I've seen them done before.

I think I will, for now, change the 'Q' into 'dd' and send the variable in the correct spot. Should work, but first I got to understand this packet function I found today.

There is no call to Assemble(), and it sends it to the user using a buffer, rather than the cdSdSdddd... packet we'd expect.

Fun :P
mcrabben7 is offline  
Old 02.10.2006, 14:20   #8
demon
Архивный участник
 
Join Date: May 2005
Posts: 367
Default

u miss the point.. why u want a c4 retail server with C5 client without fixing the rest.

client isnt the problem

these are

http://pc.gamedaily.com/game/feature...d=2435&id=1120
demon is offline  
Old 02.10.2006, 18:44   #9
DukeGr
Архивный участник
 
Join Date: May 2006
Posts: 78
Default

Quote:
Originally Posted by demon View Post
u miss the point.. why u want a c4 retail server with C5 client without fixing the rest.

client isnt the problem

these are

http://pc.gamedaily.com/game/feature...d=2435&id=1120
well he needs to start from somewhere
DukeGr is offline  
Old 02.10.2006, 20:29   #10
Nevyn
Архивный участник
 
Join Date: Sep 2006
Posts: 114
Default

Quote:
Originally Posted by demon View Post
u miss the point.. why u want a c4 retail server with C5 client without fixing the rest.

client isnt the problem

these are

http://pc.gamedaily.com/game/feature...d=2435&id=1120
I love people who don't understand.
This project is to turn the c4 l2server into supporting c5 clients.
Who said it would end there? Once that is done, Server owners themselves can add c5items, npcs and geodata.
What will be missing is the c5 functions such as clan,zariche,m.m.

Why we want to turn the l2server c4 into supporting c5 clients. I think you can think that one out for yourself.
Much likly we will work on adding the rest of the functions aswell. But for now, People are just looking on being able having c5clients play on their server. They do aswell need to contribute some work.

But you're more than welcome to contribute to this project demon. We could always need a extra hand figuring the functions out.
Nevyn is offline  
Old 02.10.2006, 21:46   #11
testdude
Архивный участник
 
Join Date: Nov 2005
Posts: 504
Default

demon... contribute?.... ill leave it at that...

once again im disapointed at the ammount of interest of this project...
testdude is offline  
Old 02.10.2006, 22:39   #12
drugolo
Архивный участник
 
Join Date: Jun 2005
Posts: 93
Default

i will like to support this project.
clientside or serverside we will work on?
drugolo is offline  
Old 03.10.2006, 06:31   #13
mcrabben7
Архивный участник
 
Join Date: Apr 2006
Posts: 461
Default

Finally found some time to try a method of fixing the login packet, as well as take some screenshots of what's broken.

Here are the screenshots:


I will be looking into fixing the UserInfo, CharInfo, SkillList, Shortcut, and Clan packets, as well as anything else I find bugged.

Also, as you can see in the screens, my +15 duals don't glow... =( Must be part of UserInfo and CharInfo packets, which is why the name is 'black' instead of white/blue.
mcrabben7 is offline  
Old 03.10.2006, 07:05   #14
Domzelan
Архивный участник
 
Join Date: Apr 2005
Posts: 599
Default

mcrabben7 - good results...
Domzelan is offline  
Old 03.10.2006, 10:34   #15
mcrabben7
Архивный участник
 
Join Date: Apr 2006
Posts: 461
Default

Some packet changes I have noted down so far. Problem now will be the conversion.

SkillList:
cd ddd -> cd dddc

PledgeShowMemberListAll:
cdSSdddddddddSddd Sddddd -> cdddSSdddddddddSddd Sdddddd

UserInfo:
a bunch, don't feel like writing it...

CharInfo:
same...

Anyways, back to work!
mcrabben7 is offline  
Old 03.10.2006, 19:47   #16
Lockbete
Архивный участник
 
Join Date: Apr 2006
Posts: 28
Default

I got another problem for you when u move on to c5 client clan privilegies don't work 100% (there is a guy thats working on this he got pretty far tested his server)
Lockbete is offline  
Old 03.10.2006, 20:25   #17
Onepex
Архивный участник
 
Join Date: May 2006
Posts: 110
Default

Quote:
Originally Posted by Lockbete View Post
I got another problem for you when u move on to c5 client clan privilegies don't work 100% (there is a guy thats working on this he got pretty far tested his server)
Hello World!
That's old news. Ezme has had his server up for weeks now.
Onepex is offline  
Old 03.10.2006, 20:33   #18
HongK
Архивный участник
 
Join Date: Jun 2005
Posts: 258
Default

well we don't really care about ezme now do we lol
HongK is offline  
Old 03.10.2006, 21:18   #19
mcrabben7
Архивный участник
 
Join Date: Apr 2006
Posts: 461
Default

Quote:
Originally Posted by Lockbete View Post
I got another problem for you when u move on to c5 client clan privilegies don't work 100% (there is a guy thats working on this he got pretty far tested his server)
I know the location of the ClanPrivs variable in the User class, all I need to know is how privs have changed in C5, and I can fix them up. That's probably one of the easier fixes, it just needs good data from official packets ^^
mcrabben7 is offline  
Old 04.10.2006, 00:04   #20
Nevyn
Архивный участник
 
Join Date: Sep 2006
Posts: 114
Default

You know mcrabben7, I'll work my best on getting the stuff you havn't done
If you'd let me you workaholic.
Nevyn is offline  
Old 04.10.2006, 03:15   #21
mcrabben7
Архивный участник
 
Join Date: Apr 2006
Posts: 461
Default



Making more progress. Login screen had errors on all characters after the first one, but I fixed it. Also got skills to list and work properly. Next step is ShortcutList, UserInfo, and finally Pledge packets. After that I'll test Pets, SUmmons, and make sure SkillEnchanting isn't broken.

Anyways, that's all for now. I am going to bed soon.

For laughs, this is what Login looked like before:
mcrabben7 is offline  
Old 04.10.2006, 06:19   #22
Domzelan
Архивный участник
 
Join Date: Apr 2005
Posts: 599
Default

Good job AGAIN!
Domzelan is offline  
Old 04.10.2006, 07:24   #23
TheOrder
Архивный участник
 
Join Date: Sep 2005
Posts: 731
Default

GJ Bud !
GJ Indeed !
TheOrder is offline  
Old 04.10.2006, 15:04   #24
LORd_RiVE
Архивный участник
 
Join Date: Oct 2006
Posts: 4
Default

i don't know how is it possible, but if you have some little free time, then please look out why the party searcher button why not working...its a big fun in the game, and its working nowhere...

Unfortunately i don't know how to hex, or anything...i'm just a php scripter...
LORd_RiVE is offline  
Old 04.10.2006, 17:14   #25
testdude
Архивный участник
 
Join Date: Nov 2005
Posts: 504
Default

ha! i fixed shortcut bar! in ur face mcrabben!
testdude is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 14:56.