Register for your free account! | Forgot your password?

You last visited: Today at 11:57

  • Please register to post and access all features, it's quick, easy and FREE!

 

Codes for Auto Drop Ores.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2011
Posts: 9
Received Thanks: 0
Codes for Auto Drop Ores.

any one can help me for codes?



ConquerBotter is offline  
Old   #2
 
elite*gold: 0
Join Date: Apr 2011
Posts: 3
Received Thanks: 0
and ineed the program


Yahyaahmed is offline  
Old   #3
 
elite*gold: 20
Join Date: Aug 2007
Posts: 1,749
Received Thanks: 2,197
Hahahaha, you two are awesome
IAmHawtness is offline  
Thanks
3 Users
Old   #4
 
elite*gold: 20
Join Date: Jul 2006
Posts: 1,914
Received Thanks: 659
Red Hawk One, Red Hawk One, are you there? I need air support on delta A 0.

You asked for the codes.


KraHen is offline  
Old   #5
 
elite*gold: 20
Join Date: Aug 2007
Posts: 1,749
Received Thanks: 2,197
For Iron Ores:
Code:
/delitembytype 1072010
/delitembytype 1072011
/delitembytype 1072012
/delitembytype 1072013
/delitembytype 1072014
/delitembytype 1072015
/delitembytype 1072016
/delitembytype 1072017
/delitembytype 1072018
/delitembytype 1072019
IAmHawtness is offline  
Thanks
1 User
Old   #6

 
elite*gold: 223
Join Date: Dec 2007
Posts: 1,044
Received Thanks: 214
Code:
public foid drop(Client client)
{
foreach(Item in item items)
{
Packets.Dropitem((Item*)YOURITEMID,client);
}}
Im sure this will work, no errors for sure.
OELABOELA is offline  
Old   #7
 
elite*gold: 0
Join Date: Jun 2006
Posts: 457
Received Thanks: 67
my implementation would be
Code:
public void dropOre (MyChar character){
    foreach(Object item: character.itemList.value().toArray()){
        Packet drop = new Packet( DropItem.buildDropPacket(myTimer.getTimeStamp(), ((Item)item).ID, character.xcord, character.ycord)  ); 
        character.itemList.remove( ((Item)item).ID );
        ClientPacketQueue.add(drop);
        ClientQueueSize++;
    }
}
shitboi is offline  
Old   #8
 
elite*gold: 20
Join Date: Aug 2007
Posts: 1,749
Received Thanks: 2,197
Quote:
Originally Posted by shitboi View Post
my implementation would be
Code:
public void dropOre (MyChar character){
    foreach(Object item: character.itemList.value().toArray()){
        Packet drop = new Packet( DropItem.buildDropPacket(myTimer.getTimeStamp(), ((Item)item).ID, character.xcord, character.ycord)  ); 
        character.itemList.remove( ((Item)item).ID );
        ClientPacketQueue.add(drop);
        ClientQueueSize++;
    }
}
You just made me dislike Java more than I thought was possible
IAmHawtness is offline  
Thanks
1 User
Old   #9
 
elite*gold: 0
Join Date: Nov 2009
Posts: 2
Received Thanks: 0
grasias
123tati123 is offline  
Old   #10
 
elite*gold: 0
Join Date: Jun 2006
Posts: 457
Received Thanks: 67
Quote:
Originally Posted by IAmHawtness View Post
You just made me dislike Java more than I thought was possible
Are you talking about that for each loop, or the packet building? lol. I used a ConcurrentHashMap that can only map object to objects, have to do a series of casts to get what i want. Maybe my lack of proficiency has highlighted the downside of java, lol.
shitboi is offline  
Old   #11
 
elite*gold: 20
Join Date: Aug 2007
Posts: 1,749
Received Thanks: 2,197
Quote:
Originally Posted by shitboi View Post
Are you talking about that for each loop, or the packet building? lol. I used a ConcurrentHashMap that can only map object to objects, have to do a series of casts to get what i want. Maybe my lack of proficiency has highlighted the downside of java, lol.
I'm not talking about your coding style or anything, just Java in general. Eww
IAmHawtness is offline  
Old   #12
 
elite*gold: 0
Join Date: Jun 2006
Posts: 457
Received Thanks: 67
my first guess was that foreach loop is dam bulky. lol.
Learning C# lately though. lol


shitboi is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
Does Puzzle Birds bot drop ores?
Does Puzzle Birds bot drop ores?Anwerer gets a karma
1 Replies - CO2 Main - Discussions / Questions
why my COtobo doesn't drop ores
hey guys my COtobo does'nt drop ores why ????
1 Replies - CO2 Main - Discussions / Questions
why my COtobo doesn't drop ores
my cotobo doesn't drop ores why ???
1 Replies - CO2 Main - Discussions / Questions



All times are GMT +2. The time now is 11:57.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2017 elitepvpers All Rights Reserved.