Post
by EqMule » Thu Feb 27, 2003 7:51 am
oh, there is a solution allright... here is the thing, I can easily sit down and get the offsets, but I havent since I suspect the structures have changed anyway, therefor lets say we read mana from an offset well if mana has changed place with something in the "mana structure" we will get a bogus number back... I cant explain it better than that, but suffice to say, offsets wont most likely do us any good at this point, a new MQ needs to be recompiled first to accomodate this... but I am not 100% sure so dont quote me on this theory...
Anyway, the detours concept has to go, no matter what...
And here is the thing... I can easily create something that reads the information I need from memory, like mana or hp or even the npc list of the zone just using normal Windows API then piping that info to a logfile for my reading, however I dont know how to do stuff like /target /face and so on...
Anyway all commands that just read from memory can be done easily, writing is harder...
And to sum up, at this point I dont feel a strong urge to do something like this for MQ anyway, because I use Xylobot now and I get all the info I need by reading pixels on the mana and hp bars and so on... even working on an idea to read the pixels on the compass to figure out in what degree Im currently facing and being able to also implement a /face <degree> type of function in my scripts... basically the only thing I cant do with Xylobot is /target but I can live with that by using F8 and a series of mouseclicks on the screen in cooperation with conning my targets...
As someone said before, a com object for Xylobot that reads mana and hp and maybe mobs from the memory would rock... Im still thinking about creating something like that when time allows...
At this point I just suggest you say bye bye to MQ and start using XB instead... and yeah I realize that you have to put in some time/work/effort of your own to be able to create good scripts, so XB is not for the average scriptkiddie to just download and fire way... but if you have the will and the brains and at least know how to copy and paste from other peoples scripts in the XB scriptforum, you can do anything with XB that you can with MQ, even clicking works... (except /target, however a well written com object based on the /target code in MQ could do that I guess) it just takes will...
Good luck

o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received

donations for this month's patches.
Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.