Author Topic: Leaving minigame....forgeted up.  (Read 1797 times)

Slayer

Alright, my server, I went to make a slayer minigame, I did, it starts, I leave and noticve theres no leaving message, Figure theres no big deal, then I rejoin, and it says "Glass has joined the Slayer minigame" TWICE. So I try leaving again, Repeat. Says ""Glass has joined the Slayer minigame" Three times, I get very confused, and I end up Control-K, and I get 3 messages.

So basicly, When you leave a slayer minigame, it DOES NOT think you left, So when you rejoin it thinks theres a duplicate of you and displays, lets say you joined 5 times. 5 Death Messages will play, Same with "Glass has updated the slayer minigame".

Regular Minigame

You join, Does not respawn your player like normally. So when you try to end it. This pops up in the console.

When you /leaveminigame
Code: [Select]
ERROR: serverCmdLeaveMiniGame() - "Glass" is not in a minigame!
BackTrace: ->[Slayer_Dependencies_Minigames]serverCmdLeaveMiniGame->serverCmdLeaveMiniGame
And this when you hit end.
Code: [Select]
ERROR: serverCmdEndMiniGame() - "Glass" tried to end a minigame when he's not even in one.
BackTrace: ->[Slayer_Dependencies_Minigames]serverCmdEndMiniGame->serverCmdEndMiniGame

Console Log

Please help. :c

Try deleting Gamemode_Slayer and reinstall it.

Try deleting Gamemode_Slayer and reinstall it.
He tried that, along with using a previous version of slayer. It didn't work.


Ok, try running a server only with default add-ons, and Slayer. Post a console log too.

Ok, try running a server only with default add-ons, and Slayer. Post a console log too.
Or, How about we find the conflicting add-on, Because when I redo all the add-ons, It will simply, come back.

Or, How about we find the conflicting add-on, Because when I redo all the add-ons, It will simply, come back.
But can we please see default and Slayer add-ons? We want to see what happens when yoju do that.

no. just. no. I'm not sifting through about 50Add-Ons just to see that its going to work just fine, then say "ok put it on back". just no.

Fine, forget it.

I can't offer any more help from here.

Could you trace the console and then repeat the actions that have issues, then post the log from it? Also, disconnect from rtb first because it gets pretty spammy while trace is on.

Could you trace the console and then repeat the actions that have issues, then post the log from it? Also, disconnect from rtb first because it gets pretty spammy while trace is on.
I have RTBHosting, But ok.

Click the Console Log link again, Its updated w/ trace.

Code: [Select]
Entering [Slayer_Dependencies_Minigames]serverCmdEndMiniGame(4774)
   Entering [Slayer_Dependencies_Minigames]getMiniGameFromObject(4774)
      Entering getMiniGameFromObject(4774)
      Leaving getMiniGameFromObject() - return 4784
   Leaving [Slayer_Dependencies_Minigames]getMiniGameFromObject() - return 4784
   Entering isSlayerMinigame(4784)
   Leaving isSlayerMinigame() - return 0
   Entering serverCmdEndMiniGame(4774)
      Entering MiniGameSO::endGame(4784)
      Leaving MiniGameSO::endGame() - return
   Leaving serverCmdEndMiniGame() - return
Leaving [Slayer_Dependencies_Minigames]serverCmdEndMiniGame() - return
Entering loopallRegen()
   Entering loopRegen()
      Entering Player::AddHealth(4781, 1)
      Leaving Player::AddHealth() - return
   Leaving loopRegen() - return
Leaving loopallRegen() - return
Entering loopallstatsticker()
   Entering loopallstats()
      Entering Player::AddHealth(4781, 1)
      Leaving Player::AddHealth() - return
   Leaving loopallstats() - return
Leaving loopallstatsticker() - return
Entering loopallRegen()
   Entering loopRegen()
      Entering Player::AddHealth(4781, 1)
      Leaving Player::AddHealth() - return
   Leaving loopRegen() - return
Leaving loopallRegen() - return
Entering serverCmdRequestMiniGameColorList(4774)
Leaving serverCmdRequestMiniGameColorList() - return
Entering loopallRegen()
   Entering loopRegen()
      Entering Player::AddHealth(4781, 1)
      Leaving Player::AddHealth() - return
   Leaving loopRegen() - return
Leaving loopallRegen() - return
Entering loopallstatsticker()
   Entering loopallstats()
      Entering Player::AddHealth(4781, 1)
      Leaving Player::AddHealth() - return
   Leaving loopallstats() - return
Leaving loopallstatsticker() - return
Entering loopallRegen()
   Entering loopRegen()
      Entering Player::AddHealth(4781, 1)
      Leaving Player::AddHealth() - return
   Leaving loopRegen() - return
Leaving loopallRegen() - return
Entering loopallRegen()
   Entering loopRegen()
      Entering Player::AddHealth(4781, 1)
      Leaving Player::AddHealth() - return
   Leaving loopRegen() - return
Leaving loopallRegen() - return
Entering loopallstatsticker()
   Entering loopallstats()
      Entering Player::AddHealth(4781, 1)
      Leaving Player::AddHealth() - return
   Leaving loopallstats() - return
Leaving loopallstatsticker() - return
Entering [Slayer_Dependencies_Minigames]serverCmdLeaveMiniGame(4774)
   Entering [Slayer_Dependencies_Minigames]getMiniGameFromObject(4774)
      Entering getMiniGameFromObject(4774)
         Entering getBL_IDFromObject(4774)
            Entering [Slayer_Dependencies_Minigames]getBrickGroupFromObject(4774)
               Entering getBrickGroupFromObject(4774)
               Leaving getBrickGroupFromObject() - return 4536
            Leaving [Slayer_Dependencies_Minigames]getBrickGroupFromObject() - return 4536
         Leaving getBL_IDFromObject() - return 21073
      Leaving getMiniGameFromObject() - return -1
      Entering Slayer_Support::getBLIDFromObject(4774)
      Leaving Slayer_Support::getBLIDFromObject() - return 21073
   Leaving [Slayer_Dependencies_Minigames]getMiniGameFromObject() - return -1
   Entering isSlayerMinigame(-1)
   Leaving isSlayerMinigame() - return 0
   Entering serverCmdLeaveMiniGame(4774)
     
      ERROR: serverCmdLeaveMiniGame() - "Glass" is not in a minigame!
      BackTrace: ->[Slayer_Dependencies_Minigames]serverCmdLeaveMiniGame->serverCmdLeaveMiniGame
     
   Leaving serverCmdLeaveMiniGame() - return
Leaving [Slayer_Dependencies_Minigames]serverCmdLeaveMiniGame() - return
I checked several instances before these where getMinigameFromObject() was called, and after the minigame, it always returned a number. That is, until the bottom part of the above, where it is called again and suddenly getMinigameFromObject() returns -1 (which means you're not in a minigame).

I'm guessing this has to do with something in this section, from the above:
Code: [Select]
Entering [Slayer_Dependencies_Minigames]serverCmdLeaveMiniGame(4774)
   Entering [Slayer_Dependencies_Minigames]getMiniGameFromObject(4774)
      Entering getMiniGameFromObject(4774)
         Entering getBL_IDFromObject(4774)
            Entering [Slayer_Dependencies_Minigames]getBrickGroupFromObject(4774)
               Entering getBrickGroupFromObject(4774)
               Leaving getBrickGroupFromObject() - return 4536
            Leaving [Slayer_Dependencies_Minigames]getBrickGroupFromObject() - return 4536
         Leaving getBL_IDFromObject() - return 21073
      Leaving getMiniGameFromObject() - return -1
      Entering Slayer_Support::getBLIDFromObject(4774)
      Leaving Slayer_Support::getBLIDFromObject() - return 21073
   Leaving [Slayer_Dependencies_Minigames]getMiniGameFromObject() - return -1
   Entering isSlayerMinigame(-1)
   Leaving isSlayerMinigame() - return 0
   Entering serverCmdLeaveMiniGame(4774)
     
      ERROR: serverCmdLeaveMiniGame() - "Glass" is not in a minigame!
      BackTrace: ->[Slayer_Dependencies_Minigames]serverCmdLeaveMiniGame->serverCmdLeaveMiniGame
     
   Leaving serverCmdLeaveMiniGame() - return
Leaving [Slayer_Dependencies_Minigames]serverCmdLeaveMiniGame() - return
I'll look at slayer real quick and see if i can find what's causing the issue, but I think Greek2Me would be able to understand what's actually causing the issue in the first place.

-Snip-
When do you think you can get this fixed? Today, Tomorrow....Sunday? I been wanting to put up my server for while but this has been a bad problem.

Dear God Glass, do you want help or not?

Why did you refuse this perfectly reasonable suggestion?
Ok, try running a server only with default add-ons, and Slayer. Post a console log too.

And why spam my PM inbox?



Anyway, that console log seems to show you creating a regular minigame, not a Slayer one.