 |
|
Veteran Member
Join Date: Oct 2006
Location: Stockholm, Sweden
|

07-27-2008
, 10:12
Re: Point System 1.4.7 || [6/22/2008]
|
#301
|
Quote:
Originally Posted by krededk99
No its not the health checker.
I removed all the code regarding healthcheck i could find, recompiled, and its still the same.
Code:
#define HEALTH_TIME 1.0
new g_mapsize = sizeof g_health_maps;
for(new i; i < g_mapsize; i++)
{
if(containi(mapname, g_health_maps[i]) != -1)
{
log_ps("MapName: %s || Health-Map: %s || I: %d", mapname, g_health_maps[i], i);
formatex(map, 23, "%s", g_health_maps[i]);
g_hp_map = true;
}
}
if(g_hp_map)
set_task(HEALTH_TIME, "check_health", id + TASK_ID);
public check_health(taskid)
{
new id = taskid - TASK_ID;
static string[24];
formatex(string, 23, "%s", map);
replace(string, 23, "hp", "");
new Float:health = str_to_float(string);
log_ps("Health: %f || String : ^"%s^"", health, string);
if(pev(id, pev_health) != health)
set_pev(id, pev_health, health);
client_print(id, print_chat, "Health Set!");
}
Is what i removed. Im noob at this, but i think it got it all, and it worked and diddnt check for health
Atomen:
I was wondering, could you re-release an ealier version, perhaps 1.4.5? The model bug was fixed in that version, we could check it that way.
|
That was what I added to fix the health bug -_-
And no, version 1.4.5 won't solve anything.
Quote:
Originally Posted by chibi-sun123
the debug mode says that to me
Code:
L 07/27/2008 - 13:41:08: [AMXX] Displaying debug trace (plugin "point_system.amxx")
L 07/27/2008 - 13:41:08: [AMXX] Run time error 4: index out of bounds
L 07/27/2008 - 13:41:08: [AMXX] [0] file.inl::load_models_t (line 602)
L 07/27/2008 - 13:41:08: [AMXX] [1] cpm.inl::plugin_precache (line 39)
L 07/27/2008 - 13:41:10: Start of error session.
can anyone help me pls
|
It's fixed in 1.5.0
Quote:
Originally Posted by SilverFlame
Quote:
Originally Posted by atomen
You don't have file access. Nothing I can do about it.
|
Anything i can do about it? ;)
|
Get full admin access on your computer.
__________________
|
|
|
|