PHiLiP Posted December 15, 2012 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 24 Reputation: 1 Joined: 05/27/12 Last Seen: January 27, 2018 Share Posted December 15, 2012 I am Requesting for a bindatcmd @alootnoitem <id#> <mob/#> this will aloot all the items drop by the <mob> except the <id#> Thanks in advance! Quote Link to comment Share on other sites More sharing options...
1 AnnieRuru Posted December 16, 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 December 16, 2012 what what what .... OMFG forgotten about *getmobdrops rep up and move back to script request ( shame on myself ... ) - script test123 -1,{ OnInit: bindatcmd "alootnoitem", strnpcinfo(0)+"::OnAtcommand"; end; OnAtcommand: .@nodropitemid = atoi( .@atcmd_parameters$[0] ); .@mob_id = atoi( .@atcmd_parameters$[1] ); if ( !.@nodropitemid || !.@mob_id ) { message strcharinfo(0), "@alootnoitem <Item ID> <Mob ID>"; end; } if ( getitemname( .@nodropitemid ) == "null" ) { message strcharinfo(0), "@alootnoitem -> Invalid Item ID"; end; } if ( !strmobinfo( 3, .@mob_id ) ) { message strcharinfo(0), "@alootnoitem -> Invalid Mob ID"; end; } atcommand "@alootid reset"; // reset getmobdrops .@mob_id; for ( .@i = 0; .@i < $@mobdrop_count; .@i++ ) if ( .@nodropitemid != $@mobdrop_item[.@i] ) atcommand "@alootid +"+ $@mobdrop_item[.@i]; // atcommand "@alootid"; //show list <-- its already display in the list end; } 1 Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted December 15, 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 December 15, 2012 there is no script command can control ( manually remove out single ) item on the floor so move to source modification request Quote Link to comment Share on other sites More sharing options...
PHiLiP Posted December 16, 2012 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 24 Reputation: 1 Joined: 05/27/12 Last Seen: January 27, 2018 Author Share Posted December 16, 2012 Thanks! you already move it. Quote Link to comment Share on other sites More sharing options...
QQfoolsorellina Posted December 16, 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 December 16, 2012 - script test123 -1,{ OnInit: bindatcmd "alootnoitem",strnpcinfo(3)+"::OnAtcommand"; end; OnAtcommand: set .@mobid,atoi(.@atcmd_parameters$[1]); set .@nodropitemid,atoi(.@atcmd_parameters$[0]); if(.@mobid <=0 || .@nodropitemid <=0)end; atcommand "@alootid reset"; set $@MobDrop_item,0; getmobdrops(.@mobid); set .@size,getarraysize($@MobDrop_item); copyarray .@MDIA[0],$@MobDrop_item[0],.@size; for(;.@i<.@size;.@i++){ if(.@nodropitemid != .@MDIA[.@i]) atcommand "@alootid +"+.@MDIA[.@i]; } atcommand "@alootid"; //show list end; } 1 Quote Link to comment Share on other sites More sharing options...
Question
PHiLiP
I am Requesting for a bindatcmd
@alootnoitem <id#> <mob/#>
this will aloot all the items drop by the <mob> except the <id#>
Thanks in advance!
Link to comment
Share on other sites
4 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.