• Congratulations to the OTLand January Mapping Competition Winner! The grand prize of Otland Premium goes to Andréew.
  • Sign up for February Mapping Competition! The prize includes Otland Premium time.
  • There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Cam System 10.98 (TFS 1.3)

Lyu

Member
Joined
Jul 13, 2018
Messages
4
Best answers
0
Reaction score
8
Hello OTLand, I'm new here in the forum, allow me to introduce myself, my name is Lyu and I'm a Programmer. A few weeks ago I developed a very interesting and advanced level system, I'm talking about the Cam System, a system that collects packets during gameplay and forms a recording from that moment, where you can watch this recording as many times as you like, as a replay, however the system is limited for study and curiosity purposes only. I do not recommend using it on your server, as it is limited, it is also running inside TFS and it may weigh, since I did not have time to optimize it and create a server of its own just to watch the recordings. It is also not serialize/deserialize in files.CAM, it is saving to memory. Again, do not use, just study the main functionality of the system.

Sorry my english xD

You can access the Cam System code here: Cam System 10.98 (https://gist.github.com/Lyuzera/62bd5e635cb1d0fade73acc7cfa063b4)
You can download source with can incluse too in attach files. (I used the latest version of forgottenserver-master)

To start a new recording, use /replay start
To stop a recording and save it, use /replay stop

To watch it, logout of your account and in the login window, put accountname empty and password put replaylist.

Example Video:
 

Attachments

Last edited:

Westwol

Active Member
Joined
Sep 19, 2018
Messages
73
Best answers
6
Reaction score
32
I like the concept of this feature, but as you said, saving replays on memory is overkill. I would save the records in a single .txt file.
 
OP
L

Lyu

Member
Joined
Jul 13, 2018
Messages
4
Best answers
0
Reaction score
8
I like the concept of this feature, but as you said, saving replays on memory is overkill. I would save the records in a single .txt file.
Yes, saving in memory is not cool, so I explained that it is not recommended to use for real. It's more for other programmers to understand the core functionality of such a system.
 

damian00912

New Member
Joined
Sep 11, 2009
Messages
43
Best answers
0
Reaction score
1
compile everythink good, I get info

22:00 The recording has started.
22:00 The recording has stoped.

but after write password replaylist is message Failed to get message :/
 
Top