Register for your free account! | Forgot your password?

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

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

Advertisement



[AutoIt3] Mob-Player-NPC list names and coords (direct translation from high6's c# 1)

Discussion on [AutoIt3] Mob-Player-NPC list names and coords (direct translation from high6's c# 1) within the CO2 Programming forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
clintonselke's Avatar
 
elite*gold: 0
Join Date: Feb 2007
Posts: 348
Received Thanks: 2,175
[AutoIt3] Mob-Player-NPC list names and coords (direct translation from high6's c# 1)

Hey pplz,

I saw a thread form someone askin' how to get the player names & coordinates.

high6 has already shown us how to do this



I've tested it out in AutoIt and it works fine.

I have the c# to AutoIt translated code attached.

Edit: Fixed integer for $size to 32-bits.

Edit: Completely new version, uses c++ (basically copy paste high6 code), then this c++ code is compiled into a DLL, and the DLL is used by AutoIt. It seems 100% bug free now.

Edit: Fixed invalid index on array size zero... AutoIt Doesn't support empty arrays lol xD
Attached Files
File Type: zip player-mobs-npc-list.zip (278.1 KB, 156 views)
clintonselke is offline  
Thanks
7 Users
Old 05/12/2009, 05:16   #2
 
elite*gold: 0
Join Date: Jun 2006
Posts: 965
Received Thanks: 576
That was quick :P.

Thanks for the credit. Hopefully this will inspire some new advanced bots.
high6 is offline  
Thanks
1 User
Old 05/12/2009, 05:20   #3
 
elite*gold: 0
Join Date: Mar 2009
Posts: 427
Received Thanks: 479
Quote:
Originally Posted by high6 View Post
That was quick :P.

Thanks for the credit. Hopefully this will inspire some new advanced bots.
already thinking of taking it into use tomorrow :-P... still thinking of what to make, don't wanna make a lvling bot cuz well... everyone has?
ookamocka is offline  
Old 05/12/2009, 06:31   #4
 
Evan Lim's Avatar
 
elite*gold: 20
Join Date: Oct 2008
Posts: 976
Received Thanks: 668
high6@
so. how to find the intial address in CO?
(i am trying to do it on warlord)

clintonselke@
and when i run the autoit program, here is what happens:

am i missing something? i dont see any list
and my client should be the newest patch
Evan Lim is offline  
Old 05/12/2009, 07:01   #5
 
elite*gold: 0
Join Date: Mar 2009
Posts: 427
Received Thanks: 479
Quote:
Originally Posted by Evan Lim View Post
high6@
so. how to find the intial address in CO?
(i am trying to do it on warlord)

clintonselke@
and when i run the autoit program, here is what happens:

am i missing something? i dont see any list
and my client should be the newest patch
that happened to me once, idk y, just close CO and alt+x, and try again... >.<
ookamocka is offline  
Old 05/12/2009, 08:09   #6
 
clintonselke's Avatar
 
elite*gold: 0
Join Date: Feb 2007
Posts: 348
Received Thanks: 2,175
Evan Lim@

I'm not sure why thats happening, its always working fine for mine... If i can get it to stop working, then i can fix it.

Only thing i can think off of the top of my head is "NomadMemory.au3", if ur running the .au3 file directly, make sure its in the same directory ur running it.

Because i used #include"" instead of #include<> (quotes instead of arrow brackets).

But even for ookamocka, i was chatting w/ him, and it stopped working on his all of a sudden w/o reason it seems. Idk whats going on.
Attached Files
File Type: zip NomadMemory.zip (2.8 KB, 19 views)
clintonselke is offline  
Old 05/12/2009, 12:28   #7
 
hok30's Avatar
 
elite*gold: 0
Join Date: Feb 2007
Posts: 1,366
Received Thanks: 256
Wow, truly awesome. Thanks! I'll be looking at the C# version too.
hok30 is offline  
Old 05/14/2009, 08:57   #8
 
elite*gold: 0
Join Date: Mar 2009
Posts: 427
Received Thanks: 479
guess wat? me and clint fixed ^_^ i found the problem, he figured how to fix it

here u go, fixed version of the mob-player-list... it'll work every time

btw, like before, it'll only work on the last instance of Conquer.exe open

and i'd just like to repeat my thanks to high6 for the original
Attached Files
File Type: zip mob-player-list.zip (272.7 KB, 35 views)
ookamocka is offline  
Old 05/14/2009, 08:59   #9
 
clintonselke's Avatar
 
elite*gold: 0
Join Date: Feb 2007
Posts: 348
Received Thanks: 2,175
Evan Lim@
ookamocka found the problem in my code. I'm really impressed for someone who is just starting out.

the problem is the integers in AutoIt aren't wrapped to 32 bits like they are in c/c++/c#.

the simple fix was
$size = BitAnd($size, 0xFFFFFFFF)

that turns on the lowest 32 bits of its value only.

Attached to the first post is the updated code.
clintonselke is offline  
Old 05/14/2009, 17:42   #10
 
elite*gold: 0
Join Date: Mar 2009
Posts: 427
Received Thanks: 479
Quote:
Originally Posted by clintonselke View Post
Evan Lim@
ookamocka found the problem in my code. I'm really impressed for someone who is just starting out.

the problem is the integers in AutoIt aren't wrapped to 32 bits like they are in c/c++/c#.

the simple fix was
$size = BitAnd($size, 0xFFFFFFFF)

that turns on the lowest 32 bits of its value only.

Attached to the first post is the updated code.
thx but grrrrrrrr guess what? i just woke up and tried it... and it's not working again >.< WTF?

getting a crazy *** size for the $size... like -7078709 which is obviously <= 0 lol... *EDIT* nvm... apparently when i moved a screen, it went to a normal number and started working again, i still see it strange when it gets a huge negative number like, i wonder y?
ookamocka is offline  
Old 05/14/2009, 22:57   #11
 
elite*gold: 0
Join Date: Oct 2008
Posts: 20
Received Thanks: 0
where i save this fail
gozef2000 is offline  
Old 05/15/2009, 12:14   #12
 
clintonselke's Avatar
 
elite*gold: 0
Join Date: Feb 2007
Posts: 348
Received Thanks: 2,175
Quote:
Originally Posted by ookamocka View Post
thx but grrrrrrrr guess what? i just woke up and tried it... and it's not working again >.< WTF?

getting a crazy *** size for the $size... like -7078709 which is obviously <= 0 lol... *EDIT* nvm... apparently when i moved a screen, it went to a normal number and started working again, i still see it strange when it gets a huge negative number like, i wonder y?
i think the c# program works, and its definitely my autoit code havin the problem, probably the ranges on the other variables involved... Its bit painful in autoit. I'm in the process of writing a c++ one w/ gui that auto hunts (w/o the looting part so far), u guys/girls will see it soon. (Just after i finish writing assignment for college).

As for this mob-player-list thingy. if people really wanna use it in autoit, i can make a C++ DLL that contains the DequeEx() from high6's code and ya can load the DLL w/ autoit to call the functions. That way there is no range wrapping problems w/ the autoit variables.

Anywayz back to college assignments.. Catch yaz in awhile....

<-- waving good bye w/ my text books lol xD
clintonselke is offline  
Old 05/15/2009, 20:54   #13
 
elite*gold: 0
Join Date: Mar 2009
Posts: 427
Received Thanks: 479
Quote:
Originally Posted by clintonselke View Post
i think the c# program works, and its definitely my autoit code havin the problem, probably the ranges on the other variables involved... Its bit painful in autoit. I'm in the process of writing a c++ one w/ gui that auto hunts (w/o the looting part so far), u guys/girls will see it soon. (Just after i finish writing assignment for college).

As for this mob-player-list thingy. if people really wanna use it in autoit, i can make a C++ DLL that contains the DequeEx() from high6's code and ya can load the DLL w/ autoit to call the functions. That way there is no range wrapping problems w/ the autoit variables.

Anywayz back to college assignments.. Catch yaz in awhile....

<-- waving good bye w/ my text books lol xD
i'd appreciate the DLL :-P... but ya, i've already made a really quick bot... it works, sort of 2 problems...

1) sometimes it doesn't detect a certain mob (the closest one as it should) so it jumps to a different mob which is further instead

2) sometimes it doesn't detect ANY mob even though it might be in the middle of a pack of mobs so it'll just start jumping around randomly (since i set it to jump randomly till it finds a mob) until it starts detecting mobs again



i attached the executable if u wanna c what i mean... i have it set to just Pheasants and it'll only work on the last instance of CO opened... and to exit the program just press "x"... and of course, it doesn't loot yet, cuz i can't even begin to think of how to find the loot function, or item IDs >.<
ookamocka is offline  
Old 05/16/2009, 07:54   #14
 
clintonselke's Avatar
 
elite*gold: 0
Join Date: Feb 2007
Posts: 348
Received Thanks: 2,175
New stable DLL version linked to AutoIt attached (on first post)... Seems 100% bug free now
clintonselke is offline  
Old 05/16/2009, 23:46   #15
 
swords's Avatar
 
elite*gold: 20
Join Date: Dec 2005
Posts: 811
Received Thanks: 352
Quote:
Originally Posted by clintonselke View Post
New stable DLL version linked to AutoIt attached (on first post)... Seems 100% bug free now
I'm glad to see you contribute SO much... You just popped out of... no where one day xD

Anyways, you mentioned up above that you are making a background leveling bot... Will you for sure be releasing this to the public?

I just want to know, because you aren't going to, I'll make a bot (with this neat script of yours ), and release it... But no point in having 2 of the same programs... And no one would download mine anyways, as yours would pwn much more xD.
swords is offline  
Reply


Similar Threads Similar Threads
Active Private Server list[Names+Versions]
06/29/2009 - CO2 Private Server - 34 Replies
Since obviously every other list is completely dead, I figured someone might wanna make a new one. IN ORDER TO GET A SPOT IN THIS LIST YOU MUST HAVE A LINK BACK TO E*PVPERS ON YOUR WEBSITE #Changed: After posting your private server link etc, I will wait exactly 7 days from the time of posting to add it to the ACTIVE list, hopefully this will filter out the overnight private servers. #Changed 2: TQ Binary servers will no longer be added to this list.
Player List
04/02/2009 - PW Hacks, Bots, Cheats, Exploits - 3 Replies
I've been looking for a way to find the player list because it SHOULD be linked to what I want; I wanted to be able to grab presets from other players, but I started out with scanning my own presets and came up with a byte array order for the specific preset Origin scaleUp = 147 scaleMiddle = 131 scaleDown = 136 idFaceShape1 = 66
See player names in WAR servers ANYWHERE! EASY! (EXPLOIT)
10/15/2008 - Cabal Hacks, Bots, Cheats, Exploits & Macros - 20 Replies
Ok, I just found 2 methods that this glitch works with. This Bug/Glitch/Exploit allows you to view the names of Players in the War Server. Here are the instructions. METHOD 1 Step 1. Find a player in the game that you want to see the name of. Such as someone that keeps PKing you, KSing you or any other reason you can think of. Step 2. Press Esc to bring you into "Menu" Step 3. make sure that the person you want to see the name of is in view. Step 4. Press the "Select Server"...



All times are GMT +1. The time now is 21:46.


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.