Quote:
|
Originally Posted by error_062707
L 06/27/2007 - 00:17:27: Start of error session.
L 06/27/2007 - 00:17:27: Info (map "de_dust") (logfile "error_062707.log")
L 06/27/2007 - 00:17:27: [FUN] Invalid player 3
L 06/27/2007 - 00:17:27: [AMXX] Displaying debug trace (plugin "hidenseek.amxx")
L 06/27/2007 - 00:17:27: [AMXX] Run time error 10: native error (native "strip_user_weapons")
L 06/27/2007 - 00:17:27: [AMXX] [0] phpf9uw00.sma::HiderItems (line 592)
L 06/27/2007 - 00:17:27: [FUN] Invalid player 4
L 06/27/2007 - 00:17:27: [AMXX] Displaying debug trace (plugin "hidenseek.amxx")
L 06/27/2007 - 00:17:27: [AMXX] Run time error 10: native error (native "strip_user_weapons")
L 06/27/2007 - 00:17:27: [AMXX] [0] phpf9uw00.sma::HiderItems (line 592)
L 06/27/2007 - 00:17:27: [FUN] Invalid player 5
L 06/27/2007 - 00:17:27: [AMXX] Displaying debug trace (plugin "hidenseek.amxx")
L 06/27/2007 - 00:17:27: [AMXX] Run time error 10: native error (native "strip_user_weapons")
L 06/27/2007 - 00:17:27: [AMXX] [0] phpf9uw00.sma::SeekerItems (line 584)
L 06/27/2007 - 00:17:27: [FUN] Invalid player 6
L 06/27/2007 - 00:17:27: [AMXX] Displaying debug trace (plugin "hidenseek.amxx")
L 06/27/2007 - 00:17:27: [AMXX] Run time error 10: native error (native "strip_user_weapons")
L 06/27/2007 - 00:17:27: [AMXX] [0] phpf9uw00.sma::SeekerItems (line 584)
L 06/27/2007 - 00:17:27: [FUN] Invalid player 7
L 06/27/2007 - 00:17:27: [AMXX] Displaying debug trace (plugin "hidenseek.amxx")
L 06/27/2007 - 00:17:27: [AMXX] Run time error 10: native error (native "strip_user_weapons")
L 06/27/2007 - 00:17:27: [AMXX] [0] phpf9uw00.sma::HiderItems (line 592)
L 06/27/2007 - 00:17:27: [FUN] Invalid player 11
L 06/27/2007 - 00:17:27: [AMXX] Displaying debug trace (plugin "hidenseek.amxx")
L 06/27/2007 - 00:17:27: [AMXX] Run time error 10: native error (native "strip_user_weapons")
L 06/27/2007 - 00:17:27: [AMXX] [0] phpf9uw00.sma::SeekerItems (line 584)
|
What is going on...here is some code from within the plugin.
Code:
//------------------------------------------------------------------------------------------------------------
public server_fakeFrame(entid){
if(get_cvar_num("hide_n_seek") >= 1 && round >= 1) {
if(timer > 0) {
set_hudmessage(255, 0, 0, -1.0, 0.60, 0, 1.0, 1.0, 0.2, 0.1, 4)
show_hudmessage(0,"[Hiders] have %i seconds to hide...",timer)
client_cmd(0,"spk vox/%s.wav",countername[timer])
for(new b=1;b<=maxplayers;b++)
if(get_user_team(b) == 2 && is_user_alive(b)) {
doFlash(b, 15)
entity_set_float(b,EV_FL_maxspeed,-200.0)
}
}
if(timer == 0) {
for(new b=1;b<=maxplayers;b++) {
if(get_user_team(b) == 2 && is_user_alive(b)) {
doFlash(b, 0)
entity_set_float(b,EV_FL_maxspeed,250.0)
}
}
set_hudmessage(255, 0, 0, -1.0, 0.60, 0, 1.0, 6.0, 0.2, 0.1, 4)
show_hudmessage(0,"READY OR NOT BITCHES, HERE WE COME!",timer)
return PLUGIN_HANDLED
}
if(timer < 0) {
for(new b=1;b<=maxplayers;b++)
if(get_user_team(b) == 2 && is_user_alive(b)) {
doFlash(b, 0)
entity_set_float(b,EV_FL_maxspeed,250.0)
}
return PLUGIN_HANDLED
}
timer--
entity_set_float(entid,EV_FL_nextthink,halflife_time() + 1.0)
}
return PLUGIN_HANDLED
}
Here is where the strip gets called through a task...
Code:
//------------------------------------------------------------------------------------------------------------
public StartRound() {
new t, c
for(new x=1;x<=maxplayers;x++) {
if(!is_user_connected(x)) continue
if(get_user_team(x) == 1) t = 1
if(get_user_team(x) == 2) c = 1
}
//Give team weapons on start round, and begin rounds
if(c == 1 && t == 1) {
if(get_cvar_num("hide_n_seek") == 1) {
if(round == 0) { // Knife Round Stuff
format(g_message,255,"Knife Round^nWinning Team will become [Hiders] first.")
for(new a=1;a<=maxplayers;a++) {
if(is_user_alive(a))
set_task(1.5,"stripAndGiveKnife",a)
}
set_hudmessage(255, 0, 0, -1.0, 0.5, 0, 1.0, 7.0, 0.1, 0.1, 4)
show_hudmessage(0,"%s",g_message)
entity_set_float(scoreB,EV_FL_nextthink,halflife_time() + 0.01)
}
if(round == 1) { // Begin Round 1 stuff
timer = get_cvar_num("hide_n_seek_timer")
entity_set_float(fakeEnt,EV_FL_nextthink,halflife_time() + 0.01)
for(new a=1;a<=maxplayers;a++) {
if(get_user_team(a) == 1 && is_user_alive(a))
set_task(1.5,"HiderItems",a)
if(get_user_team(a) == 2 && is_user_alive(a))
set_task(1.5,"SeekerItems",a)
}
}
}
if(get_cvar_num("hide_n_seek") == 2) {
if(round >= 1) { // Begin Round 1 stuff
timer = get_cvar_num("hide_n_seek_timer")
entity_set_float(fakeEnt,EV_FL_nextthink,halflife_time() + 0.01)
for(new a=1;a<=maxplayers;a++) {
if(get_user_team(a) == 1 && is_user_alive(a))
set_task(1.5,"HiderItems",a)
if(get_user_team(a) == 2 && is_user_alive(a))
set_task(1.5,"SeekerItems",a)
}
}
}
}
}
Here is the Hider items...
Code:
//------------------------------------------------------------------------------------------------------------
public HiderItems(id)
{
strip_user_weapons(id)
give_item(id, "weapon_hegrenade")
give_item(id, "weapon_flashbang")
give_item(id, "weapon_flashbang")
give_item(id, "weapon_smokegrenade")
csset_user_armor(id, 100.0, 2)
set_user_footsteps(id, 1)
cs_set_user_nvg(id, 0)
}
Here are the Seeker Items
Code:
//------------------------------------------------------------------------------------------------------------
public SeekerItems(id)
{
strip_user_weapons(id)
give_item(id, "weapon_knife")
set_user_footsteps(id, 0)
cs_set_user_nvg(id)
}
Anyone...this has happened ever since i got the mod.