![]() |
|
|
#1 |
|
Архивный участник
Join Date: Aug 2006
Posts: 5
|
Hello.
Let me introduce simple approach for making demos without avi file. The idea is capture all server packets during the game and after that use own local dummy game server which pushed all saving packets. TODO The .NET Framework 1.1 must be installed. 1. Use l2pcap.exe for capture packets. Start l2pcap.exe befor playing. This program must captures only packets from game server, not from login server. You should set GameServerIP and GameServerPort. GameServerPort is 7777 by default. After that you get *.gpckt file. 2. Changing Server IP. Set at WINDOWS\system32\drivers\etc\hosts: 127.0.0.1 l2authd.lineage2.com 127.0.0.1 l2testauthd.lineage2.com OR change ServerAddr=127.0.0.1 at l2.ini This step mean that your client program L2.exe will connect to your local game server l2server.exe. 3. Use l2server.exe as local game server. You should set LoginPacket (use 127_0_0_1.lpckt by default) and your *.gpckt file (use demo.gpckt for testing). Click start button. 4. Start L2.exe, going through login process and click start button without pause. 5. Get fun ;-) PS Now exists small bug of moving synchronization. Char at some demo can stuck in textures. The reason is server packets does not determine char moving absolutely correct. In future i'll teach l2server.exe understand moving packets from client. After demo change Server IP backwards. I'm using c4 client and l2j c4 server. Src available. http://slil.ru/23088573 release_2006_09_04.rar |
|
|
|
|