FOnline Development > Questions and Answers

Need some help with the server

<< < (2/2)

Dr. Herbert West:
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.

JovankaB:
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: ---        // Offline and non-real players (staff) skip turns in TB
        if(cr.IsPlayer())
        {
            if(_IsOffline(cr) || !_IsRealPlayer(cr))
            {
                _EndTurn(cr);
            }
        }

--- End code ---

to:


--- Code: ---        // Offline players skip turns in TB
        if(cr.IsPlayer() && _IsOffline(cr))
        {
                _EndTurn(cr);
        }

--- End code ---

Dr. Herbert West:
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?

Ganado:

--- Quote ---Can I edit the number of people required to buy a base/gang?
--- End quote ---
Of course, see: http://fodev.net/forum/index.php/topic,29402.msg258465.html

Navigation

[0] Message Index

[*] Previous page

Go to full version