Jump to content
  • 0

Requesting Skull/Bone go direct into killer inventory on pvp


Question

Posted

Hi rAthena... 
Can someone help me create ot sharing mybe... Some script that can make Skull/Bone go direct into killer inventory on pvp...??

Not this on

 

// Players' will drop a 'Skull' when killed?
// 0 = Disabled
// 1 = Dropped only in PvP maps
// 2 = Dropped in all situations
bone_drop: 0

 

Thanks guys.. ^  ^

18 answers to this question

Recommended Posts

Posted
OnPCKillEvent:
getitem2 7420, 1, 1, 0, 0, 254, 0, killedrid & 65535, killedrid >> 16 ;

not sure if this work...

 

or try this

OnPCKillEvent:
getnameditem 7420,rid2name( killedrid );
Posted
Don't forget to add a check for the user map

How can i do that sir??..??

 

OnPCKillEvent:

getnameditem 7420,rid2name( killedrid );

 

This mybe can help.. ^ ^  Tq sir..

But how can i connect with spesific map sir???

Posted

OnPCKillEvent:

getnameditem 7420,rid2name( killedrid );

if ( strcharinfo(3) != "your map" ) end;

Like this sir patskie??

 

And how to put in all map pvp.. Cuz map pvp are many...

Can it be like this??..??

 

OnPCKillEvent:

getnameditem 7420,rid2name( killedrid );

if ( strcharinfo(3) != "your map" ) end;

if ( strcharinfo(3) != "your map" ) end;

if ( strcharinfo(3) != "your map" ) end;

 

 

Im really2 confuse about this... T.T 

Sorry....

Posted (edited)

Yay... At last... Thank You So Much sir...  ^ ^


But... Sir  

Emistry

 

Im already insert this script and test but player did not recieve any of skull...
How was that?..?
Did anything i need to double check...?
Suggestion???

 

Edited by CheckMate
Posted

Tested on my local server and it works :

-    script    Sample    -1,{
    OnPCKillEvent:
        if ( strcharinfo(3) != "prontera" ) end;
        getnameditem 7420, rid2name( killedrid );
        end;
}

If player killed another player outside prontera the script will not be triggered. If they killed each other within prontera then the script will be triggered.

 

Here is my screenshot for reference :

post-7560-0-50856400-1380625970_thumb.png

Posted (edited)

zzzz

Need to put this???

 

-    script    Sample    -1,{
 
}


my script was only this
 

OnPCKillEvent:
if( strcharinfo(3) != "guild_vs3","guild_vs2","guild_vs5","guild_vs4","guild_vs1-2","guild_vs3","guild_vs1","pvp_y_8-2","1@orcs" ) end;
getnameditem 7420,rid2name( killedrid );

 

Trololololololol.. =="

Im try again.. ^  ^
Be back if got error  ^ ^


**Edited**

Done... Perfectly.. ^ ^ 
Thanks 

SIr 

Patskie

 Cuz show the using of script

 

Sir

Emistry

 

Cuz showing me main of script
 
 
 
Btw.. How can i put the other 3 pvp map in this same script??..??
Edited by CheckMate
Posted
if( 
	strcharinfo(3) == "prontera1" ||
	strcharinfo(3) == "prontera2" ||
	strcharinfo(3) == "prontera3"
){
	getnameditem 7420, rid2name( killedrid );
}
end;

or

if( 
	strcharinfo(3) != "prontera1" &&
	strcharinfo(3) != "prontera2" &&
	strcharinfo(3) != "prontera3"
) end;
getnameditem 7420, rid2name( killedrid );
end;

Posted
if( 
	strcharinfo(3) == "prontera1" ||
	strcharinfo(3) == "prontera2" ||
	strcharinfo(3) == "prontera3"
){
	getnameditem 7420, rid2name( killedrid );
}
end;

or

if( 
	strcharinfo(3) != "prontera1" &&
	strcharinfo(3) != "prontera2" &&
	strcharinfo(3) != "prontera3"
) end;
getnameditem 7420, rid2name( killedrid );
end;

sir why its not working on me?

Posted

 

OnPCKillEvent:
if( strcharinfo(3) != "your map" ) end;
getnameditem 7420,rid2name( killedrid );
how to put this on my server?

 

Just execute this in your server

*My setting*

*You can change the map name in order to make it auto skull into iventory*

 

-	script	auto_skullin	-1,{
OnPCKillEvent:
if( 
	strcharinfo(3) != "guild_vs2" &&
	strcharinfo(3) != "guild_vs5" &&
	strcharinfo(3) != "guild_vs4" &&
	strcharinfo(3) != "guild_vs1-2" &&
	strcharinfo(3) != "guild_vs3" &&
	strcharinfo(3) != "1@orcs" &&
	strcharinfo(3) != "guild_vs1" &&
	strcharinfo(3) != "pvp_y_8-2"
) end;
getnameditem 7420, rid2name( killedrid );
end;
}
Posted

 

 

OnPCKillEvent:
if( strcharinfo(3) != "your map" ) end;
getnameditem 7420,rid2name( killedrid );
how to put this on my server?

 

Just execute this in your server

*My setting*

*You can change the map name in order to make it auto skull into iventory*

 

-	script	auto_skullin	-1,{
OnPCKillEvent:
if( 
	strcharinfo(3) != "guild_vs2" &&
	strcharinfo(3) != "guild_vs5" &&
	strcharinfo(3) != "guild_vs4" &&
	strcharinfo(3) != "guild_vs1-2" &&
	strcharinfo(3) != "guild_vs3" &&
	strcharinfo(3) != "1@orcs" &&
	strcharinfo(3) != "guild_vs1" &&
	strcharinfo(3) != "pvp_y_8-2"
) end;
getnameditem 7420, rid2name( killedrid );
end;
}

thank thank.....

Posted

 

 

 

OnPCKillEvent:
if( strcharinfo(3) != "your map" ) end;
getnameditem 7420,rid2name( killedrid );
how to put this on my server?

 

Just execute this in your server

*My setting*

*You can change the map name in order to make it auto skull into iventory*

 

-	script	auto_skullin	-1,{
OnPCKillEvent:
if( 
	strcharinfo(3) != "guild_vs2" &&
	strcharinfo(3) != "guild_vs5" &&
	strcharinfo(3) != "guild_vs4" &&
	strcharinfo(3) != "guild_vs1-2" &&
	strcharinfo(3) != "guild_vs3" &&
	strcharinfo(3) != "1@orcs" &&
	strcharinfo(3) != "guild_vs1" &&
	strcharinfo(3) != "pvp_y_8-2"
) end;
getnameditem 7420, rid2name( killedrid );
end;
}

thank thank.....

 

 

 

Its ok...  ^ ^

Good Luck.. ^ ^ 

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.   Paste as plain text instead

  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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...