logo logo

 Back to main page

The NWNX Community Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Remote console

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Linux technical support
View previous topic :: View next topic  
Author Message
Ravine



Joined: 26 Jul 2006
Posts: 105

PostPosted: Sun Nov 06, 2011 13:19    Post subject: Remote console Reply with quote

Hello!

I should have asked this about 5 years ago, but it's better late than never: what do you use to control the server from outside (linux)?

I'm currently using a php script, which feeds the screen-session to 'say' things to the console, which handled by the nwnx-chat to communicate the server and players. This isn't bad, except when no player in the server (in that case, 'saying' to the console is useless).
My other 'fear' is about this topic:
http://www.nwnx.org/phpBB2/viewtopic.php?t=1716
Probably(?) this cause the hangs on my server (CPU at 99%) about once or two times a week, which freaks me out. So i want to 'quiet' the nwnconsole, which breaks the communication from outside.
I used to used the sql to receive commands (and probably i'm gonna do that again if there is no better idea), but in that case i had to scan the sql for new commands in every second at least. From nwscript, that's not so nice.
A 'reversed' mnx plugin would be nice, which receives data...or something.

Any idea?
thx
Back to top
View user's profile Send private message
Ravine



Joined: 26 Jul 2006
Posts: 105

PostPosted: Tue Nov 08, 2011 13:13    Post subject: Reply with quote

I ended up solving it with nwnx_system's FileRead and FileDelete. I hope it's faster than calling mysql in every 0.5 sec.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Linux technical support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group