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

[TF2] Friendly Mode (v. 16.0112)


Post New Thread Reply   
 
Thread Tools Display Modes
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 09-09-2015 , 20:06   Re: [TF2] Friendly Mode (v. 14.1119)
Reply With Quote #411

Quote:
Originally Posted by rtil View Post
this mod crashes my server, i'm not really sure why. the error logs don't show anything related to it afaik. i'm wondering if perhaps it is conflicting with another plugin
Does it crash if you delete friendly.txt from the gamedata folder?
__________________
ddhoward is offline
ShinyRazu
Member
Join Date: Feb 2014
Old 09-19-2015 , 08:53   Re: [TF2] Friendly Mode (v. 14.1119)
Reply With Quote #412

There is a terrible bug with this right now. Basically anybody going medic can then type !friendly straight after, becoming invincible (as expected) however still being able to heal/uber anybody, and it never runs out. Please fix this!
ShinyRazu is offline
ocwoody
AlliedModders Donor
Join Date: Nov 2010
Location: huh
Old 10-09-2015 , 22:38   Re: [TF2] Friendly Mode (v. 14.1119)
Reply With Quote #413

Is there anyways to block commands while the player is in !friendly? For example I have the !car plugin which allows the player to use a bumper car. They can then hit and kill people with the car, but can't take any damage due to friendly
__________________

ocwoody is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 10-09-2015 , 22:55   Re: [TF2] Friendly Mode (v. 14.1119)
Reply With Quote #414

You can use the include done to write your own plugin that creates this functionality.

This will eventually be a lot easier to accomplish, as all the major functions of the plugin will be split off into multiple different plugins using the include. These plugins will be good examples of how to structure such a custom plugin.
__________________
ddhoward is offline
ocwoody
AlliedModders Donor
Join Date: Nov 2010
Location: huh
Old 10-09-2015 , 23:32   Re: [TF2] Friendly Mode (v. 14.1119)
Reply With Quote #415

Quote:
Originally Posted by ddhoward View Post
You can use the include done to write your own plugin that creates this functionality.

This will eventually be a lot easier to accomplish, as all the major functions of the plugin will be split off into multiple different plugins using the include. These plugins will be good examples of how to structure such a custom plugin.
Anybody willing to make such plugin?
__________________

ocwoody is offline
Wormy
Senior Member
Join Date: Jan 2013
Location: 2fort
Old 10-11-2015 , 13:55   Re: [TF2] Friendly Mode (v. 14.1119)
Reply With Quote #416

I am getting this error quite often:

Code:
L 10/11/2015 - 19:49:16: [SM] Displaying call stack trace for plugin "friendly.smx":
L 10/11/2015 - 19:49:16: [SM]   [0]  Line 737, F:\sourcemod\include\entity.inc::GetEntityClassname()
L 10/11/2015 - 19:49:16: [SM]   [1]  Line 2419, friendly.sp::Hook_NormalSound()
Could this be fixed, not sure if it matters a lot though?
__________________
Wormy is offline
Weasel
AlliedModders Donor
Join Date: Apr 2004
Location: Undisclosed / Secure
Old 10-13-2015 , 00:06   Re: [TF2] Friendly Mode (v. 14.1119)
Reply With Quote #417

[strike]Whats in the current default block-list?[/strike]
Nevermind, just looked at the source code.

Hmmm. it shows medi-gun in there, but I am seeing friendly players using it on my server.
__________________
Pwease pardon by bad Engrish.
Steam Profile, Steam Group, Stats, Twitter

Last edited by Weasel; 10-13-2015 at 00:09.
Weasel is offline
ShinyRazu
Member
Join Date: Feb 2014
Old 10-14-2015 , 07:47   Re: [TF2] Friendly Mode (v. 14.1119)
Reply With Quote #418

There are many bugs with this plugin, not just what you said @ocwoody. As I mentioned, on some maps a player can get full uber in spawn room and then type !friendly while healing somebody, giving them infinite uber (they cannot be killed either) - they're then free to go and kill whoever they want and dominate the server while nobody can stand a chance. This plugin should probably be placed into the unapproved section because it is impossible to use successfully, since the author doesn't seem to want to fix these bugs and just tells others there is already functionality to 'do it yourself'.
ShinyRazu is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 10-14-2015 , 16:12   Re: [TF2] Friendly Mode (v. 14.1119)
Reply With Quote #419

You are severely confused, sir. The problem with the medics cannot be fixed with an outside plugin. The problem can be solved by simply updating the gamedata to the latest offsets. The offsets are shared with the [TF2] Melee Only plugin.

Please do not criticise others' work unless you know what you are talking about yourself.
__________________
ddhoward is offline
Randommagic
Senior Member
Join Date: Jun 2014
Location: -
Old 10-17-2015 , 01:27   Re: [TF2] Friendly Mode (v. 14.1119)
Reply With Quote #420

Quote:
Originally Posted by ocwoody View Post
Anybody willing to make such plugin?
if you use native bool:TF2Friendly_IsFriendly(client) in the friendly.inc to the sp file of that bumpercar plugin, you can do that, i think.

I have almost no knowledge in scripting, but managed to do it for my server.
__________________
Randommagic 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 11:35.


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