fodev.net

FOnline Development => Questions and Answers => Topic started by: Dr. Herbert West on June 22, 2014, 10:34:04 am

Title: Need some help with the server
Post by: Dr. Herbert West on June 22, 2014, 10:34:04 am
I've been trying to start a server for me and a few of my friend but when I'm loading the server it tells me it cant find the client data. I downloaded the client and set the port to 4000, i have all the .dat files needed, i even tried putting the client in the server folder, but it still tells me it cant find it. I've searched Goolge but can only find tutorials on fine tuning a server. Any help would be appreciated.

[28:223] Reload client scripts...
[32:456] Reload client scripts complete.
[32:456] Indexing client data.
[32:458] Clients data not found.

Title: Re: Need some help with the server
Post by: JovankaB on June 22, 2014, 04:38:08 pm
Where did you get the server from? This should run out of the box:

http://fo2238.fodev.net/source/FOnline2238.server+tools.zip

And here is compatible client and mapper:

http://fo2238.fodev.net/source/FOnline2238.client+mapper.zip
Title: Re: Need some help with the server
Post by: Wipe on June 23, 2014, 06:31:17 pm
[32:456] Indexing client data.
[32:458] Clients data not found.
It's just info that there is no characters registered yet.

Server always keep minimal data about each registered character (like id and name for GetPlayerName() / GetPlayerId() functions) in memory, and that's all what "indexing" does. You shouldn't worry about that unless you see some indexing errors.
Title: Re: Need some help with the server
Post by: Dr. Herbert West on June 23, 2014, 10:33:56 pm
Thanks guys, i got it working now.
Any idea how to edit the timeouts?
Title: Re: Need some help with the server
Post by: JovankaB on June 24, 2014, 07:17:25 am
Thanks guys, i got it working now.
Any idea how to edit the timeouts?

If you mean relog timeout:
http://fodev.net/forum/index.php/topic,29414.msg258440.html#msg258440
Title: Re: Need some help with the server
Post by: Dr. Herbert West on June 24, 2014, 10:23:26 pm
Also when ever i change my stats with the `pram code it locks me out of TB combat.
When my turn comes around i have no AP and my turn gets skipped.
Title: Re: Need some help with the server
Post by: JovankaB on June 25, 2014, 12:49:43 am
Actually it's not params, it's because Game Masters' turns are skipped automatically in TB, for obvious reasons I think. Just change your access back to client. Or if you want to remove this feature, change this part of  turn_based_process function in main.fos module:

from:

Code: [Select]
        // Offline and non-real players (staff) skip turns in TB
        if(cr.IsPlayer())
        {
            if(_IsOffline(cr) || !_IsRealPlayer(cr))
            {
                _EndTurn(cr);
            }
        }

to:

Code: [Select]
        // Offline players skip turns in TB
        if(cr.IsPlayer() && _IsOffline(cr))
        {
                _EndTurn(cr);
        }
Title: Re: Need some help with the server
Post by: Dr. Herbert West on June 29, 2014, 01:10:14 am
Can I edit the number of people required to buy a base/gang?
Also the perk editor saves as a xml, do i just copy the entry to perks.fos?
Title: Re: Need some help with the server
Post by: Ganado on June 29, 2014, 04:37:30 am
Quote
Can I edit the number of people required to buy a base/gang?
Of course, see: http://fodev.net/forum/index.php/topic,29402.msg258465.html