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

doPlayerSetOfflineTraining(cid, skill)??

Fermantor

Active Member
Joined
Dec 16, 2009
Messages
209
Solutions
4
Reaction score
34
Location
Germany
Hey guys, while browsing through the sources of TFS 0.2.14 I found this function
LUA:
doPlayerSetOfflineTraining(cid, skill)
My question now, is that function already working? Cause when you use it, it seems that nothing happens. Only the value in the database changes.
 
Last edited by a moderator:
If the value changes it pretty much works? ^.- but i assume the player has to be offline in order for this to work. Maybe you have to do some changes or something.
 
But that all. Nothing happens. I have tried it, and was offline for about an hour, but the offline time doesn't change. And you won't gain skill tries. I also looked in the sources and found, that if the offlineskillvalue == -1 time is add to your offline bar, but there is no else...
 
When the variables change in the database, and no change is in the character, try gaining a level yourself (without the use of a command) and what level does it go to?
 
Back
Top