Forum

> > CS2D > General > Only 1 Lua in "server.lua" working?
Forums overviewCS2D overviewGeneral overviewLog in to reply

English Only 1 Lua in "server.lua" working?

6 replies
To the start Previous 1 Next To the start

old Re: Only 1 Lua in "server.lua" working?

DC
Admin Off Offline

Quote
• watch the hooks. activating different scripts which are using the same hooks can lead to problems/malfunction

• did you restart the server / change the map after changing the server.lua file? if not: do it!

• check your console for errors/info

old Re: Only 1 Lua in "server.lua" working?

Vibhor
User Off Offline

Quote
i got it
you see the other two things are in sample folder too
you did the wrong directory
do it like this
dofile ("sys/lua/samples/[enternamehere].lua")

old I tried doing that..

Dazh-0
COMMUNITY BANNED Off Offline

Quote
I tried doing that but nothing working. LUA is a bit confusing for me. Could someone make a sample lua or example tutorial?

old important Re: Only 1 Lua in "server.lua" working?

DC
Admin Off Offline

Quote
off-topic: why are you now using another account. why do you even have multiple accounts. that's a rule violation and it will lead to a ban of all your accounts.

and yes, the samples folder is missing in the path. I didn't notice that. why the hell did you edit the file that much? everything is okay in its original state. you just have to remove the comments (--) in the dofile lines...

old Re: Only 1 Lua in "server.lua" working?

fuzone
COMMUNITY BANNED Off Offline

Quote
No,I put it out of the samples file,because I thought maybe putting it in the samples file was wrong or something.
And no,I don't have multiple accounts.
EDIT:The koswelcome.lua is also not working,and IS in the samples folder.

old Re: Only 1 Lua in "server.lua" working?

DC
Admin Off Offline

Quote
you answered with the Dazh-0 account as if it were you (fuzone). moreover the IP of both accounts (fuzone and Dazh-0) is always 220.255.7.* + there are posts from both using the same IP + both accounts were registered in december 2008.

banned and closed. please don't register again.
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview