i think wow x offset is 0x10C
//Load How Long
XmlNodeList Long = doc.GetElementsByTagName("HowLong");
HowLong = Convert.ToInt32(Long[0].ChildNodes[0].Value);
im getting an error for this in the script and i dont know why? help?
Comment it out, sort the whole "." to "," switch and load a glider profile.
After following the info graciously provided by Robske, I've managed to get this thing to work-ish. Right now its running around following the waypoints in the profile, but will not attack anything. I'll keep trying stuff out, but if anyone has any pointers they'd be appriciated.
Also, I've noticed that it does detect dead mobs and the fact that they're lootable. However, it will try looting them from 30 ft away, and if started right next to the mob, will run the cursor over the screen trying to find loot position but will not find it even if it is available.
EDIT: Upon further research, I think the reason it was running aimlessly was because once I chose non BG mode (AKA farming), the bot had no default classes it could use. I tried using one of the oober classes, but that crashed the bot as soon as it tried loading the AI. I'm pretty sure the OOber classes need some modifying to fit LBot. I'll try some more after a good night's sleep.![]()
Last edited by Omaster; 05-03-2009 at 07:38 PM.
Got the bot working, but having problems fixing the looting.
Does the address need to be updated?
Code:public int getType { get { mem Memory = ObjectList.getMemory(); return Memory.ReadInt(0x0117B010); } }
Just a note: yes the OOber files needs come work, look at the warlock class file in the AI folder, most of the functions is working in LBot but some like PetFeed et does not work and auto keys does not either.
As the LBot does no know when global cooldown is ready all spell casts needs timers, this needs to be adjusted also.
I never finished the integration between LBot and OOBerX so you may be better of making a C# class and hardcode the combat. Look at how the Healbot extends the GGameClass and heals instead of doing combat (repleace the healing with some combat code instead).
This bot is not ready to go for pve but it should be decent for pvp healing. I made the pvp system first and then i never finished the pve system.
I made the core system of the bot (movement, profiles, objects detection etc) and then it is up to you to make the combat.
And yes the mouse type need to be updated, else it won't detect when moving the mouse over a object that can be looted.
This is as fare as i am helping, going to continue work on my poker bot now![]()
Have fun.
Wow thats eerie... I was just editing my post up there, planning on asking for tips on how to remove the ooberwarlock stuff and replace it with a hardcoded combat routine.
I edited the loot code to simply approach the corpse, move the mouse to the center of the screen, send a RMB click and then continue on the patrol.
It gets the job done.
So I guess my next move is to replace the healbot code with a combat routine, thanks alot naa!
Before I start working on hardcoding combat in place of the healbot code, I tried porting a simple version of your warlock.xml so that it would use my druid spells. For some reason, I can see the log saying it tries casting stuff, but nothing actually happens in WoW. It might be worth mentioning that the bot moves around the patrol and approaches the mob as it should. It seems just the actual casting is messed up.
What am I missing?
Thank you. Are there any .pdf files explaining this kind of programs/source. How did you guys get started?
Cheatengine. I am still to stupid to get this by another way. Hopefully I will be able to learn this.
just hover with the mouse over a trainer or the loot and search for unknown value. change the position of the mouse and search for a changed value. then search for a value smaller then 100. and so on.
I had about 14 left but only only made sense so I tested it and it was the right one.
I will read up if there are other ways to get the offsets.
Azzie2k8