Raised This Month: $ Target: $400
 0% 

[TF2] Boss Battles (1.2, April 20, 2012)


Post New Thread Reply   
 
Thread Tools Display Modes
MasterOfTheXP
Veteran Member
Join Date: Aug 2011
Location: Cloudbank
Old 04-20-2012 , 14:05   Re: [TF2] Boss Battles 1.2
Reply With Quote #161

It's finally here. Although, despite it taking forever, it still has a few bugs here and there--you may need admins present in case people start spawning as spectators, a common glitch. I'll try to fix it for good next time.

Despite the few bugs, it's far better than 1.1.2, both in terms of working-ness and good-looking-ness. So...

BOSS BATTLES 1.2
Spoiler


Now requires SDKHooks and TF2Items, get them first if you haven't already.
Attached Files
File Type: zip boss.zip (152.3 KB, 110 views)
__________________
Plugins / My Steam / TF2 Sandbox (plugin beta testing!)
MasterOfTheXP is offline
Helvetica
Senior Member
Join Date: Nov 2011
Location: U.S.
Old 04-21-2012 , 01:36   Re: [TF2] Boss Battles 1.2
Reply With Quote #162

Great to see 1.2 finally released! I see you added some support for those custom config files I mentioned, I'm gonna start playing around with that some more, now that there's some dedicated cvars for it.

The addition of arena type battles is awesome too, I'm eager to try that out.

Nice work XP.
Helvetica is offline
MasterOfTheXP
Veteran Member
Join Date: Aug 2011
Location: Cloudbank
Old 04-21-2012 , 13:52   Re: [TF2] Boss Battles 1.2
Reply With Quote #163

Quote:
Originally Posted by Helvetica View Post
Great to see 1.2 finally released! I see you added some support for those custom config files I mentioned, I'm gonna start playing around with that some more, now that there's some dedicated cvars for it.

The addition of arena type battles is awesome too, I'm eager to try that out.

Nice work XP.
Thanks! I actually made those custom cvars before you messaged me, but now that you did I see how having more of them for custom weapons and such could really work.
__________________
Plugins / My Steam / TF2 Sandbox (plugin beta testing!)
MasterOfTheXP is offline
Helvetica
Senior Member
Join Date: Nov 2011
Location: U.S.
Old 04-23-2012 , 07:17   Re: [TF2] Boss Battles 1.2
Reply With Quote #164

Quote:
Originally Posted by MasterOfTheXP View Post
Thanks! I actually made those custom cvars before you messaged me, but now that you did I see how having more of them for custom weapons and such could really work.
Great to hear it. I'm a bit confused on when to execute the alias for the cvars though, is it supposed to be done during the round before the one you want to change, or during pregame after a boss has been selected? I've been having a little bit of trouble figuring that out.

On another note, I've encountered a couple major bugs while running 1.2. I'll detail them just in case you may not be aware of them.

1. Sometimes after a Boss round starts, nobody will be able to damage anyone. My players refer to it as the Godmode Glitch. This has happened several times now, all at completely random times, with the mode running automatically via queue points. I have witnessed it happen once, and it did not appear to have occurred because of something I did, but I could be wrong.

2. Defaulting the mode to classic Boss Battles with infinite player respawning is not working correctly for me. Regardless of what I set the sm_boss_gamemode cvar to, it always starts in arena mode, giving players the amount of lives I set in the sm_boss_stock_lives cvar. I have to manually change the cvar via rcon after the mode has been activated, and on one occasion, I couldn't change it at all, and the server had to be restarted. I checked the config file for mistakes, but there weren't any. When the mode started, I had the server report what the gamemode cvar was set to, and it was indeed set to 0, yet people were still being given lives.

3. Turning Boss Battles on and off on the fly no longer works if you intend to use the queue system.
Previously, you could simply turn the game mode on by setting sm_boss_auto to 1 or 2, and then using an alias to set it back to 0 and restack the teams. Turning off the game mode still works, as does setting the auto cvar to 2 to start, but trying to start the mode with queue points (1) does not work. The plugin gives the notice that a boss battle will start shortly, but nothing happens. Before 1.2, if you tried to start with queue points, it would initiate a showdown to start the mode, but after that it would use queue points like it's supposed to. Either the showdowns do not occur anymore for some reason or that feature has been removed. It's also worth noting that if one tries to start the battles with sm_boss_auto 1, it will bork the whole plugin and battles cannot be started at all unless the plugin is reloaded.

I have done some pretty extensive troubleshooting to try to resolve all of these problems, but I'm pretty sure they are all plugin issues.
Helvetica is offline
MasterOfTheXP
Veteran Member
Join Date: Aug 2011
Location: Cloudbank
Old 04-23-2012 , 13:09   Re: [TF2] Boss Battles 1.2
Reply With Quote #165

Quote:
Originally Posted by Helvetica View Post
Great to hear it. I'm a bit confused on when to execute the alias for the cvars though, is it supposed to be done during the round before the one you want to change, or during pregame after a boss has been selected? I've been having a little bit of trouble figuring that out.
They won't work properly unless they're done right after a battle ends, probably should have made that more clear. In the future they'll be easier to use.

Quote:
Originally Posted by Helvetica View Post
On another note, I've encountered a couple major bugs while running 1.2.
Crap. I've only seen the god glitch on the first client connected, was hoping it wasn't more complicated than that or was another plugin's fault...but I'll look into fixing these.
__________________
Plugins / My Steam / TF2 Sandbox (plugin beta testing!)
MasterOfTheXP is offline
FudgePoly
Senior Member
Join Date: Jul 2011
Old 04-27-2012 , 09:53   Re: [TF2] Boss Battles 1.2
Reply With Quote #166

Boss plugin completely fails to load using the auto cvar, I did not unload and reload it since you said that would be wrong. Map was arena.

Code:
L 04/27/2012 - 15:08:09: [SM] Displaying call stack trace for plugin "boss.smx":
L 04/27/2012 - 15:08:09: [SM]   [0]  Line 296, D:\srcds\orangebox\tf\addons\sourcemod\scripting\include\tf2_stocks.inc::TF2_GetPlayerClass()
L 04/27/2012 - 15:08:09: [SM]   [1]  Line 3734, boss.sp::TF2Items_OnGiveNamedItem()
L 04/27/2012 - 15:30:36: [SM] Native "GetEntProp" reported: Entity -1 (-1) is invalid
L 04/27/2012 - 15:30:36: [SM] Displaying call stack trace for plugin "boss.smx":
L 04/27/2012 - 15:30:36: [SM]   [0]  Line 296, D:\srcds\orangebox\tf\addons\sourcemod\scripting\include\tf2_stocks.inc::TF2_GetPlayerClass()
L 04/27/2012 - 15:30:36: [SM]   [1]  Line 3724, boss.sp::TF2Items_OnGiveNamedItem()
FudgePoly is offline
MasterOfTheXP
Veteran Member
Join Date: Aug 2011
Location: Cloudbank
Old 04-27-2012 , 15:08   Re: [TF2] Boss Battles 1.2
Reply With Quote #167

Quote:
Originally Posted by FudgePoly View Post
Boss plugin completely fails to load using the auto cvar, I did not unload and reload it since you said that would be wrong. Map was arena.
I think it's trying to check the player class of -1, the non-existent double boss in single boss rounds. It's supposed to check if it's in a double boss first, but I guess you just can't do that on the same line. Weird how I've never gotten that myself though. Will be fixed.

Also, update on the godmode glitch (this one guy cannot be injured at all) I completely disabled Boss Battles and restarted the server, still got the glitch, so it's possible that it's another plugin doing it.

I'll be able to work on this more as soon as I can get my test server working again.
__________________
Plugins / My Steam / TF2 Sandbox (plugin beta testing!)
MasterOfTheXP is offline
FudgePoly
Senior Member
Join Date: Jul 2011
Old 05-02-2012 , 08:49   Re: [TF2] Boss Battles 1.2
Reply With Quote #168

More buggy bugs:

Code:
L 05/02/2012 - 15:43:27: [SM] Plugin encountered error 15: Array index is out of bounds
L 05/02/2012 - 15:43:27: [SM] Displaying call stack trace for plugin "boss.smx":
L 05/02/2012 - 15:43:27: [SM]   [0]  Line 1736, boss.sp::Timer_Millisecond()
L 05/02/2012 - 15:43:28: [SM] Plugin encountered error 15: Array index is out of bounds
L 05/02/2012 - 15:43:28: [SM] Displaying call stack trace for plugin "boss.smx":
L 05/02/2012 - 15:43:28: [SM]   [0]  Line 1736, boss.sp::Timer_Millisecond()
L 05/02/2012 - 15:43:28: [SM] Plugin encountered error 15: Array index is out of bounds
L 05/02/2012 - 15:43:28: [SM] Displaying call stack trace for plugin "boss.smx":
L 05/02/2012 - 15:43:28: [SM]   [0]  Line 1736, boss.sp::Timer_Millisecond()
L 05/02/2012 - 15:43:28: [SM] Plugin encountered error 15: Array index is out of bounds
L 05/02/2012 - 15:43:28: [SM] Displaying call stack trace for plugin "boss.smx":
L 05/02/2012 - 15:43:28: [SM]   [0]  Line 1736, boss.sp::Timer_Millisecond()
Code:
L 05/03/2012 - 14:56:51: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 05/03/2012 - 14:56:51: [SM] Native "VFormat" reported: String formatted incorrectly - parameter 4 (total 3)
L 05/03/2012 - 14:56:51: [SM] Displaying call stack trace for plugin "boss.smx":
L 05/03/2012 - 14:56:51: [SM]   [0]  Line 67, D:\srcds\orangebox\tf\addons\sourcemod\scripting\include\colors.inc::CPrintToChat()
L 05/03/2012 - 14:56:51: [SM]   [1]  Line 2950, boss.sp::OnClientPostAdminCheck()

Last edited by FudgePoly; 05-03-2012 at 08:03.
FudgePoly is offline
Helvetica
Senior Member
Join Date: Nov 2011
Location: U.S.
Old 05-04-2012 , 13:32   Re: [TF2] Boss Battles 1.2
Reply With Quote #169

XP, I noticed the god mode glitch happen independent of Boss Battles, still don't know what is causing it though. Just letting you know that you are probably right that another plugin is the culprit.
Helvetica is offline
Roundcat
Senior Member
Join Date: Feb 2012
Old 06-04-2012 , 07:14   Re: [TF2] Boss Battles 1.2
Reply With Quote #170

Our members like this plugin but once we have finished using it for a spell we are stuck with all players on the same team and spawn doors removed. To reset I have to restart the server and only a handful of players tend to come back.

When it is working properly it will be interesting though!
__________________
I know not my ar*e from its elbow.
Roundcat is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:53.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode