Forum

> > CS2D > Scripts > linux
Forums overviewCS2D overview Scripts overviewLog in to reply

English linux

8 replies
To the start Previous 1 Next To the start

old linux

haha1955
User Off Offline

Quote
i have a dedicated server, its linux

so my friend created a new admin script but its dont work on linux, for windows its working why??? whats the problem???

and my other friend have edit the hc admin script and have this errors idk fix it:

Error: sys/lua/hc/data/config/129720.hcc: No such file or directory
Error: sys/lua/hc/data/stats/129720.hcs: No such file or directory
Error: Undefined function 'hc.moderation.team_hook'!
Read 3 entries from sys/lua/hc/data/config/181862.hcc.
Error: sys/lua/hc/data/stats/181862.hcs: No such file or directory
LUA ERROR: sys/lua/hc/core/user.lua:160: attempt to index field 'name' (a nil value)
-> sys/lua/hc/core/user.lua:160: in function 'get_users'
-> sys/lua/hc/core/user.lua:361: in function 'func'
-> sys/lua/hc/core/commands.lua:136: in function 'menu_command'
-> sys/lua/hc/core/main.lua:433: in function <sys/lua/hc/core/main.lua:419>
-> in Lua hook 'menu', params: 2, 'Administrate', 6
Read 5 entries from sys/lua/hc/data/config/users.hcu.

old Re: linux

Jaller94
User Off Offline

Quote
It does not look like this error comes from using Linux.
Without the lua script there is little someone else can help you.
Can you share the script on the forum? Otherwise, you may want a CS2D lua programmer of your trust to have a look at it.
This should be fixable without switching to a Windows server.

Also, please consider choosing a better thread title like "My lua script does not work on a Linux server" to attract the right people to the thread.

old Re: linux

haha1955
User Off Offline

Quote
@user Jaller94: im really thanks for answer, but i have the bug fixed.

im use shift in server lua, but server lua dont read the words with shift.. idk why^^

a other quest can you help me to stop a crash server?

a guy namens caki used bug to crash my server idk stop that?

old Re: linux

Mami Tomoe
User Off Offline

Quote
I'm assuming he is using DoS to crash your server, there's nothing you can do about it.

Currently he is the only known server crasher around these days.

Gotta be a real asshole to crash servers in a game with 30 average (online) players.

old Re: linux

Mami Tomoe
User Off Offline

Quote
Hyping it wont do much, just wait until he gets bored, they always get bored.

old Re: linux

VADemon
User Off Offline

Quote
Windows is the only OS that doesn't care about cASe-SenSItIvitY.

On Linux and Mac server.lua and server.LUA are two different files.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview