[Release] LC-Server fertig / Basierend auf -AquaLung- dateien

05/13/2011 21:41 Schiriki#4126
Auf jeden Fall ist es ein Anfang, es gab ja schon Aion-Privatserver als man nur "herumlaufen" konnte.
Allerdings war zu dem Zeitpunkt meines Wissens immerhin schon die Charerstellung möglich / Der Server konnte eigene Pakete und nicht nur festgelegte senden. Ich gehe nicht davon aus, dass das hier schon so weit fortgeschritten ist. Trotzdem bin ich naürlich gespannt was es wird :)
05/13/2011 21:48 eventmaker#4127
Quote:
Originally Posted by Schiriki View Post
Auf jeden Fall ist es ein Anfang, es gab ja schon Aion-Privatserver als man nur "herumlaufen" konnte.
Allerdings war zu dem Zeitpunkt meines Wissens immerhin schon die Charerstellung möglich / Der Server konnte eigene Pakete und nicht nur festgelegte senden. Ich gehe nicht davon aus, dass das hier schon so weit fortgeschritten ist. Trotzdem bin ich naürlich gespannt was es wird :)
Ja Falo kann schon individuelle Pakete versenden.
05/13/2011 21:53 dsfgd#4128
Quote:
Originally Posted by Schiriki View Post
Auf jeden Fall ist es ein Anfang, es gab ja schon Aion-Privatserver als man nur "herumlaufen" konnte.
Allerdings war zu dem Zeitpunkt meines Wissens immerhin schon die Charerstellung möglich / Der Server konnte eigene Pakete und nicht nur festgelegte senden. Ich gehe nicht davon aus, dass das hier schon so weit fortgeschritten ist. Trotzdem bin ich naürlich gespannt was es wird :)
Bei meinem Emu kann man rumlaufen, Char erstellen, Char löschen, Items an/ablegen, items bewegen und etwas mit sich selbst chatten ^^

Sowas ist nicht sonderlich kompliziert, schwieriger wird es die NPC erscheinen/verschwinden zu lassen wenn sich player nähert/entfernt, monster angreifbar machen, die ganzen serverseitigen berechnungen (Schaden, Ausweichen etc...)

Momentan arbeite ich daran, das man per GM Befehl items/npc's spawnen kann, dafür reverse ich u.a. den gameserver der 2005er files um mir das ganze um einiges zu erleichtern.
05/13/2011 22:01 ownedbynico#4129
Quote:
Originally Posted by dsfgd View Post
Bei meinem Emu kann man rumlaufen, Char erstellen, Char löschen, Items an/ablegen, items bewegen und etwas mit sich selbst chatten ^^

Sowas ist nicht sonderlich kompliziert, schwieriger wird es die NPC erscheinen/verschwinden zu lassen wenn sich player nähert/entfernt, monster angreifbar machen, die ganzen serverseitigen berechnungen (Schaden, Ausweichen etc...)

Momentan arbeite ich daran, das man per GM Befehl items/npc's spawnen kann, dafür reverse ich u.a. den gameserver der 2005er files um mir das ganze um einiges zu erleichtern.
hört sich gut an. wirst du ihn dann i-wo hochladen und uns zur verfügung stellen oder behältst du ihn nur für dich (wenn er fertig ist versteht sich)
05/13/2011 23:47 TєcкsTα™#4130
Fürs erste gute Arbeit Falo und viel glück ;) bin mal gespannt was du schaffst^^
05/14/2011 13:20 Kim#4131
Die perfekte fertigstellung kann noch Monate - Jahre dauern.
Er braucht Professionelle Hilfe.
05/15/2011 02:46 SteveMcfehrey#4132
Hab mal vor längerer Zeit (3 Jahren?) LC gespielt...in der Zwischenzeit hab ich einmal gelesen, dass es Spielern gelungen ist eigene Server zu erstellen wo die XP und die Droprate erhöht wurde. Hab mir das Spiel wieder runtergeladen...nur wie komm ich auf einen private server? Die Anleitung auf der ersten Seite ist zu kompliziert für mich...da check ich einfach gar nix. Und Google hat mir bislang auch nicht weitergeholfen. Kann mir wer mal das erklären wie es funktioniert?

lg
05/15/2011 13:30 Progaming?#4133
ich wollte wissen auch wenn ich weiß ,dass es doof klingt ,wie bekomme ich einen account auf dem server dann hin?

thx im vorraus
05/15/2011 14:15 » Hard|TM «#4134
Quote:
Originally Posted by Progaming? View Post
ich wollte wissen auch wenn ich weiß ,dass es doof klingt ,wie bekomme ich einen account auf dem server dann hin?

thx im vorraus
Stichwort -> DB , Stichwort -> NaviCat ?

Oder man lese ein paar 100 Seiten durch da finden du sicherlich deine Antwort. Ich kann ja verstehen das man kb hat 100erte von seiten durchzulesen aber wenn ihr aufmerksamkeit braucht dann versucht es mal mit der Seelsorge Hotline vllt. wissen die ja auch wo man die Neuen Files herbekommt *fg*.

LG
05/15/2011 16:04 Wizatek#4135
Quote:
Originally Posted by dsfgd View Post
that's just the "encrypted data" part

add 01 00 00 00 EA before the package and 00 00 after

the whole package should look like this:

Code:
01 81 00 00 00 00 00 00 00 00 00 F1 - 12 byte Header (0xF1 = EncryptedHeaderSize + DataSize + keysize)
01 00 00 00 EA - 5 Byte Header (0xEA = DataSize)
22 00 00 00 01 00 00 00 06 00 00 00 04 00 00 00 01 00 00 00 01 00 00 00 08 00 - Data
00 00 00 01 00 00 08 AD 32 31 32 2E 37 2E 32 30 37 2E 31 38 35 00 00 00 10 05 
00 00 00 02 00 00 08 73 32 31 32 2E 37 2E 32 30 37 2E 31 38 35 00 00 00 10 06 
00 00 00 03 00 00 08 54 32 31 32 2E 37 2E 32 30 37 2E 31 38 35 00 00 00 10 07 
00 00 00 04 00 00 08 38 32 31 32 2E 37 2E 32 30 37 2E 31 38 35 00 00 00 10 08 
00 00 00 05 00 00 08 7B 32 31 32 2E 37 2E 32 30 37 2E 31 38 35 00 00 00 10 09  
00 00 00 06 00 00 08 16 32 31 32 2E 37 2E 32 30 37 2E 31 38 35 00 00 00 10 0A 
00 00 00 07 00 00 08 0F 32 31 32 2E 37 2E 32 30 37 2E 31 38 35 00 00 00 10 0B 
00 00 00 08 00 00 08 16 32 31 32 2E 37 2E 32 30 37 2E 31 38 35 00 00 00 10 0C 
00 00 - Key ?
Great! that worked perfectly, Thanks!
Just, how is it possible u can sniff those packets ?
When i activate the encryption and login on 777 and such i can only see the encrypted packages.
But when i turn the encryption off, then i cant login to 777.
U mentioned something about seeing it with ollydbg.
Does olly lets u see the unencrypted packets somehow ?

(i know nearly nothing about asm :P )
05/15/2011 16:22 dsfgd#4136
Quote:
Originally Posted by wizatek View Post
Great! that worked perfectly, Thanks!
Just, how is it possible u can sniff those packets ?
When i activate the encryption and login on 777 and such i can only see the encrypted packages.
But when i turn the encryption off, then i cant login to 777.
U mentioned something about seeing it with ollydbg.
Does olly lets u see the unencrypted packets somehow ?

(i know nearly nothing about asm :P )
yes, you can do everything with a debugger ^^
- use the client with encryption
- set a breakpoint after the RECV Decryption
- look into the dump window for the decrypted package,
that's all XD

the packages are mostly the same as in the 2005 server, that's why i develope the emulator with 2005 files, it's easier to sniff, i'm to lazy to write a good package sniffer ^^

some progress:
[Only registered and activated users can see links. Click Here To Register...]
I can see npc's ^^, they are not moving but a least i found an easy way to show them for testing other packages
05/15/2011 16:39 Wizatek#4137
well the fact that u can see the npc's is already verry impressive.
i guess u have to take the players coordinates and send the package that says there is a mob in that range or something ? :P

Im still stuck on the login part of EP2. the packet u gave me works perfect.
I guess the client searches first if there is a gameserver listening to that ip/port and when it is, then it shows the channels.

Quote:
01 81 00 00 00 00 00 00 00 00 00 39 01 00 00 00
30 22 00 00 00 01 00 00 00 06 00 00 00 04 00 00
00 01 00 00 00 01 00 00 00 08 00 00 00 00 01 00
00 08 ad 31 32 37 2e 30 2e 30 2e 31 00 00 00 10
05 00 00
]

I used that package to send back after the login request.
It sends 127.0.0.1 but i have no idea why it does not want to connect.
I tought maybe there is a port number in it also maybe


// Edit
It does work. wrong calculation of me >.< 0x39 should have been 0x37
It shows me 7x katar0 and 1x katar1 :P
05/15/2011 16:40 attack1919#4138
Hey wo bekomme ich eigendlich für die server files denn client her

thx im vorraus
05/15/2011 16:47 dsfgd#4139
Quote:
Originally Posted by wizatek View Post
well the fact that u can see the npc's is already verry impressive.
i guess u have to take the players coordinates and send the package that says there is a mob in that range or something ? :P

Im still stuck on the login part of EP2. the packet u gave me works perfect.
I guess the client searches first if there is a gameserver listening to that ip/port and when it is, then it shows the channels.

]

I used that package to send back after the login request.
It sends 127.0.0.1 but i have no idea why it does not want to connect.
I tought maybe there is a port number in it also maybe
i still don't know how the loginserver works, it seams that it only works with 8 channels, i don't know why

for EP2 i made this little package:

Code:
    Public Shared Sub ServerList(ByVal packethandler As PacketHandler)
        Dim pc As New PacketCreator(packethandler.handler)

        Dim ChannelCount As Integer = 8
        Dim ServerCount As Integer = 1
        Dim LastLoggedInServer As Integer = 1
        Dim LastLoggedInChannel As Integer = 1

        pc.addByte(&H22) 'Opcode
        pc.addInt(LastLoggedInServer)
        pc.addInt(LastLoggedInChannel)
        pc.addInt(ServerCount)
        pc.addInt(1) 'ServerID
        pc.addInt(1) 'ServerID
        pc.addInt(ChannelCount)
        pc.addByte(0) ' ???

        For x As Integer = 0 To ChannelCount - 1
            pc.addInt(x + 1) 'ChannelID
            pc.addInt(&H8AD) ' ServerState
            pc.addString("127.0.0.1")
            pc.addInt(4110 + x) ' Gameserver Port
        Next x

        pc.addByte(0)
        pc.addByte(0)
        pc.send()
    End Sub
05/15/2011 17:58 ownedbynico#4140
hört sich gut an das ganze. ... Wann gibts updates ? XD