AutoIt Beginner Questions Nostale

03/01/2021 18:14 umuk#1
Hello everyone,

I have recently started to write a few bots with AutoIt, mainly for my browser.
Since i was pretty statisfied with what I was able to do I wanted to move one step further and create a Nostale bot by myself.
I have only limited knowledge because I'm not a developer and just recently started doing it for a bit of fun.

As soon as I started writing, I realised that my AutoIt programm does not execute in Nostale. To be specific, I can not start my AutoIt file using a shortcut when I am in Nostale itself. And if I start AutoIt, open Nostale afterwards it still does not perform actions on Nostale itself.

Probably that is simple bot protection and i should not have expected it to be that easy :D

I did some research and i have seen that most of the existing bots use a packetlogger. My question is: Is there any other more "simple" way to get around it instead of using a packet logger?

Thank you!
03/01/2021 18:53 WalrossGreat#2
There is no client-side protection in the GF version of the game, any properly written script should work fine.

What do you mean that you can't start the autoit file? What is stopping you?
03/01/2021 19:37 umuk#3
Take this Code as an example, its not much but it should work fine as an example to explain what i mean.


If I'm not in the game, this code would run fine and it would click the 900 500 position over and over again. If i'm in Nostale and i press "s" it will not start the function. If I am outside of the game, pressing "s" will start the function. It will run smooth but as soon as i switch to the game itself it will stop performing the click action even though the function was successfully started.

It's only the bare AutoIt Code started with F5 to run and test.

I hope that my description helps you at least a bit :D
03/01/2021 22:52 WJNeeson#4
use #RequireAdmin and ControlClick instead of MouseClick
03/01/2021 23:56 umuk#5
Sometimes solutions are so simple :)
It was the missing #RequireAdmin! Thank you very much, i appreciate your help! On point! ;-)