Sikdope 0 Posted September 28, 2020 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 Quote Share this post Link to post Share on other sites
0 AnnieRuru 957 Posted September 28, 2020 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 Quote Share this post Link to post Share on other sites
0 Sikdope 0 Posted September 28, 2020 (edited) 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! Edited September 28, 2020 by Sikdope Quote Share this post Link to post Share on other sites
0 AnnieRuru 957 Posted September 28, 2020 20 minutes ago, Sikdope said: last question mam! hehe how to remove it announce when buying at point shop thank you very very much! 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 Quote Share this post Link to post Share on other sites
0 Sikdope 0 Posted September 28, 2020 (edited) Ok ma'am thank you again godbless! Edited September 28, 2020 by Sikdope Quote Share this post Link to post Share on other sites
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
Share this post
Link to post
Share on other sites