English Ideas & bugs for CS2D website (NOT THE GAME!)

27 replies
Goto Page
To the start Previous 1 2 Next To the start
07.07.17 12:06:09 am
Up
Ortimh
User
Offline Off
Why io.enumdir and another I/O command don't exist? Also need more information on cs2d lua cmd player's "process" return values.
I'm awesome ... and I really cookies
07.07.17 09:23:20 am
Up
DC
Admin
Offline Off
@user Ortimh: Missing Lua IO commands are not a website related thing. Or are you saying that the documentation for those is missing? I only documented the custom CS2D Lua API on the website.

I added the process values to cs2d lua cmd player.
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
07.07.17 09:39:59 am
Up
Ortimh
User
Offline Off
@user DC: Not Lua I/O commands. Those are CS2D's own I/O commands that are added on version 1.0.0.3? Or 1.0.0.2? Where the mods feature is added?

EDIT:
Quote:
ADDED Lua functions io.enumdir (iterate over all files in a given directory) and io.isdir (check if a given path points to a directory)
I'm awesome ... and I really cookies
07.07.17 07:13:33 pm
Up
Starkkz
Moderator
Offline Off
@user DC: user EngiN33R added that Lua function under the 'io' global table.
lol
15.07.17 01:27:59 am
Up
Yates
Reviewer
Offline Off
cs2d lua cmd randomentity has written:
Sample 1: Find a random terrorist spawnpoint (entity type 1)

Entity type (or ID) 1 is actually a CT spawn, 0 is a T spawn.
15.07.17 10:35:22 am
Up
gotya2
GAME BANNED
Offline Off
it's not documented that the "timer" function has a minimum resolution of 20 ms.
15.07.17 02:10:07 pm
Up
Masea
Super User
Offline Off
@user gotya2: You can't just distinguish under 20ms because we got maximumly 50FPS. And it doesn't mean we'll be not over that, as we will get 60FPS in the new update soon. So it shouldn't be documented.
15.07.17 02:21:02 pm
Up
DC
Admin
Offline Off
@user Yates: Fixed.
@user gotya2: I added a note to cs2d lua cmd timer so people are aware.
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
To the start Previous 1 2 Next To the start