Forum

> > CS2D > Scripts > Lua request
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Lua request

10 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Lua request

DiC
User Off Offline

Zitieren
Hi us,
i need an script like if my dedicated server will crash can any lua restart that?

sorry for my bad english...

alt Re: Lua request

DiC
User Off Offline

Zitieren
hmm ok it is possible with an programm or so else

alt Re: Lua request

Rainoth
Moderator Off Offline

Zitieren
Yes it is. You could actually find similar stuff/threads/posts about this if you used a magic tool called "Search".

alt Re: Lua request

Avo
User Off Offline

Zitieren
Lua script? I don't remember any way to do it with lua only.

alt Re: Lua request

Starkkz
Moderator Off Offline

Zitieren
As far as I know, if your server crashes then Lua crashes too.

alt Re: Lua request

_Yank
User Off Offline

Zitieren
@user Avo, @user Starkkz: user Rainoth replied to
user DiC hat geschrieben
hmm ok it is possible with an programm or so else


Anyway, I could say that it could be done with lua using os.execute and a bash script

alt Re: Lua request

Avo
User Off Offline

Zitieren
@user sheeL: @file: It's a window app, nah.

I believe that oxy had something to restart a server. Ask him.

alt Re: Lua request

MikuAuahDark
User Off Offline

Zitieren
I think, in windows, you can start your server with this(i am not familiar with MS-DOS syntax)
1
2
3
:myloop
cs2d_dedicated.exe
goto myloop

alt Re: Lua request

Avo
User Off Offline

Zitieren
Yeah, it will work for Windows but most servers run on Linux.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht