Forum

> > CS2D > Scripts > the lua script is not work ..
Forums overviewCS2D overview Scripts overviewLog in to reply

English the lua script is not work ..

17 replies
To the start Previous 1 Next To the start

moved the lua script is not work ..

Mohat
User Off Offline

Quote
Every time i download a lua script but not work

I cant run it on my server ..

what i will do ..

Please answer me with a picture ..
edited 1×, last 27.07.11 08:30:28 am

Admin/mod comment

talking about scripts? goes into the scripting section! moved!

old Re: the lua script is not work ..

Apache uwu
User Off Offline

Quote
The scripts are conflicting. May I see a sample of both the scripts and how you managed to 'merge' them?

Unlimited build is basically parse, unless you mean fast build as well.

Jail mod should be with useless taze weapons etc.

Show your code in [code][/code].

old Re: the lua script is not work ..

Homam
User Off Offline

Quote
The Stupid Title has written
the lua script is not work ..


Which lua script? The lua script should be in the description.

And I bet Dc will change the title.

Edit: Fail, Dc didn't change the title.
edited 1×, last 27.07.11 10:08:20 am

old Re: the lua script is not work ..

Cure Pikachu
User Off Offline

Quote
Let me guess, you have no idea how to apply a script into your server, no?
Really, I don't understand what is your problem. So judging from the word "download", I got this idea.

old Re: the lua script is not work ..

EngiN33R
Moderator Off Offline

Quote
You open server.lua in your sys/lua directory, write in the following
1
dofile("sys/lua/$NAMEOFYOURSCRIPT$")
Where $NAMEOFYOURSCRIPT$ is the name of your Lua file (e.g. "citylife.lua" or something).

Then what you do is you launch CS2D, under New Game > More Settings you find the variable mp_luaserver, and if it's different from "server.lua" then you change it to "server.lua".

Then you launch the server and it should work. If it still doesn't work, have a look at the console - maybe there's a script error.

old Re: the lua script is not work ..

kkkkkkk
User Off Offline

Quote
when you download any lua script you must remplace sys/lua/server.lua with it if theys many files past all in one folder in the same folder (sys\lua) then write that code in server.lua
1
dofile("sys/lua/foldername/luafilename")
1 code for 1 file as how much you have
if you don't understand send me PM and i learn you i'm GooD teacher
edited 1×, last 27.07.11 02:56:08 pm

old Re: the lua script is not work ..

Apache uwu
User Off Offline

Quote
Wow man don't edit your topic, it made my post look offtopic.

Create a new one.

Anyways your new question is still very vague. -.-''

Just open server.lua located in 'sys/lua/', as long as you didn't mess with settings CS2D should automatically have that for mp_luaserver.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview