|
You last visited: Today at 18:09
Advertisement
position in rappelz
Discussion on position in rappelz within the Rappelz forum part of the MMORPGs category.
03/23/2010, 12:34
|
#1
|
elite*gold: 0
Join Date: Mar 2010
Posts: 49
Received Thanks: 2
|
position in rappelz
Hi all, i've done my bot by c++, when I didn't know about JT's.
now I have some problems here and i ask you for help
the fist problemi have - /position.
my bot wrote it but... there 8 edites window, in whitch i shall do it?
and... how can i get the coords from chat?
the second my problem is the bot traps.
how i cat get the name of mob like it has done JT's?
I saw the code, but can't find answer.
and at last in some version of vista or 64-bits OS i can't Send esc to rappelz.
WELCOM for some help, thanks
|
|
|
03/23/2010, 12:51
|
#2
|
elite*gold: 0
Join Date: Nov 2008
Posts: 455
Received Thanks: 85
|
1st: you can get position coordinates via OCR. but i dont know how to run / where to get a working OCR-program.
2nd: bot traps have a low level. so if the mob has a purple color level then consider it a bot trap.
3rd: no idea :/
|
|
|
03/23/2010, 13:16
|
#3
|
elite*gold: 0
Join Date: Mar 2010
Posts: 49
Received Thanks: 2
|
oh, the 2nd is the Greate solving, thanks much! but i've the OCR programm and...it is not goo variant. not all the coords are readable and it is very slow for bot((
|
|
|
03/23/2010, 16:14
|
#4
|
elite*gold: 0
Join Date: Nov 2008
Posts: 455
Received Thanks: 85
|
can you share your OCR with me plz? ^^
|
|
|
03/23/2010, 18:04
|
#5
|
elite*gold: 0
Join Date: Mar 2010
Posts: 49
Received Thanks: 2
|
well mine OCR is Fine reader 8.0. i think it's whill be in my bot there...
i tried GETTEXT message but...
|
|
|
03/23/2010, 21:06
|
#6
|
elite*gold: 0
Join Date: Mar 2009
Posts: 404
Received Thanks: 120
|
I have writen me an own fast OCR logic for this.
Text from the chat window is even easier that the text form the Mob, because the color is always the same. ( Mob Name has many gray values.)
This is easier than it sounds  juzst split the Words into letters and compare them with the letters that you already know.
e.g. A Character stored as a String.
Code:
XX____XX_
XX____XX_
X_X__X_X_
X_X__X_X_
X__XX__X_
X__XX__X_
X______X_
X______X_
X______X_
A better way to get an good possition would be to access the Memory, Still searching for a way to do this ;D
|
|
|
03/24/2010, 18:17
|
#7
|
elite*gold: 0
Join Date: Mar 2010
Posts: 49
Received Thanks: 2
|
well I'll do it. how can i differ the chat window from others?
|
|
|
04/12/2010, 22:22
|
#8
|
elite*gold: 0
Join Date: Mar 2010
Posts: 49
Received Thanks: 2
|
please help me with OCR. put full code of ocr or help me... I'm tired to write it((( (чертовски задолбался писать этот гребаный код)
I'll can help you with others problem if you help me =)
|
|
|
04/13/2010, 02:39
|
#9
|
elite*gold: 0
Join Date: Mar 2010
Posts: 49
Received Thanks: 2
|
i done OCR! yohoo but( how i write /position??
i dont want to sekk chat window(
|
|
|
04/13/2010, 03:05
|
#10
|
elite*gold: 0
Join Date: Mar 2010
Posts: 49
Received Thanks: 2
|
_SendMessageA(hwndXD, WM_PASTE, 0, 0);
//_SendMessageA(hwndXD, WM_CHAR, 0x2F, 0);
and so on doesn't work(((
|
|
|
04/13/2010, 12:07
|
#11
|
elite*gold: 0
Join Date: Mar 2010
Posts: 49
Received Thanks: 2
|
//'/'
temp = rand()%50;temptation=temptation+temp;Sleep(temp);
_PostMessageA(hwndXD, WM_KEYDOWN, 0x6f, 0x10001);
temp = rand()%50;temptation=temptation+temp;Sleep(temp);
_PostMessageA(hwndXD, WM_KEYUP, 0x6f, 0xC0010001);
temp = 50;temptation=temptation+temp;Sleep(temp);
//'p'
temp = rand()%50;temptation=temptation+temp;Sleep(1000);
_SendMessageA(hwndXD, WM_KEYDOWN, 0x50, 0);
temp = rand()%50;temptation=temptation+temp;Sleep(temp);
_SendMessageA(hwndXD, WM_KEYUP, 0x50, 0xC0010001);
temp = rand()%50;temptation=temptation+temp;Sleep(temp);
вводится только / вместо /p
input is only '/', not '/p'((( why???
|
|
|
04/13/2010, 19:52
|
#12
|
elite*gold: 0
Join Date: Mar 2010
Posts: 49
Received Thanks: 2
|
problem was solved.... немножко неординарно однако..
|
|
|
04/13/2010, 21:02
|
#13
|
elite*gold: 0
Join Date: Mar 2009
Posts: 404
Received Thanks: 120
|
Но обратите внимание на немецком языке в этом форуме должны быть на английском языке.
Кроме того, важным является правило о двойном должностей. Если вы были последним, кто пишет что-то в поток, вы должны изменить его записи, а не добавить новую запись.
----
I hope the above make some sense
|
|
|
04/13/2010, 23:34
|
#14
|
elite*gold: 0
Join Date: Mar 2010
Posts: 49
Received Thanks: 2
|
wow! russians! =) that's great!
but let's go to problem.
the code
while(1)
{
_SendMessageA(hwndXD, WM_KEYDOWN, 0x50, 0);
temp = rand()%50;temptation=temptation+temp;Sleep(temp);
_SendMessageA(hwndXD, WM_KEYUP, 0x50, 0xC0010001);
}
gives only one symbol 'p'. but when i click mouse to person in rappelz - it gives me another 'p'. where my bug? or rappelz waiting another message?
|
|
|
04/27/2010, 00:23
|
#15
|
elite*gold: 0
Join Date: Mar 2010
Posts: 49
Received Thanks: 2
|
I did it, close#
|
|
|
All times are GMT +1. The time now is 18:09.
|
|