Register for your free account! | Forgot your password?

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

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

Advertisement



[Question]VB6 - Coordinates

Discussion on [Question]VB6 - Coordinates within the CO2 Programming forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2006
Posts: 136
Received Thanks: 15
[Question]VB6 - Coordinates

So I got a question,
Im reading process memory for coordinates and i want to let it jump to another set of coordinates
where would i start with making a jump?
Is this possible to do without simulating clicks and having to have screen on top?
purplehaze is offline  
Old 09/14/2008, 02:25   #2
 
Ian*'s Avatar
 
elite*gold: 0
Join Date: Nov 2006
Posts: 805
Received Thanks: 464
Quote:
Originally Posted by purplehaze View Post
So I got a question,
Im reading process memory for coordinates and i want to let it jump to another set of coordinates
where would i start with making a jump?
Is this possible to do without simulating clicks and having to have screen on top?
I'm not too sure what your trying to do. Are you trying to make a bot? Or make something have your character "Teleport" or something? If you're trying to jump to coords that are In-Game You'd need a proxy(Well, there are ways to do it without one but I 've got no idea).
Anyways, If you're just trying to have it click somewhere on your screen, It'd be the Top, and Left pixels, (I'm not sure if that's what they're called in C#, but that's what they're called in delphi) :X

EDIT: Vb6, not C# xD
Ian* is offline  
Old 09/14/2008, 03:48   #3
 
elite*gold: 0
Join Date: Mar 2006
Posts: 583
Received Thanks: 182
~~~where would i start with making a jump? ~~~
well personally i would start looking up on SendMessage (aka PostMessage)

~~~Is this possible to do without simulating clicks and having to have screen on top?~~~
yes and no... you'll be simulating clicks through PostMessage, but you don't need to have the window on top to do so.


as for jumping to and from the regular displayed x,y coordinate system displayed on conquer... well i tryed that once and gave up on that project because A) i couldn't find a way to convert screen x,y to CO x,y B) im to lazy to write out a table of screen x,y to CO x,y for about 170 different spots...but i do think it's possible
UPSman2 is offline  
Old 09/14/2008, 05:08   #4
 
elite*gold: 0
Join Date: Sep 2008
Posts: 7
Received Thanks: 1
When UPSman2 said as the clicks can be simulated with some work, and can be a good combination jump with PostMessage approximately and correct position with readings memory. If interested postee code for clicks in VB6 few days ago but I think due to better explain the code.
The Post is here: . If there is doubt try to resolve the best thing the google translator let me
clipper is offline  
Old 09/14/2008, 09:26   #5
 
elite*gold: 0
Join Date: Feb 2006
Posts: 136
Received Thanks: 15
Quote:
Originally Posted by Force.Of.Spite View Post
I'm not too sure what your trying to do. Are you trying to make a bot? Or make something have your character "Teleport" or something? If you're trying to jump to coords that are In-Game You'd need a proxy(Well, there are ways to do it without one but I 've got no idea).
Anyways, If you're just trying to have it click somewhere on your screen, It'd be the Top, and Left pixels, (I'm not sure if that's what they're called in C#, but that's what they're called in delphi) :X

EDIT: Vb6, not C# xD
Thanks for your reply, what im trying to achieve is making a bot that will jump from 1 coordinate to another then scans memory for the specific monster and take the appropriate action -> left click monster or right click

Quote:
Originally Posted by UPSman2 View Post
~~~where would i start with making a jump? ~~~
well personally i would start looking up on SendMessage (aka PostMessage)

~~~Is this possible to do without simulating clicks and having to have screen on top?~~~
yes and no... you'll be simulating clicks through PostMessage, but you don't need to have the window on top to do so.


as for jumping to and from the regular displayed x,y coordinate system displayed on conquer... well i tryed that once and gave up on that project because A) i couldn't find a way to convert screen x,y to CO x,y B) im to lazy to write out a table of screen x,y to CO x,y for about 170 different spots...but i do think it's possible
I have tried PostMessage indeed, without succeed, it can find me " form" window if i specify that handle and click but if i tell him to click on the CO handle he aint clicking, now i know for sure this CO handle i gave him works because my speedhack works the same way. But for some reason its not clicking lol.
If i have to use screen coordinates it will be different for everyone (full screen / windowed), I dont want that i mean they give us the coordinates must be someway to use them

Quote:
Originally Posted by clipper View Post
When UPSman2 said as the clicks can be simulated with some work, and can be a good combination jump with PostMessage approximately and correct position with readings memory. If interested postee code for clicks in VB6 few days ago but I think due to better explain the code.
The Post is here: . If there is doubt try to resolve the best thing the google translator let me
Yes i looked at that, and those are the functions and all needed for PostMessage, but that doesnt do what I want to achieve

@ All
Thanks for the reply's
purplehaze is offline  
Old 09/14/2008, 10:33   #6
 
Ian*'s Avatar
 
elite*gold: 0
Join Date: Nov 2006
Posts: 805
Received Thanks: 464
Quote:
Originally Posted by purplehaze View Post
Thanks for your reply, what im trying to achieve is making a bot that will jump from 1 coordinate to another then scans memory for the specific monster and take the appropriate action -> left click monster or right click



I have tried PostMessage indeed, without succeed, it can find me " form" window if i specify that handle and click but if i tell him to click on the CO handle he aint clicking, now i know for sure this CO handle i gave him works because my speedhack works the same way. But for some reason its not clicking lol.
If i have to use screen coordinates it will be different for everyone (full screen / windowed), I dont want that i mean they give us the coordinates must be someway to use them



Yes i looked at that, and those are the functions and all needed for PostMessage, but that doesnt do what I want to achieve

@ All
Thanks for the reply's

Why do you need to use Coords? How come you don't just have it only run from a range of a certain number? I wouldn't think you'd need it to actually scan the coords unless your making a bot that does something very advanced
Ian* is offline  
Old 09/14/2008, 10:56   #7
 
elite*gold: 0
Join Date: Sep 2008
Posts: 9
Received Thanks: 0
Is it possible using VB.NET to make a teleporter
SWATZ is offline  
Old 09/14/2008, 12:05   #8
 
Ian*'s Avatar
 
elite*gold: 0
Join Date: Nov 2006
Posts: 805
Received Thanks: 464
Quote:
Originally Posted by SWATZ View Post
Is it possible using VB.NET to make a teleporter
Probably, but it'd be very hard.
Ian* is offline  
Old 09/14/2008, 16:53   #9
 
elite*gold: 0
Join Date: Feb 2006
Posts: 136
Received Thanks: 15
Quote:
Originally Posted by Force.Of.Spite View Post
Why do you need to use Coords? How come you don't just have it only run from a range of a certain number? I wouldn't think you'd need it to actually scan the coords unless your making a bot that does something very advanced
Well see the plan is to get the bot to be able to record jumps to specific coordinates and do appropriate actions, i want it to be as accurate as possible and not only working on my screen and settings i want to be able that it can be used by someone with absolutely no computer experience other then knowing how to turn ur computer on and off lol.
So it must be simple to use, no flaws or anything now back on topic by scanning for the coordinates and being able to jump to another set of coordinates it will be as accurate as possible and would be a very nice bot aswell.
PostMessage/SendMessage should work but they use screen coordinates what i want to achieve must all be done within the memory, if i knew how to simulate a jump within the memory and read the coordinates and know how to make it jump to another set of coordinates that would be exactly what i want
purplehaze is offline  
Old 09/14/2008, 23:38   #10
 
elite*gold: 0
Join Date: Mar 2006
Posts: 583
Received Thanks: 182
well postmessage realy isnt screen coordinates, its more like screen coordinates relative to the top right corner of the specified program (works minimized), what you would probably want to do is find the center of the CO screen and make a proportionate table of CO coords to relative screen coords... but manipulating memory would probably work better
UPSman2 is offline  
Old 09/15/2008, 00:10   #11
 
elite*gold: 0
Join Date: Aug 2007
Posts: 295
Received Thanks: 89
Hook the client and call the CO jump function directly, causing co to generate and send the packet itself without a proxy....just don't ask me how the hell to do it xD
Some-Guy is offline  
Old 11/27/2008, 14:25   #12
 
elite*gold: 0
Join Date: Dec 2005
Posts: 37
Received Thanks: 3
Sorry for Necro, but I got my VB6 bot to move to a certain co-ordinate.
Right now I'm working on reading/writing process memory for autotraining (attackings npcs). Anyone working on this as well?
SpanKyn is offline  
Old 11/28/2008, 02:11   #13
 
elite*gold: 0
Join Date: Feb 2006
Posts: 550
Received Thanks: 82
Monitor the Coords in memory, use PostMessage to simulate the click, lets say your target is 215 280 and your currently on 200 250.

you'd have a variable with the X and Y, then you'd do calculations to where abouts your gonna wanna click, lets say your X is on 200 and target is 215,

Say moving to the right in Conquer will increase your coords, youd figure out the amount of pixels between the center of the screen, across to what would jump you 1 coordinate (lets say 10)

So you need to PostMessage (10) pixels across, and do this 15 times (would make 15 jumps of 1 coord each, now youd wanna split this into something like 4 + 4 + 4 + 3 coords instead of jumping little ones.

Same thing you do with Y etc, i tried to explain it as well as i can.
ChingChong23 is offline  
Reply


Similar Threads Similar Threads
[Question] Effects at Coordinates
04/09/2010 - CO2 Private Server - 23 Replies
Hey Everyone! I'm trying to set off this effect on the roof at a coordinate only for the person doing the quest: http://i746.photobucket.com/albums/xx110/brokentw ilight91/help-3.jpg I'm having a hard time with it however since the code I'm trying to use doesn't work with it. Anyone have an idea?
[Question] Screencoordinates to Kalonline coordinates
06/30/2009 - Kal Online - 10 Replies
Hey elitepvpers, I've got one "simple" question...(better for math-genies) How can I calculate the Kalonline coordinates from the Screencoordinates? I've try it with MousePosition.X * 256 (bit? kA xD ) But that's not right. Maybe anybody from you know how it goes? Thank you
[Question] Get coordinates by left mouseclick
06/19/2009 - Kal Online - 17 Replies
Hey epvpers, Im alten kalhackit gabs doch ne funktion, wo man STRG+Linksklick gemacht hat und dann wurde man zu der location "geportet". Weiß nicht ob das so ist aber sicherlich war das nur mit Movepackets sprich mit Superspeed da. Easy, eigentlich....Doch wie bekam das kalhackit die coords von dem linksklick raus? Meine Theorie wäre ja, dadurch das man linksklickt bewegt man sich ja. So. Der weiße Kreis der am Ende auf dich wartet sind deine Zielcoordinaten. Der Client (oder Server?!)...
[Question]Saving Coordinates.
01/18/2009 - CO2 Programming - 2 Replies
My memory based archer bot is close to done, it can jump to a certain coordinate and scatter which are the most important things right now. Anyway, I'm trying to see what would be the best way to save specific coordinates to a file and then ofcourse read them. (See it as setting a path to follow) It also has to allow other users to manipulate them to their likings, wich can be shared etc.. etc.. Now for my question, how should i approach this? Or better yet what would be my best bet and...



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


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

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