SRL Archive - OSR Beginner Scripting Tutorials

How to Pick Colors (and use with forms) w/ pics


Narcle

2011-11-12 00:42:11

How to install and setup Simba! -
http://villavu.com/forum/showthread.php?t=47714

BEFORE posting, check out SRL's Frequently Asked Questions! -
http://villavu.com/forum/forumdisplay.php?f=448

This is based off my Fast Fighter to help those who are completely new. It will show you how to pick colors off the client and be used in a script.

1. After pushing play SMART pops up, shortly after a form will as well looking like so:


Note #1: This is a paste feature I added to allow you to paste from the computers clip board. (more info below)

2. Close the form for now and log in next to the NPCs you will be fighting.

3. After I click on the Color Picker tool (pointed at below) the screen will freeze and you will be able to take your time picking a color on screen.

Note #2: This is what the color picking tool looks like moving it around. Notice I'm picking a color off the scorpion. Hint: Try to get the most unique color off the NPC you will be fighting, one that shouldn't be mistaking in your surroundings.


4. After picking 2 or 3 colors copy them from the debug box as show below. This will place it into the computers clip board.

5. Hit play once more to get the form back up.

6. Once the form is up hit that Paste button I mentioned on Note #1. You'll see the colors you copied earlier in the white space as show below. Copy the colors and enter them into the NPC Color boxes.

7. Notice my Color Tolerance is set to 8. Lower the better if you can, if the NPC starts to not be detected raise it little by little. Start at 1-2 tolerance and work your way up.

More Color Picking Guide(s):
http://villavu.com/forum/showthread.php?t=41924 by Tickyy
http://villavu.com/forum/showthread.php?t=53 by Sdcit

leechers

2011-11-12 06:39:54

Great guide. How many colours do you suggest we need to create accurate clicking?

YoHoJo

2011-11-12 06:47:52

From: leechers
Great guide. How many colours do you suggest we need to create accurate clicking?


Hoesntly most script now-a-days don't require you to pick any colors at all, they are all autoclored, but a script such as the one used in the example fights ANY monster so it can't really autoclor which is why you must pick colors. As you can see in the images the script only allows you to pick 3 colors, so 3 in this case would be the answer.

bevardis

2011-11-12 09:50:27

It's really nice, it worked for 4 years and now you're updating it again

Narcle

2011-11-12 11:26:41

From: bevardis
It's really nice, it worked for 4 years and now you're updating it again


Aye. With Reflection gone I couldn't resist.

Invalid Gold

2011-11-12 22:13:21

Very good guide.

Cama

2011-12-11 07:41:04

Thanks for the great guide!

sportykolla

2011-12-12 15:26:51

what do you do when this happens

mormonman

2011-12-12 15:53:25

We should build a TColorPicker form component into simba…

Narcle

2011-12-12 16:07:18

From: mormonman
We should build a TColorPicker form component into simba…


No shii. I already requested it like a month or more ago.

attker121

2011-12-13 18:30:07

ok im a noob dont h8, but when i click to choose a color it doesnt go inside the rs window it just stays outside of the client

Kyle Undefined

2011-12-13 22:50:40

It freezes the screen, so you have to have RS visible when you click that icon.

LemonHaze

2011-12-14 10:32:10

great guide! also your fighting script is awesome!

Jacobbb

2011-12-14 12:45:34

Thanks alot!

Erke

2011-12-20 08:54:47

Error: Out Of Range at line 953
The following DTMs were not freed: [SRL - Lamp bitmap, 1]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap]

:<

polska94

2011-12-20 16:41:11

does the bot attack monsters faster with higher colour tolerance?

Gaston7eze

2011-12-21 12:31:46

When i press "Run"It just do nothing.The debug box get cleaned and it just stays tehre,what could i do?

sckwarrior

2011-12-21 20:36:32

Error: Out Of Range at line 953
The following DTMs were not freed: [SRL - Lamp bitmap, 1]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap]

:<
help please..

lotery33

2011-12-26 15:07:20

it keeps clicking the xp counter

YoHoJo

2011-12-26 15:08:51

From: lotery33
it keeps clicking the xp counter


That is a problem with his fighter script, post it in the fighter script thread:
http://villavu.com/forum/showthread.php?t=20110

This thread is only about picking colors.

lotery33

2011-12-28 14:19:45

From: YoHoJo
That is a problem with his fighter script, post it in the fighter script thread:
http://villavu.com/forum/showthread.php?t=20110

This thread is only about picking colors.


yeah my bad :redface:

Failedpure

2011-12-29 10:33:34

From: polska94
does the bot attack monsters faster with higher colour tolerance?

No it actually is the opposite. The higher the tolerance the more things it will click on. The lower the tolerance less things will be clicked. The lower the tolerance the better but you need some tolerance because some monsters have different colors and you want to include them all in your color choices.

meskafonas

2011-12-30 07:12:51

Help me, i just today started this bot and i dont know how to fix this error. Failed to press on npc, mouse cursor is moving but dont press left button then target is under cursor.

meskafonas

2011-12-30 07:44:57

Help me, i just today started this bot and i dont know how to fix this error. Failed to press on npc, mouse cursor is moving but dont press left button then target is under cursor.

TheNutKicker

2011-12-30 09:19:57

Best Guide for Newbies but what does STAT SRL mean and what about attacking style.

begginer

2012-01-01 12:06:30

:spongebob:
This works perfectly for me. Idk why others have problem with those

joeydm

2012-01-06 07:29:07

First of all, Nice programm, but im having a bit of a problem.
In the beginning it worked for me (after I exactly followed your guide.)
But I didnt save it. Dont ask me why.
And now it keeps saying

[WARNING] has no NPC name given to attack.
[ERROR] has no colors entered.
[HELP] If you don't know how to get colors please read this tutorial:
[HELP] http://villavu.com/forum/showthread.php?t=67793

While I actually did put in a npc name and put in 3 different colors of 1 npc.

Any Help?

dane9999

2012-01-06 12:48:17

it wont let me click on the colour button? what do i have to do?

nugnug

2012-01-16 22:06:06

I'm running Mac OS X Lion. When I click the eye dropper for the color-picker the entire screen is filled with black, meaning that the only color I can choose is also black.

Is there an alternative method of acquiring the color code? Could I use an external color picker to find the color and some how convert the code to something simba can use?

Thanks.

tommyashcroft

2012-01-27 16:57:42

Does anyone have the colours for Moss Giants?? When I click on the colour picker it wont let me use it on the in-game screen, only the simba window. Cheers

tommyashcroft

2012-01-27 18:45:11

From: Kyle Undefined
It freezes the screen, so you have to have RS visible when you click that icon.


How do you get RS visible? Since my Simba screen will not minimize at all (arrows in corner do not appear either)

Brandon

2012-01-27 18:53:00

From: tommyashcroft
How do you get RS visible? Since my Simba screen will not minimize at all (arrows in corner do not appear either)


Press Ctrl + B in the simba window.. it'll resize.. Move it so that the rs screen is visible… choose your colours.

tommyashcroft

2012-01-28 08:14:27

From: ggzz
Press Ctrl + B in the simba window.. it'll resize.. Move it so that the rs screen is visible… choose your colours.


Thanks a lot, much appreciated~

BaYBeeZ

2012-01-31 03:43:01

Thanks for the help explaining colors. This guide helped me set up your combat script and find the goblins with three different colors. :)

Pl4nK

2012-02-05 20:19:37

Greatly appriciated scripters!!

Proggies up soooon

Irl

2012-02-06 22:58:53

Narcle you truly are a life saver, i cant explain how many of your programs and/or guides helped me out, thanks

q3ick

2012-02-08 22:47:39

[WARNING] has no NPC name given to attack.
[ERROR] has no colors entered.
[HELP] If you don't know how to get colors please read this tutorial:
[HELP] http://villavu.com/forum/showthread.php?t=67793

Name and colours were given, what am i doing wrong?

Ragged

2012-02-14 03:53:11

how do you get it to eat food?

Le Jingle

2012-02-14 07:40:05

Just tried this beginners tutorial out, I was happy to see I can program to an extent :3

Will attempt the "Tutorial for Intermediates" thread out soon! :-D

Joe

2012-02-16 21:46:36

I can't get the proper colors for a chicken, can somebody help me with this?

zeslicer1

2012-02-18 10:29:02


Mines all working fine, but can u make the bot loot the target somehow?

zeslicer1

2012-02-18 10:32:09

ROFL also my bot keep attacking the milking cows in lummy, it gets stuck for about 10minutes then a killable cow walks past and he locks onto that.
>.< i couldn't stop laughing when i saw it

Tisa

2012-02-21 21:57:01

I have noticed most replies are about help.

I have ran this bot and it is running great killing goblins for me thanks!

Zackeri

2012-02-24 06:20:29

Thanks, going to be hitting to 99's this month!

peeweewoen

2012-04-04 14:39:50

if you can't get the color picker to the rs screen, make sure your SIMBA is is not maximized, it is just a window you can move around.

pokey818

2012-05-05 16:54:13

can i use it in a private server?

Cardell

2012-05-06 11:31:39

Another good way would be to SS the mob with printscreen and pic the colour from it on paint.

yoyo00

2012-05-10 11:29:58

man it just point on the monster and it did not clivk on it

yoyo00

2012-05-10 11:36:36

please help

Lawrence281

2012-05-15 02:58:59

Hey this script pops up that box, i then close it and click the colour picker, but then when i put my cursor over the chaos druid, it does not show anything
any help please or team view

Jay_0x

2012-05-29 19:35:23

I just started using Simba, like literally 30 minutes ago. I'm using this script at the minute.. I'm going to leave it going for about 6 hours, I'll check back in the morning.

Getting 30k exp/hour at the minute.

Syntax

2012-05-31 18:42:37

To get more accurate colours and see where that colour affects you can use ACA although not actually made for this does work good i find.

Leg1tt

2012-06-07 00:16:21

I cant pick the color? everytime i click the colorpicker SMART minimizes How do I fix this?

slayer720

2012-07-08 16:05:06

thanks for the guide !!!!!!!!!!!!!!

mercman

2012-09-17 19:54:20

have had no problem acquiring the form data but when I run the auto fighter it only kills 1 flesh crawler then spends the rest of the time clicking on the ground in the SS. I find that funny bc each color I select is majorly made up of brownish green (for the stripes on the flesh crawlers) and the floor in the SS on that level is beige. Tried with high and low npc color tolerances, same shit. Any ideas?

night fox6928

2012-11-13 01:33:20

posted wrong at first lol. i see nothing, no pics link nothing.