IRC in-game
swalk
Say hello to my little friend. Join Date: 2011-01-20 Member: 78384Members, Squad Five Blue
in Modding
Hey follow community members!
I was talking with Brian Cronin yesterday about how feasable it is to implement IRC ingame on the main menu as a tab, alá Play, Options etc.
He told me it should be fairly easily done, but that they don't have the time to implement and maintain it. This is why I'm coming to you guys, since I'm unable to do this myself.
IRC is used by a decent part of the european community to find matches, players etc.. But many people either don't know about it or won't install a client. Having a client in-game that autojoins quakenet, #ns2.search and maybe even #nsl for league play, could be really benefitial for the competetive community as it will more than likely be accepted as a main communication platform if we can mod this and let the developers implement it.
Currently there is no main communication platform for competetive games, people are using different ways of contacting eachother. Like; Steam, IRC etc.
Steam is unfortunately not very friendly for mass communication as the friends system isn't build for broadcasting messages for many users. You have to find specific people(can be hard, especially if you're new and don't know anyone) and message them all directly one by one.
IRC is better in that regard, you idle in a channel with many users and everyone can see what everyone writes, which makes it easy to broadcast that you're looking for a match for example.
I hope someone with the ability to do this can see the benefits and pick it up to help the competetive community and ns2 in general!
I was talking with Brian Cronin yesterday about how feasable it is to implement IRC ingame on the main menu as a tab, alá Play, Options etc.
He told me it should be fairly easily done, but that they don't have the time to implement and maintain it. This is why I'm coming to you guys, since I'm unable to do this myself.
IRC is used by a decent part of the european community to find matches, players etc.. But many people either don't know about it or won't install a client. Having a client in-game that autojoins quakenet, #ns2.search and maybe even #nsl for league play, could be really benefitial for the competetive community as it will more than likely be accepted as a main communication platform if we can mod this and let the developers implement it.
Currently there is no main communication platform for competetive games, people are using different ways of contacting eachother. Like; Steam, IRC etc.
Steam is unfortunately not very friendly for mass communication as the friends system isn't build for broadcasting messages for many users. You have to find specific people(can be hard, especially if you're new and don't know anyone) and message them all directly one by one.
IRC is better in that regard, you idle in a channel with many users and everyone can see what everyone writes, which makes it easy to broadcast that you're looking for a match for example.
I hope someone with the ability to do this can see the benefits and pick it up to help the competetive community and ns2 in general!
Comments
I would be very surprised if it was possible to squeeze IRC through the two HTTP functions we have access to. Even if it was possible it would be a lot of work.
Is there any particular reason why people don't use Steam chat like IRC? You can idle in a group chat room in just the same way. If you're in a group you can also post announcements to broadcast messages to other members.
The way to do it right now would just tunnel IRC data through HTTP requests to a backend that handles the IRC. Not hard to do really.
My first attempt was the mentioned c library (LuaSockets). I was sure dll loading was possible, because the old menu mod also did that and so I was testing with a stand alone lua interpreter since I wasn't at home to work with the ns2 client. When i got that working and i wanted to implement it into ns2, but schimmel told me that dll loading isn't possible anymore (for obvious reasons actually - duh).
My second attempt was the sendhttp function. I was working with Coldeath on this. The idea was to use our webserver as proxy (like mentioned above). The problem was that we couldn't install a php irc bot on it, because the script timeout was handled by the provider. This, plus the lack of time kind of made us stop working on it.
In theory it is pretty simple though.
There only "problem" with this attempt is that it will not be in real time when you try to contact ns2 from irc, because you ns2 can only pull new information from the webserver and so you'd need a checkinterval. Not sure if that would have an impact on performance if it was set to 1 second or so.