Log in

View Full Version : Reflection vs Colors?



Ouivile
07-26-2009, 02:59 PM
ok so i obviously read up a little as i usually do before asking stuff.

apprently reflection is more precise....and is easier too learn...

but im gonna need a list of pros and cons.

anyone who can tell me the benefiets and drawbacks of learning reflection over regualr color? now the lack of knowldge that simplifies reflection is not a con so dont even think about it lol. im fine with knowing just one. and it would seem reflection is easier and more accurate. is there anything i should know about?!?!?! also its unstable as the game gets updated and them numbers change?

Bonfield
07-26-2009, 03:11 PM
imo you should learn hot to use colour first then reflection, and there are plenty of discussions about colour vs reflection pointing out the pros/cons of it all

ian.
07-26-2009, 03:30 PM
Talk to Ice. ;) He has a good opinion with a lot of valid points about Reflection/color, and he's a really smart guy.

Lance
07-26-2009, 04:25 PM
I learned color first and im very glad i did. Reflection is only realy useful imo for object/npc finding and pathwalking. though those are very big parts of scripting, theres alot of things you realy should know that is pure color.

imo, learn colors first. you will be glad you did because you will be able to solve problems easyer, im pretty sure color is alot more flexable than reflection.

learn stuff like DTM's, Autocoloring, bitmaps, TPA's and once you know all that you could move onto reflection

Method
07-27-2009, 12:33 AM
Here's a few pros and cons I can think of.

Pros:
Your script will be as accurate as it could ever be.
Finding objects, Npcs, players, etc. will be very simple and efficient.
Walking is very easy.

Cons:
Your script will be outdated for a few hours every time the client build changes (normally every major update).
You won't be accepted to SRL Members unless you eliminate reflection from your script and use color instead.
Many people in the community seem to look down on people who use reflection, so be prepared for these types of responses if you ask for help.

Feroc1ty
07-27-2009, 01:42 AM
Here's a few pros and cons I can think of.

Pros:
Your script will be as accurate as it could ever be.
Finding objects, Npcs, players, etc. will be very simple and efficient.
Walking is very easy.

Cons:
Your script will be outdated for a few hours every time the client build changes (normally every major update).
You won't be accepted to SRL Members unless you eliminate reflection from your script and use color instead.
Many people in the community seem to look down on people who use reflection, so be prepared for these types of responses if you ask for help.

They're mostly jealous cause their script isn't as accurate and efficient as yours, so they try to blame it on the reflection.

But you shouldn't try to focus on a single one, you'll need both color and reflection for a good script.

Smarter Child
07-27-2009, 02:25 AM
No learn color first, Feroc1ty: They're not jealous, advanced color scripters can do a better job with color than a reflection script at times. Reflection is usually good for larger, broad scripts. Its more for those scripts that can be unbelievably hard with color. I say learn color, use color, one you've mastered Bitmaps/DTMs/TPointArrays/AC/maybe hsl/. Then use reflection if you want, although you may fall in love with reflection ;).

P.S. i did.

bugger0001
07-27-2009, 02:29 AM
As Lance already told: learn color first as it's what SRL's all about. After you've mastered color try reflection. People can say that color isn't as accurate as reflection, but IMHO it's more accurate than one would need for a RS script. Therefore, my choice was and still is color. I suggest you the same ;)

marpis
07-27-2009, 02:53 AM
As Lance already told: learn color first as it's what SRL's all about. After you've mastered color try reflection. People can say that color isn't as accurate as reflection, but IMHO it's more accurate than one would need for a RS script. Therefore, my choice was and still is color. I suggest you the same ;)

Try accurate walking from Varrock to Falador with color. With reflection, it can be done in like 50 lines, with color it takes 1000+

Start with color, then if you want to make a script that seems too complicated to be done with colors, use reflection instead.

Home
07-27-2009, 03:10 AM
I have couple words.. Not This Thread Again! :P

~Home

P.S Both are good (:

ZaSz
07-27-2009, 03:36 AM
I made it in with mostly reflection. And color failsafes.

P1nky
07-27-2009, 04:03 AM
both are good :)
depends on the scripter for color.

Macro_FTW
07-27-2009, 04:18 AM
Reflection pros:
- Easier to make
- Somewhat more efficient

Cons:
- Won't get you SRL membership
- Pure reflection breaks on every update for a few hours
- Some (including me) in this community look down on pure reflection scripts. Some even look down on using reflection at all.

[[Notice that all of the cons were 'pure reflection'.]]

A hybrid script (Reflection with color backups) is difficult to make, but can survive and get running as soon as an update is finished. In addition, people tend to like hybrids more than pure reflection.

Not to mention hybrids are more difficult to make, which puts an element of fun back in scripting. :P

Ouivile
07-27-2009, 09:05 AM
haha you guys are saying like reflection is this cheap way of doing things. with the gaming experience ive acquired (which is i think undoubtably more than most of you - in games that require pure skill instinct and etc such as fps) i know these little hater tactics.

no offence but its almost as if i can hear

"only noobs use auto snyper, it takes skill to use bolt action" or somthing similar.

well the fact is, you just suck. you have the exact same chance to pick what gun you want, and obviously your gun choice is poor. [ok fyi this isnt the same as picking a rocket launcher and a melee weapon...]
the point is, it takes just as much skill to aim and fire the gun, bolt action has its advatages as in most games its a single shot kill, yet takes time to realod, auto or semi auto snipers take 2 or more shots (unless headshot) yet have a faster firing rate.

just an analogy, but you get the idea.

ok well i kind of know the basics-intermediate in colors...do you guys think thats enough to go to reflection?just to be a bit more specific this is what im fine with:

color finding
dtms\bmps
basic movement and the math behind it etc.

what i know i dont know:
tpa - tpoint arrays...i believe this is just a list of coordinates but didnt get into it yet.
ac (wth is that?)
hsl (nooo clue?)

Wanted
07-27-2009, 10:11 AM
I have a feeling reflection is going to die again someday for more than a few hours at a time like it did when solar was the boss.

"Yeah guys it's getting fixed"

*6 months later*

"Yea guys it was never broken*

Solar what the hell?

*Bans Ice from KYAB*

:D

Hyrbid or color is the way to go for professionals (unless you're really really smart about how you use reflection), reflection is the easy way for people who want personal use(quick scripts), color if you're trying to get into members. The other posts explain the pros and cons, just thought I'd add my 2 cents. :p

Ouivile
07-27-2009, 12:13 PM
since the object list gets updated.... that means we need it which means some1 gets it...

how? shouldnt it either be simple or imposible? also how does scar know how to allocate the numbers onto the ms as objects when its a 3d environment ift he camera changes?

apprently ice, ur the guy to talk to?

ian.
07-27-2009, 12:17 PM
If you want to know how Reflection works, Method knows just about everything about it. :) If you want to know which form of scripting to use, talk to Ice.

JPHamlett
07-27-2009, 01:08 PM
i personally use ref for my private scripts that i dont wanna pend alot of time on and color for my public scripts

Wanted
07-28-2009, 12:40 AM
since the object list gets updated.... that means we need it which means some1 gets it...

how? shouldnt it either be simple or imposible? also how does scar know how to allocate the numbers onto the ms as objects when its a 3d environment ift he camera changes?

apprently ice, ur the guy to talk to?

Method's got an updater, you should really just look at the reflection tutorials in the tutorial section. I don't have much experience with the new hooks... back when I learned reflection all there was was animation, walking, and types/uids.

Probably should talk to someone who is more fluent with the newer reflection, widget, method, a lot of other people I can't think of their names right now and I'm in a hurry to leave.

Method
07-28-2009, 12:59 AM
There was quite a bit in the game engine, even back a while ago. Perhaps solarwind just didn't have many fields hooked back then.