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

Solved Players have infinite cap?

dominique120

Science & Reason
Senator
Premium User
Joined
Jun 16, 2013
Messages
3,881
Solutions
3
Reaction score
1,046
Location
Númenor
I dont know why all the players, on all accounts, of all vocations have infinite capacity. What could be causing this? is it in the source? They all get something like 10000 and it never changes.

Server version is TFS 0.3.6
 
We need more info, map, datapack that is downloaded? Otherwise start by checking vocations.xml and the sample chars, if they have xxx amount of cap when they start its the sample chars otherwise its the vocations.xml.

And if you checked those two things, then its most likely a login script or smth like that, that all the players have in common, eg. firstitem mod or a simple onLogin(cid) script.
Regards WibbenZ
 
Do you use flags for group ID 1?
Flags for players are as follow:
<group id="1" name="Player" flags="1048576" customFlags="1"/>

We need more info, map, datapack that is downloaded? Otherwise start by checking vocations.xml and the sample chars, if they have xxx amount of cap when they start its the sample chars otherwise its the vocations.xml.

And if you checked those two things, then its most likely a login script or smth like that, that all the players have in common, eg. firstitem mod or a simple onLogin(cid) script.
Regards WibbenZ

I'll look into events that are onlogin. EDIT: Datapack is MoonOTS.
 
Last edited:
Nice to see that you solved it ! :P I wanted to tell you same about the flags xD

here you can check if you other groups are ok !


PHP:
<?xml version="1.0" encoding="UTF-8"?>
<groups>
    <group id="1" name="Player"/>
    <group id="2" name="Tutor" flags="16809984" customFlags="2" access="1" violationReasons="4" nameViolationFlags="2"/>
    <group id="3" name="Senior Tutor" flags="68736352256" customFlags="14" access="2" violationReasons="10" nameViolationFlags="2" statementViolationFlags="63" maxVips="200"/>
    <group id="4" name="Gamemaster" flags="3808558964575" customFlags="257215" access="3" violationReasons="19" nameViolationFlags="10" statementViolationFlags="69" depotLimit="3000" maxVips="300" outfit="75"/>
    <group id="5" name="Community Manager" flags="3840774348794" customFlags="781823" access="4" violationReasons="23" nameViolationFlags="42" statementViolationFlags="213" depotLimit="4000" maxVips="400" outfit="266"/>
    <group id="6" name="God" flags="3845069447162" customFlags="2097151" access="5" violationReasons="23" nameViolationFlags="426" statementViolationFlags="469" depotLimit="5000" maxVips="500" outfit="302"/>
</groups>
 
Nice to see that you solved it ! :p I wanted to tell you same about the flags xD

here you can check if you other groups are ok !


PHP:
<?xml version="1.0" encoding="UTF-8"?>
<groups>
    <group id="1" name="Player"/>
    <group id="2" name="Tutor" flags="16809984" customFlags="2" access="1" violationReasons="4" nameViolationFlags="2"/>
    <group id="3" name="Senior Tutor" flags="68736352256" customFlags="14" access="2" violationReasons="10" nameViolationFlags="2" statementViolationFlags="63" maxVips="200"/>
    <group id="4" name="Gamemaster" flags="3808558964575" customFlags="257215" access="3" violationReasons="19" nameViolationFlags="10" statementViolationFlags="69" depotLimit="3000" maxVips="300" outfit="75"/>
    <group id="5" name="Community Manager" flags="3840774348794" customFlags="781823" access="4" violationReasons="23" nameViolationFlags="42" statementViolationFlags="213" depotLimit="4000" maxVips="400" outfit="266"/>
    <group id="6" name="God" flags="3845069447162" customFlags="2097151" access="5" violationReasons="23" nameViolationFlags="426" statementViolationFlags="469" depotLimit="5000" maxVips="500" outfit="302"/>
</groups>

I've tested out the other ones and they are fine. What I am still debating is if I should give unlimited cap or 0 cap to gamemasters. I dont see why they will need it, but then again, I dont know.
 
Well if a GM summons an item (if it's possible) and he has no cap maybe it drops on the ground have you tested it ?

I don't want GMs to summon items, no way in hell. Its like asking them to spawn free stuff for all their friends, and eventually everyone on the server. I've seen it happen before, and I do not want to see it again.
 
On your gamemaster conundrum: You should give them infinite cap and remove their ability to summon items? On my server I haven't gotten around to adding cap to my gamemaster character and every item that I work with has to be thrown about the ground, AND, I can still summon items, but they go on the ground and are immediately available for snatching by the players, so even if I am responsible and just use the item summoning command where it's necessary... I run the risk of accidentally giving some noob a custom enchanted staff of kill-the-crap-out-of-everyone.
 
So give them 0 Cap :p

don't forget to change access in talkactions!

This must have been the first thing I did when looking at the talkactions.xml
On your gamemaster conundrum: You should give them infinite cap and remove their ability to summon items? On my server I haven't gotten around to adding cap to my gamemaster character and every item that I work with has to be thrown about the ground, AND, I can still summon items, but they go on the ground and are immediately available for snatching by the players, so even if I am responsible and just use the item summoning command where it's necessary... I run the risk of accidentally giving some noob a custom enchanted staff of kill-the-crap-out-of-everyone.

Here is how I think of it, "why would the gamemaster need a custom enchanted staff of kill-the-crap-out-of-everyone?"
 
exactly... BUT he might need to pick up garbage or pick up a custom enchanted staff of kill-the-crap-out-of-everyone that some bug produced. I.E. remove the ability to make the item, but not the ability to pick up.
 
exactly... BUT he might need to pick up garbage or pick up a custom enchanted staff of kill-the-crap-out-of-everyone that some bug produced. I.E. remove the ability to make the item, but not the ability to pick up.

Thats a good point. maybe I'll do it like on this OT where I am game master, where cap for GMs is dependent on the level, like it is for the players.
 
Back
Top