Samstag, 9. Oktober 2010

On to the character selection

As you might have seen in this this video we got to the point of entering the character selection screen. This is a really good start. Today I got the latest copy of code by the videos author. I'm currently reviewing it and will hopefully put it to gitorious later.

The code itself is written using C#. This allows rapid prototyping of applications and good development speed. The code is capable of handling the login but you can't play the game yet. It basically is split into 2 states
  • loginStage
  • marginStage
During the loginState 15 packets will be sent by the server. In the following marginState 4 packets will be sent. We don't handle ping-pong-packets to verify the server is up and running yet. Also right now the code is not multi threaded.

The biggest downside right now is that we can send the packets the client expects but don't know what they mean in detail.

So stay tuned for further updates.

18 Kommentare:

  1. Can we all get together on IRC or something and chat about this?

    AntwortenLöschen
  2. Meet on IRC would be a really nice idea, EFNet #lotroemu perhaps? Will take a peek there this evening (11.10.2010, around 8-9 pm, german summertime)

    AntwortenLöschen
  3. Recoded the server.cs to C++, packets are coming in and going out fine, but client wont find the login server with the cloned packets, Wude what parameters do you use to start the client? Maybe meeting again at #lotroemu today?

    AntwortenLöschen
  4. Hoping to see xbadc0de on IRC again? Have a couple of questions and want to see where you have got to :)

    AntwortenLöschen
  5. Didnt do anything more, since game went F2P and i think our current state wont work anymore with the new client. Thus we would need starting all over catching packets, decode them etc. But will be at #lotroemu this evening for some talking :).

    AntwortenLöschen
  6. Damn, missed you. Need to stop minimising IRC to tray!

    AntwortenLöschen
  7. xbadc0de you still read this?

    AntwortenLöschen
  8. yeah, sometimes :-)

    AntwortenLöschen
  9. Been trying to get hold of you, drop onto IRC (I'm idling there as much as possible)

    AntwortenLöschen
  10. Took some peeks to #lotroemu that weekend but couldnt reach you.

    AntwortenLöschen
  11. LOL! Spent all week idling, came off for the weekend to play LOTRO and then you show up! OK, will idle there 24/7 now xD

    AntwortenLöschen
  12. After watching you log in 8-9am every day for a week or so and me missing you, for the last 2 days I got up specially 8-9am to catch you but you haven't shown up!

    AntwortenLöschen
  13. Well, finally got toally bored of playing that game, was hoping Isengard will get me back in mood, but no, got stuck of above reason at lvl66. Maybe its time to hack around on that game again :-D Trying to take a peek here every day to check if you're still around ...

    AntwortenLöschen
  14. Still around, hadn't been checking as I thought you had definitely given up! Will try and get on IRC.

    AntwortenLöschen
  15. Hello,

    finally found something bout the game. Wrote some days ago a c# version with predefined values for the "login" auth. The udp game server also in c#, only returning packet i've loged with game session. i also get to character selection screen. but when i want to enter the world, nothing happens and the lotroclient.exe disconnects from my "private" server. i start lotroclient.exe with "-a 127.0.0.1:9000 -h 127.0.0.1:9000 -language de" or en ;-) does anybody know if the packets are also zip compressed before they were sent? my thought was to replace the zlib1T.dll with a modded one which logs data to a file before it will be compressed. but i am no c++ coder, so i can't do it. but maybe it's not solving the problem. greetings -T-

    AntwortenLöschen
  16. Hello,

    modded the zlib1T.dll, but only the decompress function is called during the startup, so packets aren't compressed and only "encrypted". Can somebody post a short list of things we got, and things we need to figure out?

    AntwortenLöschen
  17. Best place to come discuss this is IRC. Connect to EFNet and join #lotroemu

    AntwortenLöschen