Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Release Forum » [SSGM 4.0 Plugin] Suicide 5 Min Wait
[SSGM 4.0 Plugin] Suicide 5 Min Wait [message #462281] Sun, 05 February 2012 10:47 Go to next message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
With this plugin running a player can only suicide every 5 minutes. The hooking code and original hook were written by Hex, the new hook was written by Whitedragon.

Doesn't work if you're using other code that hooks suicides.


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: Mon, 02 July 2012 09:29]

Report message to a moderator

Re: [SSGM 4.0 Plugin] Suicide 5 Min Wait [message #462282 is a reply to message #462281] Sun, 05 February 2012 11:03 Go to previous messageGo to next message
Reaver11 is currently offline  Reaver11
Messages: 888
Registered: April 2007
Karma: 1
Colonel
Good job!
Re: [SSGM 4.0 Plugin] Suicide 5 Min Wait [message #464977 is a reply to message #462281] Tue, 27 March 2012 09:38 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
Uploaded v2, it contains extra logging when memory hooking doesn't work and it contains a fix for the following issue (which caused the plugin to fail on Windows 2003 Server and Windows XP):

Quote:

Windows Server 2003 and Windows XP: The size of the PROCESS_ALL_ACCESS flag increased on Windows Server 2008 and Windows Vista. If an application compiled for Windows Server 2008 and Windows Vista is run on Windows Server 2003 or Windows XP, the PROCESS_ALL_ACCESS flag is too large and the function specifying this flag fails with ERROR_ACCESS_DENIED. To avoid this problem, specify the minimum set of access rights required for the operation. If PROCESS_ALL_ACCESS must be used, set _WIN32_WINNT to the minimum operating system targeted by your application (for example,
#define _WIN32_WINNT _WIN32_WINNT_WINXP
). For more information, see Using the Windows Headers.


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] Suicide 5 Min Wait [message #470028 is a reply to message #462281] Wed, 27 June 2012 00:53 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
Uploaded v3, it ccntains a different suicide hook that Whitedragon made as the previous one crashes under beta 5.

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] Suicide 5 Min Wait [message #470530 is a reply to message #462281] Mon, 02 July 2012 09:27 Go to previous message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
Uploaded v4, I forgot to make suiciding take all the player's 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
Previous Topic: [SSGM 4.0 Plugin] Reset Match
Next Topic: Tiberium Crystal War Update 1.51 Available
Goto Forum:
  


Current Time: Tue Dec 17 18:59:50 MST 2024

Total time taken to generate the page: 0.01382 seconds