[SSGM 4.0 Plugin] FlamingC4Prevention [message #463867] |
Wed, 07 March 2012 13:42 |
iRANian
Messages: 4308 Registered: April 2011
Karma: 0
|
General (4 Stars) |
|
|
This plugin adds various measures to the FDS to prevent people doing so called 'flaming C4'. All C4 placed on friendly units are automatically disarmed, Proxy C4 placed on empty vehicles are auto-disarmed too and a few limits have been added to the amount of Remote C4 and Timed C4 allowed stacked on top of each other or on neutral vehicles.
You can contact me under the nick iRANian on renegadeforums.com. Thanks to Xpert for finding an issue where C4 on Purchase Terminals got disarmed.
Changelog:
v2:
-Fixed a bug that caused C4 placed on Purchase Terminals to be disarmed.
To install, place 'FlamingC4Prevention.dll' in the root FDS folder and add an entry for it in SSGM.ini under [Plugins]. Then at the bottom of SSGM.ini add:
[FlamingC4Prevention]
; Messages used by this script:
PageMessage = Your C4 has been automatically disarmed by the Flaming C4 prevention script.
TimedC4LimitMessage = You placed too many Timed C4 on empty vehicle(s), your last one has been disarmed.
RemoteC4LimitMessage = You placed too many Remote C4 on empty vehicle(s), your last one has been disarmed.
TimedC4StackedMessage = Your last Timed C4 has been disarmed, please don't place C4 on top of each other.
RemoteC4StackedMessage = Your last Remote C4 has been disarmed, please don't place C4 on top of each other.
;How many Timed C4 are allowed to be attached to empty vehicles per player?
TimedC4Limit = 3
;How many Remote C4 are allowed to be attached to empty vehicles per player?
RemoteC4Limit = 6
;Total Timed C4 that are allowed to be stacked (i.e. placed on top another C4) per player
TimedC4Stacked = 2
;Total Remote C4 that are allowed to be stacked per player
RemoteC4Stacked = 2
;How long to wait in secs after C4 creation before activating the flaming c4 check
ActivationWaitTime = 2
Long time and well respected Renegade community member, programmer, modder and tester.
Scripts 4.0 private beta tester since May 2011.
My Renegade server plugins releases
[Updated on: Sat, 14 July 2012 09:25] Report message to a moderator
|
|
|
|
Re: [SSGM 4.0 Plugin] FlamingC4Prevention [message #464050 is a reply to message #464044] |
Fri, 09 March 2012 00:22 |
iRANian
Messages: 4308 Registered: April 2011
Karma: 0
|
General (4 Stars) |
|
|
Xpert wrote on Thu, 08 March 2012 21:26 | Nice, the only thing I don't like is that it also disarms the Proximity C4s you've placed on the base. So if you're the base miner of like 40 mines, and you flame c4 your vehicle, all your mines are gone.
|
That shouldn't happen, I'll look into it. Thanks for reporting.
Long time and well respected Renegade community member, programmer, modder and tester.
Scripts 4.0 private beta tester since May 2011.
My Renegade server plugins releases
|
|
|
Re: [SSGM 4.0 Plugin] FlamingC4Prevention [message #464082 is a reply to message #463867] |
Fri, 09 March 2012 10:21 |
iRANian
Messages: 4308 Registered: April 2011
Karma: 0
|
General (4 Stars) |
|
|
I can't reproduce it, the only thing I notice is that if you're on the mine limit and you place a Proxy C4 on your Buggy, one of your mines will be disarmed because of the limit and two seconds later the Proxy on the Buggy will be disarmed, but not all the mines you laid.
Long time and well respected Renegade community member, programmer, modder and tester.
Scripts 4.0 private beta tester since May 2011.
My Renegade server plugins releases
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: [SSGM 4.0 Plugin] FlamingC4Prevention [message #469307 is a reply to message #469303] |
Thu, 14 June 2012 22:08 |
|
Distrbd21
Messages: 743 Registered: September 2008
Karma: 0
|
Colonel |
|
|
eatcow0 wrote on Thu, 14 June 2012 23:31 | I was runing this and it kept crashing the server on Cairo with no other plugins running. Just a fyi
|
I will wait to take a crack at this, because xpret already tried to update it, so I will give him a chance to fix it before I take a look at it.
Live Your Life Not Some one Else's.| Sharing Is Caring
Cookie Jar<glome> Who stole the cookie from the cookie jar?!
<content> glome stole the cookie from the cookie jar!
<glome> Who me?!
<content> Yes you!
<glome> Couldn't be!
<content> Then WHO?!!
<glome> Woody stole the cookie from the cookie jar!
*** glome has been kicked by DrWoody (fuck you i didn't touch the motherfucking cookie, bitch
Suicide<TB> I was depressed last night so I called the Suicide Life Line.
<TB> I reached a call center in Pakistan.
<TB> I told them I was suicidal.
<TB> They got all excited and asked if I could drive a truck
|
|
|
|
|
|
Re: [SSGM 4.0 Plugin] FlamingC4Prevention [message #469834 is a reply to message #463867] |
Mon, 25 June 2012 03:05 |
iRANian
Messages: 4308 Registered: April 2011
Karma: 0
|
General (4 Stars) |
|
|
u should make it so PPAGE sends out a custom coloured message + another sound (that isn't the page sound) if you run custom scripts because 95% of the time the bot is PPAGE'ing me to tell to me that some faggot team donated me 50 credits
Long time and well respected Renegade community member, programmer, modder and tester.
Scripts 4.0 private beta tester since May 2011.
My Renegade server plugins releases
|
|
|
|
|
Re: [SSGM 4.0 Plugin] FlamingC4Prevention [message #471689 is a reply to message #463867] |
Sat, 14 July 2012 09:22 |
iRANian
Messages: 4308 Registered: April 2011
Karma: 0
|
General (4 Stars) |
|
|
Uploaded v4, it fixes a crashing bug that I debugged based on a crashdump that Anomiski provided. I don't know how to reproduce the crash itself but I do know it crashed because I didn't handle a null pointer.
Long time and well respected Renegade community member, programmer, modder and tester.
Scripts 4.0 private beta tester since May 2011.
My Renegade server plugins releases
|
|
|
Re: [SSGM 4.0 Plugin] FlamingC4Prevention [message #472194 is a reply to message #463867] |
Tue, 24 July 2012 16:36 |
Lazy5686
Messages: 254 Registered: November 2007
Karma: 0
|
Recruit |
|
|
This plugin MAY be causing crashes. We had it disabled for a few days then turned it back on and had a crash within the hour. Then another crash, and another...
Disabled it and haven't had one for the rest of the day.
Weird thing is that Iran says it is crashing in TT.dll
The Scruffy, AngryCanadian with Vuvuzelas
-Jelly Games admin
|
|
|
|