simplexjay2 Posted November 2, 2012 Group: Members Topic Count: 56 Topics Per Day: 0.01 Content Count: 224 Reputation: 4 Joined: 02/09/12 Last Seen: April 20, 2024 Share Posted November 2, 2012 PLease help me to have one please Quote Link to comment Share on other sites More sharing options...
Bin4ry Posted November 2, 2012 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 782 Reputation: 82 Joined: 01/01/12 Last Seen: September 21, 2015 Share Posted November 2, 2012 Maybe enable @autoloot when player warps into arena with PVP warper using: atcommand "@autoloot"; Quote Link to comment Share on other sites More sharing options...
Brian Posted November 2, 2012 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 2223 Reputation: 593 Joined: 10/26/11 Last Seen: June 2, 2018 Share Posted November 2, 2012 Two methods: 1. instead of enabling trunk/conf/battle/player.conf bone_drop, write a custom OnPCDieEvent script to attachrid (if a player killed them), 'getitem2' a named skull (or 'makeitem' if they are overweight, hmm but we don't have makeitem2 ) 2. or edit the source trunk/src/map/pc.c pc_dead() function: Instead of map_addflooritem() you'd use pc_additem(). Quote Link to comment Share on other sites More sharing options...
QQfoolsorellina Posted November 2, 2012 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 587 Reputation: 105 Joined: 11/19/11 Last Seen: July 7, 2019 Share Posted November 2, 2012 try script method conf/battle/player.conf bone_drop: 0 - script test -1,{ OnPCKillEvent: if(getmapflag(strcharinfo(3),mf_pvp) && killedrid != getcharid(3) ){ set .@killerrid,getcharid(3); if(attachrid(killedrid)) getitem2 7420,1,0,0,254,0,getcharid(0)&65535,getcharid(0)>>16,.@killerrid; } end; } 1 Quote Link to comment Share on other sites More sharing options...
Emistry Posted November 2, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10017 Reputation: 2369 Joined: 10/28/11 Last Seen: 8 hours ago Share Posted November 2, 2012 you can try this also.. - script test -1,{ OnPCKillEvent: if( getmapflag( strcharinfo(3),mf_pvp ) && killedrid != getcharid(3) ){ set .@Name$,strcharinfo(0); if( attachrid( killedrid ) ) getnameditem( 7420,.@Name$ ); } end; } getnameditem Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted November 4, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted November 4, 2012 (edited) wait.... wait a moment ... why you guys gives the one DIED have the killer's skull ? - script test -1,{ OnPCKillEvent: if ( getmapflag( strcharinfo(3), mf_pvp ) == 0 || killedrid == getcharid(3) ) end; attachrid killedrid; .@charid = getcharid(0); attachrid killerrid; getitem2 7420, 1,1,0,0, 254, 0, .@charid % pow(2,16), .@charid / pow(2,16); // getnameditem 7420, rid2name( killedrid ); // <-- EDITED, this command doesn't drop item on floor end; } Brian I just read script.c getitem2 command automatically make the item on floor, while getnameditem doesn't Edited November 4, 2012 by AnnieRuru 1 1 Quote Link to comment Share on other sites More sharing options...
allenpogi Posted August 4, 2013 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 33 Reputation: 1 Joined: 11/16/12 Last Seen: August 24, 2020 Share Posted August 4, 2013 are these applicable on GVG maps also? Quote Link to comment Share on other sites More sharing options...
Emistry Posted August 4, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10017 Reputation: 2369 Joined: 10/28/11 Last Seen: 8 hours ago Share Posted August 4, 2013 are these applicable on GVG maps also? if ( ( !getmapflag( strcharinfo(3), mf_pvp ) && !getmapflag( strcharinfo(3), mf_gvg ) ) || killedrid == getcharid(3) ) end; Quote Link to comment Share on other sites More sharing options...
allenpogi Posted August 4, 2013 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 33 Reputation: 1 Joined: 11/16/12 Last Seen: August 24, 2020 Share Posted August 4, 2013 Thanks Emistry:) Quote Link to comment Share on other sites More sharing options...
Question
simplexjay2
PLease help me to have one please
Link to comment
Share on other sites
8 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.