Digital Paint Discussion Board

Development => Bugs, Feature Requests, and Feedback => Official Feature Votes => Topic started by: FlaMe on January 06, 2008, 12:33:55 AM

Title: Feature: In Game IRC Client?
Post by: FlaMe on January 06, 2008, 12:33:55 AM
Someone said it was possible. Not a definite but if anyone gets around to it, itd be cool
Title: Re: Feature: In Game IRC Client?
Post by: Cobo on January 06, 2008, 12:38:23 AM
everything is possible given enough work, the problem is: is the work worth it?
Title: Re: Feature: In Game IRC Client?
Post by: FlaMe on January 06, 2008, 12:39:36 AM
that was my point. you said you had made one... this isnt important to me... mIRC is fine... I was just throwin out some ideas =]
Title: Re: Feature: In Game IRC Client?
Post by: Justinph5 on January 06, 2008, 12:57:26 AM
it'd be good for non-clan members to chat with certain clans while they're in a passworded server and such, however I think all the login/logoff/scrim request stuff would clutter up the console (or wherever it would be implemented)

unless only messages showed up, which would be kind of cool, unless ppl started talking nonsense on the channel, then a turnoff option for the irc would be nice
Title: Re: Feature: In Game IRC Client?
Post by: Cobo on January 06, 2008, 01:00:48 AM
I imagine the best way to implement this would be to add a command called "toggleirc", like the console one but instead the window appears in the bottom of the screen. All output and input would go in this screen.
Title: Re: Feature: In Game IRC Client?
Post by: FlaMe on January 06, 2008, 01:01:41 AM
we'd need a new font size than as well as well as i guess a totally new console font.
Title: Re: Feature: In Game IRC Client?
Post by: DaRkNeSS on January 06, 2008, 01:15:52 AM
No Flame, Cobo lied about making one.
Title: Re: Feature: In Game IRC Client?
Post by: Cobo on January 06, 2008, 01:21:47 AM
Code: [Select]
SOCKET Socket;

void irc_init()
{
WSADATA d;

if(WSAStartup(MAKEWORD(2, 0), &d) != NO_ERROR)
cout << "Could not initialize WinSock.";
}


int irc_connect(char *server, int port, char *name)
{
SOCKADDR Addr;
SOCKADDR_IN SockAddr;
HOSTENT *HostInfo;

// Init the socket.
Socket = socket(AF_INET, SOCK_STREAM, 0);
if (Socket == INVALID_SOCKET)
{
cout << "Socket creation failed.";
return 0;
}


// Init the host info.
HostInfo = gethostbyname(server);
if (HostInfo == NULL)
{
cout << "Could not resolve host.";
return 0;
}

SockAddr.sin_addr.s_addr=*((unsigned long*)HostInfo->h_addr);
SockAddr.sin_family=AF_INET;
SockAddr.sin_port=htons(port);

// Connect the socket.
if(connect(Socket, (struct sockaddr*)&SockAddr, sizeof(SockAddr)) != 0)
{
cout << "Failed to establish connection with server.";
return 0;
}
//else
// printf("Connected to the server.\n");

irc_send("USER %s . . :%s\r\nNICK %s\r\n", name, "PaintIRC", name);

return 1;
}

void irc_send(char *format, ...)
{
va_list argptr;
static char string[1024];

va_start(argptr, format);
_vsnprintf(string, sizeof(string), format, argptr);
va_end(argptr);
NULLTERMINATE(string);

send(Socket, string, strlen(string), 0);
}

char *irc_get()
{
char Buf[16] = "";
char String[512] = "";
int l;

if(Socket == INVALID_SOCKET)
return NULL;

while(l=recv(Socket, Buf, 1, 0) > 0)
{
if(strstr(Buf, "\n"))
{
//recv(Socket, Buf, 1, 0);
break;
}

sprintf(String, "%s%s", String, Buf);
}

return String;
}
Not exactly what I had in the DP one but its pretty close.
Title: Re: Feature: In Game IRC Client?
Post by: Garrett on January 06, 2008, 02:32:02 AM
If you could make a client that runs like xfire, with the box that shows up in the bottom of your screen would be even better.
Title: Re: Feature: In Game IRC Client?
Post by: bitmate on January 06, 2008, 07:19:59 AM
I don't like the idea of showing all IRC chat while playing the game. I'd prefer to have the IRC integrated in the main menu.
Title: Re: Feature: In Game IRC Client?
Post by: Garrett on January 06, 2008, 10:27:39 AM
Any type of integration would be nice because it will work a lot better then ctrl-esc out every time to read a message.
Title: Re: Feature: In Game IRC Client?
Post by: Zorchenhimer on January 06, 2008, 03:08:22 PM
Any type of integration would be nice because it will work a lot better then ctrl-esc out every time to read a message.

Get Xfire.  :)
Title: Re: Feature: In Game IRC Client?
Post by: FlaMe on January 06, 2008, 03:31:14 PM
IRC > xfire
Title: Re: Feature: In Game IRC Client?
Post by: Zorchenhimer on January 06, 2008, 03:57:56 PM
IRC > xfire

But ingame?
Title: Re: Feature: In Game IRC Client?
Post by: Garrett on January 06, 2008, 04:05:07 PM
I got xfire and I like it but a lot of people choose to not use it.  It would be cool to have both running in game.
Title: Re: Feature: In Game IRC Client?
Post by: FlaMe on January 06, 2008, 04:26:45 PM
But ingame?

eh good point. id probably still use mIRC. i just think itd be good to get the noobs more involved. most pub players play not knowing about paintballs IRC community of anger, rage, and constant KB's
Title: Re: Feature: In Game IRC Client?
Post by: Garrett on January 06, 2008, 04:34:38 PM
Is there anyway to just modify the Xfire in game chat code to work with mIRC instead?
Title: Re: Feature: In Game IRC Client?
Post by: FlaMe on January 06, 2008, 04:35:23 PM
not legally probably lmao
Title: Re: Feature: In Game IRC Client?
Post by: Garrett on January 06, 2008, 04:41:41 PM
We can use it as a reference then ;)  Bad thing is, regardless of what is done, it will take a long time to make it look and run nice.
Title: Re: Feature: In Game IRC Client?
Post by: FlaMe on January 06, 2008, 04:42:28 PM
unless you get the scripting geniuses of GGC to give it a shot with the help of our developing team =]
Title: Re: Feature: In Game IRC Client?
Post by: jitspoe on January 06, 2008, 11:40:47 PM
http://dplogin.com/dplogin/featurevote/feature.php?id=10054

Could be feasible, but I think the whole GUI/console/text system needs a revamp, first.
Title: Re: Feature: In Game IRC Client?
Post by: y00tz on January 06, 2008, 11:52:18 PM
our developing team =]

Oh.. you haven't heard?  He goes by "jitspoe"
Title: Re: Feature: In Game IRC Client?
Post by: FlaMe on January 06, 2008, 11:54:50 PM
people help him out a little... ie zorch, for this one, cobo, you
Title: Re: Feature: In Game IRC Client?
Post by: jitspoe on October 11, 2012, 07:07:06 PM
Bumping this feature vote thread, as there has been a lot of talk about how to get new players integrated into the community.  This may not be too difficult if the core functionality is as simple as what Cobo posted.  It would just be a matter of coming up with a decent interface - possibly at the server browser screen?
Title: Re: Feature: In Game IRC Client?
Post by: jitspoe on January 04, 2013, 03:41:14 AM
Looks like Alien Arena supports this, so it might be pretty simple to bring over (I'd like to have a better chat interface for it, though).
Title: Re: Feature: In Game IRC Client?
Post by: pvtjimmy on January 04, 2013, 04:55:19 AM
What also might be helpful for new players to use the chat options, is a listing of other (popular) DP2 related channels. Only a few people from the community idle in #paintball and people with questions often leave without their questions answered.

By showing people other channels to chat in, they will have the possibility to meet more other players and quickly integrating to the community. Thinking back of the time I was new, I had no idea which others channels I could visit to meet other players, find matches, etc. (and unlike most new players nowadays I knew IRC before...)

On short terms the above could also be done by putting an on-join-message in #paintball, preferably with colors so it easier attracts attention, linking to other channels or a forum message where simple instructions and other active channels are listed. This list should be updated on regular base though.
Title: Re: Feature: In Game IRC Client?
Post by: T3RR0R15T on January 04, 2013, 10:15:11 AM
Is it possible to add tabs to the console?
So that the first tab is the normal console (like now), a second tab has only the server chat messages (say, say_team) and a third tab has the global irc chat.
Title: Re: Feature: In Game IRC Client?
Post by: jitspoe on January 04, 2013, 03:57:04 PM
Only a few people from the community idle in #paintball and people with questions often leave without their questions answered.
Well, that's the official channel, so everybody should idle in there...
Title: Re: Feature: In Game IRC Client?
Post by: Justinph5 on January 04, 2013, 08:56:35 PM
Only a few people from the community idle in #paintball and people with questions often leave without their questions answered.
That's because they're impatient and leave to play the game instead. If they can play the game and wait for the answer, while in game, it should have a whole different story. :P