orion pax
2007-10-04 14:01:22
Ok this is my first time at a script. I find it tedious to gather swamp tar and I would like to use my lizard more often but fuel is hard to get. Its not 100%. It finds the red dots on the minimap fine just not 100% on picking the tar from the ground. Tolerance doesnt help because some of the dead trees have similar colors. I think I might have it check for 3 different shades on the tar itself.
You can start logged out, you just have to be in Lumby swamp before starting!
Let me know what you think and any ideas to improve it. Thanks!
orion pax
2007-10-05 17:21:05
UPDATED!
Its now 95% accurate in picking up the swamp tar.
It now spins the screen around to find the color its looking for at the players feet.
Turns on run.
Added FindNormalRandoms.
Need to add anti randoms.
Now if you dont have any swamp tar near you, it will take a bit to find it on the map, as I designed it to search from the center of the minimap first and work its way out. This way it doesnt search for the first red dot on the outside of the minimap and waste time walking.
There is 2 bugs i know of:
1. Sometimes it cant find the swamp tar as it spins and it goes on for a long time.
2. If something is standing over the player as it clicks the swamp tar, it does that instead of getting the tar. For example if a tree branch is in the way, or a goblin just happens to walk by.
Could someone please help test my script out. No one has posted anything about it. Probably because no one is interested in a swamp tar picking script, but i am as I use my lizard.
Thanks!
Victim14
2007-10-06 15:51:45
This seems like a useful script! I will update the post after I have tested it.
orion pax
2007-10-06 21:26:41
Updated again! Wow I am on a roll! I think its time for v1.0 Beta now.
I haven't tested it for hours and hours but I am sure I have fixed the first bug listed on my previous post. The second bug I am not sure if its worth fixing as it will slow down the script having to right click then click on Take. Maybe if I could find a way to speed up the mouse in this fashion I might do it.
Added Antiban function with 6 randomly choosen antiban functions in it.
Added a check to see how long since it started spinning so it will move the screen up a hair every 8 seconds until it finds the tar.
Added run away function that looks for a fight and runs your choosen direction for 4.5 + random(1.9) seconds and runs back.
Added my modified RadialWalkEx/RadialWalk functions so it searches for red dots on minimap starting from the center instead of the outside. More efficient!
Cleaned it up and moved somethings around.
Please give me feedback on my script and let me know what you think. Other than that one lil bug I think its pretty much done. I am considering adding an option to Lumby teleport (not home teleport) if it finds a fight instead of running. I will have to add walking back to swamp if I do this.
Thanks!
Macrosoft
2007-10-07 22:40:37
Ill look at radialwalkEx2, but i will most likely use my own method
I like your effort, keep trying!
I would suggest multiplayer, its a good thing to have
About mine, if you noticed, I have a very complicated procedure that resets the location with lumb tele, and reactivates players once they can do lumb tele again. You can try this yourself, as it is more than just a function, it requires lots of stuff in the main loop aswell, along with understanding of what is being done. Copying me will not work as understanding is needed to not make mistakes (you also need the practice).
i dont want the above to sound like bragging, i am just suggestiong that you look at my code and try to learn some failsafes from it. What got me srl membership were my failsafes, as they are very thorough (look at the "strike" thing, which is a system designed to make sure it is not clicking on red dots of items that are not swamp tar (a sign that it may be lost)).
sorry about english, really late here
orion pax
2007-10-08 17:42:01
Yeah I have been looking at your code. I never planned on copying it. Failsafes are next on my list, as well as walking TO the swamp and the lumby tele. I will do multiplayer after these things. Maybe.
Right now the biggest thing I am haveing trouble with is one of the SRL includes.
[Runtime Error] : Exception: Access violation at address 0062AA94 in module 'scar.exe'. Read of address 00000000 in line 205 in script C:\Program Files\SCAR 3.12\includes\SRL/SRL/Core/AntiRandoms/ChatRandoms.scar
This is the 3rd time i have seen this in 2 days and I havent been at my PC when it happend. I JUST updated to rev 5 of SRL and compiled so I hope this might have fixed the problem.
Lokan
2007-10-08 17:45:41
Very nice. This can get REALLY boring and annoying. It'll be really helpful. :)