Register for your free account! | Forgot your password?

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

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

Advertisement



[5173] - Python bot interface with loadable memory functions. (w/ Melee demo)

Discussion on [5173] - Python bot interface with loadable memory functions. (w/ Melee demo) within the CO2 Programming forum part of the Conquer Online 2 category.

Closed Thread
 
Old 10/28/2009, 05:08   #16
 
elite*gold: 0
Join Date: Jul 2009
Posts: 11
Received Thanks: 0
hi clinton, is there any way i can DL the bot?
miko49 is offline  
Old 10/29/2009, 00:22   #17
 
elite*gold: 0
Join Date: Aug 2009
Posts: 13
Received Thanks: 0
plz i neet it upload in anther site
elgarfy22 is offline  
Old 10/29/2009, 15:05   #18
 
elite*gold: 0
Join Date: Jul 2009
Posts: 11
Received Thanks: 0
please help us clint!
miko49 is offline  
Old 10/30/2009, 18:46   #19
 
elite*gold: 0
Join Date: Aug 2009
Posts: 13
Received Thanks: 0
plz i need program this site give me bandel plz send to me in my mail or upload in anther site
elgarfy22 is offline  
Old 11/03/2009, 17:02   #20
 
Hassan28's Avatar
 
elite*gold: 0
Join Date: May 2007
Posts: 82
Received Thanks: 3
Well,

I've just registered at the site your reffering to (Like 2 days ago). I'm not sure if high6 checks the introductions daily but I would love to join the forum. Not just for this bot, which would be a bit greedy but also to help people.

Anyway. if high6 reads this post. Please would you reply to my PM on your forum?
Best regards,

Hassan28
aka ******.
Hassan28 is offline  
Old 11/03/2009, 22:16   #21
 
elite*gold: 0
Join Date: May 2007
Posts: 78
Received Thanks: 7
Quote:
Originally Posted by miko49 View Post
hi clinton, is there any way i can DL the bot?
Quote:
Originally Posted by elgarfy22 View Post
plz i neet it upload in anther site
Quote:
Originally Posted by miko49 View Post
please help us clint!
Quote:
Originally Posted by elgarfy22 View Post
plz i need program this site give me bandel plz send to me in my mail or upload in anther site
plzzzzzzzzzzzzz Im a stupid eggy... send t me in my emal



the forum is overloaded with eggys ... How embarrassing!
Schneepisser is offline  
Old 11/04/2009, 22:49   #22
 
elite*gold: 0
Join Date: Dec 2005
Posts: 219
Received Thanks: 21
lol
ViRuSeXy is offline  
Old 11/06/2009, 15:24   #23
 
elite*gold: 0
Join Date: Aug 2009
Posts: 13
Received Thanks: 0
where the programes man
elgarfy22 is offline  
Old 11/06/2009, 21:40   #24
 
elite*gold: 0
Join Date: Jan 2008
Posts: 7
Received Thanks: 33
Smile :S

sry if i am being noob but it works for parch 5065? ^^, ??
julienabade is offline  
Old 11/06/2009, 22:13   #25
 
clintonselke's Avatar
 
elite*gold: 0
Join Date: Feb 2007
Posts: 348
Received Thanks: 2,175
M O V E D _ T O _ C O D E X P L O S I O N
clintonselke is offline  
Thanks
2 Users
Old 11/06/2009, 23:58   #26
 
elite*gold: 0
Join Date: Aug 2009
Posts: 13
Received Thanks: 0
Quote:
Originally Posted by clintonselke View Post
R35 - working w/ 5180... still working on the crash bug.
plz clintonselk send melee to my email or upload in anther site i need it man plz
elgarfy22 is offline  
Old 11/07/2009, 08:44   #27
 
clintonselke's Avatar
 
elite*gold: 0
Join Date: Feb 2007
Posts: 348
Received Thanks: 2,175
M O V E D _ T O _ C O D E X P L O S I O N
clintonselke is offline  
Old 11/07/2009, 09:38   #28
 
clintonselke's Avatar
 
elite*gold: 0
Join Date: Feb 2007
Posts: 348
Received Thanks: 2,175
M O V E D _ T O _ C O D E X P L O S I O N
clintonselke is offline  
Old 11/07/2009, 15:15   #29
 
elite*gold: 0
Join Date: Aug 2009
Posts: 13
Received Thanks: 0
Quote:
Originally Posted by clintonselke View Post
Also guys,

Replace the code in Melee.py with the following... it stops the crashing, but its goes a bit slower... maybe u guys can play w/ the delays to perfect it.
Code:
import math

def distance(x1,y1,x2,y2):
    dx = x2 - x1
    dy = y2 - y1
    return dx*dx + dy*dy

class CMob:
    def __init__(self, mobBase):
        self.X   = GetXCoord(mobBase)
        self.Y   = GetYCoord(mobBase)
        self.UID = RoleUID(mobBase)

nextTime = TimeStamp()

def update():
    global nextTime
    if TimeStamp() < nextTime:
        return
    #print "Melee bot update()"

    heroBase = HeroBase()
    hx = GetXCoord(heroBase)
    hy = GetYCoord(heroBase)

    num = NumMobs()
    mobs = []
    for i in range(0, num-1):
        mobBase = GetMob(i)
        if mobBase == 0:
            break
        if AniFlag(mobBase) == 32:
            continue
        if RoleUID(mobBase) > 0x0F423F:
            continue
        mobs.append(CMob(GetMob(i)))
    
    #print repr(num) + " mobs are on the screen."
    #print "The hero is positioned at (" + repr(hx) + ", " + repr(hy) + ")"
    nearMob = 0
    nearDist = 100*100
    for mob in mobs:
        mx = mob.X
        my = mob.Y
        if mx > 1000 or my > 1000 or mx < 0 or my < 0:
            break
        #print "A mob is seen at (" + repr(mx) + ", " + repr(my) + ")"
        dist = distance(hx,hy,mx,my)
        #print "he is " + repr(dist) + " units squared away"
        if dist < nearDist:
            nearMob = mob
            nearDist = dist
    if nearMob != 0:
        if nearDist > 16*16:
            dx = nearMob.X+1 - hx
            dy = nearMob.Y+1 - hy
            a = 16.0 / math.sqrt(dx*dx+dy*dy)
            dx = int(a * dx)
            dy = int(a * dy)
            Jump(hx + dx, hy + dy)
            nextTime = TimeStamp() + 1000
        elif nearDist <= 4*4:
            Melee(nearMob.UID, nearMob.X, nearMob.Y)
            nextTime = TimeStamp() + 200
        else:
            Jump(nearMob.X+1,nearMob.Y+1)
            nextTime = TimeStamp() + 1000

print "Melee bot loaded."
Good Luck
man help me i have melee but i dont have update for it when patch 5173 i need Conquer that it can work in it
elgarfy22 is offline  
Old 11/08/2009, 02:02   #30
 
darkgod999's Avatar
 
elite*gold: 0
Join Date: Jan 2007
Posts: 108
Received Thanks: 9
do u have an auto zapper bot?
darkgod999 is offline  
Closed Thread


Similar Threads Similar Threads
AutoIT Memory Functions
11/14/2009 - AutoIt - 2 Replies
Hi^^ Also, ich bin im moment nen bisschen dabei mit AutoIT rumzuspielen, da ich noch keinen wirklichwn Plan hab was ich damit anfangen will :P (zu viel Noob für Bots, bzw. Hacks) Allerdings hatte ich jetz ma die Idee das ich für Cs nen kleinen Memory Bot erstell ;) Der soll per Hotkey die Munition im Magazin auf dem maximalen stand halten ;) Funzt auch alles prima^^ Nur jetz hab ich das Probelm, dass ich nur einmal Funktion ausführen kann :(
guys, do the melee hack/ atk speed for melee working?
04/29/2008 - RF Online - 4 Replies
i'm asking if its working or not coz i find it hard to make it work.. thanks for replies..
AutoIt Memory Functions
07/05/2007 - CO2 Exploits, Hacks & Tools - 0 Replies
prob in the wrong section... would be nice if mod could move it text2schild.php?smilienummer=1&text=my bad' border='0' alt='my bad' />
Small CO Memory Functions Library...
01/15/2007 - Conquer Online 2 - 4 Replies
I've begun to work on a small dynamic load library (DLL) for Conquer Online in pure assembler. Due to it being programmed in assembler not only will the library be incredibly small in file size, but it will also be much faster than any Visual Basic, C++, or Pascal equivalent. Not to mention I just plain love programming in assembler languages. Before I get started on some major functions, I would like some of the more intelligent users to suggest and chose features for each so that...



All times are GMT +1. The time now is 01:40.


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.