Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   L2 Authd in C# (https://postpacific.loc-online.com/showthread.php?t=1665)

torune 30.08.2005 22:33

L2 Authd in C#
 
Credit goes to:
L2j team http://sourceforge.net/projects/l2j - for their java emu model
L2Net team http://sourceforge.net/projects/l2net - for their c# emu model
Mg2k5 - for his c# emu model
Deth - for his java emu model
Doraemon - for his user encryption function in php (L2CP)

Language: C# (you need .NET framework to run this program)

Details about this baby:
It uses same Lin2db as off but lack of tons feature.

Notes:
I almost did nothing but collecting information and connecting these guys' codes together. Normally, it's called leecher:). So no troubleshooting if anything goes wrong and no further upgrade for this. And its only for showing how it works. no time-critical handlering in it at all. I learnt a lot from modify these codes, and i am sure you will gain a lot of experience with it as well. btw, it wont work with any kind of server. only for showing you how this authd works(basicly).

anrysys 30.08.2005 22:36

WoW... I love sources :)

flakka 30.08.2005 22:36

I already did a post about it in the mods section a long time ago, mate. :wink:

But none the less, good post for those that don't know about it. :D

torune 30.08.2005 22:40

Quote:

Originally Posted by flakka
I already did a post about it in the mods section a long time ago, mate. :wink:

But none the less, good post for those that don't know about it. :D

lol, i guess i didnt read all posts in mod section :D too lazy to do so

RmzVoid 02.09.2005 09:44

I just may replace my L2authd from sina package with this?

and then we see L2server, l2npc? :)

Sprinkle@work 02.09.2005 17:03

re read torune's post.

Riane 02.09.2005 21:17

put this over your files and you have L2off C3 :D

dont take this serious.. lol

but HEY, why not go one stop further?
and make a new L2authD?
if open source, that would be one step into the future, imo ;D

torune 03.09.2005 01:28

In total, I wrote 3 version of authd
but none of them can function like off which is without million sec of delay.
1 in java, 2 in c#

currently I am working in C++, but it seems blowfish didnt function properly.
and i have stucked there for 3 days.

so I wonder if anybody can suggest a cryptology community(for beginer) to me?

flakka 03.09.2005 03:11

Look in the mod section to see the code I posted for compiling. :)

torune 03.09.2005 03:20

nah, those codes are just build log
if you are using vs.net, you probably will find it in your debug folder
some file named buildlog.htm


Build Log ------- Build started: Project: Authd, Configuration: Debug|Win32 -------

Command Lines Creating temporary file "e:\L2cp\Authd\Debug\RSP00000A.rsp" with contents
[
/Od /D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D "_AFXDLL" /D "_MBCS" /Gm /EHsc /RTC1 /MDd /Zc:wchar_t /Yu"stdafx.h" /Fp"Debug/Authd.pch" /Fo"Debug/" /Fd"Debug/vc70.pdb" /W3 /c /Wp64 /ZI /TP
.\AuthdProtocal.cpp
.\Socket.cpp
.\Server.cpp
.\AuthdDlg.cpp
.\Authd.cpp
]
Creating command line "cl.exe @e:\L2cp\Authd\Debug\RSP00000A.rsp /nologo"
Creating temporary file "e:\L2cp\Authd\Debug\RSP00000B.rsp" with contents
[
/Od /D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D "_AFXDLL" /D "_MBCS" /Gm /EHsc /RTC1 /MDd /Zc:wchar_t /Yc"stdafx.h" /Fp"Debug/Authd.pch" /Fo"Debug/" /Fd"Debug/vc70.pdb" /W3 /c /Wp64 /ZI /TP
.\stdafx.cpp
]
Creating command line "cl.exe @e:\L2cp\Authd\Debug\RSP00000B.rsp /nologo"
Creating temporary file "e:\L2cp\Authd\Debug\RSP00000C.rsp" with contents
[
/OUT:"Debug/Authd.exe" /INCREMENTAL /NOLOGO /DEBUG /PDB:"Debug/Authd.pdb" /SUBSYSTEM:WINDOWS /MACHINE:X86
.\Debug\Authd.obj
.\Debug\AuthdDlg.obj
.\Debug\Server.obj
.\Debug\Socket.obj
.\Debug\stdafx.obj
.\Debug\Authd.res
.\Debug\AuthdProtocal.obj
]
Creating command line "link.exe @e:\L2cp\Authd\Debug\RSP00000C.rsp"
Output Window Compiling...
stdafx.cpp
Compiling...
AuthdProtocal.cpp
Socket.cpp
Server.cpp
AuthdDlg.cpp
Authd.cpp
Generating Code...
Linking...
Results Build log was saved at "file://e:\L2cp\Authd\Debug\BuildLog.htm"
Authd - 0 error(s), 0 warning(s)

torune 03.09.2005 03:29

and if whoever is interested with build his own game by using same way NC handle mob/npc ai
you can take a look at this article

it explain all information about a scripting game system
"Creating a Scripting System in C++" by Greg Rosenblatt
Part 1: http://www.gamedev.net/reference/art...rticle1633.asp
Part 2: http://www.gamedev.net/reference/art...rticle1686.asp
Part 3: http://www.gamedev.net/reference/art...rticle1788.asp
Part 4: http://www.gamedev.net/reference/art...rticle1803.asp
Part 5: http://www.gamedev.net/reference/art...rticle1877.asp

its exactly how nc handle their ai.obj

and this article explains how path finding works in 2d
"A* Pathfinding for Beginners " by Patrick Lester
http://www.gamedev.net/reference/art...rticle2003.asp

athlon64 21.09.2005 05:24

Can anyone post plz a link with L2cp (php account manager) english version?

SoaPy 21.09.2005 05:31

Quote:

Originally Posted by athlon64
Can anyone post plz a link with L2cp (php account manager) english version?

??????? you are really offtopic :S. Dont you read english ???

He won a warning i think, he can do that.

athlon64 21.09.2005 05:49

My mistake, sry, i posted now in the right place :)

tetsunoony 22.11.2005 22:05

nice item leecher.

about l2net project.... we have tons of bugs in vb.net .. so ... me and neko bye bye that project.

I will upgrade that Authd again, in few weeks.

Description of Upgrade: it will support all protocols from c1 to c4.

TetsuNoony

Flamestrike 23.11.2005 07:15

Check this post, torune
https://postpacific.loc-online.com/f...pic.php?t=2697

Hope it helps.


All times are GMT. The time now is 16:03.