Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » [Release] split mine limit plug-in  () 9 Votes
[Release] split mine limit plug-in [message #335910] Thu, 19 June 2008 06:05 Go to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
New Version is live now


This plug-in allows you to have have two separate limits for remote c4 and proximity mines. Currently remote c4 adds to the limit of your proxy mines, this plug-in separates the counters so they no longer do that, there limits are independent of each-other.

The person that done most of the work for this plug-in and deserves your thanks is dead6re. Whilst I have released it and made a few small changes to it to make it more compliant with SSGM and added a few trivial changes here and there to make it nicer for server owners, he is the one that dug out the internals and made this happen, without him it would not be here.

The console command to change the limit of both the remotes and proximity mine limit is:
setminelimit

The plug-in over-rides SSGM's !c4 command to display the information correctly.
It also adds these two new command for players.
!prox and !remotes, which pages the player active information about there teams respective c4.

These screen shots have been taken in a cnc_reborn server, however the plug-in works just as well in a renegade server or an APB server (not that they have remote c4).

http://www.game-maps.net/staff/reborn/mines/mine1.gif
http://www.game-maps.net/staff/reborn/mines/mine2.gif
http://www.game-maps.net/staff/reborn/mines/mine3.gif

Here is the link to download the plug-in (contains a readme):
http://www.game-maps.net/index.php?action=file&id=1221
The readme was written by Dead6re, it is no reflection of my personal thoughts about anyone or entity. But it was part of the condition for being able to release the files.

Where's the source code?
You guys know me. I always release the source code. This unfortunately isn't a general case. Whilst you can be sure this plug-in doesn't contain any deliberate malicious code (it has been reviewed and confirmed by WhiteDragon after I looked too, just to be super safe). It does contain hooking code, which is not a good idea to show other people. It also contains code that shows possible exploits and vulnerabilities for people looking to create memory hacks. For these reasons alone I do not have any current intention of releasing the source code.
I know that may sound sucky to some people, but it really has only been done to protect renegade and other w3d based games from cheaters. We certainly do not want any more of them, or making there life any easier. I never mind releasing source code, and this decision has bugged me, but I hope you guys can trust the legitimate reasons why in this case it isn't being released.



[Updated on: Thu, 19 June 2008 15:51]

Report message to a moderator

Re: [Release] split mine limit plug-in [message #335912 is a reply to message #335910] Thu, 19 June 2008 06:10 Go to previous messageGo to next message
zunnie is currently offline  zunnie
Messages: 2959
Registered: September 2003
Location: Netherlands
Karma: 0
General (2 Stars)

Very nice work you guys, this should make a lot of people very happy!

https://multiplayerforums.com/uploads/monthly_2018_03/TCW2_Signature.png.6236a0dbc6e1e53472a18fe8cd15e47b.png
Re: [Release] split mine limit plug-in [message #335914 is a reply to message #335910] Thu, 19 June 2008 06:13 Go to previous messageGo to next message
IronWarrior is currently offline  IronWarrior
Messages: 2460
Registered: November 2004
Location: England UK
Karma: 0
General (2 Stars)
Awesome. Very Happy
Re: [Release] split mine limit plug-in [message #335915 is a reply to message #335910] Thu, 19 June 2008 06:40 Go to previous messageGo to next message
Gladiator is currently offline  Gladiator
Messages: 11
Registered: May 2008
Location: /dev/root
Karma: 0
Recruit
Fantastic, thanks =D
Re: [Release] split mine limit plug-in [message #335921 is a reply to message #335910] Thu, 19 June 2008 07:51 Go to previous messageGo to next message
mrãçķz is currently offline  mrãçķz
Messages: 3069
Registered: August 2007
Karma: 0
General (3 Stars)
Permabanned for trying and failing DDoS
WHats about making C4 limit 127
remote limit 127
etc would it work?
Re: [Release] split mine limit plug-in [message #335931 is a reply to message #335921] Thu, 19 June 2008 08:50 Go to previous messageGo to next message
Caveman is currently offline  Caveman
Messages: 2476
Registered: July 2005
Location: Wales, UK
Karma: 0
General (2 Stars)

madrackz wrote on Thu, 19 June 2008 15:51

WHats about making C4 limit 127
remote limit 127
etc would it work?


Well the readme says not to go above 60. 60 proxy and 60 remotes should be more then enough, dont you think?


CarrierII wrote

BLUEHTHEN YOU AR NOT JUST A BIG CHEATAS AND YOU THE BIG HEAD JUST YOU USE FLY H4X FUCK YOU BIG CHEATAS YOUR CHEATZ IS BAD YOU WANT I WRAUGHT THIS YOUR CHEATZ IS BAD HEY IS 1 YEAR YOUR PROMESS A FLY HAX IN MULTIPLAYER AND IS DONT JUST TROOPRM02 I TELL IT ALL WHO REPLYER IN THIS FORUM YOU CHEATZ

Please don't make me type something like that again, not using puntuation is annoying.


http://r9.fodey.com/2158/bc450f3ca15045e9bdd7651fa49f3a0a.0.gif
Re: [Release] split mine limit plug-in [message #335932 is a reply to message #335910] Thu, 19 June 2008 09:04 Go to previous messageGo to next message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
General (3 Stars)
All 3 cannot add up to anything higher than 127.
Re: [Release] split mine limit plug-in [message #335937 is a reply to message #335910] Thu, 19 June 2008 09:29 Go to previous messageGo to next message
dead6re is currently offline  dead6re
Messages: 602
Registered: September 2003
Karma: 0
Colonel
Just to say I endorse this release. Unfortunately the RenegadeFDS has a fixed limit of 127 mines thus I set the limit as 60 to ensure this isn't reached. Westwood set the limit at 30 for a reason, I would say this does not need to be changed.

Split limits are nice and I'm sure I will have my critics for this. However I would like to point out that certain communities will not be using this plug-in and expressed this too me. It shows they may not all want to be the same. This is a major game changing feature.


Let all your wishes be granted except one, so you will still have something to strieve for.

[Updated on: Thu, 19 June 2008 10:04]

Report message to a moderator

Re: [Release] split mine limit plug-in [message #335943 is a reply to message #335910] Thu, 19 June 2008 10:01 Go to previous messageGo to next message
Sir Kane
Messages: 1701
Registered: March 2003
Location: Angerville
Karma: 0
General (1 Star)
void Maintain_C4_Limit(int team){
	int *type;
	/*Extra vars go right here*/
	
	ScriptableGameObj *obj, *defuse_p = NULL, *defuse_r = NULL;
	int count_p = 0, count_r = 0;
	GenericSLNode *node = GameObjList->Get_Head();
	while (node){
		obj = (ScriptableGameObj*)node->m_pData;
		if (obj->As_PhysicalGameObj() && obj->As_C4GameObj() && obj->Get_Player_Type() == team){
			/* Some extra code goes here (3 lines)*/
			if (*type == C4_PROXIMITY){
				count_p++;
				if (!defuse_p || Get_C4_Time(obj) > Get_C4_Time(defuse_p))defuse_p = obj;
			}
			if (*type == C4_REMOTE){
				count_r++;
				if (!defuse_r || Get_C4_Time(obj) > Get_C4_Time(defuse_r))defuse_r = obj;
			}
			/* Another line */
		}
__next:
		node = node->m_pNext;
	}
	if (count_p > 30 && defuse_p) Defuse_C4(defuse_p);
	if (count_r > 30 && defuse_r) Defuse_C4(defuse_r);
}


FIGURE THE MISSING PARTS OUT!


Proud N9500 and proud N6270 user. Creator of the IEE libraries (original bhs.dll) and the RB series software.
http://n00bstories.com/image.fetch.php?id=1189992501http://www.n00bstories.com/image.fetch.php?id=1257492907
Re: [Release] split mine limit plug-in [message #335945 is a reply to message #335910] Thu, 19 June 2008 10:07 Go to previous messageGo to next message
dead6re is currently offline  dead6re
Messages: 602
Registered: September 2003
Karma: 0
Colonel
Sir Kane: I thought so. Your way is admittedly better than mine and shows my assembly skills are somewhat less than yours.

Let all your wishes be granted except one, so you will still have something to strieve for.
Re: [Release] split mine limit plug-in [message #335947 is a reply to message #335943] Thu, 19 June 2008 10:17 Go to previous messageGo to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
Sir Kane wrote on Thu, 19 June 2008 13:01

void Maintain_C4_Limit(int team){
	int *type;
	/*Extra vars go right here*/
	
	ScriptableGameObj *obj, *defuse_p = NULL, *defuse_r = NULL;
	int count_p = 0, count_r = 0;
	GenericSLNode *node = GameObjList->Get_Head();
	while (node){
		obj = (ScriptableGameObj*)node->m_pData;
		if (obj->As_PhysicalGameObj() && obj->As_C4GameObj() && obj->Get_Player_Type() == team){
			/* Some extra code goes here (3 lines)*/
			if (*type == C4_PROXIMITY){
				count_p++;
				if (!defuse_p || Get_C4_Time(obj) > Get_C4_Time(defuse_p))defuse_p = obj;
			}
			if (*type == C4_REMOTE){
				count_r++;
				if (!defuse_r || Get_C4_Time(obj) > Get_C4_Time(defuse_r))defuse_r = obj;
			}
			/* Another line */
		}
__next:
		node = node->m_pNext;
	}
	if (count_p > 30 && defuse_p) Defuse_C4(defuse_p);
	if (count_r > 30 && defuse_r) Defuse_C4(defuse_r);
}


FIGURE THE MISSING PARTS OUT!


I didn't have you down as a scripts.dll fanboy, go figure. Sarcasm



Re: [Release] split mine limit plug-in [message #335948 is a reply to message #335910] Thu, 19 June 2008 10:19 Go to previous messageGo to next message
Sir Kane
Messages: 1701
Registered: March 2003
Location: Angerville
Karma: 0
General (1 Star)
Nothing scripts.dll there.

Proud N9500 and proud N6270 user. Creator of the IEE libraries (original bhs.dll) and the RB series software.
http://n00bstories.com/image.fetch.php?id=1189992501http://www.n00bstories.com/image.fetch.php?id=1257492907
Re: [Release] split mine limit plug-in [message #335949 is a reply to message #335948] Thu, 19 June 2008 10:21 Go to previous messageGo to next message
dead6re is currently offline  dead6re
Messages: 602
Registered: September 2003
Karma: 0
Colonel
Sir Kane wrote on Thu, 19 June 2008 13:19

Nothing scripts.dll there.

Some very familiar calls then.


Let all your wishes be granted except one, so you will still have something to strieve for.
Re: [Release] split mine limit plug-in [message #335950 is a reply to message #335910] Thu, 19 June 2008 10:24 Go to previous messageGo to next message
Sir Kane
Messages: 1701
Registered: March 2003
Location: Angerville
Karma: 0
General (1 Star)
Like?

Proud N9500 and proud N6270 user. Creator of the IEE libraries (original bhs.dll) and the RB series software.
http://n00bstories.com/image.fetch.php?id=1189992501http://www.n00bstories.com/image.fetch.php?id=1257492907
Re: [Release] split mine limit plug-in [message #335952 is a reply to message #335950] Thu, 19 June 2008 10:34 Go to previous messageGo to next message
dead6re is currently offline  dead6re
Messages: 602
Registered: September 2003
Karma: 0
Colonel
Sir Kane wrote on Thu, 19 June 2008 13:24

Like?

Most likely its just due to the engine names provided by Westwood. However if you are into sharing now, thats great.


Let all your wishes be granted except one, so you will still have something to strieve for.
Re: [Release] split mine limit plug-in [message #335969 is a reply to message #335910] Thu, 19 June 2008 12:24 Go to previous messageGo to next message
Lone0001 is currently offline  Lone0001
Messages: 2112
Registered: August 2006
Location: Ontario, Canada
Karma: 0
General (2 Stars)

Sweet! Was wondering if anyone was going to release anything like this, great job Thumbs Up Satisfied

Re: [Release] split mine limit plug-in [message #335970 is a reply to message #335910] Thu, 19 June 2008 12:30 Go to previous messageGo to next message
dead6re is currently offline  dead6re
Messages: 602
Registered: September 2003
Karma: 0
Colonel
Okay, It seems our testing didn't manage to find a bug. Unfortunately I forgot to check the team of the C4 objects when I disarm them so it could accidently disarm the other teams c4.

Whoops Smile

Reborn should have a fix coming out soon who will check the code to ensure it is not destructive.


Let all your wishes be granted except one, so you will still have something to strieve for.
Re: [Release] split mine limit plug-in [message #335984 is a reply to message #335910] Thu, 19 June 2008 13:49 Go to previous messageGo to next message
Crimson is currently offline  Crimson
Messages: 7429
Registered: February 2003
Location: Phoenix, AZ
Karma: 0
General (5 Stars)
ADMINISTRATOR
Quote:

3) As this community supported Dead6re a long time ago, you agree to give Dead6re a second chance and must unban him until the rules are broken again.

4) You are not Crimson or any way associated with n00bstories administration due to the fact they annoy Dead6re (This excludes luv2pb).


Apparently these are 2 of the 4 conditions for the use of this DLL. Just in case anyone is wondering why you are being asked to give him a second chance, it's because Dead6re was a member of the moderating staff on n00bstories and Spoony caught him using cheats in a few of his screenshots. He was also caught sneaking code into his reserved slots release that allowed him to get into any server whether or not the server owner wanted him to have a reserved slot.

And of course, we have no use for this DLL because we have had this feature working without flaw for over a year now.

Your pettiness is not amusing.


I'm the bawss.
Re: [Release] split mine limit plug-in [message #335992 is a reply to message #335984] Thu, 19 June 2008 14:19 Go to previous messageGo to next message
mrãçķz is currently offline  mrãçķz
Messages: 3069
Registered: August 2007
Karma: 0
General (3 Stars)
Permabanned for trying and failing DDoS
Crimson wrote on Thu, 19 June 2008 15:49

Quote:

3) As this community supported Dead6re a long time ago, you agree to give Dead6re a second chance and must unban him until the rules are broken again.

4) You are not Crimson or any way associated with n00bstories administration due to the fact they annoy Dead6re (This excludes luv2pb).


Apparently these are 2 of the 4 conditions for the use of this DLL. Just in case anyone is wondering why you are being asked to give him a second chance, it's because Dead6re was a member of the moderating staff on n00bstories and Spoony caught him using cheats in a few of his screenshots. He was also caught sneaking code into his reserved slots release that allowed him to get into any server whether or not the server owner wanted him to have a reserved slot.

And of course, we have no use for this DLL because we have had this feature working without flaw for over a year now.

Your pettiness is not amusing.



There are some Ways (not only GSA) to play with other Peoples Playername..
Re: [Release] split mine limit plug-in [message #335993 is a reply to message #335992] Thu, 19 June 2008 14:21 Go to previous messageGo to next message
Starbuzzz
Messages: 1637
Registered: June 2008
Karma: 0
General (1 Star)
nick-spoofers...

http://img30.imageshack.us/img30/8746/buzzsigfinal.jpg
Re: [Release] split mine limit plug-in [message #336006 is a reply to message #335984] Thu, 19 June 2008 15:12 Go to previous messageGo to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
Crimson wrote on Thu, 19 June 2008 16:49

Quote:

3) As this community supported Dead6re a long time ago, you agree to give Dead6re a second chance and must unban him until the rules are broken again.

4) You are not Crimson or any way associated with n00bstories administration due to the fact they annoy Dead6re (This excludes luv2pb).


Apparently these are 2 of the 4 conditions for the use of this DLL. Just in case anyone is wondering why you are being asked to give him a second chance, it's because Dead6re was a member of the moderating staff on n00bstories and Spoony caught him using cheats in a few of his screenshots. He was also caught sneaking code into his reserved slots release that allowed him to get into any server whether or not the server owner wanted him to have a reserved slot.

And of course, we have no use for this DLL because we have had this feature working without flaw for over a year now.

Your pettiness is not amusing.


Just for the record, that is why I deliberately made a point of including this:
Quote:

The readme was written by Dead6re, it is no reflection of my personal thoughts about anyone or entity. But it was part of the condition for being able to release the files.

Just incase you thought I was trying to be shitty.



Re: [Release] split mine limit plug-in [message #336017 is a reply to message #335910] Thu, 19 June 2008 15:51 Go to previous messageGo to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
New version has been added to game-maps now on the same link, version .02. Do not use the old version.

This version has also been checked for possible hidden and unwanted features. There is no deliberate malicious code.

http://www.game-maps.net/index.php?action=file&id=1221



Re: [Release] split mine limit plug-in [message #336040 is a reply to message #335910] Thu, 19 June 2008 16:47 Go to previous messageGo to next message
Crimson is currently offline  Crimson
Messages: 7429
Registered: February 2003
Location: Phoenix, AZ
Karma: 0
General (5 Stars)
ADMINISTRATOR
It wasn't name hacking. He posted screen shots himself in the n00bstories forums and other forums and Spoony noticed subtle clues in them that proved he was using certain cheats. Dead6re admitted to it (only after he was caught) and THAT is why he was banished from the community.

http://24.239.220.58/smak/ubb/cgi/ultimatebb.cgi?ubb=get_topic;f=33;t=007587


I'm the bawss.

[Updated on: Thu, 19 June 2008 16:48]

Report message to a moderator

Re: [Release] split mine limit plug-in [message #336066 is a reply to message #335910] Thu, 19 June 2008 19:18 Go to previous messageGo to next message
Gen_Blacky is currently offline  Gen_Blacky
Messages: 3250
Registered: September 2006
Karma: 1
General (3 Stars)
Thanks reborn

http://s18.postimage.org/jc6qbn4k9/bricks3.png
Re: [Release] split mine limit plug-in [message #336100 is a reply to message #335984] Fri, 20 June 2008 00:19 Go to previous messageGo to previous message
dead6re is currently offline  dead6re
Messages: 602
Registered: September 2003
Karma: 0
Colonel
Crimson wrote on Thu, 19 June 2008 16:49

Quote:

3) As this community supported Dead6re a long time ago, you agree to give Dead6re a second chance and must unban him until the rules are broken again.

4) You are not Crimson or any way associated with n00bstories administration due to the fact they annoy Dead6re (This excludes luv2pb).


Apparently these are 2 of the 4 conditions for the use of this DLL. Just in case anyone is wondering why you are being asked to give him a second chance, it's because Dead6re was a member of the moderating staff on n00bstories and Spoony caught him using cheats in a few of his screenshots. He was also caught sneaking code into his reserved slots release that allowed him to get into any server whether or not the server owner wanted him to have a reserved slot.

Your pettiness is not amusing.


People are under no obligation to follow the terms. I cannot and will not enforce them. I suppose writing a README in a rage doesn't help.

The fourth reason is not due to any that have been mentioned as of yet.


Let all your wishes be granted except one, so you will still have something to strieve for.
Previous Topic: Having problems with C++
Next Topic: Photoshop help and skinning question
Goto Forum:
  


Current Time: Mon Nov 25 20:19:19 MST 2024

Total time taken to generate the page: 0.01244 seconds