• 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!

how do i make a god character

Linryt

Conclusionot.sytes.net
Joined
Nov 29, 2008
Messages
73
Reaction score
0
I've made the group_id in the account and player table 5 and the account type 5 but nothing seems to be working can anyone help me?

I'm ising roxor 8.5 btw
 
so the group_id is the acces right? any idea how i can make more acces levels and spread the commands? or something.
 
If you open your XML/groups.xml you will see every group of players you can be on your OT. All these have different access privileges. I will try to explain what some of those values actually mean. Normal players don't have any flags or access level.

flags = what the player will act in game(All possible flags listed below)
customFlags = same thing as flags, but a little bit more special
access = this is access level of the player group, that access level will be checked if a player is trying to make a talkaction or if you set access level on some other action

So you to make a custom group you need to count flags and custom flags that will change the act of that player group.

Too keep it simple I've added the values each flag has to the right of "--".

An example flag="257" = player can not use combat+is ignored by monsters. Flag with value 256 + flag with value 1 = 257.
It's the same with customFlags.

Code:
PLAYERFLAG_CANNOTUSECOMBAT = 0		-- 1
PLAYERFLAG_CANNOTATTACKPLAYER = 1	-- 2
PLAYERFLAG_CANNOTATTACKMONSTER = 2	-- 4
PLAYERFLAG_CANNOTBEATTACKED = 3		-- 8
PLAYERFLAG_CANCONVINCEALL = 4		-- 16
PLAYERFLAG_CANSUMMONALL = 5		-- 32
PLAYERFLAG_CANILLUSIONALL = 6		-- 64
PLAYERFLAG_CANSENSEINVISIBILITY = 7	-- 128
PLAYERFLAG_IGNOREDBYMONSTERS = 8	-- 256
PLAYERFLAG_NOTGAININFIGHT = 9		-- 512
PLAYERFLAG_HASINFINITEMANA = 10		-- 1024
PLAYERFLAG_HASINFINITESOUL = 11		-- 2048
PLAYERFLAG_HASNOEXHAUSTION = 12		-- 4096
PLAYERFLAG_CANNOTUSESPELLS = 13		-- 8192
PLAYERFLAG_CANNOTPICKUPITEM = 14	-- 16384
PLAYERFLAG_CANALWAYSLOGIN = 15		-- 32768
PLAYERFLAG_CANBROADCAST = 16		-- 65536
PLAYERFLAG_CANEDITHOUSES = 17		-- 131072
PLAYERFLAG_CANNOTBEBANNED = 18		-- 262144
PLAYERFLAG_CANNOTBEPUSHED = 19		-- 524288
PLAYERFLAG_HASINFINITECAPACITY = 20	-- 1048576
PLAYERFLAG_CANPUSHALLCREATURES = 21	-- 2097152
PLAYERFLAG_CANTALKREDPRIVATE = 22	-- 4194304
PLAYERFLAG_CANTALKREDCHANNEL = 23	-- 8388608
PLAYERFLAG_TALKORANGEHELPCHANNEL = 24	-- 16777216
PLAYERFLAG_NOTGAINEXPERIENCE = 25	-- 33554432
PLAYERFLAG_NOTGAINMANA = 26		-- 67108864
PLAYERFLAG_NOTGAINHEALTH = 27		-- 134217728
PLAYERFLAG_NOTGAINSKILL = 28		-- 268435456
PLAYERFLAG_SETMAXSPEED = 29		-- 536870912
PLAYERFLAG_SPECIALVIP = 30		-- 1073741824
PLAYERFLAG_NOTGENERATELOOT = 31		-- 2147483648
PLAYERFLAG_CANTALKREDCHANNELANONYMOUS = 32	-- 4294967296	
PLAYERFLAG_IGNOREPROTECTIONZONE = 33		-- 8589934592
PLAYERFLAG_IGNORESPELLCHECK = 34		-- 17179869184
PLAYERFLAG_IGNOREWEAPONCHECK = 35		-- 34359738368
PLAYERFLAG_CANNOTBEMUTED = 36			-- 68719476736
PLAYERFLAG_ISALWAYSPREMIUM = 37			-- 137438953472
PLAYERFLAG_CANANSWERRULEVIOLATIONS = 38		-- 274877906944
PLAYERFLAG_39 = 39 -- ignore			-- 549755813888
PLAYERFLAG_SHOWGROUPINSTEADOFVOCATION = 40	-- 1099511627776
PLAYERFLAG_HASINFINITESTAMINA = 41		-- 2199023255552
PLAYERFLAG_CANNOTMOVEITEMS = 42			-- 4398046511104
PLAYERFLAG_CANNOTMOVECREATURES = 43		-- 8796093022208
PLAYERFLAG_CANREPORTBUGS = 44			-- 17592186044416
PLAYERFLAG_45 = 45 -- ignore			-- 35184372088832
PLAYERFLAG_CANNOTBESEEN = 46			-- 70368744177664

PLAYERCUSTOMFLAG_ALLOWIDLE = 0			-- 1
PLAYERCUSTOMFLAG_CANSEEPOSITION	= 1		-- 2
PLAYERCUSTOMFLAG_CANSEEITEMDETAILS = 2		-- 4
PLAYERCUSTOMFLAG_CANSEECREATUREDETAILS = 3	-- 8
PLAYERCUSTOMFLAG_NOTSEARCHABLE = 4		-- 16
PLAYERCUSTOMFLAG_GAMEMASTERPRIVILEGES = 5	-- 32
PLAYERCUSTOMFLAG_CANTHROWANYWHERE = 6		-- 64
PLAYERCUSTOMFLAG_CANPUSHALLITEMS = 7		-- 128
PLAYERCUSTOMFLAG_CANMOVEANYWHERE = 8		-- 256
PLAYERCUSTOMFLAG_CANMOVEFROMFAR = 9		-- 512
PLAYERCUSTOMFLAG_CANLOGINMULTIPLECHARACTERS = 10	-- 1024
PLAYERCUSTOMFLAG_HASFULLLIGHT = 11			-- 2048
PLAYERCUSTOMFLAG_CANLOGOUTANYTIME = 12			-- 4096
PLAYERCUSTOMFLAG_HIDELEVEL = 13				-- 8192
PLAYERCUSTOMFLAG_ISPROTECTED = 14			-- 16384
PLAYERCUSTOMFLAG_ISIMMUNE = 15				-- 32768
PLAYERCUSTOMFLAG_NOTGAINSKULL = 16			-- 65536
PLAYERCUSTOMFLAG_NOTGAINUNJUSTIFIED = 17		-- 131072
PLAYERCUSTOMFLAG_HIDELEVEL = 18				-- 262144
PLAYERCUSTOMFLAG_IGNOREPACIFICATION = 19		-- 524288
PLAYERCUSTOMFLAG_CANSTAIRHOP = 20			--1048576
PLAYERCUSTOMFLAG_CANTURNHOP = 21			--2097152
PLAYERCUSTOMFLAG_IGNOREHOUSERENT = 22			--4194304
PLAYERCUSTOMFLAG_CANWEARALLADDONS = 23			--8388608
 
Hoe do I use costum flags instead of usual ones though? and are the flags the same on every server?
 
Last edited:
This are flags from TFS 0.3.5 pl1, but I saw that 0.3.6 has the same flags and customflags. You use customflags the same way as flags, just add those values together. Example:
Code:
customFlags = 8394752
this value contains 3 customflags: canwearalladdons = 8388608
, hasfulllight = 2048, canlogoutanytime = 4096.
 
Field Type Function Null Value
id int(11)
name varchar(255)
flags bigint(20) unsigned
access int(11)
maxdepotitems int(11)
maxviplist int(11)

this is all it says i mean how do i use the costum flags in combination with other flaggs if they are the same value or do you have a costum flag slot because in that case i have another flag system which in that case i would want a sample of that.
 
Well, here is an example of a new group id that you can use
Code:
	<group id="7" name="Admin" flags="57171953819640" customFlags="16777215" access="5" violationReasons="23" nameViolationFlags="170" statementViolationFlags="213" depotLimit="5000" maxVips="500" outfit="332"/>
 
Field Type Function Null Value
id int(11)
name varchar(255)
flags bigint(20) unsigned
access int(11)
maxdepotitems int(11)
maxviplist int(11)

this is all it says i mean how do i use the costum flags in combination with other flaggs if they are the same value or do you have a costum flag slot because in that case i have another flag system which in that case i would want a sample of that.
You're using TFS 0.2, and custom flags are not supported in it.
 
Back
Top