View Full Version : Can someone guide me into the right direction?
Joxmb
04-06-2012, 02:14 PM
I'm making a script right now (or at least starting/attempting to) that picks an item up from the ground. I tried using simple techniques and miserably failed as the functions I used just fail at what I want to do (FindObjCustom and stuff).
I'm hating myself for asking this as it makes me feel like I wanna be spoonfed but I've been searching and can't find what direction to go in to and what functions I should use.
The functions I need would need to:
1. Walk - which way should I use that is reliable? TPA - too hard? Radiawalk - not reliable enough?
2. One that will pick an item up from the ground and wait until it is in the inventory until it goes to pick up the next one? When I tried it would click one item in 1 location, then click another in another location before it picked up the first one.
-Also with this, when it clicks it randomly clicks anywhere on the screen, how would I make it click the closest one to my player instead of going in a zigzag pattern?
3. Not very bot like, when I used FindObjCustom, my mouse moved so bot like and had random movements..
If any other advice could be given that'd be amazing too.. Sorry to be a bother though :(..
My skype is DominickBk if anyone would be nice enough to add me and speak to me about this (I won't be too much of a bother!).
Thanks guys.
For walking: ObjectDTM's (http://villavu.com/forum/showthread.php?t=78905)
for your problem with picking up items, simplest thing to do is use Wait(1000), so it waits one second before trying to move on to the next item. As for moving around randomly on the screen, you need to pick better colours - better yet, make a DTM for the item.
Again, with FindObjectCustom, make a DTM and use FindDTM
lilcmp1
04-06-2012, 03:01 PM
Another helpful tool to have it start searching closest to your player is;
x := MSCX;
y := MSCY;
Where x, y are the variables you are looking for. This makes it start looking from the center of the screen instead of top left. I also prefer sps walking but it depends where you are.
Imagine
04-06-2012, 04:02 PM
I'm making a script right now (or at least starting/attempting to) that picks an item up from the ground. I tried using simple techniques and miserably failed as the functions I used just fail at what I want to do (FindObjCustom and stuff).
I'm hating myself for asking this as it makes me feel like I wanna be spoonfed but I've been searching and can't find what direction to go in to and what functions I should use.
The functions I need would need to:
1. Walk - which way should I use that is reliable? TPA - too hard? Radiawalk - not reliable enough?
2. One that will pick an item up from the ground and wait until it is in the inventory until it goes to pick up the next one? When I tried it would click one item in 1 location, then click another in another location before it picked up the first one.
-Also with this, when it clicks it randomly clicks anywhere on the screen, how would I make it click the closest one to my player instead of going in a zigzag pattern?
3. Not very bot like, when I used FindObjCustom, my mouse moved so bot like and had random movements..
If any other advice could be given that'd be amazing too.. Sorry to be a bother though :(..
My skype is DominickBk if anyone would be nice enough to add me and speak to me about this (I won't be too much of a bother!).
Thanks guys.
1). I suggest ObjectDTM's, like was said above me.
2). //All TPA/ATPA stuff
if FindColorSpiralTolerance('Blablabla') then
begin
x := InvCount;
Mouse(x, y, 3, 3, 1);
if DidRedClick then
while(InvCount = x) do
wait(30);
end;
^ Something like that.
3). I suggest just using ACA to find good colors to use TPA's and stuff, there are a bunch of good tutorials out there.
Silentcore
04-06-2012, 04:43 PM
ObjectDTM'S and I'm not sure about picking up the loot. Maybe try something with uptext because if your picking up a loot from a monster drop, sometimes there's another item or two at the top.
Joxmb
04-06-2012, 04:56 PM
Damn, shameful me lol. Just got scammed 55m because I wanted to buy a script to use before I finally make my own script. Lesson well learnt, karma haha. Back to learning how to script. Thanks for all the responses guys, much appreciated.
Damn, shameful me lol. Just got scammed 55m because I wanted to buy a script to use before I finally make my own script. Lesson well learnt, karma haha. Back to learning how to script. Thanks for all the responses guys, much appreciated.
Who scammed you...?
Damn, shameful me lol. Just got scammed 55m because I wanted to buy a script to use before I finally make my own script. Lesson well learnt, karma haha. Back to learning how to script. Thanks for all the responses guys, much appreciated.
Somebody never read the rules of this forum when they first joined... :whistling:
Joxmb
04-06-2012, 06:13 PM
Somebody never read the rules of this forum when they first joined... :whistling:
yeah I 100% deserved that haha. Oh well, more motivation to learn faster!
EtherFreak
04-06-2012, 08:49 PM
sps works great for walking! check it out.
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.