Jump to content
  • 0

Requesting Skull/Bone go direct into killer inventory on pvp


Checkmate

Question


  • Group:  Members
  • Topic Count:  96
  • Topics Per Day:  0.02
  • Content Count:  554
  • Reputation:   14
  • Joined:  09/24/12
  • Last Seen:  

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.. ^  ^

Link to comment
Share on other sites

17 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2346
  • Joined:  10/28/11
  • Last Seen:  


OnPCKillEvent:

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

getnameditem 7420,rid2name( killedrid );

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  50
  • Reputation:   1
  • Joined:  02/13/13
  • Last Seen:  

how to make skull drop no name ?

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2346
  • Joined:  10/28/11
  • Last Seen:  

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 );
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  135
  • Reputation:   13
  • Joined:  06/20/12
  • Last Seen:  

Don't forget to add a check for the user map

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  96
  • Topics Per Day:  0.02
  • Content Count:  554
  • Reputation:   14
  • Joined:  09/24/12
  • Last Seen:  

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???

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

Add a check

if ( strcharinfo(3) != "your map" ) end;
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  96
  • Topics Per Day:  0.02
  • Content Count:  554
  • Reputation:   14
  • Joined:  09/24/12
  • Last Seen:  

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....

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  96
  • Topics Per Day:  0.02
  • Content Count:  554
  • Reputation:   14
  • Joined:  09/24/12
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  96
  • Topics Per Day:  0.02
  • Content Count:  554
  • Reputation:   14
  • Joined:  09/24/12
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2346
  • Joined:  10/28/11
  • Last Seen:  

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;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  47
  • Reputation:   0
  • Joined:  01/16/12
  • Last Seen:  

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?

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

Check your mapserv and post your error, if there is.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  73
  • Reputation:   1
  • Joined:  07/18/13
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  96
  • Topics Per Day:  0.02
  • Content Count:  554
  • Reputation:   14
  • Joined:  09/24/12
  • Last Seen:  

 

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;
}
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  73
  • Reputation:   1
  • Joined:  07/18/13
  • Last Seen:  

 

 

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.....

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  96
  • Topics Per Day:  0.02
  • Content Count:  554
  • Reputation:   14
  • Joined:  09/24/12
  • Last Seen:  

 

 

 

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.. ^ ^ 

Link to comment
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.   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.

×
×
  • Create New...