![]() |
Online Time Bug
Help :O
-I know #v(playeronlinetime) is serverside. -I scripted: if (actionserverside) setplayerprop#c,#v(playeronlinetime); (With it triggering of course) -I get back one, it does not change or nothing. Server: Graal X Remember, it displays only ONE (1) I tried restarting the server..failed after doing so. Help soon, thx ;O |
Ok fixed it, it's correctly returning an integer number now instead of 1/0. I have uploaded the new npcserver for new scripting engine to all machines, you only need to restart it manually.
|
Quote:
|
I am trying it now. I will post results below:
Alright, well now it is displaying. But not correctly. It is showing like 11111 hrs, maybe my conversion method isn't working? |
If onlinetime is returned in seconds, then you need to divide the number by 60 to get minutes, and divide by 60*60 to get hours.
|
Quote:
|
| All times are GMT +2. The time now is 03:39 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.