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

C4 Kills Count for Planter (Ported: Krot@l)


Post New Thread Reply   
 
Thread Tools Display Modes
n00bl0l
Junior Member
Join Date: Dec 2005
Old 12-20-2005 , 12:52   Kim
Reply With Quote #31

lol worng, I mean this:

//AMXXPC compile.exe
// by the AMX Mod X Dev Team


//// AMXX_Spawnangle_Bug_Fixer.sma
// C:\Documents and Settings\HP_Eier\Skrivebord\AMXX_Spawnangle_B ug_Fixer.sma(0)
: fatal error 101: cannot write to file: "C:\Documents and Settings\HP_Eier\Skr
ivebord\compiled\AMXX_Spawnangle_Bug_Fixer.am x"
//
// Compilation aborted.
// 1 Error.
// Could not locate output file C:\Documents and Settings\HP_Eier\Skrivebord\com
piled\AMXX_Spawnangle_Bug_Fixer.amx (compile failed).
//
// Compilation Time: 0,06 sec
__________________
Phu aka kim
n00bl0l is offline
Send a message via MSN to n00bl0l
Sp4rt4n
Senior Member
Join Date: Dec 2004
Old 12-20-2005 , 18:45  
Reply With Quote #32

Erm... thats not a plugin in this thread...

And thats an amx plugin, not amxx...
Sp4rt4n is offline
Send a message via MSN to Sp4rt4n
Tartooob
Senior Member
Join Date: May 2006
Old 01-13-2007 , 08:53   Re: C4 Kills Count for Planter (Ported: Krot@l)
Reply With Quote #33

Hello, the plugin works gr8 and everyone loved it in my server but sometimes it crashes my server, I get the following errors,

Quote:
L 01/08/2007 - 005:44: Start of error session.
L 01/08/2007 - 005:44: Info (map "De_inferno") (logfile "error_010807.log")
L 01/08/2007 - 005:44: [FUN] Invalid player 3
L 01/08/2007 - 005:44: [AMXX] Displaying debug trace (plugin "c4_kill.amxx")
L 01/08/2007 - 005:44: [AMXX] Run time error 10: native error (native "set_user_frags")
L 01/08/2007 - 005:44: [AMXX] [0] 3364.attach::check_dead (line 103)
Quote:
L 01/13/2007 - 1686: Start of error session.
L 01/13/2007 - 1686: Info (map "de_dust2") (logfile "error_011307.log")
L 01/13/2007 - 1686: [FUN] Invalid player 1
L 01/13/2007 - 1686: [AMXX] Displaying debug trace (plugin "c4_kill.amxx")
L 01/13/2007 - 1686: [AMXX] Run time error 10: native error (native "set_user_frags")
L 01/13/2007 - 1686: [AMXX] [0] 3364.attach::check_dead (line 103)
Quote:
L 12/28/2006 - 22:26:10: Start of error session.
L 12/28/2006 - 22:26:10: Info (map "De_dust2") (logfile "error_122806.log")
L 12/28/2006 - 22:26:10: [FUN] Invalid player 11
L 12/28/2006 - 22:26:10: [AMXX] Displaying debug trace (plugin "c4_kill.amxx")
L 12/28/2006 - 22:26:10: [AMXX] Run time error 10: native error (native "set_user_frags")
L 12/28/2006 - 22:26:10: [AMXX] [0] 3364.attach::check_dead (line 103)
Any ideas ?
thanks in advance

Last edited by Tartooob; 01-13-2007 at 09:05.
Tartooob is offline
Juba_PornBorn1
BANNED
Join Date: Feb 2007
Location: Caracas
Old 03-13-2007 , 14:44   Re: C4 Kills Count for Planter (Ported: Krot@l)
Reply With Quote #34

I've had the plugin workinn for a copple of months with no errors and then when a upgrade the amxx to the last version it started doing the errors described above by tartoob and crashing the server every time a bomb exploded!!!
Juba_PornBorn1 is offline
Tartooob
Senior Member
Join Date: May 2006
Old 10-16-2007 , 08:00   Re: C4 Kills Count for Planter (Ported: Krot@l)
Reply With Quote #35

Can someone Help please -,- or fix it

Quote:
L 10/10/2007 - 09:24:51: Start of error session.
L 10/10/2007 - 09:24:51: Info (map "de_dust2") (logfile "error_101007.log")
L 10/10/2007 - 09:24:51: [FUN] Invalid player 1
L 10/10/2007 - 09:24:51: [AMXX] Displaying debug trace (plugin "c4_kill.amxx")
L 10/10/2007 - 09:24:51: [AMXX] Run time error 10: native error (native "set_user_frags")
L 10/10/2007 - 09:24:51: [AMXX] [0] 3364.attach::check_dead (line 103)
Quote:
L 10/12/2007 - 10:41:02: [AMXX] Displaying debug trace (plugin "c4_kill.amxx")
L 10/12/2007 - 10:41:02: [AMXX] Run time error 10: native error (native "set_user_frags")
L 10/12/2007 - 10:41:02: [AMXX] [0] 3364.attach::check_dead (line 103)
Quote:
L 10/13/2007 - 11:15:07: Start of error session.
L 10/13/2007 - 11:15:07: Info (map "de_train") (logfile "error_101307.log")
L 10/13/2007 - 11:15:07: [FUN] Invalid player 11
L 10/13/2007 - 11:15:07: [AMXX] Displaying debug trace (plugin "c4_kill.amxx")
L 10/13/2007 - 11:15:07: [AMXX] Run time error 10: native error (native "set_user_frags")
L 10/13/2007 - 11:15:07: [AMXX] [0] 3364.attach::check_dead (line 103)
__________________
oooooohh signature space o.o
Tartooob is offline
epic .
Senior Member
Join Date: Oct 2009
Location: China
Old 01-19-2010 , 00:17   Re: C4 Kills Count for Planter (Ported: Krot@l)
Reply With Quote #36

Could someone solve the problem above , or fix it
epic . is offline
Send a message via ICQ to epic .
Etern1ty
Junior Member
Join Date: May 2022
Old 05-14-2022 , 04:15   Re: C4 Kills Count for Planter (Ported: Krot@l)
Reply With Quote #37

Quote:
Originally Posted by Tartooob View Post
Hello, the plugin works gr8 and everyone loved it in my server but sometimes it crashes my server, I get the following errors,







Any ideas ?
thanks in advance
Same problm
Etern1ty is offline
Supremache
Veteran Member
Join Date: Sep 2019
Location: Egypt
Old 05-15-2022 , 00:03   Re: C4 Kills Count for Planter (Ported: Krot@l)
Reply With Quote #38

Untested:
Code:
#include <amxmodx> #include <amxmisc> #include <fakemeta> #include <hamsandwich> #include <csx> #include <fun> #if !defined MAX_AUTHID_LENGTH const MAX_AUTHID_LENGTH = 64 #endif #if !defined MAX_NAME_LENGTH const MAX_NAME_LENGTH = 32 #endif #if !defined MAX_PLAYERS const MAX_PLAYERS = 32 #endif new const Version[ ] = "1.0"; new bool:g_isDead[ MAX_PLAYERS + 1 ]; public plugin_init( ) {     register_plugin( "C4 Kill Award", Version, "Supremache" );     register_cvar("C4KillAward", Version, FCVAR_SERVER | FCVAR_SPONLY | FCVAR_UNLOGGED );         RegisterHam( Ham_Spawn, "player", "OnPlayerSpawn", 1 )     RegisterHam( Ham_Killed, "player", "OnPlayerKilled", 1 ) } public client_connect( id ) {     g_isDead[ id ] = false; }    public OnPlayerSpawn( id ) {     g_isDead[ id ] = false; } public OnPlayerKilled( iVictim ) {     g_isDead[ iVictim ] = true; }    public bomb_explode( iPlanter, iDefuser ) {     new szName[ MAX_PLAYERS + 1 ][ MAX_NAME_LENGTH ],         szSteamID[ MAX_PLAYERS + 1 ][ MAX_AUTHID_LENGTH ],         szTeam[ MAX_PLAYERS + 1 ][ 10 ],         iPlayers[ MAX_PLAYERS ],         iNum,         iAward;             get_user_name( iPlanter, szName[ iPlanter ], charsmax( szName[ ] ) );     get_user_authid( iPlanter, szSteamID[ iPlanter ], charsmax( szSteamID[ ] ) );     get_user_team( iPlanter, szTeam[ iPlanter ], charsmax( szTeam[ ] ) );     get_players( iPlayers, iNum, "bche", "CT" );//szTeam[ iPlanter ][ 7 ] == 'c' ? "TERRORIST" : "CT" );         for( new i, iPlayer; i < iNum; i++ )     {         iPlayer = iPlayers[ i ];                 if( is_user_connected( iPlayer ) && !g_isDead[ iPlayer ] )         {             message_begin( MSG_BROADCAST, 83, { 0, 0, 0 }, 0 );             write_byte( iPlanter );             write_byte( iPlayer );             write_byte( 0 );             write_string( "c4" );             message_end( );                         iAward++;             log_message( "%s | %s | %s Killed %s | %s | %s By C4", szName[ iPlanter ], szSteamID[ iPlanter ], szTeam[ iPlanter ], szName[ iPlayer ], szSteamID[ iPlayer ], szTeam[ iPlayer ] );         }     }         if( iAward )     {         set_user_frags( iPlanter, get_user_frags( iPlanter ) + iAward )     } }
__________________
Youtube.com/Supremache

Bank System [Nvault - SQL Support]
VIP System
  • If you think it's that simple, then do it yourself.

Last edited by Supremache; 05-15-2022 at 13:35.
Supremache is offline
tarsisd2
Veteran Member
Join Date: Feb 2016
Location: brazil
Old 05-15-2022 , 10:19   Re: C4 Kills Count for Planter (Ported: Krot@l)
Reply With Quote #39

Quote:
Originally Posted by Supremache View Post
Untested:
Code:
#include <amxmodx> #include <amxmisc> #include <fakemeta> #include <csx> #include <fun> #if !defined MAX_AUTHID_LENGTH const MAX_AUTHID_LENGTH = 64 #endif #if !defined MAX_NAME_LENGTH const MAX_NAME_LENGTH = 32 #endif #if !defined MAX_PLAYERS const MAX_PLAYERS = 32 #endif new const Version[ ] = "1.0" public plugin_init( ) {     register_plugin( "C4 Kill Award", Version, "Supremache" );     register_cvar("C4KillAward", Version, FCVAR_SERVER | FCVAR_SPONLY | FCVAR_UNLOGGED ) } public bomb_explode( iPlanter, iDefuser ) {     new szName[ MAX_PLAYERS + 1 ][ MAX_NAME_LENGTH ],         szSteamID[ MAX_PLAYERS + 1 ][ MAX_AUTHID_LENGTH ],         szTeam[ MAX_PLAYERS + 1 ][ 10 ],         iPlayers[ MAX_PLAYERS ],         iNum,         iAward;             get_user_name( iPlanter, szName[ iPlanter ], charsmax( szName[ ] ) );     get_user_authid( iPlanter, szSteamID[ iPlanter ], charsmax( szSteamID[ ] ) );     get_user_team( iPlanter, szTeam[ iPlanter ], charsmax( szTeam[ ] ) );     get_players( iPlayers, iNum, "bche", "CT" );//szTeam[ iPlanter ][ 7 ] == 'c' ? "TERRORIST" : "CT" );         for( new i, iPlayer; i < iNum; i++ )     {         iPlayer = iPlayers[ i ];                 if( is_user_connected( iPlayer ) )         {             message_begin( MSG_BROADCAST, 83, { 0, 0, 0 }, 0 );             write_byte( iPlanter );             write_byte( iPlayer );             write_byte( 0 );             write_string( "c4" );             message_end( );                         iAward++;             log_message( "%s | %s | %s Killed %s | %s | %s By C4", szName[ iPlanter ], szSteamID[ iPlanter ], szTeam[ iPlanter ], szName[ iPlayer ], szSteamID[ iPlayer ], szTeam[ iPlayer ] );         }     }         if( iAward )     {         set_user_frags( iPlanter, get_user_frags( iPlanter ) + iAward )     } }
i wanted to count frags by c4 explosion, but not the +3 points for tr, is this how it works?
tarsisd2 is offline
Supremache
Veteran Member
Join Date: Sep 2019
Location: Egypt
Old 05-15-2022 , 10:32   Re: C4 Kills Count for Planter (Ported: Krot@l)
Reply With Quote #40

Quote:
Originally Posted by tarsisd2 View Post
i wanted to count frags by c4 explosion, but not the +3 points for tr, is this how it works?
Have you tested it? I have re-created the plugin
Edit: I have updated the plugin..
__________________
Youtube.com/Supremache

Bank System [Nvault - SQL Support]
VIP System
  • If you think it's that simple, then do it yourself.

Last edited by Supremache; 05-15-2022 at 13:36.
Supremache is offline
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 19:44.


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