[BUG] Sphere interprets color weirdly

Started by EK.IceFlake, Dec 02, 2016, 05:27 AM

Previous topic - Next topic

EK.IceFlake

Description
When I make a sphere, the color parameter behaves very weirdly

Reproducible
Always

What you were doing when the bug happened
Trying to make a sphere
They make different colors each time the sphere is created on top of another spheres position, and when standalone, they create some weird color that is not the color you tell them to make
Also, sphere.Color shows the color that the sphere is behaving like
I make this sphere when I am in the server (so not on onscriptload)

What you think caused the bug
A single line of code f*ing things up

vito


EK.IceFlake


Thijn


EK.IceFlake

        ECP = ::CreateCheckpoint(null, 39999 + ID, true, ::Vector(EPos[0].tofloat(), EPos[1].tofloat(), EPos[2].tofloat()), ::RGB(0, 192, 192), 1.5);

Xmair


Credits to Boystang!

VU Full Member | VCDC 6 Coordinator & Scripter | EG A/D Contributor | Developer of VCCNR | Developer of KTB | Ex-Scripter of EAD

EK.IceFlake


Anik

At least some reported about it. Also happened with me. The colours of the spheres are not always same as we are trying to make it. Its a bug.

DizzasTeR

This is confirmed. If you make spheres, sometimes they are not the color you have created them with.

EK.IceFlake

Quote from: Doom_Kill3R on Dec 02, 2016, 11:03 AMThis is confirmed. If you make spheres, sometimes they are not the color you have created them with.
All the time for me

Drake


EK.IceFlake

Quote from: Drake on Dec 03, 2016, 03:37 AMtry ARGB
Works, thanks ;)

This bug should still be fixed so as to not confuse new scripters

vito


KAKAN

oh no

Mötley

#14
Was it in the right output for alpha anyway?