FOnline Development > Questions and Answers
FOnline SDK - Question
raynor009:
How do i change the replication time?
JovankaB:
--- Quote from: raynor009 on December 26, 2010, 05:47:40 PM ---How do i change the replication time?
--- End quote ---
There is a function called "SetReplicationTime" in replication.fos file, and the line to change is:
--- Code: ---if(cr.IsPlayer()) replTime=3; // 3 minutes
--- End code ---
Why they don't set player's Stat[ST_REPLICATION_TIME] in some "player init" function and instead they set the value every time a player dies?
It's a mystery :)
raynor009:
Tell me about it. Btw thx JovankaB
EDIT: Another question.My friend joined my server.We played for a while now then he disconected to change comabt to TB now he cant connect.Why? And also i tried disable the Bounty Hunters but after that server wont load script.I tried disable script from script.cfg but its the same story.
Thx in advance.
JovankaB:
Maybe your friend changed server port, I don't know...
And about the bounty hunters script, there is no error message in server log? If you messed up something in the scripts, there should be some info :)
raynor009:
[00:055] FOnline server, version 0393-9F.
[00:926] *** Starting initialization ****
[00:933] Script system initialization...
[00:958] Reload scripts...
[01:481] Script message: town_supply : Error : Unexpected token '{' : 34, 1.
[01:483] Script::LoadScript - Unable to Build module<town_supply>.
[01:483] Load module fail, name<town_supply>.
[02:358] Script::BindImportedFunctions - Fail to bind imported functions, module<main>, error<-19>.
[02:381] Reload scripts fail.
If i try to disable B Hunters.Cant i just change the time for them.If yes wher should i look?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version