How do in interact with the game from out of game?
Jackall
Join Date: 2012-11-09 Member: 168853Members
<div class="IPBDescription">Developers input would be great!</div>I code in C# and I have a dedicated server that I'm hosing NS2 on. I figured that if the ns2web can interact with the game why can't I?
<b>The question is, how do I interact with the game from outside the game as ns2web does? Are there hooks that I can use?</b>
With that being said, I want to create a program that does the following initially:
1. Logs players when they join in Sql Server
2. Sends a welcome message to new players
3. Sends server messages regularly
Maybe in the future handle:
1. Voting for new maps
2. Voting kicking someone (that is not admin)
Mainly for sending messages to the server. I really can't think of more that it could do. If I can figure out how to hook into the game as ns2web does, the rest should be straight forward.
If you have any input as to what this program could do, I'm listening.
Jackall
<b>The question is, how do I interact with the game from outside the game as ns2web does? Are there hooks that I can use?</b>
With that being said, I want to create a program that does the following initially:
1. Logs players when they join in Sql Server
2. Sends a welcome message to new players
3. Sends server messages regularly
Maybe in the future handle:
1. Voting for new maps
2. Voting kicking someone (that is not admin)
Mainly for sending messages to the server. I really can't think of more that it could do. If I can figure out how to hook into the game as ns2web does, the rest should be straight forward.
If you have any input as to what this program could do, I'm listening.
Jackall
Comments
K I'll make a new post asking for what server admins want to see!