The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Weird bug, Spell cast-time
Author Message
hctez
Apprentice
*

Posts: 11
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Apr 2012
Reputation: 0



Post: #1
Weird bug, Spell cast-time
Hello, a friend of mine has a server and the players are experiencing this strange bug:

Every hour, for 5 minutes, the spells and skills take twice (or more) the time to cast/perform.

I would really appreciate if someone could give me ways of finding what is causing this.
I told them to check if it happens with every single spell and skill and if it happens to gms and players. I also asked them if they have a script that does something every hour but they said they don't.
There are no errors in the console.
I'm not expecting someone to give me the answer to the bug, but what else can i do to try to find the cause?. They say it happens exactly at 6:52, 7:52, 8:52, etc.

Thanks for reading.
06-26-2015 02:47 PM
Find all posts by this user Like Post Quote this message in a reply
azmanomer
Journeyman
*

Posts: 139
Likes Given: 4
Likes Received: 18 in 16 posts
Joined: Nov 2013
Reputation: 1



Post: #2
RE: Weird bug, Spell cast-time
they can search for "3600" or "60x60" in scripts Smile they can use agent ransack to search all of them at once
(This post was last modified: 06-26-2015 04:00 PM by azmanomer.)
06-26-2015 03:59 PM
Find all posts by this user Like Post Quote this message in a reply
hctez
Apprentice
*

Posts: 11
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Apr 2012
Reputation: 0



Post: #3
RE: Weird bug, Spell cast-time
i did that with no result, so its either not exactly 1 hour, or the timer is the result of adding stuff or evaluating a tag or something, not directly doing timer=3600.

Thanks for answering
06-26-2015 04:01 PM
Find all posts by this user Like Post Quote this message in a reply
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #4
RE: Weird bug, Spell cast-time
Ask them if they have this setting set to 60 in the ini, it is used to be set as 60 (1 hour):

// Amount of minutes to call f_onserver_timer (0 disables this, default)
TimerCall=0

If they have it, tell them to check the f_onserver_timer function for possible issues (it's inside sphere_serv_triggers.scp)
06-27-2015 12:57 AM
Find all posts by this user Like Post Quote this message in a reply
hctez
Apprentice
*

Posts: 11
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Apr 2012
Reputation: 0



Post: #5
RE: Weird bug, Spell cast-time
They have it on 0.
06-27-2015 03:51 AM
Find all posts by this user Like Post Quote this message in a reply
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #6
RE: Weird bug, Spell cast-time
Do they have the server on a host? Maybe it has scheduled a task and it hangs in it.
06-27-2015 07:08 AM
Find all posts by this user Like Post Quote this message in a reply
hctez
Apprentice
*

Posts: 11
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Apr 2012
Reputation: 0



Post: #7
RE: Weird bug, Spell cast-time
Yes, they have it on a host. I'll ask them about that.
But is it possible that a problem with the host only affects spells and skill and not general movement lag or other stuff?
Also it seems that gms are not affected by this bug.
(This post was last modified: 06-27-2015 08:24 AM by hctez.)
06-27-2015 07:15 AM
Find all posts by this user Like Post Quote this message in a reply
azmanomer
Journeyman
*

Posts: 139
Likes Given: 4
Likes Received: 18 in 16 posts
Joined: Nov 2013
Reputation: 1



Post: #8
RE: Weird bug, Spell cast-time
Also there could be an item with timer to do that which is really hard to find Smile
06-27-2015 08:39 AM
Find all posts by this user Like Post Quote this message in a reply
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #9
RE: Weird bug, Spell cast-time
Hmmmm a problem which involves lag for players, only for casting, only each 1:00:00 hour ... looks like a conspiration Smile

There was a problem (should be fixed now) involving casting/skill's success in latest builds making them to finish in the next tick (0.1~s) after it should, but it should happen everytime and not like this.

Do they use the Webpage Generator inside sphere.ini with a 60minutes delay? It must be something like that being called each 60min and blocking cast, walking checks, AFAIK, have a buffer to store movements in case of lag or problems like this so it may make this unoticeable. It sounds me much like a host 'problem', some tasks schedulled each hour by host owners or another hosted client ... maybe they should contact the host manager if they are sure that no scripts are causing this.
06-27-2015 05:15 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 4 Guest(s)