Spell Queueing locks server
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
Spell Queueing locks server
I built Faithful Swing and was testing it out. I didn't see the icon pop available again, so I hit it anyway... the cast bar filled, then locked, now I cannot do any commands in the World. It's still running, just no commands working.
I will try and reproduce it now.
(this was after a world restart and /reload spells)
I will try and reproduce it now.
(this was after a world restart and /reload spells)
Last edited by John Adams on Tue Aug 12, 2008 6:05 pm, edited 1 time in total.
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
Ok, got the bug I think. Cast the spell, then while it's cooling down, tap it again. Soon as the cooldown finishes, the second (queued) attempt to cast fires off, and locks the World.
I know queuing is likely not working yet, I only discovered it out of habit.
I don't think it has to do with /reload spells.
I know queuing is likely not working yet, I only discovered it out of habit.
I don't think it has to do with /reload spells.
-
LethalEncounter
- Team: Zombie
- Posts: 2717
- Joined: Wed Jul 25, 2007 10:10 pm
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
Definitely, Queueing causes a server to lock solid - no activity, doesn't crash, so it cannot be reset. It's pretty critical, since we cannot rely on players to turn off button queueing in their clients.
However, there is that workaround for us, for now. Go to Options, Controls, Button Queue and disable that sucker. This also might only effect those of us using the new spells, since I don't think this happens with Attack or Sprint (the only spell anyone else gets).
However, there is that workaround for us, for now. Go to Options, Controls, Button Queue and disable that sucker. This also might only effect those of us using the new spells, since I don't think this happens with Attack or Sprint (the only spell anyone else gets).
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
Either Scat cannot stop himself from queueing spells (LOL) or the server is locking solid for another reason. The last activity today was a few spell casts seemingly close together, a client disconnect, then a dozen or so more sapswill slaughters by the guards... and I cannot connect.
Says 1 Zone(s) active, 0 Client(s), and has been like that for hours. It's likely the queueing still, but just in case it's not, I wanted to update this post.
Resetting the server.
Says 1 Zone(s) active, 0 Client(s), and has been like that for hours. It's likely the queueing still, but just in case it's not, I wanted to update this post.
Resetting the server.
-
LethalEncounter
- Team: Zombie
- Posts: 2717
- Joined: Wed Jul 25, 2007 10:10 pm
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
- Scatman
- Retired
- Posts: 1688
- Joined: Wed Apr 16, 2008 5:44 am
- EQ2Emu Server: Scatman's Word
- Characters: Scatman
- Location: New Jersey
-
LethalEncounter
- Team: Zombie
- Posts: 2717
- Joined: Wed Jul 25, 2007 10:10 pm
Could you try the same thing you did before to lock the server? I have fixed a couple of lock problems that were causing issues as well as a bug that might have been causing your crash problem. I don't think I ever explained the lock issue, but here it is: Since the lua scripts can be executed at any time and not in an orderly fashion Mutex (mutually exclusive) locks are used to prevent multiple threads from accessing the safe portion of the code at the same time. If for example, one thread was adding to the loop while it was being modified in another thread this could thrown exceptions or corrupt the data so that the exception is thrown later. The locks help prevent this. The problem comes in when I used a particular lock and then I decide to reuse a function from elsewhere that uses the same lock. This will cause the second lock to wait forever for the first lock to release itself. If it happened in the zone thread only that zone would be affected, but since it happened in the spells thread (which is global) is causes the whole server to lock up.
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
Naw, still seems to be an issue - though it is a little better. The server did not entirely lock up - but refused new connections and further actions in the zone could not be executed (ie., could not cast spells, attack, but chatting worked).
When Scatman and I logged out to reset our clients, we could not get back to the server until I restarted it.
When Scatman and I logged out to reset our clients, we could not get back to the server until I restarted it.
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
Who is online
Users browsing this forum: No registered users and 0 guests