Check your groups.xml in the XML directory and see if it corresponds with what you set the group id to be in the database. In some versions of TFS the group id is set to 3 as the permissions needed but the real permissions need is group 5.just compiled tfs 1.2 8.6 when i made god chr with phpmyadmin i enterd the game and when i try to use commands like /a /m cannot execute it or get the message that says i cannot execute this command
<?xml version="1.0" encoding="UTF-8"?>
<groups>
<group id="1" name="player" flags="0" access="0" maxdepotitems="0" maxvipentries="0" />
<group id="2" name="tutor" flags="16777216" access="0" maxdepotitems="0" maxvipentries="200" />
<group id="3" name="sennior tutor" flags="29360128" access="0" maxdepotitems="0" maxvipentries="200" />
<group id="4" name="gamemaster" flags="66567897594" access="1" maxdepotitems="0" maxvipentries="200" outfit="266"/>
<group id="5" name="god" flags="135291445242" access="1" maxdepotitems="0" maxvipentries="200" outfit="302"/>
</groups>
still 17:52 You see yourself. You are a sorcerer.Set account type to 5 and player's group to 3(or whatever god's group id is).
yea i set account type to 5 and group to 5You did it?
So the players god group will be 5 aswell.
any commands /i /m /s /n just /a works but it dont make tp effect just moveYou're sure you've not mistaken account id with account type?
Try using your previous default groups.xml, and then set acc type to 5 and groups to 3 (god).
Or even maybe create a new character with these parameters.
Make changes while your server is off.
What command you're trying to execute exactly?(paste full line)
Because if you werent a god character, i believe you wouldn't get any cancel message, you would just send it in default channel instead.
any commands /i /m /s /n just /a works but it dont make tp effect just move
function onSay(player, words, param)
if not player:getGroup():getAccess() then
return true
end
local steps = tonumber(param)
if not steps then
return false
end
local position = player:getPosition()
position:getNextPosition(player:getDirection(), steps)
position = player:getClosestFreePosition(position, false)
if position.x == 0 then
player:sendCancelMessage("You cannot teleport there.")
return false
end
player:teleportTo(position)
player:getPosition():sendMagicEffect(CONST_ME_TELEPORT)
return false
end