Search found 25 matches
- Sun Jun 21, 2015 9:27 pm
- Forum: Windows
- Topic: The "MySQL has gone away" mystery
- Replies: 10
- Views: 9634
Re: The "MySQL has gone away" mystery
MySQL disabled auto-reconnect recently. Maybe enabling this flag would help?
https://dev.mysql.com/doc/refman/5.7/en ... nnect.html
Edit:
Oh, and MariaDB is the next big thing..juussst sayin
https://dev.mysql.com/doc/refman/5.7/en ... nnect.html
Edit:
Oh, and MariaDB is the next big thing..juussst sayin
- Sun Jun 21, 2015 9:11 pm
- Forum: General Discussions
- Topic: How do you create server code from nothing?
- Replies: 4
- Views: 768
Re: How do you create server code from nothing?
Lots of trial and error We got a basic UDP server setup that could at least allow the client to connect to it and send the first packet. So, as mentioned by Dinenon, we listen for raw packets and dump them so we can see what's going on. Luckily for us, SOE had(s) a standard protocol that they use fo...
- Sun Apr 05, 2015 8:16 pm
- Forum: Linux
- Topic: Linux compile error: rev 1184
- Replies: 7
- Views: 6294
Re: Linux compile error: rev 1184
you could also pass in a variable amount of characters to remove! hang tight..
- Sun Apr 05, 2015 8:15 pm
- Forum: Linux
- Topic: Linux compile error: rev 1184
- Replies: 7
- Views: 6294
Re: Linux compile error: rev 1184
char * remove_spaces(const char *str) { size_t len, i, j; char *ret; len = strlen(str); //we're removing spaces, the new string can only be as long as the orignal if ((ret = (char *)malloc(len + 1)) == NULL) { //crap out of memory return NULL; } for (i = 0, j = 0; i < len; i++) { if (str[i] != ' ')...
- Sun Apr 05, 2015 7:51 pm
- Forum: Linux
- Topic: Linux compile error: rev 1184
- Replies: 7
- Views: 6294
Re: Linux compile error: rev 1184
Whoops, I read that wrong. That might not work. But you could do this: void Net::HandleChatJoinRequest(shared_ptr<Client>& client, shared_ptr<WorldCharacter>& character, const char* name) { char new_name[128]; //or a dynmaic size with strlen() of `name' + malloc int i, j; for (i = 0, j = 0; ...
- Sun Apr 05, 2015 7:15 pm
- Forum: Linux
- Topic: Linux compile error: rev 1184
- Replies: 7
- Views: 6294
Re: Linux compile error: rev 1184
Most likely need to change chan_name.erase(std::remove(chan_name.begin(), chan_name.end(), '"'), chan_name.end()); to chan_name.erase(std::remove(chan_name.begin(), chan_name.end(), "\""), chan_name.end()); Using single quotes in C will make it be an integer (or a char), where us...
- Wed Feb 18, 2015 10:06 pm
- Forum: Announcements
- Topic: Upgrades and Outages
- Replies: 15
- Views: 26350
Re: Upgrades and Outages
HTTP 2.0 is finished and on the way! I don't think apache supports it *yet* but it will and it'll be a lot faster with multiplexing and the other features!
- Fri Nov 21, 2014 11:22 pm
- Forum: Announcements
- Topic: VGOEmu Progress
- Replies: 263
- Views: 1119465
Re: VGOEmu Progress
[quote="Aeterne":191whtrw]Seeing stuff like this inspires me to study so much harder on my CompSci degree.
But for now, screw Java...[/quote:191whtrw]
you should!
But for now, screw Java...[/quote:191whtrw]
you should!
- Fri Apr 25, 2014 4:23 pm
- Forum: Server Bugs (Closed)
- Topic: Raw SQL in a packet?
- Replies: 6
- Views: 827
Re: Raw SQL in a packet?
Interesting. I wonder if our TCP connection and MySQL's TCP connection somehow got mixed up? Or a buffer wasn't cleared? Has it happened since? I thought your MySQL and game box were the same so I assumed it was just a unix socket.
- Thu Apr 24, 2014 2:52 pm
- Forum: Server Bugs (Closed)
- Topic: VGVisualParser - missing packets
- Replies: 2
- Views: 627
Re: VGVisualParser - missing packets
Where in the source is it doing the first check? I can't remember what that if statement was and I'll be home a little later tonight.