this is good its finding color it can take 1-3min but i think its at troll chucker it took me 6min lol
this is good its finding color it can take 1-3min but i think its at troll chucker it took me 6min lol
srry for double post my computer lagged :/ idk how to delete it
Have been using it on fire giants, has ran perfectly for 10-15 hours before. This evening I checked on it after 3 hours and found it timed out, Somehow it died at fire giants, last health check in the log showed 78%. I guess it went though another portal and kept taking hits. Maybe make it check health anyway every 30 seconds?
having a little issue loading the script and i can't post a screenshot because i just joined the community, so i'll try my utmost best to describe it. when i start the script, it allows me to choose whatever options but when click "run" a new window pops up saying "invalid parameter". i copied some of the code in simba to below, if that helps.
thanks,
-------- Using plugins "OpenGL32.dll"
-------- FATAL ERROR: Failed to spawn a SMART client
****** bonsaiFighter: Script shutting down
//////////
//////////////////////////////////////// KILLS ////////////////////////////////////////
////////// Warped Cockroach //////////
////////// 1020(Killed) 582(per hour run) 582(per hour active) //////////
////////// 25398(xp) 14485(per hour run) 14485(per hour active) //////////
////////// 8364(const xp) 4770(per hour run) 4770(per hour active) //////////
////////// //////////
////////////////////////////////////////////////////////////////////////////////////////////////////
Seems to be working well, but choosing warped cockroaches causes it to attack corpse spiders. Choosing corpse spiders makes it attack corpse spiders.
Sweet script. Works nice for slayer. Curently at 55 slayerThankyou
“Programming is like sex. One mistake and you have to support it for the rest of your life.”
- Michael Sinz
Thanks. Are you using the original from the first post or the new one I posted a little ways up?
Still working on cleaning things up for an update. I was running a long test yesterday but some fool wanted to be my BF after a couple of hours so I bailed before he reported it
Progress Report://////////////////////////////////////////////////////////////////////////////////////////////////// ////////// ( )\ ) ) ) ////////// ////////// ( )\ ) ( (()/( ( ( ( ( /( ( /( ( ( ////////// ////////// )((_) ( ( ( ( /( )\ /(_)) )\ )\))( )\()) )\()) ))\ )( ////////// ////////// ((_)_ )\ )\ ) )\ )(_))((_) (_))_|((_)((_))\ ((_)\ (_))/ /((_)(()\ ////////// ////////// | _ ) ((_) _(_/( ((_)((_)_ (_) | |_ (_) (()(_)| |(_)| |_ (_)) ((_) ////////// ////////// | _ \/ _ \| ' \))(_-</ _` | | | | __| | |/ _` | | ' \ | _|/ -_) | '_| ////////// ////////// |___/\___/|_||_| /__/\__,_| |_| |_| |_|\__, | |_||_| \__|\___| |_| ////////// ////////// |___/ ////////// ////////// ////////// ////////// Script runtime: ////////// ////////// 2 hr 41 min 51 sec(Total) 2 hr 29 min 3 sec(Active) 12 min 48 sec(Break) ////////// ////////// ////////// //////////////////////////////////////// KILLS //////////////////////////////////////// ////////// Gelatinous Abomination ////////// ////////// 561(Killed) 208(per hour run) 226(per hour active) ////////// ////////// 22440(xp) 8320(per hour run) 9040(per hour active) ////////// ////////// 7405(const xp) 2746(per hour run) 2983(per hour active) ////////// ////////// ////////// ////////////////////////////////////////////////////////////////////////////////////////////////////
hi im using your latest scipt (autodetect) . why on me it always say tnpc.motiondetect: trying to identitiy more color for almost 10 minuets? im trying to hunt corpse spider
It might take 5 minutes or so to get colors initially.
The success of the autocolor has some luck involved. If the first time it grabs color it gets bad ones, it will take a long time or sometimes not even find anything.
It if doesn't seem to be hitting them while coloring, stop and retry. I would remove the color file if it made one (SIMBADIR\includes\bonsai\colors)
I'm going to release some coloring tools with the fighter. I figured some ways to pre-seed the color file and get much better results. Then you can color separate from fighting or share color files. I don't like all that crazy mouse activity on my better accounts!
I was able to set it up but when im logged in it just keeps moving the mouse around and then ends it after awhile tried it on Warped Cockroaches.. was planning on using it on Cave slimes but have no idea how to. please help me :<
^Fixed i already got it working but was wondering if it can pick up loot/or bank
anyway can you help me set it up with other monsters as i dont understand the post on 1st page. Thank you
^Fixed Got it to do other monsters
Now trying to develop looting for the script. cant determine what procedure to use it always gives error on compiling
Last edited by Cyanempire; 08-25-2014 at 02:36 AM.
For food, it either uses the 'Z' key or the form has a place to enter the keystroke depending on your version. So bind your food to the actionbar and key and it will eat.
The script does not loot or walk to specific places. You want an NPC specific script for that like The Mayors GAO.
The main bonsaiFighter script is pretty simple. A motivated person could customize it for a specific purpose.
ok thanks. im also using The mayor gao script. its worked well. but your script killing really fast. about 470-500 lvl.19 skeleton per hours. with my 38 combat account. there so many thread in this forum. where can i start to make may own scipt ?
Deinitely The Mayor's guide.
Your second post is so helpful, I didn't think about that yet.
Works well, I used it on hell hounds for the charms they drop and it worked great, ran it for about 2 hours and babysat while doing some work just incase.
I'm doing it differently in the next version. It does have the full autodetect/color but I'm finding it best to spend a little time up front pre-coloring. Plus you can run color tests on a junky account. The coloring is really mouse crazy. Anyway, here's how I've been doing it now...
BTW, this process works great to get colors for anything, not just NPCs.
1. Grab a bitmap of the mainscreen in the desired spot.
2. Copy it to another file, edit it, and black out the NPCs.
3. Run a script to grab the colors that make up the NPC.
3a. Compare the blacked out places to the original to come up with every color that was blacked out. This is all the colors in the NPC (plus whatever slop you blacked out).
3b. Take that list, query back to the blacked out mask. Since the mask only has background, this tells us if the color bleeds to other objects and should be avoided.
3c. Query good colors against the full picture to see what a real query would get. If it takes too long, too little results it is weeded out.
3c. Output a list of colors from 3a that did not match the background in 3b or perform poorly in 3c.
This weeds out most of the bad colors that cause long hangs if you do it live. It's shocking to see how big these are, 2000+ colors per NPC even with tol 10/20/30
I run another script while logged in. It takes this color list and makes attempts at NPC location. It weeds through the list and comes up with the truly successful colors that can be used.
Here's an example of the first part for skeletons. They're tough due to similar color with the background. It only found ~50 colors worth using and weeded out ~2800 colors that we need to avoid. Coloring live it would waste tons of time on those.
Skeleton pic
Mask
result http://pastebin.com/raw.php?i=MBWWiSXe
Road tested the new one... 6 hour fix didn't restart smart but it was cranking along. Still a little pokey but at least it's not crapping out.
Progress Report://////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////// Bonsai //////////////////////////////////////// //////////////////////////////////////// Fighter //////////////////////////////////////// //////////////////////////////////////// _______ //////////////////////////////////////// ////////// ////////// ////////// Script runtime: ////////// ////////// 6 hr 54 min 23 sec(Total) 6 hr 3 min 23 sec(Active) 51 min 0 sec(Break) ////////// ////////// ////////// //////////////////////////////////////// Kills //////////////////////////////////////// ////////// Total Per Hour /Hour Active ////////// ////////// warped-fly 1,981 286.83 327.08 ////////// ////////// ////////// ////////////////////////////////////////////////////////////////////////////////////////////////////
I've read your reply multiple times but I still can't visualise most of the stuff you said. I'm feeling kind of dumb because I don't really get it...
A printscreen would be good enough, I understand this.
Copy the original and edit the copied file in Photoshop to black out the NPC's, yes I also understand this.
What script are you talking about? I thought the way to get colours was by using ACA?
To be honest, I really don't know what you're talking about. I would lie if I would say that I understood everything...
You don't need to explain it because I probably won't use it any time soon but it's definitely a very interesting idea you have. If you have some time on your hands, why not make a little tutorial or something so people like me could learn from you.![]()
////////// //////////
////////// Script runtime: //////////
////////// 2 hr 13 min 47 sec(Total) 2 hr 13 min 47 sec(Active) 0 sec(Break) //////////
////////// //////////
//////////////////////////////////////// KILLS ////////////////////////////////////////
////////// Catablepon //////////
////////// 1021(Killed) 458(per hour run) 458(per hour active) //////////
////////// 134772(xp) 60442(per hour run) 60442(per hour active) //////////
////////// 44414(const xp) 19918(per hour run) 19918(per hour active) //////////
////////// //////////
////////////////////////////////////////////////////////////////////////////////////////////////////
Hey, I keep getting a start up error.
Edit1: This is with the first version, Non (auto-detect)
Code:Exception in Script: Unknown declaration "i" at line 440, column 25 in file "C:\Simba\Includes\bonsai\libobjfind.simba"
but the auto detect is taking forever to start up,will let you know if i can get it running
Edit: ok got it to work for 40 minutes but then this happend
***** Tnpc.attack: End of fight detected
***** Killed a Attack Gelatinous abomination
****** Didnt find a Attack Gelatinous abomination to fight. timesFailed = 1
****** Didnt find a Attack Gelatinous abomination to fight. timesFailed = 2
****** Didnt find a Attack Gelatinous abomination to fight. timesFailed = 3
****** Didnt find a Attack Gelatinous abomination to fight. timesFailed = 4
****** Didnt find a Attack Gelatinous abomination to fight. timesFailed = 5
****** Didnt find a Attack Gelatinous abomination to fight. timesFailed = 6
****** Didnt find a Attack Gelatinous abomination to fight. timesFailed = 7
****** Didnt find a Attack Gelatinous abomination to fight. timesFailed = 8
****** Didnt find a Attack Gelatinous abomination to fight. timesFailed = 9
****** Didnt find a Attack Gelatinous abomination to fight. timesFailed = 10
****** Having problems finding NPC, rotating cam.
***** Tnpc.angleTowards: Altering angle to 299
****** Didnt find a Attack Gelatinous abomination to fight. timesFailed = 11
****** Didnt find a Attack Gelatinous abomination to fight. timesFailed = 12
****** Didnt find a Attack Gelatinous abomination to fight. timesFailed = 13
****** Didnt find a Attack Gelatinous abomination to fight. timesFailed = 14
****** Didnt find a Attack Gelatinous abomination to fight. timesFailed = 15
****** Didnt find a Attack Gelatinous abomination to fight. timesFailed = 16
****** Didnt find a Attack Gelatinous abomination to fight. timesFailed = 17
****** Didnt find a Attack Gelatinous abomination to fight. timesFailed = 18
****** Didnt find a Attack Gelatinous abomination to fight. timesFailed = 19
****** Didnt find a Attack Gelatinous abomination to fight. timesFailed = 20
****** Having problems finding NPC, rotating cam.
***** Tnpc.angleTowards: Altering angle to 347
***** Tcolorizer.updatePointCount: ERROR - Asked to update color, 877739572 - does not exist
****** Didnt find a Attack Gelatinous abomination to fight. timesFailed = 21
***** Health check returning 71 percent
****** Didnt find a Attack Gelatinous abomination to fight. timesFailed = 22
****** Didnt find a Attack Gelatinous abomination to fight. timesFailed = 23
****** Having problems finding NPC, sleeping
****** Didnt find a Attack Gelatinous abomination to fight. timesFailed = 24
****** Didnt find a Attack Gelatinous abomination to fight. timesFailed = 25
****** Didnt find a Attack Gelatinous abomination to fight. timesFailed = 26
****** Didnt find a Attack Gelatinous abomination to fight. timesFailed = 27
****** Didnt find a Attack Gelatinous abomination to fight. timesFailed = 28
****** Didnt find a Attack Gelatinous abomination to fight. timesFailed = 29
****** Didnt find a Attack Gelatinous abomination to fight. timesFailed = 30
****** Having problems finding NPC, rotating cam.
***** Tnpc.angleTowards: Altering angle to 35
***** Tcolorizer.updatePointCount: ERROR - Asked to update color, 925827072 - does not exist
***** Tcolorizer.updatePointCount: ERROR - Asked to update color, 1010251575 - does not exist
***** Tcolorizer.updatePointCount: ERROR - Asked to update color, 926365495 - does not exist
****** Didnt find a Attack Gelatinous abomination to fight. timesFailed = 31
****** Having problems finding NPC, moving to closest yellow dot
Exception in Script: Runtime error: "Access violation" at line 179, column 9 in file "C:\Simba\Includes\bonsai\libnpc.simba"
The following DTMs were not freed: [0]
The following bitmaps were not freed: [Minimap Mask, SMART Debug Image, Gametab Bitmap[0], Gametab Bitmap[1], Gametab Bitmap[2], Gametab Bitmap[3], Gametab Bitmap[4], Gametab Bitmap[5], Gametab Bitmap[6], Gametab Bitmap[7], Gametab Bitmap[8], Gametab Bitmap[9], Gametab Bitmap[10], Gametab Bitmap[11], Gametab Bitmap[12], Gametab Bitmap[13]]
File[C:\Simba\Includes\SRL-6/logs/SRL log (01-09-14 at 12.57.36 PM).txt] has not been freed in the script, freeing it now.
Compiled successfully in 3073 ms.
Last edited by acezfate; 09-01-2014 at 08:48 PM.
"Lag post" sorry.
Progress Report:////////// Script runtime: ////////// ////////// 1 hr 11 sec(Total) 1 hr 11 sec(Active) 0 sec(Break) ////////// ////////// ////////// //////////////////////////////////////// KILLS //////////////////////////////////////// ////////// Goblin ////////// ////////// 285(Killed) 284(per hour run) 284(per hour active) ////////// ////////// 9690(xp) 9660(per hour run) 9660(per hour active) ////////// ////////// 285(const xp) 284(per hour run) 284(per hour active) ////////// ////////// ////////// ////////////////////////////////////////////////////////////////////////////////////////////////////
It ran pretty well, but I noticed a few areas where improvements would help.
It doesn't seem to have a long enough wait before deciding if it's in a fight or not, if a goblin was walking away from me when it clicked, it would end up picking a new one while I was moving and fighting two. The other thing that seemed off was that the mouse has a tendency to wander around when looking for goblins. I haven't looked through the code to see how it does all the searching, but there has to be a more efficient way of going about it. It wanders past multiple targets before it selects one, typically not succeeding at finding the closest one (leading to the first error). Maybe it's just the colours, I'd have to look closer to figure it out.
In the end, it timed out because it couldn't find any goblins. I hadn't been watching at the time, but when I logged in it was still in the right location. The char I was using wasn't very strong so I doubt I actually killed everything in the area (stronghold). I'd have to be watching closer to give a better report on the failure. I assume that the wandering mouse counts as a try each time, and I could see that causing problems.
There are currently 1 users browsing this thread. (0 members and 1 guests)