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

ProKreedz 2.31


Post New Thread Reply   
 
Thread Tools Display Modes
elplouk
Member
Join Date: Aug 2009
Location: France
Old 06-18-2011 , 11:58   Re: ProKreedz 2.27
Reply With Quote #511

This plugin is great, but my server crashes 10 times a day and there is only this plugin. Moreover, there's no errors in log so I can't fix the problem.

A little help ?
elplouk is offline
NucL3ra
Veteran Member
Join Date: Sep 2008
Location: Bucuresti , Romania
Old 06-18-2011 , 13:50   Re: ProKreedz 2.27
Reply With Quote #512

Huh...
A romanian server has been using this plugin for 1 year and never had such problems... I speak to the owner pretty often and never told me about any crashes...
I have no idea, it might be the server ? If you disable the plugin is the server fine ?
__________________
My nickname is nucLeaR, I just screwed up at registering and didn't want to change after that X_X.
NucL3ra is offline
Send a message via Yahoo to NucL3ra
loN
Junior Member
Join Date: Apr 2010
Old 06-19-2011 , 07:30   Re: ProKreedz 2.27
Reply With Quote #513

So, in the pro15 and top15 there are a "Weapon" column, but when I type /pro15 or /nub15 it displays the date and not the weapon. Any fixes?

And I want to create a new hud(probably, I want to change the timer hud), but I'm not that goot at scripting... So what I want is that, if you connect to the server, it automatically displays a hud with your current best time(maybe include checkpoints and gochecks). If you don't have, just display N/A or something, and if you start the timer, that hud changes and start counting as usual. Please if you guys can, do it, many thanks.

Last edited by loN; 06-19-2011 at 11:21.
loN is offline
yahha
New Member
Join Date: Jun 2011
Old 06-21-2011 , 11:15   Re: ProKreedz 2.27
Reply With Quote #514

hi NucL3ra
Checkpoint 1 Gocheck 0>Noobrank
Checkpoint 0 Gocheck 0>Prorank
This way I can do?
yahha is offline
Old 06-21-2011, 12:09
plowed
This message has been deleted by plowed. Reason: doesnt work
TozABG
Member
Join Date: Aug 2010
Old 06-28-2011 , 07:38   Re: ProKreedz 2.27
Reply With Quote #515

I tried to put in CFG, but is the same.

Also I have this bug.
http://cloud.steampowered.com/ugc/57...502A0ECF5FFBA/

Thats happend when you fall from high and die. Than you got in spec and type /ct and time is going in -
Godmode is ON.


Sorry, but what i have to do whit that code?
To replace in .sma part for no clip or add on the end, or to make new plugin

Last edited by TozABG; 06-28-2011 at 08:28.
TozABG is offline
NucL3ra
Veteran Member
Join Date: Sep 2008
Location: Bucuresti , Romania
Old 06-28-2011 , 10:02   Re: ProKreedz 2.27
Reply With Quote #516

Huh I'm gonna check it asap

Thanks for telling me
__________________
My nickname is nucLeaR, I just screwed up at registering and didn't want to change after that X_X.
NucL3ra is offline
Send a message via Yahoo to NucL3ra
plowed
Senior Member
Join Date: Oct 2010
Location: germany
Old 07-04-2011 , 13:38   Re: ProKreedz 2.27
Reply With Quote #517

I want to add a timer increace when scout usage.

I though something like this.

PHP Code:
if(user_has_weapon(i,CSW_SCOUT) && timer_started[i])
{
    
kz_hud_message(i"Scout usage. Your Timer set +30 sec.")
    
isec 30

But I dont know how to do it xD. Please help
plowed is offline
NucL3ra
Veteran Member
Join Date: Sep 2008
Location: Bucuresti , Romania
Old 07-04-2011 , 15:16   Re: ProKreedz 2.27
Reply With Quote #518

You can edit this part to be easier:
PHP Code:
public cmdScout(id)
{
    if( !
user_has_weapon(idCSW_SCOUT))
    {
        
give_item(id,"weapon_scout")
        if (
timer_started[id])
        {
            
ColorChat(idGREEN"[XJ]^x01 Your timer has increased by 30s for using scout.")
            
timer_time[id] += 30.0    // timer_time[id]+= 30.0 means timer_time[id] = timer_time[id] + 30.0, both of them work in this situation. I saw you tried something like that but i guess you didn't know the correct way.
        
}
    }
    return 
PLUGIN_HANDLED

__________________
My nickname is nucLeaR, I just screwed up at registering and didn't want to change after that X_X.
NucL3ra is offline
Send a message via Yahoo to NucL3ra
plowed
Senior Member
Join Date: Oct 2010
Location: germany
Old 07-04-2011 , 16:27   Re: ProKreedz 2.27
Reply With Quote #519

thanks Works so far but one weird bug I dont know ^^



seconds ok but minutes are...:/
plowed is offline
NucL3ra
Veteran Member
Join Date: Sep 2008
Location: Bucuresti , Romania
Old 07-04-2011 , 17:35   Re: ProKreedz 2.27
Reply With Quote #520

Try editing like this then:

PHP Code:
public finish_climb(id)
{
    if (!
is_user_alive (id))
    {
        return;
    }
    
    if ( (
get_pcvar_num(kz_top15_authid) > 1) || (get_pcvar_num(kz_top15_authid) < 0) )
    {
        
ColorChat(id GREEN"[XJ]^x01 Top 15 is disabled.")
        return ;
    }

    new 
Floattimeauthid[32]
    
get_user_authid(idauthid31)
    
time get_gametime() - timer_time[id]
    if( 
user_has_weapon(idCSW_SCOUT)) //this is the only difference
    
{
        
time+=30.0;// and this
    
}
    
show_finish_message(idtime)
    
timer_started[id] = false
    
    
if (gochecknumbers[id] == &&  !user_has_weapon(id,CSW_SCOUT) )
        
ProTop_update(idtime)
    if (
gochecknumbers[id] > || user_has_weapon(id,CSW_SCOUT) )
        
NoobTop_update(idtimechecknumbers[id], gochecknumbers[id])

also

PHP Code:
public timer_task()
{
......
    new 
Float:kreedztime get_gametime() - (IsPaused[i] ? get_gametime() - g_pausetime[i] : timer_time[i])
    if( 
user_has_weapon(idCSW_SCOUT)) //add this
        
kreedztime += 30.0// and this
    
if( ShowTime[i] == )
.......

__________________
My nickname is nucLeaR, I just screwed up at registering and didn't want to change after that X_X.

Last edited by NucL3ra; 07-04-2011 at 17:37.
NucL3ra is offline
Send a message via Yahoo to NucL3ra
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 08:23.


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