CS2D Bug Reports
1,993 replies @
Cebra: Did you check if it's also triggered when the person triggering it (e.g. by throwing a grenade) is NOT the server or a bot?

@
DC: yes, it is just triggered for the "fire in the hole" if you are the server, but e.g. the "teammate down" message, also an automated message?, triggers the hook

loading...
spawnnpc 1 -54 -56
Shows the error
ERROR: spawnobject - wrong tile properties!
It should say
ERROR: spawnnpc...
instead. It's hard being the best girl in the whole entire world
@
Mami Tomoe: It isn't the bug, it's due to the netting of classes with extends maybe. Like "object" is everything can be seen and spawned on map, and "npc" extends the "object"

Still, I had that error a couple hours ago and had to search through all my code to know where the error came from, only to later realize I don't even use
spawnobject
. It's hard being the best girl in the whole entire world
@
Mami Tomoe: Like
Devil-Thanh said this is because NPCs are "objects" in CS2D.
spawnnpc is basically just a shortcut for
spawnobject
The documentation even says that.
I understand however that the error can be quite misleading. Can fix it and will do so




The documentation even says that.
I understand however that the error can be quite misleading. Can fix it and will do so

01.05.19 08:52:52 pm
If you put the night on the server, then after a while, some players hang and fly out of the server! Please fix it, I want to use the night on my rp server. sv_daylighttime 60

S.T.A.L.K.E.R. RP - https://discord.gg/wQUEKSB
Code:
1
Physics:destroy()
This doesn't seem to remove the entire platform, rather it seems to just remove it's image? Leaving it's obstacle and wheels behind...
Either this is a bug or I'm missing something.
Would be nice to know ^.
EDIT:
Bots move improperly when physics are enabled! Please fix that!
edited 1×, last 17.05.19 04:23:12 pm
It's hard being the best girl in the whole entire world
@
Mami Tomoe: It removes specific physics object. Vehicle is made of many physics objects, you have to call it for the wheels separately.
This is useful when you want to explode remove a certain part of vehicle for example.

This is useful when you want to explode remove a certain part of vehicle for example.
Unrelated to physics, this doesn't look right with
Related to physics:
Using the sample given, I've changed the return to this:
Then I try to run an
More problems:
It's possible to run/walk on top of barricades and it causes you to die instantly.
Bot's can't move/aim properly.
Walking still makes sounds.
Running doesn't sound the same, it might call the sound more often? Not sure if intended.
Maybe add
debug_ai
set to 1
: https://i.imgur.com/STjJH2m.pngRelated to physics:
Using the sample given, I've changed the return to this:
Code:
1
return { controller, wheelFL, wheelFR, wheelRL, wheelRR, physObject, platform }
Then I try to run an
ipairs
loop through each one of them calling v:destroy()
, the walls remain.More problems:
It's possible to run/walk on top of barricades and it causes you to die instantly.
Bot's can't move/aim properly.
Walking still makes sounds.
Running doesn't sound the same, it might call the sound more often? Not sure if intended.
Maybe add
debug_physics
which will color physic walls/obstacles. edited 1×, last 18.05.19 09:37:58 pm
It's hard being the best girl in the whole entire world
Pretty sure molotov does that too, I thought it was intended (?)
It's hard being the best girl in the whole entire world

Pretty sure molotov does that too, I thought it was intended (?)
Yeah, when you have a script (




Street lights do NOT affect the light engine, IIRC they might've affected the previous version of the light engine.
This should be fixed! Thanks!
This should be fixed! Thanks!

It's hard being the best girl in the whole entire world
@
DC: The game is crashed when using
tween_frame with cs2d_dedicated. Im make sure that i put the right code for the animation but when using
tween_frame with cs2d_dedicated then the game crashed, but
imageframe is fine





Web |
File does not exist (15501) |
File does not exist (15463) |
[JAF] Adventure (19) |
File does not exist (15919)





@
Danilwra &
Joni And Friends both of these issues have already been reported earlier and have been fixed for the upcoming release


