Forum

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

English linux script

7 replies
To the start Previous 1 Next To the start

old linux script

Marcell
Super User Off Offline

Quote
so the script use to when i join server and i exit the lua save the last position into file... but when i rejoin didnt't works

anyway this script works on windows but on linux no..

i give permissions to save folder 777
owner: marci
group: marci


script

Spoiler >

old Re: linux script

Yates
Reviewer Off Offline

Quote
Linux does not function properly when using spawn, join and leave hook.

old Re: linux script

Roni
User Off Offline

Quote
user Yates has written
Linux does not function properly when using spawn, join and leave hook.

actually i never had any problems with these hooks on my linux servers and i even had way more hooks then those 3.

@user Marcell:
do the files exist?
do they get changed?
are the hooks even called?

btw why do you create .lua files instead of .txt files where you save the data? this is way easier.

old Re: linux script

Marcell
Super User Off Offline

Quote
1. of course doesnt exist.. so when someone join the file creates automatically..
2. for me currently no...because the files doenst get writeable access by world i think
3. in console i didnt get any hooks anyway the lua scripts works well.

old Re: linux script

Roni
User Off Offline

Quote
make sure the hooks get called.
then go on and check why the lua script dont creates the files and then you should check if the files get loaded properly.

old Re: linux script

DC
Admin Off Offline

Quote
user Yates has written
Linux does not function properly when using spawn, join and leave hook.

The CS2D code for Linux and Windows is EXACTLY the same (at least when talking about all that Lua stuff). I don't know why you are claiming this but it is definitely not true! All hooks work the same way on all platforms. Maybe you mixed this up with some slight differences between the dedicated and the listen server but those shouldn't exist anymore either.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview