Raised This Month: $32 Target: $400
 8% 

Mortal Kombat Miscstats


Post New Thread Reply   
 
Thread Tools Display Modes
[DeathTV] Sid 6.7
Member
Join Date: Oct 2007
Old 12-07-2007 , 21:17   Re: Mortal Kombat Miscstats
Reply With Quote #11

Something has to be generating multiple new round events. Here's the chunk of code where these messages come from (they only come from miscstats):

Code:
public eNewRound()
{
 if (read_data(1) == floatround(get_cvar_float("mp_roundtime") * 60.0,floatround_floor))
 {
  g_C4Timer = 0
  ++g_roundCount
  if(get_playersnum() < 2) return
  if (RoundCounter)
  {
   set_hudmessage(200, 0, 0, -1.0, 0.30, 0, 6.0, 6.0, 0.5, 0.15, -1)
   ShowSyncHudMsg(0, g_announce_sync, "Round %d^nFIGHT!", g_roundCount)
  }
 
  if (MKFightSound)
   play_sound("misc/mkfight")
 
  if (KillingStreak)
  {
   new appl[32], ppl, i
   get_players(appl, ppl, "ac")
 
   for (new a = 0; a < ppl; ++a)
   {
    i = appl[a]
 
    if (g_streakKills[i][0] >= 2)
     client_print(i, print_chat, "* %L", i, "KILLED_ROW", g_streakKills[i][0])
    else if (g_streakKills[i][1] >= 2)
     client_print(i, print_chat, "* %L", i, "DIED_ROUNDS", g_streakKills[i][1])
   }
  }
 }
}
I'm not sure what is causing the multiple calls, but I will definitely write a fix just for you. How fast do these msg's appear, instantly? I will add a timestamp so this will not happen to you.
__________________
Power Votes Core << Democracy at your fingertips
Get Mortal Kombat Miscstats for CS
[DeathTV] Sid 6.7 is offline
hoboman
Senior Member
Join Date: Jul 2007
Old 12-07-2007 , 22:26   Re: Mortal Kombat Miscstats
Reply With Quote #12

they are printed at once at the start of the new round...
hoboman is offline
[DeathTV] Sid 6.7
Member
Join Date: Oct 2007
Old 12-07-2007 , 22:46   Re: Mortal Kombat Miscstats
Reply With Quote #13

Updated
-logic builtin to prevent excessive eNewRound events
-A Cfg option to turn off those "You died/killed x .. in a row" messages
__________________
Power Votes Core << Democracy at your fingertips
Get Mortal Kombat Miscstats for CS
[DeathTV] Sid 6.7 is offline
hoboman
Senior Member
Join Date: Jul 2007
Old 12-07-2007 , 23:16   Re: Mortal Kombat Miscstats
Reply With Quote #14

i dunno that repeating msgs thing is weird...i was playing later today and wasn't getting it...anyways...how about something other than the "you suck" for amx_taunt?
hoboman is offline
lIl_sAiNt
BANNED
Join Date: Nov 2007
Location: krypton
Old 12-08-2007 , 07:59   Re: Mortal Kombat Miscstats
Reply With Quote #15

hi,
-dude,the sounds are precached but i can't hear any,except knife kill,
-what should i do?
lIl_sAiNt is offline
[DeathTV] Sid 6.7
Member
Join Date: Oct 2007
Old 12-08-2007 , 16:17   Re: Mortal Kombat Miscstats
Reply With Quote #16

Go into stats cfg from amxmodmenu

hoboman,
did you try the new code and is your problem gone?

for amx_taunt, are you just talking about using the other taunts available for Deluxe mode?
__________________
Power Votes Core << Democracy at your fingertips
Get Mortal Kombat Miscstats for CS
[DeathTV] Sid 6.7 is offline
hoboman
Senior Member
Join Date: Jul 2007
Old 12-09-2007 , 00:30   Re: Mortal Kombat Miscstats
Reply With Quote #17

Quote:
Originally Posted by [DeathTV] Sid 6.7 View Post
Go into stats cfg from amxmodmenu

hoboman,
did you try the new code and is your problem gone?

for amx_taunt, are you just talking about using the other taunts available for Deluxe mode?
ok i will try it out now...i know that the only taunt, in any mod, that comes up when u use amx_taunt is the "name: You suck!"...the other taunts randomly ( i think ) come up in game...


the problem with the repeated msgs is caused by the team swapping that come from such plugins as ptb or amx_swap ( maybe amx_team too ) from amx_super...basically, they only start repeating like that when i get switched teams like that...i will give that new version a try, ty
hoboman is offline
lIl_sAiNt
BANNED
Join Date: Nov 2007
Location: krypton
Old 12-09-2007 , 02:22   Re: Mortal Kombat Miscstats
Reply With Quote #18

ya now work's,thanx dude,
lIl_sAiNt is offline
gevo
Senior Member
Join Date: Jun 2007
Old 12-10-2007 , 22:36   Re: Mortal Kombat Miscstats
Reply With Quote #19

+karma
gevo is offline
BeasT
Senior Member
Join Date: Apr 2007
Location: Lithuania
Old 12-21-2007 , 09:01   Re: Mortal Kombat Miscstats
Reply With Quote #20

How to turn off the screaming sound when you are killed, because it get's anoying in deathmatch.
BeasT is offline
Send a message via Skype™ to BeasT
Reply


Thread Tools
Display Modes

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 22:43.


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