Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Programming
You last visited: Today at 14:34

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

Advertisement



Codes for Auto Drop Ores.

Discussion on Codes for Auto Drop Ores. within the CO2 Programming forum part of the Conquer Online 2 category.

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 05/02/2011, 22:35   #2
 
elite*gold: 0
Join Date: Apr 2011
Posts: 3
Received Thanks: 0
and ineed the program
Yahyaahmed is offline  
Old 05/03/2011, 19:16   #3
 
elite*gold: 20
Join Date: Aug 2007
Posts: 1,749
Received Thanks: 2,199
Hahahaha, you two are awesome
IAmHawtness is offline  
Thanks
3 Users
Old 05/05/2011, 21:26   #4


 
KraHen's Avatar
 
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 794
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 05/05/2011, 22:36   #5
 
elite*gold: 20
Join Date: Aug 2007
Posts: 1,749
Received Thanks: 2,199
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 05/06/2011, 01:01   #6
 
OELABOELA's Avatar
 
elite*gold: 223
Join Date: Dec 2007
Posts: 1,076
Received Thanks: 257
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 05/06/2011, 03:26   #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 05/06/2011, 03:38   #8
 
elite*gold: 20
Join Date: Aug 2007
Posts: 1,749
Received Thanks: 2,199
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 05/06/2011, 04:19   #9
 
elite*gold: 0
Join Date: Nov 2009
Posts: 2
Received Thanks: 0
grasias
123tati123 is offline  
Old 05/06/2011, 04:50   #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 05/06/2011, 04:52   #11
 
elite*gold: 20
Join Date: Aug 2007
Posts: 1,749
Received Thanks: 2,199
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 05/06/2011, 05:21   #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


Similar Threads Similar Threads
Does Puzzle Birds bot drop ores?
09/28/2006 - Conquer Online 2 - 1 Replies
Does Puzzle Birds bot drop ores?Anwerer gets a karma
why my COtobo doesn't drop ores
07/12/2006 - Conquer Online 2 - 1 Replies
hey guys my COtobo does'nt drop ores why ????
why my COtobo doesn't drop ores
07/12/2006 - Conquer Online 2 - 1 Replies
my cotobo doesn't drop ores why ???



All times are GMT +1. The time now is 14:36.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.