Jump to content

Element bugs


Phat Looser

Recommended Posts

Try it yourself:

When you create an object server side and store it in a list, like

elementlist[k]=createObject(...)

traffic light or green goo, maybe,

and you do

removeObject(elementlist[k]) --k is the same k as above, its an integer value used as an handler

the object isn't removed, but it is afterwards, when you give the elementlist[k] another value, like

elementlist[k]=0.

Maybe I was too stupid, but this happened to me in three different scripts, I started them all from scratch, all of them pretty different, so, its a weird thing.

Also, when this bug happens, another bug happens when you use the list: the script does NOT create an element on "createObject" (especially when the map is filled with objects, like in my AI script). But that second bug doesn't appear too often, and it also might be a bug in my scripts, but since it was quite annoying...

All scripts server side.

Link to comment

i experienced this problem too i think it has to do with testing scripts on a localhost server... Sometimes objects/elements just stay visible ingame though you clearly removed them in a function that worked 2 times correctly before and these objects don't exist in the script/element tree anymore.

Link to comment

This is confirmed by me as well. Sometimes object created with createObject do not show for some players even though others can clearly see them. After reconnecting the invisible object become visible to the player who didn't see them the first time. Also removing objects is buggy at times (old object still showing after I destroyed them).

Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...