Raised This Month: $51 Target: $400
 12% 

[TF2] Custom Boss Spawner (v.5.0.2) [11/13/2016]


Post New Thread Reply   
 
Thread Tools Display Modes
Chaosxk
Veteran Member
Join Date: Aug 2010
Location: Westeros
Old 11-12-2016 , 19:16   Re: [TF2] Custom Boss Spawner (v.5.0) [10/30/2016] ~ 13 new bosses! ~ happy halloween
Reply With Quote #291

Quote:
Originally Posted by Rushy View Post
Just tried out version 5, thanks for the good work.

It has a little bit of an issue, the hp bar and hp count stay displayed when a boss dies/leaves the map
Quote:
Originally Posted by Fearts View Post
Might want to update that version 5 needs SM 1.8 to work. Also I'm getting the issues that Rushy said and also if you slay a boss the HUDBar doesn't go away.
Try this, tell me if it works fine. Should fix both HUD and text.
Attached Files
File Type: smx bossspawner.smx (38.7 KB, 179 views)
File Type: sp Get Plugin or Get Source (bossspawner.sp - 105 views - 53.1 KB)
__________________

Last edited by Chaosxk; 11-12-2016 at 19:17.
Chaosxk is offline
Fearts
ferts of daeth
Join Date: Oct 2008
Old 11-13-2016 , 03:06   Re: [TF2] Custom Boss Spawner (v.5.0) [10/30/2016] ~ 13 new bosses! ~ happy halloween
Reply With Quote #292

Seems to work thanks. Also it would be cool if there was a CVAR to show who landed the killing blow on the boss. That was I could use bosses for event and give prizes to people who killed the boss.
__________________
Fearts is offline
Chaosxk
Veteran Member
Join Date: Aug 2010
Location: Westeros
Old 11-13-2016 , 16:51   Re: [TF2] Custom Boss Spawner (v.5.0.2) [11/13/2016] ~ 13 new bosses!
Reply With Quote #293

Seems like a good idea. Changes to 5.0.2 ~

Code:
v.5.0.2
	- Fixed skeleton dispatching wrong blood color and spawning them on wrong team
	- Added new glow colors to menu, orange, navy, pink, aquamarine, peachpuff, white
v.5.0.1
	- Fixed HUD text and bar not disappearing when bosses die
__________________
Chaosxk is offline
Fearts
ferts of daeth
Join Date: Oct 2008
Old 11-13-2016 , 18:17   Re: [TF2] Custom Boss Spawner (v.5.0.2) [11/13/2016] ~ 13 new bosses!
Reply With Quote #294

Got a crash using the code from here: https://forums.alliedmods.net/showpo...&postcount=291

Code:
 L 11/13/2016 - 17:32:49: [SM] Blaming: bossspawner.smx
L 11/13/2016 - 17:32:49: [SM] Call stack trace:
L 11/13/2016 - 17:32:49: [SM]   [0] SDKHook
L 11/13/2016 - 17:32:49: [SM]   [1] Line 212, bossspawner.sp::OnClientPostAdminCheck
L 11/13/2016 - 17:32:49: [SM]   [3] Call_Finish
L 11/13/2016 - 17:32:49: [SM]   [4] Line 218, tf2_trade3.sp::SQLCallback_FetchUser
L 11/13/2016 - 17:32:50: [SM] Exception reported: Client 4 is not in game
Code:
0     sourcepawn.jit.x86.dll!sp::ScriptedInvoker::Invoke(int *) [scripted-invoker.cpp:200 + 0x16]
1     sourcepawn.jit.x86.dll!sp::ScriptedInvoker::Execute(int *) [scripted-invoker.cpp:190 + 0x13]
2     sdkhooks.ext.2.tf2.dll!SDKHooks::HandleOnTakeDamageHook(CTakeDamageInfoHack &,SDKHookType) [extension.cpp:1100 + 0xb]
3     sdkhooks.ext.2.tf2.dll!SDKHooks::Hook_OnTakeDamage(CTakeDamageInfoHack &) [extension.cpp:1197 + 0xa]
4     sdkhooks.ext.2.tf2.dll!__SourceHook_MFHCls_OnTakeDamage::Func(CTakeDamageInfoHack &) [extension.cpp:175 + 0x7f]
5     server.dll + 0x195182
6     server.dll + 0x4a2133
7     sdkhooks.ext.2.tf2.dll!__SourceHook_MFHCls_OnTakeDamage::Func(CTakeDamageInfoHack &) [extension.cpp:175 + 0xc6]
8     server.dll + 0x195182
9     server.dll + 0x4a2133
10     sdkhooks.ext.2.tf2.dll!__SourceHook_MFHCls_OnTakeDamage::Func(CTakeDamageInfoHack &) [extension.cpp:175 + 0xc6]
11     server.dll + 0x195182
12     server.dll + 0x4a2133
13     sdkhooks.ext.2.tf2.dll!__SourceHook_MFHCls_OnTakeDamage::Func(CTakeDamageInfoHack &) [extension.cpp:175 + 0xc6]
__________________

Last edited by Fearts; 11-13-2016 at 18:59.
Fearts is offline
Chaosxk
Veteran Member
Join Date: Aug 2010
Location: Westeros
Old 11-13-2016 , 18:35   Re: [TF2] Custom Boss Spawner (v.5.0.2) [11/13/2016] ~ 13 new bosses!
Reply With Quote #295

It looks like your SDKHooks is having issues. Try a different SM Build.

Either that or some compatible issue with tf2_trade3.sp
__________________
Chaosxk is offline
Fearts
ferts of daeth
Join Date: Oct 2008
Old 11-13-2016 , 18:42   Re: [TF2] Custom Boss Spawner (v.5.0.2) [11/13/2016] ~ 13 new bosses!
Reply With Quote #296

Quote:
Originally Posted by Chaosxk View Post
It looks like your SDKHooks is having issues. Try a different SM Build.

Either that or some compatible issue with tf2_trade3.sp
I'm using the very newest version of 1.8. I was using 1.7 before and switched to 1.8 just for this plugin. You think that error with trade3 plugin could cause a crash?
__________________
Fearts is offline
Chaosxk
Veteran Member
Join Date: Aug 2010
Location: Westeros
Old 11-13-2016 , 19:32   Re: [TF2] Custom Boss Spawner (v.5.0.2) [11/13/2016] ~ 13 new bosses!
Reply With Quote #297

Maybe but probably unlikely. The crash looks like SDKHooks having some weird problems getting hooked on to the client.

Use an older/different Sourcmod 1.8 build, the newer one might of messed something up with SDKHooks.

If that doesn't work then i'm not sure... because the plugin is just doing a simple hook.

Is it a random crash or can it be replicated?
__________________

Last edited by Chaosxk; 11-13-2016 at 19:33.
Chaosxk is offline
Rushy
AlliedModders Donor
Join Date: Jul 2015
Location: Melbourne, Australia
Old 11-14-2016 , 03:08   Re: [TF2] Custom Boss Spawner (v.5.0.2) [11/13/2016] ~ 13 new bosses!
Reply With Quote #298

Can confirm the one you uploaded yesterday fixed the hud and text. Thanks
__________________
Rushy is offline
Misc
Junior Member
Join Date: Feb 2016
Old 11-18-2016 , 22:47   Re: [TF2] Custom Boss Spawner (v.5.0.2) [11/13/2016] ~ 13 new bosses!
Reply With Quote #299

Is there any way to add a restriction so that only one boss can be active at a time?

Feedback for default config files: the boss coords for 2fort are all off. These coords work:
Quote:
"ctf_2fort" //If the server is on this map, run these values
{
"Enabled" "1" //Enable 1, Disable 0
"Position X" "-5.08" //When you type !getcoords it would print out something like "-12,-627,2" without quotes
"Position Y" "-4.09" //-12 is X, -627 is Y, 2 is Z
"Position Z" "77.03" //Please note this is a float value and should have a .0 after the value
"TeleportPosition" "0.0,0.0,0.0" //The xyz coordinate seperated by commas which indicate location player is teleported when monoculus/merasmus is killed
}
Also, the HHH seems to have his own default coords which I recommend commenting out.

Last edited by Misc; 11-18-2016 at 22:48.
Misc is offline
Fearts
ferts of daeth
Join Date: Oct 2008
Old 11-19-2016 , 00:18   Re: [TF2] Custom Boss Spawner (v.5.0.2) [11/13/2016] ~ 13 new bosses!
Reply With Quote #300

Still would be cool to show who killed each boss.
__________________
Fearts 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 21:13.


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