rcon2irc questions

Developer discussion of experimental fixes, changes, and improvements.

Moderators: Nexuiz Moderators, Moderators

rcon2irc questions

Postby Dokujisan » Fri Aug 15, 2008 5:04 am

I just setup rcon2irc tonight. I have it setup with two servers by running two separate screen sessions with different configs. I have some questions...

1. Is it possible to setup one script to be able to communicate with multiple servers at once? So you would have your bot in IRC and you would show messages from each server. When sending messages to the nexuiz server, you would preface your message with "botname 1 hello" or something like that, where "1" would mean the first server. Actually, thinking more about it, I think I know the answer to this question, but feel free to make your comments about it anyway :-)

2. Is there an rcon command to speaking only to the spectators? Right now, the messages coming from IRC to the nexuiz server are seen by people during a match. Ideally, those messages would be treated the same as spectator messages.

Thanks
Dokujisan
Forum addon
 
Posts: 1199
Joined: Sat Oct 07, 2006 4:31 pm
Location: Louisville, Kentucky

Postby esteel » Fri Aug 15, 2008 10:20 pm

Well there is no need to run them in different screen sessions, in fact i find it more useful to run everything Nexuiz server related in one screen process..

I'm not sure but from what one can setup about rcon2irc it does not seem to be possible. Also having two "bots" seems easier when trying to 'chat' with the nexuiz servers.

No just talking to the specs is not possible, just as its not possible to do so while playing. But i think when you use BOTNAME: PLAYERNAME: it uses 'talk' to just send that message to that one player. Though i might be making things up here.. Maybe the wine was too good? :)
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby KillaGrunt » Fri Aug 15, 2008 11:15 pm

You can talk to people on Nexuiz using IRC?
KillaGrunt
Alien trapper
 
Posts: 315
Joined: Fri Jun 27, 2008 3:35 am
Location: In your X-Box 360 playing halo

Postby [-z-] » Fri Aug 15, 2008 11:51 pm

KillaGrunt wrote:You can talk to people on Nexuiz using IRC?

Yes.



I'm working on a server management tool that will help organize your game servers in screens. Yesterday, I added the ability to initialize rcon2irc for that server if you finds the config.
Last edited by [-z-] on Sat Aug 16, 2008 1:13 am, edited 1 time in total.
[-z-]
Site Admin and Nexuiz Ninja
 
Posts: 1794
Joined: Mon Nov 13, 2006 12:20 am
Location: Florida

Postby esteel » Sat Aug 16, 2008 12:05 am

[-z-] wrote:
KillaGrunt wrote:You can talk to people on Nexuiz using IRC?

Yes.

At least for servers that use rcon2irc and if you know were to go with your irc client :)
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby KillaGrunt » Sat Aug 16, 2008 12:15 am

Oh. Thats pretty cool.
KillaGrunt
Alien trapper
 
Posts: 315
Joined: Fri Jun 27, 2008 3:35 am
Location: In your X-Box 360 playing halo

Postby Dokujisan » Sat Aug 16, 2008 7:55 pm

esteel, how do I run multiple scripts in one screen session? Is that the nohup command mentioned in the rcon doc? (yes, I could look it up, but hopefully this thread could also help someone else trying to setup this script)

Perhaps I could mention to divverent about adding a feature to only talk to spectators. It would come in handy. Actually, how does that work in the tourney mod, where spectators only talk to spectators when the match starts?
Dokujisan
Forum addon
 
Posts: 1199
Joined: Sat Oct 07, 2006 4:31 pm
Location: Louisville, Kentucky

Postby Dokujisan » Sat Aug 16, 2008 7:58 pm

One more question, won't quakenet have an issue with multiple connections if I setup multiple bots (one for each server)?
Dokujisan
Forum addon
 
Posts: 1199
Joined: Sat Oct 07, 2006 4:31 pm
Location: Louisville, Kentucky

Postby [-z-] » Sat Aug 16, 2008 9:00 pm

You first question about screens:

in a screen session hit >> ctrl+a, c << to create a new 'tab' inside the screen.

hit >> ctrl+a, space << or >> ctrl+a, n << to go to the next 'tab'.

hit >> ctrl+a, backspace << or >> ctrl+a, p << to go to the previous 'tab'.

Personally however... for the game servers, I like running seperate screens so they all have titles and I can find them fast (even faster with my management tool).



Your question about multiple connections on quakenet. The limit is 5. You can exceed that limit with a trust you can obtain through their website www.quakenet.org. You must be running an IDENT server to obtain the trust. This is where my request just failed.
[-z-]
Site Admin and Nexuiz Ninja
 
Posts: 1794
Joined: Mon Nov 13, 2006 12:20 am
Location: Florida

Postby Dokujisan » Sun Aug 17, 2008 3:23 am

Ah, thanks -z-. That's very useful to know.

I'm gonna hold off from setting up the chat for all of the servers until there is a feature for chatting just to spectators (crosses fingers).
Dokujisan
Forum addon
 
Posts: 1199
Joined: Sat Oct 07, 2006 4:31 pm
Location: Louisville, Kentucky

Next

Return to Nexuiz - Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron