Jump to content
  • 0
Sign in to follow this  
Sikdope

pvp_shop

Question

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

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0
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

Share this post


Link to post
Share on other sites
  • 0

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

Edited by Sikdope

Share this post


Link to post
Share on other sites
  • 0
20 minutes ago, Sikdope said:

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

nice.png

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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