Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 05.09.2006, 07:11   #1
r0man
Архивный участник
 
Join Date: Aug 2006
Posts: 5
Default la2 demos without avi

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
r0man is offline  
Old 05.09.2006, 07:14   #2
ShinHawk
Архивный участник
 
Join Date: Feb 2006
Posts: 154
Default

um, the C4 L2 Client does this by itself, and you can watch it using another client
ShinHawk is offline  
Old 05.09.2006, 07:48   #3
r0man
Архивный участник
 
Join Date: Aug 2006
Posts: 5
Default

Quote:
Originally Posted by ShinHawk View Post
um, the C4 L2 Client does this by itself, and you can watch it using another client
just compare theirs
r0man is offline  
Old 05.09.2006, 08:18   #4
Sakumi
Архивный участник
 
Join Date: Apr 2005
Posts: 555
Default

r0man, it is not "la2" it is "l2"

It is not "line age" it is "Lineage" which is a single word, that means something different.

A lineage is like, say a family tree. That is a lineage of that family.

I'm just posting to say writing LA2 is wrong, it is correctly written L2.

Truely yours,
Sakumi-san

Edit: btw good work. I don't play too much anymore as a player so.. sadly I have no need to take demos. The concept is interesting, and its excelent you have a working version. Good work on your project, very successful!
Sakumi is offline  
Old 05.09.2006, 09:45   #5
r0man
Архивный участник
 
Join Date: Aug 2006
Posts: 5
Default

Quote:
Originally Posted by Sakumi View Post
r0man, it is not "la2" it is "l2"
;-) sorry...
r0man is offline  
Old 29.09.2006, 11:39   #6
_xor_
Архивный участник
 
Join Date: Jun 2006
Posts: 22
Default

C4 client have this funktionality.
Alt+C and click icon with camera.

And last button in login screen for view records.
Records saved in folder "Replay" with extensoin "l2r".
1 record - 1 file.

But good work )
It can be helpfull on preC4 servers.
Or it can be usefull in other projects.


P.S. sorry, i dont see date of posts ))
_xor_ is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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