[Help] Working on a Roat Pkz bot for killing Donator NPC's
Hi there, my name is Kieran and I have 0% knowledge of Simba.
I currently do software development(Very low level) at college and am working towards learning Java. I know that Simba uses Pascal but I still want to learn it. I am currently spending my time browsing the forums and watching tutorials ect so that I can figure this out.
-- UPDATED 12.00PM 9/11/15 GMT --
Ok, so since last night I've picked up a lot, well I would say so atleast, currently the Bot is a stage where it can ;
1. Click Food
2. Click Restores (also drops the vial) [I'm using super restore(1) because it's spawn server so having (1) makes it slightly easier
3. Spawn food if there isn't any in inv
4. Spawn restores if there isn't any in inv
5. When it starts it checks if the inventory is open and if not it opens it
So. What do I need help with now you may ask? I have no idea how to do the looting function, there is a lot of items the NPC drops so i don't really want to do it with DTM's, but if this is the only way then i guess that's fine. Again, any suggestions are great :D
[ Original post .. ]
Currently I am stuck with the [ if FindColorTolerance(x, y, color, X, Y, X2, Y2, Tol) I am struggling to work out what the X2 and Y2 are.
But aside that, if anyone knows how I should go about scripting this then that would be great. I am currently just trying to plan it out as there is quite a lot of planning needed. The area in which the NPC's are is spawnable so to keep it simple im only going to use Super Restores (1) and rocktails (::food) so that there is no other dose's ect. I know that I'm going to need to work out what NPC it's killing and also how it's going to loot items and what items it has to loot. but aside from knowning this i have no idea how to do this.
Any help would be great. As in just any links to tutorials that might help, any tips that you found useful when you just started learning this or anything in general haha :D also, if you have time for 1 Million questions then add me on skype ;) Kieran.Ps.
Thanks a lot, and I hope someone replies haha, apologies for it being long.