Raised This Month: $32 Target: $400
 8% 

[TF2] Rollermine spawner


Post New Thread Reply   
 
Thread Tools Display Modes
Pelipoika
Veteran Member
Join Date: May 2012
Location: Inside
Old 12-10-2015 , 14:58   Re: [TF2] Rollermine spawner
Reply With Quote #11

Quote:
Originally Posted by MaloModo View Post
I tried this on server and it seemed to crash twice pretty fast. This might help clarify if this plugin?



SourceMod Version: 1.7.3-dev+5251
Metamod:Source version 1.10.6-dev
I just had 30 bots play a full round of cp_dustbowl with 100~ rollermines active and bullying the bots all the time and i had no crashed or errors at all.

My server is running:
SourceMod Version: 1.8.0.5727
Metamod:Source version 1.10.7-dev

The plugin is also compiled with that version of SM.

Do you know how to reproduce this crash?
__________________

Last edited by Pelipoika; 12-11-2015 at 15:36.
Pelipoika is offline
MaloModo
Veteran Member
Join Date: Aug 2008
Old 12-10-2015 , 16:16   Re: [TF2] Rollermine spawner
Reply With Quote #12

I will check gamedata files etc and then try to pin it down exactly. I was on a custom map with lots of "extra goodies" so who is to say really.
MaloModo is offline
Dr. Greg House
Professional Troll,
Part-Time Asshole
Join Date: Jun 2010
Old 12-10-2015 , 16:24   Re: [TF2] Rollermine spawner
Reply With Quote #13

Quote:
//Yes i know, it's not ideal to use SetTransmit in place of think but timers are dumb and physics props don't think
This bad code ensures that we don't think any more than we should
Really went out of your way there to somehow use SetTransmit and only make it rarely crash.
Why?
__________________
Santa or Satan?

Watch out when you're paying people for private requests! Most stuff already exists and you can hardly assess the quality of what you'll get, and if it's worth the money.
Dr. Greg House is offline
Pelipoika
Veteran Member
Join Date: May 2012
Location: Inside
Old 12-10-2015 , 17:21   Re: [TF2] Rollermine spawner
Reply With Quote #14

Quote:
Originally Posted by Dr. Greg House View Post
Really went out of your way there to somehow use SetTransmit and only make it rarely crash.
Why?
I have never had it crash.

What would you suggest instead?, learning is fun.
__________________
Pelipoika is offline
Dr. Greg House
Professional Troll,
Part-Time Asshole
Join Date: Jun 2010
Old 12-10-2015 , 17:42   Re: [TF2] Rollermine spawner
Reply With Quote #15

Well you said timers and the like would be stupid, can't really help you at that point.^^
Also don't understand why you basically accept that the sounds should continue to play forever instead of checking for entity destruction and stopping the sound.
My two cents.
__________________
Santa or Satan?

Watch out when you're paying people for private requests! Most stuff already exists and you can hardly assess the quality of what you'll get, and if it's worth the money.
Dr. Greg House is offline
Pelipoika
Veteran Member
Join Date: May 2012
Location: Inside
Old 12-11-2015 , 05:21   Re: [TF2] Rollermine spawner
Reply With Quote #16

Quote:
Originally Posted by Dr. Greg House View Post
checking for entity destruction and stopping the sound.
Will do
__________________
Pelipoika is offline
DeathMaster
AlliedModders Donor
Join Date: Mar 2009
Old 01-25-2016 , 18:48   Re: [TF2] Rollermine spawner
Reply With Quote #17

Would be cool if you could made them explode on contact
DeathMaster is offline
MaloModo
Veteran Member
Join Date: Aug 2008
Old 01-27-2016 , 11:24   Re: [TF2] Rollermine spawner
Reply With Quote #18

Still getting crash here pretty quickly...strange?

U6BH-CWH4-6RUV
MCKT-ODHT-536U
MaloModo is offline
Pelipoika
Veteran Member
Join Date: May 2012
Location: Inside
Old 01-27-2016 , 11:56   Re: [TF2] Rollermine spawner
Reply With Quote #19

Quote:
Originally Posted by MaloModo View Post
Still getting crash here pretty quickly...strange?

U6BH-CWH4-6RUV
MCKT-ODHT-536U
Try this, it uses timers instead of SetTransmit but timers can only run so fast so the Rollermines might not perform as well
Attached Files
File Type: smx rollermine_timer.smx (11.6 KB, 122 views)
File Type: sp Get Plugin or Get Source (rollermine_timer.sp - 237 views - 13.6 KB)
__________________
Pelipoika is offline
AwesomeX
Member
Join Date: Jul 2013
Old 01-28-2016 , 09:57   Re: [TF2] Rollermine spawner
Reply With Quote #20

Another awesome plugin. I used this in my server events last night, and it was great.

The only request I have, is maybe some cvars for their speed, attack damage, and knockback?
That way I could control how powerful they are, as the game progresses.
AwesomeX 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 06:28.


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