English CS2D 0.1.2.0 Bugs report

250 replies
Goto Page
To the start Previous 1 2 ... 12 13 Next To the start
11.07.12 08:27:54 pm
Up
EngiN33R
Moderator
Offline Off
cs2d lua cmd addhook fails in some cases. I'll write in code:

Code:
1
2
3
4
5
6
7
8
tbl={}
tbl[1]=function() print("test") end
addhook("second","tbl[1]") --causes 'attempt to call a nil value'

tbl={}
tbl[1]={}
tbl[1].test=function() print("test") end
addhook("second","tbl[1].test") --crashes CS2D without warning or error
I code, therefore I exist.
11.07.12 08:32:43 pm
Up
Flacko
User
Offline Off
Lua addhook doesn't work with number keys:
Code:
1
2
3
x = {}
x[1] = function() msg("a") end
addhook("second","x[1]") --> attempt to call nil value


Edit: Too late
11.07.12 08:49:47 pm
Up
Apache uwu
User
Offline Off
Ah I remember posting about this and you were the next replier.

Also a good workaround is file cs2d Anonymous functions (1).
25.07.12 09:29:55 pm
Up
Zurak
User
Offline Off
So is the clientside angledif spam on tween_move with rotation going to affect server lag?

edit : also the room entity cant be triggered. and mode # 3 for images in lua does not work, tween move with image mode set as Mode 133-164 bugged(tween_rotates instead of moving).
edited 3×, last 31.07.12 05:03:04 am
19.09.12 01:20:55 am
Up
Powermonger
User
Offline Off
I'm not sure is this a bug or not, but I'm going to report it:

Here's my script:

Code:
1
2
3
4
5
6
7
8
9
addhook("reload","load")
function load(id,mode)
local wp = player(id,"weapontype")
if mode == 1 then
     if wp == 33 then
          msg("Reloading Your Aug!")
     end
end
end


When player reloads Aug, it should show message "Reloading Your Aug!", but it wont.
I tried other ways to show the message, but still nothing.

All other weapons work nicely, except Aug
19.09.12 07:13:05 am
Up
hobo man445
User
Offline Off
if you die with flashlight on you respawn with it on
19.09.12 06:32:24 pm
Up
palomino
User
Offline Off
Don't have time to check whether this was reported or not, but sometimes on happy town and other servers like that building a Supply makes it spawn armor and molotov without being upgraded.
zugcxdxtczgvhioj
19.09.12 06:33:42 pm
Up
Suprise
BANNED
Offline Off
user palomino has written:
Don't have time to check whether this was reported or not, but sometimes on happy town and other servers like that building a Supply makes it spawn armor and molotov without being upgraded.


You dude, meet with a hacker. Sad.
19.09.12 06:34:45 pm
Up
oxytamine
User
Offline Off
@user palomino:
Supply hack. Basically, faking some offsets, I suppose.
19.09.12 08:42:33 pm
Up
palomino
User
Offline Off
@user Suprise: @user oxytamine: Weird, as he actually called for me and told me to check this supply bug. I was GM and everybody knew that.
zugcxdxtczgvhioj
19.09.12 08:42:51 pm
Up
DC
Admin
Offline Off
Use thread cs2d CS2D Bug Reports for all future bug reports please.
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
To the start Previous 1 2 ... 12 13 Next To the start