Kariton Revolution Posted July 13, 2013 Group: Members Topic Count: 161 Topics Per Day: 0.03 Content Count: 429 Reputation: 5 Joined: 11/21/11 Last Seen: January 14, 2017 Share Posted July 13, 2013 room jupe_ele Gold Dropping everywhere help can anyone help me to have that thankyou very much Fix thankyou ! Quote Link to comment Share on other sites More sharing options...
Zasura Posted July 13, 2013 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 48 Reputation: 4 Joined: 11/27/11 Last Seen: October 22, 2020 Share Posted July 13, 2013 (edited) - script gold -1,{ OnNpcKillEvent: getmapxy .@map$,.@x,.@y; if(.@map$=="jupe_ele") { geitem 969,1; } end; } Edited July 15, 2013 by szarkab123 Quote Link to comment Share on other sites More sharing options...
Emistry Posted July 13, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 19 hours ago Share Posted July 13, 2013 OnNPCKillEvent: if( strcharinfo(3) == "jupe_ele" ) getitem 969,1; end; Quote Link to comment Share on other sites More sharing options...
Capuche Posted July 13, 2013 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted July 13, 2013 - script iuno -,{ OnInit: while(1) { if ( getareadropitem( "jupe_ele",34,34,49,54,969 ) < 100 ) makeitem 969,1,"jupe_ele",rand(34,49),rand(34,54); sleep 800; } } Quote Link to comment Share on other sites More sharing options...
Rock And Paper Posted July 14, 2013 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 10 Reputation: 0 Joined: 04/12/12 Last Seen: May 13, 2020 Share Posted July 14, 2013 - script gold -1,{ OnNpcKillEvent: getmapxy .@map$,.@x,.@y; if(.@map$==jupe_ele) { geitem 969,1; } end; } How to do this on instance maps? Quote Link to comment Share on other sites More sharing options...
Emistry Posted July 14, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 19 hours ago Share Posted July 14, 2013 if( compare( strcharinfo(3),"jupe_ele" ) Quote Link to comment Share on other sites More sharing options...
Rock And Paper Posted July 14, 2013 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 10 Reputation: 0 Joined: 04/12/12 Last Seen: May 13, 2020 Share Posted July 14, 2013 (edited) if( compare( strcharinfo(3),"jupe_ele" ) i tested it on endless instance(map 0011@tower) it didnt work, but if i warp to none instance 1@tower it works. Edited July 14, 2013 by Rock And Paper Quote Link to comment Share on other sites More sharing options...
Emistry Posted July 14, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 19 hours ago Share Posted July 14, 2013 if( compare( strcharinfo(3),"1@tower" ) Quote Link to comment Share on other sites More sharing options...
Rock And Paper Posted July 14, 2013 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 10 Reputation: 0 Joined: 04/12/12 Last Seen: May 13, 2020 Share Posted July 14, 2013 (edited) if( compare( strcharinfo(3),"1@tower" ) sorry it now works typo on compare, i have a new problem getitem doesnt work on instance mobs, but if I manually @monster it, it drops gold. - script gold -1,{ OnNpcKillEvent: getmapxy(@m$,@x,@y,0); if (compare(strcharinfo(3),"1@tower") || compare(strcharinfo(3),"2@tower") || compare(strcharinfo(3),"3@tower") || compare(strcharinfo(3),"4@tower") || compare(strcharinfo(3),"5@tower") || compare(strcharinfo(3),"6@tower")) { if(killedrid == 1002) // Poring { makeitem 969,1,@m$,@x,@y; //Gold if (rand(100) < 20) // 20% chance of activating. makeitem 616,1,@m$,@x,@y; // OCA } } Edited July 14, 2013 by Rock And Paper Quote Link to comment Share on other sites More sharing options...
Emistry Posted July 14, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 19 hours ago Share Posted July 14, 2013 OnNPCKillEvent will not work on the monster that already have their own custom event label .. you have to find that event label inside your script and add ur makeitem script command there ... Quote Link to comment Share on other sites More sharing options...
Skorm Posted July 14, 2013 Group: Forum Moderator Topic Count: 33 Topics Per Day: 0.01 Content Count: 1282 Reputation: 393 Joined: 02/03/12 Last Seen: April 11 Share Posted July 14, 2013 OnNPCKillEvent will not work on the monster that already have their own custom event label .. you have to find that event label inside your script and add ur makeitem script command there ... Which won't work because killedrid isn't set with custom labels... Unless they actually listened to me. sorry it now works typo on compare, i have a new problem getitem doesnt work on instance mobs, but if I manually @monster it, it drops gold. http://rathena.org/board/tracker/issue-7817-onmobdeathevents/ Do that modification then find the label inside your endless tower script and paste this after it. getmapxy(@m$,@x,@y,0); if (compare(strcharinfo(3),"1@tower") || compare(strcharinfo(3),"2@tower") || compare(strcharinfo(3),"3@tower") || compare(strcharinfo(3),"4@tower") || compare(strcharinfo(3),"5@tower") || compare(strcharinfo(3),"6@tower")) { if(killedrid == 1002) // Poring { makeitem 969,1,@m$,@x,@y; //Gold if (rand(100) < 20) // 20% chance of activating. makeitem 616,1,@m$,@x,@y; // OCA } } Quote Link to comment Share on other sites More sharing options...
Rock And Paper Posted July 15, 2013 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 10 Reputation: 0 Joined: 04/12/12 Last Seen: May 13, 2020 Share Posted July 15, 2013 OnNPCKillEvent will not work on the monster that already have their own custom event label .. you have to find that event label inside your script and add ur makeitem script command there ... Which won't work because killedrid isn't set with custom labels... Unless they actually listened to me. >sorry it now works typo on compare, i have a new problem getitem doesnt work on instance mobs, but if I manually @monster it, it drops gold. http://rathena.org/board/tracker/issue-7817-onmobdeathevents/ Do that modification then find the label inside your endless tower script and paste this after it. getmapxy(@m$,@x,@y,0); if (compare(strcharinfo(3),"1@tower") || compare(strcharinfo(3),"2@tower") || compare(strcharinfo(3),"3@tower") || compare(strcharinfo(3),"4@tower") || compare(strcharinfo(3),"5@tower") || compare(strcharinfo(3),"6@tower")) { if(killedrid == 1002) // Poring { makeitem 969,1,@m$,@x,@y; //Gold if (rand(100) < 20) // 20% chance of activating. makeitem 616,1,@m$,@x,@y; // OCA } } thanks skorm, Fixed Quote Link to comment Share on other sites More sharing options...
Question
Kariton Revolution
room jupe_ele
Gold Dropping everywhere
help can anyone help me to have that
thankyou very much
Fix
thankyou !
Link to comment
Share on other sites
11 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.