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

Lua Talkactions |The Forgotten Server 1.2|

Zoriax_

Owner|Antarctica Ots
Joined
Feb 15, 2008
Messages
745
Reaction score
23
Location
Norway
My talkactions is not working!

My group.xml

XML:
<?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="gamemaster" flags="137438953471" access="1" maxdepotitems="0" maxvipentries="200" />
<group id="3" name="god" flags="272730398714" access="1" maxdepotitems="0" maxvipentries="200" />
</groups>

Commands.xml

XML:
<?xml version="1.0" encoding="UTF-8"?>
<commands>
    <command cmd="/reload" group="2" acctype="5" log="yes" />
    <command cmd="/raid" group="2" acctype="4" log="yes" />
    <command cmd="!sellhouse" group="1" acctype="1" log="no" />
</commands>
 
Last edited:
Use this groups.xml and change as you want (and make sure your account type is 5):
http://i.imgur.com/OSsjrzZ.jpg

Code:
<?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="gamemaster" flags="137438953471" access="1" maxdepotitems="0" maxvipentries="200" />
<group id="3" name="god" flags="272730398714" access="1" maxdepotitems="0" maxvipentries="200" />
<group id="4" name="god" flags="272730398714" access="1" maxdepotitems="0" maxvipentries="200" />
<group id="5" name="god" flags="272730398714" access="1" maxdepotitems="0" maxvipentries="200" />
</groups>

You can't understand what you did?

<command cmd="/reload" group="2" acctype="5" log="yes" />

btw- you should use TFS stuffs to do talkactions
 
This is my account Information

Screenshot


This is the player information!

Screenshot

OK
Try this:

First, set that to 5:
HqcZ1L1.png


Then set ALL group IDS for "account_ID 1" = 3:

dJfDOPY.png


If that does not work, post your talkactions.xml
 
OK
Try this:

First, set that to 5:
HqcZ1L1.png


Then set ALL group IDS for "account_ID 1" = 3:

dJfDOPY.png


If that does not work, post your talkactions.xml



XML:
<?xml version="1.0" encoding="UTF-8"?>

-<talkactions>

<!-- commands -->


<talkaction script="ban.lua" separator=" " words="/ban"/>

<talkaction script="ipban.lua" separator=" " words="/ipban"/>

<talkaction script="unban.lua" separator=" " words="/unban"/>

<talkaction script="up.lua" words="/up"/>

<talkaction script="down.lua" words="/down"/>

<talkaction script="teleport_creature_here.lua" separator=" " words="/c"/>

<talkaction script="teleport_to_creature.lua" separator=" " words="/goto"/>

<talkaction script="owner.lua" separator=" " words="/owner"/>

<talkaction script="teleport_home.lua" words="/t"/>

<talkaction script="teleport_to_town.lua" separator=" " words="/town"/>

<talkaction script="teleport_ntiles.lua" separator=" " words="/a"/>

<talkaction script="position.lua" separator=" " words="/pos"/>

<talkaction script="info.lua" separator=" " words="/info"/>

<talkaction script="removething.lua" separator=" " words="/r"/>

<talkaction script="kick.lua" separator=" " words="/kick"/>

<talkaction script="openserver.lua" words="/openserver"/>

<talkaction script="closeserver.lua" separator=" " words="/closeserver"/>

<talkaction script="broadcast.lua" separator=" " words="/B"/>

<talkaction script="place_monster.lua" separator=" " words="/m"/>

<talkaction script="create_item.lua" separator=" " words="/i"/>

<talkaction script="place_npc.lua" separator=" " words="/s"/>

<talkaction script="add_tutor.lua" separator=" " words="/addtutor"/>

<talkaction script="remove_tutor.lua" separator=" " words="/removetutor"/>

<talkaction script="looktype.lua" separator=" " words="/looktype"/>

<talkaction script="place_summon.lua" separator=" " words="/summon"/>

<talkaction script="chameleon.lua" separator=" " words="/chameleon"/>

<talkaction script="add_skill.lua" separator=" " words="/addskill"/>

<talkaction script="mccheck.lua" words="/mccheck"/>

<talkaction script="ghost.lua" words="/ghost"/>

<talkaction script="clean.lua" words="/clean"/>

<talkaction script="hide.lua" words="/hide"/>

<!-- player talkactions -->


<talkaction script="buyprem.lua" words="!buypremium"/>

<talkaction script="buyhouse.lua" words="!buyhouse"/>

<talkaction script="leavehouse.lua" words="!leavehouse"/>

<talkaction script="changesex.lua" words="!changesex"/>

<talkaction script="uptime.lua" words="!uptime"/>

<talkaction script="deathlist.lua" words="!deathlist"/>

<talkaction script="kills.lua" words="!kills"/>

<talkaction script="online.lua" words="!online"/>

<talkaction script="serverinfo.lua" words="!serverinfo"/>

<!-- test talkactions -->


<talkaction script="magiceffect.lua" separator=" " words="!z"/>

<talkaction script="animationeffect.lua" separator=" " words="!x"/>

</talkactions>
 
XML:
<?xml version="1.0" encoding="UTF-8"?>

-<talkactions>

<!-- commands -->


<talkaction script="ban.lua" separator=" " words="/ban"/>

<talkaction script="ipban.lua" separator=" " words="/ipban"/>

<talkaction script="unban.lua" separator=" " words="/unban"/>

<talkaction script="up.lua" words="/up"/>

<talkaction script="down.lua" words="/down"/>

<talkaction script="teleport_creature_here.lua" separator=" " words="/c"/>

<talkaction script="teleport_to_creature.lua" separator=" " words="/goto"/>

<talkaction script="owner.lua" separator=" " words="/owner"/>

<talkaction script="teleport_home.lua" words="/t"/>

<talkaction script="teleport_to_town.lua" separator=" " words="/town"/>

<talkaction script="teleport_ntiles.lua" separator=" " words="/a"/>

<talkaction script="position.lua" separator=" " words="/pos"/>

<talkaction script="info.lua" separator=" " words="/info"/>

<talkaction script="removething.lua" separator=" " words="/r"/>

<talkaction script="kick.lua" separator=" " words="/kick"/>

<talkaction script="openserver.lua" words="/openserver"/>

<talkaction script="closeserver.lua" separator=" " words="/closeserver"/>

<talkaction script="broadcast.lua" separator=" " words="/B"/>

<talkaction script="place_monster.lua" separator=" " words="/m"/>

<talkaction script="create_item.lua" separator=" " words="/i"/>

<talkaction script="place_npc.lua" separator=" " words="/s"/>

<talkaction script="add_tutor.lua" separator=" " words="/addtutor"/>

<talkaction script="remove_tutor.lua" separator=" " words="/removetutor"/>

<talkaction script="looktype.lua" separator=" " words="/looktype"/>

<talkaction script="place_summon.lua" separator=" " words="/summon"/>

<talkaction script="chameleon.lua" separator=" " words="/chameleon"/>

<talkaction script="add_skill.lua" separator=" " words="/addskill"/>

<talkaction script="mccheck.lua" words="/mccheck"/>

<talkaction script="ghost.lua" words="/ghost"/>

<talkaction script="clean.lua" words="/clean"/>

<talkaction script="hide.lua" words="/hide"/>

<!-- player talkactions -->


<talkaction script="buyprem.lua" words="!buypremium"/>

<talkaction script="buyhouse.lua" words="!buyhouse"/>

<talkaction script="leavehouse.lua" words="!leavehouse"/>

<talkaction script="changesex.lua" words="!changesex"/>

<talkaction script="uptime.lua" words="!uptime"/>

<talkaction script="deathlist.lua" words="!deathlist"/>

<talkaction script="kills.lua" words="!kills"/>

<talkaction script="online.lua" words="!online"/>

<talkaction script="serverinfo.lua" words="!serverinfo"/>

<!-- test talkactions -->


<talkaction script="magiceffect.lua" separator=" " words="!z"/>

<talkaction script="animationeffect.lua" separator=" " words="!x"/>

</talkactions>

Are you getting any errors in the console whilst trying to execute those commands?

Try this:

1. Make sure your character is logged off.
2. Go to database website
3. Click on your database
4. Click on SQL

cCe7PfT.png


5. Paste the code there replacing anything that's there

Code:
UPDATE `accounts`, `players`
SET `type` = '5', `group_id` = '3'

EBhpCFv.png


6. It should look like on the screenshot above, now click on 'Go' button to confirm changes.
7. Login to game to see the effect.
8. If the code above doesn't work, try the one below:

Code:
UPDATE `accounts`, `players`
SET `type` = '6', `group_id` = '3'
 
Are you getting any errors in the console whilst trying to execute those commands?

Try this:

1. Make sure your character is logged off.
2. Go to database website
3. Click on your database
4. Click on SQL

cCe7PfT.png


5. Paste the code there replacing anything that's there

Code:
UPDATE `accounts`, `players`
SET `type` = '5', `group_id` = '3'

EBhpCFv.png


6. It should look like on the screenshot above, now click on 'Go' button to confirm changes.
7. Login to game to see the effect.
8. If the code above doesn't work, try the one below:

Code:
UPDATE `accounts`, `players`
SET `type` = '6', `group_id` = '3'
type 6 doesn't exist.
type 5 is ACCOUNT_TYPE_GOD
op clearly doesn't have the official 1.2 because all of his xml formatting is mixed around, his groups are wrong
he has group 3 but his xml defines god as 5 not 3
forgottenserver/groups.xml at 1.2 · otland/forgottenserver · GitHub
use this and set your char to group 3 with account type 5
simple
 
Try to set the group_id to 9 which is considered as "Owner". It has the highest access in older TFS versions. But I'm not sure about the 1.2.
 
As both me and @Xeraphus explained 5 is the highest, anything higher would be the same as 5.
that's account, groups are user defined
op clearly changed the file and made god group 5, since it's 1, 2, 3 by default in 1.2
he claims to have default 1.2 but never says he changed shit until he shows us the groups file that is clearly changed, and his talkactions are changed too
he probably downloaded a datapack from somewhere claiming it's original when he has absolutely no idea
the solution is simple
account type 5 and group id 3
 
Back
Top