Forum

> > CS2D > Scripts > linux script
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch linux script

7 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt linux script

Marcell
Super User Off Offline

Zitieren
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 >

alt Re: linux script

Yates
Reviewer Off Offline

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

alt Re: linux script

Roni
User Off Offline

Zitieren
user Yates hat geschrieben
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.

alt Re: linux script

Marcell
Super User Off Offline

Zitieren
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.

alt Re: linux script

Roni
User Off Offline

Zitieren
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.

alt Re: linux script

DC
Admin Off Offline

Zitieren
user Yates hat geschrieben
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.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht