Jump to content

Sikdope

Members
  • Content Count

    42
  • Joined

  • Last visited

Posts posted by Sikdope


  1. wow thank you again ma'am its working hehe!

     

    last question mam! hehe  how to remove it announce when buying at point shop thank you very very much!

    nice.png


  2. Hello everyone, anyone can help me I tried to kill another player but did not add pvppoints to the pvp shop thanks and godbless!

     

     

    PS: its not a whole script 

     

     

    here is the script and screenshot:

     

             case 3:
                callshop "pvpshop",1;
                end;

     

     

    -    script    PvP_Points    -1,{

    OnPCKillEvent:

        .@map$ = strcharinfo(3);
        if(getmapflag(.@map$,mf_pvp) && killedrid != getcharid(3)) {
            if(++#pvp_points % 1 == 0)
                dispbottom "Current amount of PvP Points: "+#pvp_points;
        set .mapname$, "guild_vs3";
        }
        end;

    }

     

     

    -    pointshop    pvpshop    #pvp_points-1,14533:3,14545:5,12210:10,7776:40

    not working.png


  3. Hello mam its working but im trying two accounts in the gold room but the second account or name did not appear in gold_rank.. and is that top 10 of max guild rank and  how many max its top rank? thankyou so much!

    working.png

     

    .

    EDIT: solved thank you very much ma'am !


  4. Hello mam, sorry for the late reply thankyou for the help but i got error on script 

     

    [Error]: script_rid2sd: fatal error ! player not attached!
    [Debug]: Function: monster (7 parameters):
    [Debug]: Data: string value="ordeal_1-2"
    [Debug]: Data: number value=0
    [Debug]: Data: number value=0
    [Debug]: Data: string value="Golden Peco"
    [Debug]: Data: variable name='GRAND_PECO' index=0
    [Debug]: Data: number value=500
    [Debug]: Data: string value="Gold Room#tst::OnKilled"
    [Debug]: Source (NPC): Gold Room#tst at prontera (165,155)
    [Warning]: script:get_val: cannot access player variable 'GRAND_PECO', defaulting to 0
    [Warning]: buildin_monster: Attempted to spawn non-existing monster class 0
    [Debug]: Source (NPC): Gold Room#tst at prontera (165,155)


  5. thank you  mam! but when I include it in the goldroom script it doesn't work anymore.. if killed a lot of grand peco it will not add to the guild_rank in goldroom script here the script! () I apologize because I did not fix it. and sorry for my bad english :(:( 

     

    PS: its ok too you. can u make me the script just like that

    not.png


  6. Hello everyone can you help me why the top hunter does not appear in the script .. but there is no problem with the script thanks guys!

     

     

    here the script:

            alter table `char` add `gold_rank` int(11) unsigned default 0 after unban_time, add index (gold_rank);
            */
                mes "[ ^C6A518Top 30 Gold Hunters^000000 ]";    
                .@nb = query_sql( "select name, gold_rank from `char` where gold_rank > 0 order by gold_rank desc limit 2", .@name$, .@gold );
                if ( !.@nb ) {
                    mes "No ranking yet";
                    close;
                }
                for ( .@i = 0; .@i < .@nb; .@i++ )
                    mes .@name$ +" killed "+ .@gold +" Golden Peco";
                close;
            OnNPCKillEvent:
                if ( strcharinfo(3) == "ordeal_1-2" && killedrid == 1369 )
                    query_sql "update `char` set gold_rank = gold_rank +1 where char_id = "+ getcharid(0);
                end;

    not working.png

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.