• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

admin flags

Powtreeman

Member
Joined
Sep 26, 2011
Messages
400
Reaction score
6
Location
USA
There used to be a sort of calculator for adding flags.
Does it still exist? I can't find it anywhere even with google.
I need one for tfs 1.0



New problem. In 1.0 where do I edit or add flags or custom flags? custom flags more importantly
 
Last edited:
Playerflags as seen in const.h. Add the ones you want together. I believe that is how it works, not sure though.

Code:
    PlayerFlag_CannotUseCombat = 0,        //2^0 = 1
    PlayerFlag_CannotAttackPlayer,          //2^1 = 2
    PlayerFlag_CannotAttackMonster,        //2^2 = 4
    PlayerFlag_CannotBeAttacked,            //2^3 = 8
    PlayerFlag_CanConvinceAll,              //2^4 = 16
    PlayerFlag_CanSummonAll,                //2^5 = 32
    PlayerFlag_CanIllusionAll,              //2^6 = 64
    PlayerFlag_CanSenseInvisibility,        //2^7 = 128
    PlayerFlag_IgnoredByMonsters,          //2^8 = 256
    PlayerFlag_NotGainInFight,              //2^9 = 512
    PlayerFlag_HasInfiniteMana,            //2^10 = 1024
    PlayerFlag_HasInfiniteSoul,            //2^11 = 2048
    PlayerFlag_HasNoExhaustion,            //2^12 = 4096
    PlayerFlag_CannotUseSpells,            //2^13 = 8192
    PlayerFlag_CannotPickupItem,            //2^14 = 16384
    PlayerFlag_CanAlwaysLogin,              //2^15 = 32768
    PlayerFlag_CanBroadcast,                //2^16 = 65536
    PlayerFlag_CanEditHouses,              //2^17 = 131072
    PlayerFlag_CannotBeBanned,              //2^18 = 262144
    PlayerFlag_CannotBePushed,              //2^19 = 524288
    PlayerFlag_HasInfiniteCapacity,        //2^20 = 1048576
    PlayerFlag_CanPushAllCreatures,        //2^21 = 2097152
    PlayerFlag_CanTalkRedPrivate,          //2^22 = 4194304
    PlayerFlag_CanTalkRedChannel,          //2^23 = 8388608
    PlayerFlag_TalkOrangeHelpChannel,      //2^24 = 16777216
    PlayerFlag_NotGainExperience,          //2^25 = 33554432
    PlayerFlag_NotGainMana,                //2^26 = 67108864
    PlayerFlag_NotGainHealth,              //2^27 = 134217728
    PlayerFlag_NotGainSkill,                //2^28 = 268435456
    PlayerFlag_SetMaxSpeed,                //2^29 = 536870912
    PlayerFlag_SpecialVIP,                  //2^30 = 1073741824
    PlayerFlag_NotGenerateLoot,            //2^31 = 2147483648
    PlayerFlag_CanTalkRedChannelAnonymous,  //2^32 = 4294967296
    PlayerFlag_IgnoreProtectionZone,        //2^33 = 8589934592
    PlayerFlag_IgnoreSpellCheck,            //2^34 = 17179869184
    PlayerFlag_IgnoreWeaponCheck,          //2^35 = 34359738368
    PlayerFlag_CannotBeMuted,              //2^36 = 68719476736
    PlayerFlag_IsAlwaysPremium,            //2^37 = 137438953472
 
Back
Top