Question about ddnet-server commands
- BannZay
- Posts: 837
- Joined: Mon May 04, 2015 12:26 am
- Location: Ukraine
- Player profile: http://ddnet.org/players/BannZay
- Mapper profile: http://ddnet.tw/mappers/BannZay/
Question about ddnet-server commands
Is possible execute server command somehow else(not through client) after starting ddnet-server?
- hi_leute_gll
- Posts: 2525
- Joined: Mon Jul 21, 2014 1:15 am
- Player profile: http://ddnet.org/players/hi-95-leute-95-gll/
- Mapper profile: http://ddnet.tw/mappers/hi-95-leute-95-gll/
- Clan: iMTG
Re: Question about ddnet-server commands
I guess you can put also other cmds in the autoexec, but dunno what you want to do.^^
.hi._.leute._.gll. | iMTGmember
- BannZay
- Posts: 837
- Joined: Mon May 04, 2015 12:26 am
- Location: Ukraine
- Player profile: http://ddnet.org/players/BannZay
- Mapper profile: http://ddnet.tw/mappers/BannZay/
Re: Question about ddnet-server commands
Mb I have crazy stupid idea, but want to ask is very hard simulate client connection ? Where I can learn it?
@leutte, want to execute on server commands(like change_map,shutdown, etc) through my program.
@leutte, want to execute on server commands(like change_map,shutdown, etc) through my program.
- babak2010
- Posts: 101
- Joined: Sun Jan 18, 2015 8:06 pm
- Location: IR
- Player profile: http://ddnet.org/players/GoJE-32-GrEEN-32--33-/
- Mapper profile: http://ddnet.tw/mappers/GoJE-32-GrEEN-32--33-/
Re: Question about ddnet-server commands
im not sure what do you want to do , can you explain it more (with some example mb) ?BannZay wrote:Mb I have crazy stupid idea, but want to ask is very hard simulate client connection ? Where I can learn it?
@leutte, want to execute on server commands(like change_map,shutdown, etc) through my program.
Click Me : Happy Halloween <3
- BannZay
- Posts: 837
- Joined: Mon May 04, 2015 12:26 am
- Location: Ukraine
- Player profile: http://ddnet.org/players/BannZay
- Mapper profile: http://ddnet.tw/mappers/BannZay/
Re: Question about ddnet-server commands
Ehm... want to code program, through which you can manage/monitor the server without running teeworlds client. Its like, ehm, hlds.exe (you know counter-strike 1.6 server program). Sry idk how to explain better
- babak2010
- Posts: 101
- Joined: Sun Jan 18, 2015 8:06 pm
- Location: IR
- Player profile: http://ddnet.org/players/GoJE-32-GrEEN-32--33-/
- Mapper profile: http://ddnet.tw/mappers/GoJE-32-GrEEN-32--33-/
Re: Question about ddnet-server commands
maybe this help you : https://www.teeworlds.com/forum/viewtopic.php?id=10827BannZay wrote:Ehm... want to code program, through which you can manage/monitor the server without running teeworlds client. Its like, ehm, hlds.exe (you know counter-strike 1.6 server program). Sry idk how to explain better
Click Me : Happy Halloween <3
Re: Question about ddnet-server commands
there is an option to use a ->fifo file where you may input anything. (it's working on file base)
fifo: Google that
fifo: Google that
- BannZay
- Posts: 837
- Joined: Mon May 04, 2015 12:26 am
- Location: Ukraine
- Player profile: http://ddnet.org/players/BannZay
- Mapper profile: http://ddnet.tw/mappers/BannZay/
Re: Question about ddnet-server commands
@babak2010, oh same already, exists. Thx, this is should help
@Schwertspize, thx for probably true way =)
@Schwertspize, thx for probably true way =)
Re: Question about ddnet-server commands
yeah... I'm currently using this feature to restart server at updates. I mean, git hook executes the compiling, then symlinking the binary and restarting the server through sending sv_shutdown_when_empty 1 (which stops the server as soon as Noone is playing, then it gets restarted by supervise)
only problem is, there is no output fifo, where we could get feedback. please add that, devs
/close
only problem is, there is no output fifo, where we could get feedback. please add that, devs
/close
- Soreu
- Posts: 1371
- Joined: Fri Aug 22, 2014 2:47 pm
- Location: Poland
- Player profile: http://ddnet.org/players/Soreu
- Mapper profile: http://ddnet.tw/mappers/Soreu
- Clan: GSP
Re: Question about ddnet-server commands
Well, I'm too noobish for fifo and atm not going to get familiar with it, so I'm just using batch file combined with telnet to create simple econ - to see server log I'm just using the original server prompt that opens automatically by default
//I'm using windows XP, but on other windows versions it should work too
//I'm using windows XP, but on other windows versions it should work too
„Vince te ipsum” :3 | GSP Founder Honorary iMTGmember Graphic-guy | Website & Forum Team Leader (Ex) [ToP] Leader (Dead) Last truly active: Sun Aug 28, 2016 11:13 pm - having great DDNet in both memory and heart
Who is online
Users browsing this forum: No registered users and 0 guests