I started writing my first bot a few months back, it was pretty slow going at first as i havent been programming very long, but with alot of reading books, forums etc.. i now have a bot that can follow waypoints, use ppather for navigation(navmesh is beyond me at this point) mine herb, blah blah blah. Anyway my problem is, that i get a target by going through the objectmanager and finding the closest target to me and using that as my target, which works very well until... i get into an area with buildings, i can check to see if my target is indoors to filter out those targets, but targets on the opposite side of a building still give me los issues, so i figured the next logical step would be to implement traceline. Ive searched and read all the threads on this site, i understand the values you need to pass and the flags however i really dont understand how to call this, my bot is in c# and the only c# example ive been able to find is in this thread http://www.mmowned.com/forums/wow-memory-editing/278757-traceline-implementation.html
The only hook i use is endscene and im assuming the example in this thread is for an injected dll, i guess basically what im asking is, is it possible to call traceline without injecting a dll into wow, and if so can you give me a push in the right direction.
Thanks for any help and sorry for the wall o text :yuck: