![]() |
[L2C]1st step on Authd
currently its a dummy login system which only gotta display login name and password you input
however the blowfish and iocp are completed. *No RSA atm* all blowfish functions are inline for speed optimization. btw you also need to have sql server running i didnt encrypt the exe file, so if you are worry about anything, just read the asm code. /* update */ 1. 1.1 implemented same encryption algorithm as l2pass 1.2 send back LoginOK packet 1.3 packet checksum implemented bug: Game Guard Auth packet no working, no idea why. |
small bug fixed
Вложения из исходного сообщения (сами файлы в копии отсутствуют): authdc_408.rar — 31552 байт |
l2C or l2C++?
So far great work, lol you work pretty effin fast O.o. |
what about a "open source" project? it could be awsome! I wanna start again, on a L2C with torune as manager.
|
if its in c++ i can help you out maybe torune... im too used to oop to go back to C though, so hopefully cpp ^_^
|
prelude: same design mechanism as l2server (function pointer array)
/* update */ 1. 1.1 implemented same encryption algorithm as l2pass (encryption function is inlined for optimization) 1.2 send back LoginOK packet 1.3 packet checksum implemented bug: Game Guard Auth packet no working, no idea why. |
wow, this is amazing, you go to code a full AuthD ? ... and what about a "open source" project like elcapo said ?... maybe a interesting way to start develepping a good authd... all together coding this... like L2J Proyect... i see a lot of changes recently like asm tutorial and this... maybe a new way to bring L2OFF to the top! :)
|
This is OPEN source..
Read his post :p it is not encrypted. |
Quote:
|
seems like he dont know...
|
unless he is 31337 and read .exe as if it were source :p j/k
edit : @torune : how much difficulty adds inline assembly and how much performance ? is it worth it ? ( debugging it etc ) |
for time critical stuff, i like to save as much as i can
a single function call also takes couple cpu circle. Code:
bool CIOCP::RequestAuthLogin(IOCP_IO_PTR lp_io, BYTE* pData) |
2Torune: Fucking awesome! Good Job! =)
I'm C Programmer, maybe we can do something together. Thx!! |
:O we have a l2c section here :)
|
no, we have an l2c#, c and c# are 2 completely different languages, c# is .net
|
i have to commite that c# is simply and easy to learn,
however when you are looking for performance and time critical related design, i will suggest we get back to c/c++. |
and .net smells
|
Quote:
sorry i'm spanish :P [ontopic] I'm trying to program CacheD =P (for querys, bla bla) [/ontopic] |
i never think too much about performance until the moment i met C++ template meta-programming.
my instructor demonstrated two piece of c++ codes which shocked the entire class. a simple Factorial Function with timer, normally we would use recursion on this on and most of us think it's the fastest way to achieve it. guess what, its not. takes about couple minutes to do 40! (or seconds i cant remember) the other one is Zero second. ya i know, it got nothing to do with c++/c# comparison. [offtopic] |
recursion fast ? recursion is easy to program and high level but sucks up alot of resources and produces alot of overhead
|
if you read carefully: fastest way to achieve it.
|
yes correct :) thus 'fastest way to achieve it' means 'fastest way to make the function' and equal to 'easy to program' which is right. but as you explained "it's not, it takes two minutes to do 40!" which translates it as "fastest" the way i perceived it ;)
btw gl with the project, i doubt my C knowledge can help you in this - if you are looking for more ppl - and also my asm knowledge is not bigger than printing stuff in screen with DOS interrupts and opening files. p.s. i could participate in the script and geodata parsers ( GS ) if you're interested but after my uni exams |
hmm.. so... u guys intend to go ahead with l2c++?
if u guys are serious about it... i could dedicate a full section for u guys to head the project... i'm quite sure we'll catch up in no time ;) |
@digital, personally i believe it's too late, chronicle5 coming out soon and will be the final one, since in half first of 2007 l3 will come out which doesn't give more than 1 max 1.5 year of life to l2. BUT if ppl are interested i'm in, the trip matters, not the end point
|
right... c5's coming out soon.. but that's for l2 isnt it?
and for l3.. basically the things that had a major would be the client isnt it? i dun expect ncsoft to recode EVERYTHING and probably reuse proven and tested code... and not to mention scripts and data i dun believe they'll really spend time rewriting every single one of them e.g l3 does have authd doesnt it? how abt server? npc? geodata? item? they would probably exist and carry the same information... i dun believe l2 elphy to be lv1 and in l3 elphy to be lv100, do we? or for any weapon, item, etc and yes, the trip matters, not the end point. this trip will let u gain skills and knowledge nothing else could give... less working for ncsoft ;) do let me know if there's any one support or disapproving? |
nope, as far as i know l2 will go on after c5.
just a new storyline and all, but it will take some time till l3 comes out. also notice that it will be using unreal engine 3 which is not even available yet. well, maybe i'm totally wrong^^ |
yes they will keep most of the code same but my hunch is that packet format will be totally different but that is not a big prob i guess.
well as i said i'm in |
I think that we could do a definitive source, then when a new cronichle is out only modify some things we have the new server =)
For L2C: I'm In! |
http://www.torune.com/lineage2/AuthdC.rar
packet assembling function added (dummy copy from original with small modification) the following code is from l2server. Code:
int VAssemble(char* buf, int bufLen, const char* format, va_list ap) |
Quote:
Do u want a cup of coffe ? =P gLuck! |
quicq question, if you guys go ahead and build an auth and mabey more, are you planning on adding the petition system stuff back into them?
|
| All times are GMT. The time now is 16:22. |