PDA

View Full Version : [L2C++][CODE]AuthdC


torune
03.06.2006, 17:35
Okey, Seems Digital set up a section, I will share what i got so far

the IOCP is based on a Chinese programmer's work. but I can't find his name at anywhere. If you can see this, contact me, so i can add your name in.

Complied under: VC++ 6.0, Windows XP Sp2

Mirrors:
http://files.filefront.com/AuthdCrar/;5109699;;/fileinfo.html
http://www.anonserv.com/file.php?file=a5e2043c390495b1ed6bc876397a62cc
http://www.mytempdir.com/713847
http://www.rapidsharing.com/92cd15b2488413d7362dfbe6cf3811ea
http://rapidshare.de/files/22119659/AuthdC.rar.html
http://www.pks-clan.be/l2/AuthdC.rar
http://ripper.net.ar/torune/AuthdC.rar

Download URL: http://www.torune.com/lineage2/project/AuthdC.rar
btw i got 7G bandwidth limit on this host, if you can, please rehost at somewhere and share the link

Reference:
IOCP: based on : PPP elssann@hotmail.com's iomodel
Blowfish: mcrypt (kcinick gave a big help couple monthes ago on this part, lets clap for him)

torune
03.06.2006, 17:40
Readme:
The C++ is not easy to play around, which means if you have no knowledge at all but want to know every piece of it, please grab a c++ book and start learn.

Furthermore, any l2j lovers/haters please stop flaming at each other in this section. if you read l2j's code carefully, some parts of it are just like l2off, and for l2off devs, we all know where we can find help much easier, l2j code.

Notes:
Same Assembling function as NCSoft, with some optimizations
The opt_memcpy is my own helper method, which I am not sure if its faster or not compare with rtlcopymemory. maybe copy of truck memory is faster than byte by byte.

//Demo of how to send back loginOk Packet
EnAssemble(pBuffEx, BUFFER_SIZE, "hcdddddddddddch", 50, 3, rand(), 65894300, 0, 0, 1002, 0,0,2, 14705248, 0,0,0,0);

for more detail read the code.

TOFIX:
I dont know why but my CheckPassword() function is not working properly.

ps: if somebody can reorganize the code in a better way, please do so, I dont good at this.

Met45
03.06.2006, 17:48
your r amazing
I will take a look at it today evening thx torune

torune
03.06.2006, 17:50
you shouldn't do that, coz fifa world cup is on pretty soon in your country. lol

tpuNIsher
03.06.2006, 17:53
i honestly wish i took the iocp course last sem :/

cant help u with it till i understand it lol..
great job btw

Met45
03.06.2006, 17:54
you shouldn't do that, coz fifa world cup is on pretty soon in your country. lol
hehe ^^

torune
03.06.2006, 17:56
btw i got 7G bandwidth limit on this host, if you can, please rehost at somewhere and share the link

tpuNIsher
03.06.2006, 18:03
Sure thing :P

these should be enough XD
someone with unlimited bandwidth should host aswell if possible..

http://files.filefront.com/AuthdCrar/;5109699;;/fileinfo.html
http://www.anonserv.com/file.php?file=a5e2043c390495b1ed6bc876397a62cc
http://www.mytempdir.com/713847
http://www.rapidsharing.com/92cd15b2488413d7362dfbe6cf3811ea
http://rapidshare.de/files/22119659/AuthdC.rar.html

Grillo
03.06.2006, 18:09
http://www.pks-clan.be/l2/AuthdC.rar

This should be good enough, i'll keep it up for a while.

RipperX
03.06.2006, 18:09
and

http://ripper.net.ar/torune/AuthdC.rar

thx a lot torune, go on!

kembl
10.08.2006, 08:41
Great work, as usual Torune!

Firedaemon
10.08.2006, 10:26
Thank you for sharing the source. It will help a great deal for future versions needed.

FBIagent
10.08.2006, 21:33
Mirror:
http://websamba.com/fbiagent/Authdc.rar

Nevyn
05.11.2006, 11:26
Great coding. Great job. Great effort.