Everything posted by d0zza
-
[Experienced] [Reliable] [Affordable] d0zza's Private Script Shop | Fast | CLI Support | Mule Support | Dozens of custom scripts made
Bump
-
[Experienced] [Reliable] [Affordable] d0zza's Private Script Shop | Fast | CLI Support | Mule Support | Dozens of custom scripts made
Bump
-
[Experienced] [Reliable] [Affordable] d0zza's Private Script Shop | Fast | CLI Support | Mule Support | Dozens of custom scripts made
Bump
-
[Experienced] [Reliable] [Affordable] d0zza's Private Script Shop | Fast | CLI Support | Mule Support | Dozens of custom scripts made
Bump
-
Few Questions
If you don't know what api is (as you mentioned above) then you're not gonna get very far with scripting. I'm not trying to be a dick I'm just telling the truth. If you did understand what the code is doing then it would be clear that you would need to modify this part of your program to change which npc to steal from case PICKPOCKET: log("Pickpocket"); NPC farmer = getNpcs().closest("Master Farmer"); if (farmer != null) { getNpcs().closest("Master Farmer").interact("Pickpocket"); } else { if (!myPlayer().isAnimating()) ; }
-
Few Questions
Well read through your code again then. Switch cases need a break at the end of them otherwise they'll just go into the next case and perform those actions too
-
Few Questions
It sounds like you've just found this code online somewhere and don't actually understand most of what it's doing. If you want to actually learn how to script look through the tutorials on this forum, this one is a good place to start: Not many people are willing to spoonfeed others
-
[Experienced] [Reliable] [Affordable] d0zza's Private Script Shop | Fast | CLI Support | Mule Support | Dozens of custom scripts made
Bump
-
[Experienced] [Reliable] [Affordable] d0zza's Private Script Shop | Fast | CLI Support | Mule Support | Dozens of custom scripts made
Bump
-
better way to track mobs killed?
Declare a public integer for your kill counter in KillChickens.java called killCount (Or whatever you want to name it). You can then access it in your main with KillChickens.killCount
-
better way to track mobs killed?
You can try checking if the mob you're currently fighting is doing the death animation
-
An easier way to test my script?
I'm not sure how to do it in eclipse but in IntelliJ you can change where the jar file builds in the artefacts section in your script settings. So just change this to your Osbot scripts folder, you might get a warinh saying it can't delete the file but it still works
-
[Experienced] [Reliable] [Affordable] d0zza's Private Script Shop | Fast | CLI Support | Mule Support | Dozens of custom scripts made
Bump
-
[Experienced] [Reliable] [Affordable] d0zza's Private Script Shop | Fast | CLI Support | Mule Support | Dozens of custom scripts made
PM'd
-
Clicking
Nope, if the steal option is the option seen when you hover the object it'll left click it. Honestly the best way to learn these kinds of things is to test them out yourself and see what it does first hand.
-
[Experienced] [Reliable] [Affordable] d0zza's Private Script Shop | Fast | CLI Support | Mule Support | Dozens of custom scripts made
PM'd
-
[Experienced] [Reliable] [Affordable] d0zza's Private Script Shop | Fast | CLI Support | Mule Support | Dozens of custom scripts made
Bump
-
Clicking
A cake stand is an object. You can directly interact with objects so you don't have to do anything with mouse destinations or click mouse event. Read through this thread:
-
[Experienced] [Reliable] [Affordable] d0zza's Private Script Shop | Fast | CLI Support | Mule Support | Dozens of custom scripts made
Bumpity
-
Always Buying all 07 Gold | iminjured15 on Skype
Added
-
[Experienced] [Reliable] [Affordable] d0zza's Private Script Shop | Fast | CLI Support | Mule Support | Dozens of custom scripts made
Bump
-
Testing local scripts issues
I personally just add a 1 to the script name in both the IDE and the jar file it builds and drag it into the directory. However there might be a better way, I'm not sure
-
[Experienced] [Reliable] [Affordable] d0zza's Private Script Shop | Fast | CLI Support | Mule Support | Dozens of custom scripts made
Bump
-
[Experienced] [Reliable] [Affordable] d0zza's Private Script Shop | Fast | CLI Support | Mule Support | Dozens of custom scripts made
Bump
-
[Experienced] [Reliable] [Affordable] d0zza's Private Script Shop | Fast | CLI Support | Mule Support | Dozens of custom scripts made
Bump