English linux script

7 replies
Goto Page
To the start Previous 1 Next To the start
18.07.12 09:31:11 pm
Up
Marcell
Super User
Offline Off
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 >
18.07.12 09:32:24 pm
Up
Yates
Reviewer
Offline Off
Linux does not function properly when using spawn, join and leave hook.
18.07.12 09:33:15 pm
Up
Marcell
Super User
Offline Off
so any idea to solve this script to be get worked
18.07.12 09:49:39 pm
Up
Roni
User
Offline Off
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.
18.07.12 10:23:24 pm
Up
Marcell
Super User
Offline Off
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.
18.07.12 10:38:32 pm
Up
Roni
User
Offline Off
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.
18.07.12 11:41:08 pm
Up
Marcell
Super User
Offline Off
the files created but its empty
19.07.12 01:56:12 am
Up
DC
Admin
Offline Off
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.
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
To the start Previous 1 Next To the start