Raised This Month: $ Target: $400
 0% 

Most destructive


Post New Thread Reply   
 
Thread Tools Display Modes
n4rc0sis
Junior Member
Join Date: May 2009
Old 05-02-2009 , 11:41   Re: Most destructive
Reply With Quote #21

possible to make the output to this!?

Code:
the most destructive player is #name
with xxx damage
and xx kills
n4rc0sis is offline
xaider
Senior Member
Join Date: Jan 2009
Location: Russia, Ryazan
Old 05-03-2009 , 13:05   Re: Most destructive
Reply With Quote #22

Quote:
Originally Posted by n4rc0sis View Post
possible to make the output to this!?

Code:
the most destructive player is #name
with xxx damage
and xx kills
Sure, just set sm_md_lines to 1 or 2 and edit addons/sourcemod/translations/plugin.mdest.txt how you want.
__________________
Life don't forgive weaknesses..
xaider is offline
Send a message via ICQ to xaider Send a message via Skype™ to xaider
n4rc0sis
Junior Member
Join Date: May 2009
Old 05-03-2009 , 14:34   Re: Most destructive
Reply With Quote #23

k works good, but how to do a line break?

this is what i have it now

"en" "the most destructive player is {1} with {2} dmg and {3} kill(s)"

but all in one line :/
n4rc0sis is offline
xaider
Senior Member
Join Date: Jan 2009
Location: Russia, Ryazan
Old 05-04-2009 , 03:45   Re: Most destructive
Reply With Quote #24

Try \n as line break.
__________________
Life don't forgive weaknesses..
xaider is offline
Send a message via ICQ to xaider Send a message via Skype™ to xaider
n4rc0sis
Junior Member
Join Date: May 2009
Old 05-04-2009 , 04:40   Re: Most destructive
Reply With Quote #25

k works now
thx

this is what itīs look now
http://img23.**************/img23/511/dedust20003j.jpg

config for that:

server.cfg
// sm most destructive
sm_md_mode 1
sm_md_lines 1

plugin.mdest.txt

"Max damage"
{
"#format" "{1:s},{2:d},{3:d},{4:d}"
"en" "most destructive player is \n {1} inflicting {2} damage \n and killing {3} player(s)"
}
Attached Thumbnails
Click image for larger version

Name:	de_dust20003.jpg
Views:	831
Size:	100.7 KB
ID:	41679  
n4rc0sis is offline
nightrider
SourceMod Donor
Join Date: Dec 2008
Old 10-13-2009 , 20:17   Re: Most destructive
Reply With Quote #26

I get some strange results with this plugin.
the kill stats for most destructive are doubled?

I even get more kills show for most destructive player,
than are on the server?

any ideas?


CSS
SourceMOD 1.2.4
HLStatsX community edition
__________________
[SIGPIC][/SIGPIC] the pantless
I am the Night Rider!, I'm a fuel-injected suicide machine.
I am a rocker! I am a roller!, I am an out-of-controller!


nightrider is offline
xaider
Senior Member
Join Date: Jan 2009
Location: Russia, Ryazan
Old 10-14-2009 , 02:15   Re: Most destructive
Reply With Quote #27

Did you change something in source? Maybe hurt and death event triggers many times because of some plugins?
__________________
Life don't forgive weaknesses..
xaider is offline
Send a message via ICQ to xaider Send a message via Skype™ to xaider
nightrider
SourceMod Donor
Join Date: Dec 2008
Old 10-14-2009 , 13:02   Re: Most destructive
Reply With Quote #28

I did an hldsupdatetool.exe update to the server.
I'm unsure as nothing else was changed.
__________________
[SIGPIC][/SIGPIC] the pantless
I am the Night Rider!, I'm a fuel-injected suicide machine.
I am a rocker! I am a roller!, I am an out-of-controller!


nightrider is offline
gaissi
Senior Member
Join Date: Sep 2009
Old 10-15-2009 , 01:25   Re: Most destructive
Reply With Quote #29

Hey,

I get this error in my log:

Quote:
L 10/15/2009 - 003:23: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 10/15/2009 - 003:23: [SM] Native "VFormat" reported: Language phrase "Maximum damage" not found
L 10/15/2009 - 003:23: [SM] Displaying call stack trace for plugin "mdest.smx":
L 10/15/2009 - 003:23: [SM] [0] Line 50, /home/groups/alliedmodders/forums/files/4/5/8/7/6/39375.attach::SayText2()
L 10/15/2009 - 003:23: [SM] [1] Line 124, /home/groups/alliedmodders/forums/files/4/5/8/7/6/39375.attach::Round_End()
Can you fix this?

Greet Gaissi
gaissi is offline
xaider
Senior Member
Join Date: Jan 2009
Location: Russia, Ryazan
Old 10-15-2009 , 02:47   Re: Most destructive
Reply With Quote #30

Check out you translations file. Maybe you delete it?
__________________
Life don't forgive weaknesses..
xaider is offline
Send a message via ICQ to xaider Send a message via Skype™ to xaider
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:37.


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