[BOT] NosBota by WarlossGreat

04/11/2015 18:08 WalrossGreat#31
@Minoos
Wykrywacz GM jest opisany w instrukcji, działa na zasadzie wyłączenia gry jeśli ktoś przeteleportuje cię na inną mape, adresy tak jak mówiłem, nie zmieniają się za często, co do implementacji to do base adresu dodaje się offsety a później czyta z pamięci.
@Mr.Tr33
Danke schoen fur Kommentar, (now in EN) but I can't speak deutch well, I think that x and y are multiplied by 2, aren't they? So if in CE I will change the value X to 100 bot will auto go to 100 X?
04/11/2015 20:57 Minoos#32
A jak działa multiclient? :D
04/11/2015 21:04 WalrossGreat#33
@Minoos
Hmm, zmodyfikowane nostalex.dat, za jego pomocą możesz uruchomić wiele clientów w jednym czasie.
04/12/2015 10:57 Sirblabis#34
Good work continue with this, please continue free :)
04/12/2015 13:23 WalrossGreat#35
@Sirblabis
Thank you!
@TOPIC
I got some PM with problems about run correctly run bot on multiclient, so i recorded video how to do it.
Link: [Only registered and activated users can see links. Click Here To Register...]
04/12/2015 14:31 Mr.Tr33#36
Quote:
Originally Posted by WalrossGreat View Post
@Mr.Tr33
Danke schoen fur Kommentar, (now in EN) but I can't speak deutch well, I think that x and y are multiplied by 2, aren't they? So if in CE I will change the value X to 100 bot will auto go to 100 X?
Oh I'm sorry haha :D
No x and y aren't multiplied by 2. They are normal as Byte.
If you have the adress for x or why and you change it to then you have to freez it and click right next to your character in the game. Your character will walk to your position where you clicked and afterwards he goes to the position that you set in CE.
But to find x and y you need to be careful, becuase you will find more than just one pair.
04/12/2015 14:52 WalrossGreat#37
@Mr.Tr33
Thanks for answer, but are you sure, that x and y are in Byte? Because I can't find it + where can I find the x,y ingame? Only in Amulett der Ruckkehr?
04/13/2015 20:50 Mr.Tr33#38
Back in the days it was through that item. In the video it's Byte too.
You could just use a Packetlogger to see you coordinats >.>
04/13/2015 21:52 WalrossGreat#39
I don't know, GF probably changed the value, i found it in packetlooger, do new scan for x = 101, going to x = 105, scan for x = 105 and list of adress = 0 :/
04/13/2015 23:36 Mr.Tr33#40
How about you pick just all types and unknown value? And then you just scann for bigger and smaller values when you walk up and down? :)
04/15/2015 20:06 WalrossGreat#41
Hi, i uploaded new version. What's new?
New version!
-Added auto-rest if hp is less then x
-Added auto-rest if mp is less then x
-Reading target(true or false) and sit status from memory
-Deleted autorest after resp

I spend 1h+ when i was writing algoritm for autorest :_:

Download in first post.
Walross.
04/15/2015 22:14 *-OMG-*#42
I think you should make an user-interface more user-friendly.. Multiclient is not really good, you do it as static (max. 6) and it is a bad idea.. You could make it dynamic adding a new tab for each client (Menu -> Client -> Add) and selecting the game from a list of active processes (in order to run nostale by only one executable).. I'm sure that there is a function that returns a list of running processes with the related informations (pId included) ! Good luck ;)

-- My current rating: 6 / 10
04/15/2015 22:49 Mr.Tr33#43
@*-OMG-*
He is using AutoIt ... AutoIt is pretty slow. If he would update every input in every tab then it's going to be really slow.

A good example would be his rest function ... it wouldn't react that fast if just one programm would watch all clients.

He could create one user interface and one bot programm. The user interface would control every bot (running multiple times) using controls, tcp, whatever and every bot would just update "his" inputs.
That way it would be a pretty fast bot that can run on multiple clients.
04/16/2015 15:05 WalrossGreat#44
@*-OMG-*
What mean "user-interface more user-friendly"? For me it's ok, but i'm open to suggestions.
It won't work good probably, i mean dynamic adding client, it will be too slow.

@Mr.Tr33
Yes, it's good idea. I thought about it when i was writing first version but
a) ControlSend won't work good probably (it can't (?) simulate 6+ keys press in one time)
b) I really haven't idea how to run one script some times. (nvm, now all is fine)

Thank you for comment.
04/17/2015 13:23 Mr.Tr33#45
Quote:
Originally Posted by WalrossGreat View Post
@Mr.Tr33
Yes, it's good idea. I thought about it when i was writing first version but
a) ControlSend won't work good probably (it can't (?) simulate 6+ keys press in one time)
b) I really haven't idea how to run one script some times. (nvm, now all is fine)

Thank you for comment.
a) Don't use ControlSend. Use PostMessage :)
And you don't have to press 6+ keys at the same time haha :D
My idea is that you have for example one main GUI and one bot that is running a few times. And every one of thouse bots is sending the same key for their specific Nostale window.

b) You could just run the bot normally a few times and create your own tcp protokol to control every bot by the gui or you use cmdline for ideatify every bot by an idea. In that case it's much easier and you don't have to create complicated functions :D
I like to use the MailSlot UDF for this :)