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

Reflect team damage


Post New Thread Reply   
 
Thread Tools Display Modes
Snake60
Senior Member
Join Date: Jul 2008
Location: Russia, Pskov
Old 04-06-2010 , 03:53   Re: Reflect team damage
Reply With Quote #11

@shustas
Okay, I'll look, but could you tell me what kind of ride is a plugin. I could not find him searching
__________________
Snake60 is offline
Send a message via ICQ to Snake60 Send a message via MSN to Snake60 Send a message via Skype™ to Snake60
shustas
SourceMod Donor
Join Date: May 2007
Location: London
Old 04-06-2010 , 05:19   Re: Reflect team damage
Reply With Quote #12

they use it here: 85.236.101.53:27215
__________________
shustas is offline
Snake60
Senior Member
Join Date: Jul 2008
Location: Russia, Pskov
Old 04-06-2010 , 06:26   Re: Reflect team damage
Reply With Quote #13

kk, tnx for info

edited: mmm... It seems to me that this Mani Admin plugin, not ES...
OK, I will try to more deeply explore the Source Pawn especially feature Vector. If someone wants to help me in this - you are welcome, because I'm not a programmer, but a simple user
__________________

Last edited by Snake60; 04-07-2010 at 10:53. Reason: add edited
Snake60 is offline
Send a message via ICQ to Snake60 Send a message via MSN to Snake60 Send a message via Skype™ to Snake60
mad_hamster
Member
Join Date: Nov 2009
Old 04-12-2010 , 07:12   Re: Reflect team damage
Reply With Quote #14

Thanks for the additions, guys. I merged them into the plugin, and made the following changes along the way:
  • Now caching CVars for better performance
  • Damage CVar now defaults to -1
  • Slap toggle is now independent of damage, you can have damage without slap or slap with 0 damage
  • Using arguments for translations; makes it easier to translate but unfortunately disables colors in chat messages
Snake60: please send me a new Russian translation if you want me to put it in the package. Thanks.
mad_hamster is offline
Snake60
Senior Member
Join Date: Jul 2008
Location: Russia, Pskov
Old 04-13-2010 , 10:38   Re: Reflect team damage
Reply With Quote #15

OK!
Here it :
Attached Files
File Type: txt reflect.phrases.txt (412 Bytes, 195 views)
__________________
Snake60 is offline
Send a message via ICQ to Snake60 Send a message via MSN to Snake60 Send a message via Skype™ to Snake60
michaeloohra
Junior Member
Join Date: Sep 2010
Old 09-02-2010 , 22:02   Re: Reflect team damage
Reply With Quote #16

Im new and really need some help. Can someone give me a video (for this mod) or maybe spell it out for me? I really like this and but I dunno how to use my server thoroughly yet
michaeloohra is offline
zepper
BANNED
Join Date: May 2009
Location: Latvia, Riga
Old 03-11-2011 , 05:28   Re: Reflect team damage
Reply With Quote #17

Only Warnings But...
03/11/2011 [SM] Warning(s) encountered in translation file "reflect.phrases.txt"
03/11/2011 [SM] Ignoring translation to invalid language "#format" on line 5.
03/11/2011 [SM] Ignoring translation to invalid language "#format" on line 11.
03/11/2011 Error log file session closed.
zepper is offline
Snake60
Senior Member
Join Date: Jul 2008
Location: Russia, Pskov
Old 03-11-2011 , 09:05   Re: Reflect team damage
Reply With Quote #18

Quote:
Originally Posted by zepper View Post
Only Warnings But...
03/11/2011 [SM] Warning(s) encountered in translation file "reflect.phrases.txt"
03/11/2011 [SM] Ignoring translation to invalid language "#format" on line 5.
03/11/2011 [SM] Ignoring translation to invalid language "#format" on line 11.
03/11/2011 Error log file session closed.
What exactly reflect.phrases.txt file do you use? Your own or from plugin? Maybe you are copy original, translate on Latvian and put it in LV translation folder, but forget remove "#format" "{1:d},{2:d}" strings? If you create separate language file - you must remove "format" strings. If you edit existing - simple add you language strings after existing. GL.

PS I made some improvements for this plugin. I will put my version here later.
__________________

Last edited by Snake60; 03-11-2011 at 09:23. Reason: Add PS
Snake60 is offline
Send a message via ICQ to Snake60 Send a message via MSN to Snake60 Send a message via Skype™ to Snake60
zepper
BANNED
Join Date: May 2009
Location: Latvia, Riga
Old 03-11-2011 , 15:33   Re: Reflect team damage
Reply With Quote #19

Snake60
No I took this all stuff from 1st post and did not change anything. Latter I deleted reflect.phrases.txt from ru folder (because error line 5. and 11. was there) And error disappeared.

Quote:
Originally Posted by Snake60
I made some improvements for this plugin. I will put my version here later
GRATE

Last edited by zepper; 03-11-2011 at 15:40. Reason: my bad eng :)
zepper is offline
Sheepdude
SourceMod Donor
Join Date: Aug 2012
Location: Chicago
Old 11-04-2012 , 15:44   Re: Reflect team damage
Reply With Quote #20

For some reason CS:GO does not like ForcePlayerSuicide(). I had to replace that code with the following:

Code:
		decl String:kName[64];
		GetClientName(attacker, kName, sizeof(kName));
		if (reflect_hp_dmg >= attacker_hp)
			ServerCommand("sm_slay %s", kName);
It's less elegant, but my server was crashing using ForcePlayerSuicide, and I could not figure out why. It doesn't really make sense to me, since sm_slay uses ForcePlayerSuicide as well.
__________________

Last edited by Sheepdude; 11-04-2012 at 17:38.
Sheepdude 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 07:32.


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