pvp_shop

Sikdope

New member
Messages
42
Points
0
Emulator
rAthena
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

 
prontera,155,185,5 script PvP_Points 1_F_MARIA,{
callshop "pvpshop", 1;
end;
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;
}
end;
}
//- pointshop pvpshop #pvp_points-1,14533:3,14545:5,12210:10,7776:40 // wrong
- pointshop pvpshop -1,#pvp_points,14533:3,14545:5,12210:10,7776:40


shouldn't your rathena's map-server.exe spit error about ... WOW !! doesn't throw error !! what a great emulator they have

anyway I tested this one working fine

 
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

 
Last edited by a moderator:
Sikdope said:
last question mam! hehe  how to remove it announce when buying at point shop thank you very very much!

View attachment 6330
I dual client to check, this is an announcement with bc_self flag
means only the player talk to this npc gets this blue announcement, surrounding player couldn't see them

I don't think its a good idea to disable it

 
Ok ma'am thank you again godbless!

 
Last edited by a moderator:
Back
Top