Took the script "Offline Training" from this link http://otland.net/f81/forgotten-server-0-4-9-6-some-older-offline-training-bar-game-167962/
I fixed offline training on my server yesterday, and checked if it works and everything works up to 100%
but the problem is that when i logout then after some minutes when i login this text isnt coming up as it should do it..
And the other thing is that the "Offline time / minutes bar" isnt going down, i trained for like 1 hour or something and when i login i still have 12:00 in stamina bar (full) idk whats the problem is so it aint using the time while training..
And last thing, when i click on statue it starts training directly, so i was wondering if anyone could help me to make it starts training after 10 minutes when logged out..
I hope my english was good enough to understand!, I Need help with this as fast as possible because i got public otserv and its online, would be good if anyone could help me.
If my english was bad, so please send me PM so i can explain cuz i need help fast!!
I fixed offline training on my server yesterday, and checked if it works and everything works up to 100%
but the problem is that when i logout then after some minutes when i login this text isnt coming up as it should do it..
doPlayerSendTextMessage(cid, MESSAGE_EVENT_DEFAULT, "Your ".. skillNames[skill] .." skill changed from level ".. skillBefore.." to level ".. skillAfter ..".")
doPlayerSendTextMessage(cid, MESSAGE_EVENT_DEFAULT, "Your Shielding skill changed from level ".. skillBeforeShield.." to level ".. skillAfterShield ..". ")
10:22 Your Sword Fighting skill changed from level 38 (with 0.00% progress towards level 39) to level 39 (with 30.14% progress towards level 40)
10:22 Your Shielding skill changed from level 38 (with 8.87% progress towards level 39) to level 38 (with 75.40% progress towards level 39)
And the other thing is that the "Offline time / minutes bar" isnt going down, i trained for like 1 hour or something and when i login i still have 12:00 in stamina bar (full) idk whats the problem is so it aint using the time while training..
And last thing, when i click on statue it starts training directly, so i was wondering if anyone could help me to make it starts training after 10 minutes when logged out..
I hope my english was good enough to understand!, I Need help with this as fast as possible because i got public otserv and its online, would be good if anyone could help me.
If my english was bad, so please send me PM so i can explain cuz i need help fast!!