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

Subplugin Submission [ZP] Server Addon: LevelUp System XP 3.2 Stable


Post New Thread Reply   
 
Thread Tools Display Modes
cr0w
Senior Member
Join Date: Mar 2014
Location: middle east
Old 09-16-2014 , 09:17   Re: [ZP] Server Addon: LevelUp System XP 3.2 Stable
Reply With Quote #231

does't work too

Quote:
if(!target_id)
{
console_print(id, "Can't find that player")
return PLUGIN_HANDLED
}
@line 115

here are the problem

edited----

do you know another level up XP system .. works good ?
__________________
the city is no fun
there is no sun
and its so dark

Last edited by cr0w; 09-16-2014 at 09:22.
cr0w is offline
Send a message via Yahoo to cr0w Send a message via Skype™ to cr0w
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 09-16-2014 , 09:26   Re: [ZP] Server Addon: LevelUp System XP 3.2 Stable
Reply With Quote #232

I can compile the code. So, weird. ;)

By the way, just try to edit this part:
PHP Code:
public zp_user_infected_pre(idinfector)
{
    if( 
is_user_alive(infector) && (level_exp[infector] < (g_level_exp[infector] - 1)) && zp_get_user_zombie(infector))
    {
        
level_exp[infector] = level_exp[infector] + 1;
        
Level_Save(infector);
    }
    else
    if (
zp_get_user_zombie(infector))
        
ChatColor(infector"!g[ZP] !y Killed Zombie")

--->
PHP Code:
public zp_user_infected_pre(idinfector)
{
    if (
is_user_alive(infector) && (level_exp[infector] < (g_level_exp[infector] - 1)) && zp_get_user_zombie(infector))
    {
        
level_exp[infector] = level_exp[infector] + 1;
        
Level_Save(infector);
    }
    else if (
is_user_alive(infector) && zp_get_user_zombie(infector))
    {
        
ChatColor(infector"!g[ZP] !y Killed Zombie")
    }


Last edited by zmd94; 09-16-2014 at 09:55.
zmd94 is offline
cr0w
Senior Member
Join Date: Mar 2014
Location: middle east
Old 09-26-2014 , 03:32   Re: [ZP] Server Addon: LevelUp System XP 3.2 Stable
Reply With Quote #233

i found problems ..
the problem is wrong author typing !

arget_id is = target_id !

so you just tell author to update his plugin and send your fixed version of LEVELUP System
__________________
the city is no fun
there is no sun
and its so dark
cr0w is offline
Send a message via Yahoo to cr0w Send a message via Skype™ to cr0w
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 09-26-2014 , 07:05   Re: [ZP] Server Addon: LevelUp System XP 3.2 Stable
Reply With Quote #234

I not sure whether the real author is still active as his last login is on 08-19-12. By the way, just wait for my version.

[ZP] Custom Level System (CLeS)

Last edited by zmd94; 10-02-2014 at 09:39.
zmd94 is offline
worm2388
Member
Join Date: Dec 2014
Old 12-30-2014 , 15:44   Re: [ZP] Server Addon: LevelUp System XP 3.2 Stable
Reply With Quote #235

Hi, @DjReactive
this is good system, i am using it it is very nice, but it have a bug

my server always crash because of this plugin, could you help me to deal with it?

this is error log
Quote:
L 12/30/2014 - 20:41:51: [AMXX] Run time error 10: native error (native "zp_get_user_zombie")
L 12/30/2014 - 20:41:51: [AMXX] [0] zp_level_system_xp3.2.sma::Level (line 107)
L 12/30/2014 - 20:41:51: [ZP] Invalid Player (24)
L 12/30/2014 - 20:41:51: [AMXX] Displaying debug trace (plugin "zp_level_system_xp3.2.amxx")
L 12/30/2014 - 20:41:51: [AMXX] Run time error 10: native error (native "zp_get_user_zombie")
[PHP Code]public Level(id)
{
if( !zp_get_user_zombie(id) && is_user_alive(id) ) //line 107
{
g_trime[id] = false;
new n = 1;
while( n < g_level[id] )
{
h_health[id] = n * get_pcvar_num(g_h_health);
h_speed[id] = n * get_pcvar_num(g_h_speed);
h_damage[id] = n * get_pcvar_num(g_h_damage);
z_damage[id] = n * get_pcvar_num(g_z_damage);
n = n + 1
}
new Float:speed[32];
speed[id] = fm_get_user_maxspeed(id) + h_speed[id];
fm_set_user_health( id, get_user_health(id) + h_health[id] )
set_pev(id, pev_maxspeed, speed[id] )
emit_sound(id, CHAN_STREAM, sound_health, 1.0, ATTN_NORM, 0, PITCH_HIGH )
}
}[/PHP Code]

one more thing, if i stop the plugin or reinstall server, i need to backup players level information, where should i find the file :)

Last edited by worm2388; 12-30-2014 at 15:46.
worm2388 is offline
worm2388
Member
Join Date: Dec 2014
Old 12-30-2014 , 16:42   Re: [ZP] Server Addon: LevelUp System XP 3.2 Stable
Reply With Quote #236

Quote:
Originally Posted by zmd94 View Post
I not sure whether the real author is still active as his last login is on 08-19-12. By the way, just wait for my version.

[ZP] Custom Level System (CLeS)
hi, zmd94. when is your level system release? this one have bug. very annoying
worm2388 is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 12-30-2014 , 20:28   Re: [ZP] Server Addon: LevelUp System XP 3.2 Stable
Reply With Quote #237

This is my level plugin:

https://forums.alliedmods.net/showthread.php?t=249314
zmd94 is offline
worm2388
Member
Join Date: Dec 2014
Old 12-31-2014 , 10:42   Re: [ZP] Server Addon: LevelUp System XP 3.2 Stable
Reply With Quote #238

Quote:
Originally Posted by zmd94 View Post
im using it now, its work perfect in my server DD

appreciate so much dude!
worm2388 is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 12-31-2014 , 10:47   Re: [ZP] Server Addon: LevelUp System XP 3.2 Stable
Reply With Quote #239

Nevermind. If there are any problems, just let me know. ;)
zmd94 is offline
emcifox
Junior Member
Join Date: Dec 2014
Old 01-09-2015 , 05:52   Re: [ZP] Server Addon: LevelUp System XP 3.2 Stable
Reply With Quote #240

como reinicio el el nivel de todos?
emcifox is offline
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 05:32.


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