Search found 12 matches
- Sun Jun 21, 2015 9:27 pm
- Forum: Windows
- Topic: The "MySQL has gone away" mystery
- Replies: 10
- Views: 38758
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: 2185
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 ...
- Sun Apr 05, 2015 8:16 pm
- Forum: Linux
- Topic: Linux compile error: rev 1184
- Replies: 7
- Views: 24892
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: 24892
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: 24892
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; i ...
- Sun Apr 05, 2015 7:15 pm
- Forum: Linux
- Topic: Linux compile error: rev 1184
- Replies: 7
- Views: 24892
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 using double quotes ...
- Wed Feb 18, 2015 10:06 pm
- Forum: Announcements
- Topic: Upgrades and Outages
- Replies: 15
- Views: 92645
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: 1554386
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!
- Sat Feb 15, 2014 12:55 am
- Forum: General Discussions
- Topic: VGOEmu IRC and why you need to be here!
- Replies: 5
- Views: 9791
Re: VGOEmu IRC
Mostly...
- Wed Feb 05, 2014 8:40 am
- Forum: General Discussions
- Topic: Contribution
- Replies: 12
- Views: 9392
Re: Contribution
As john mentioned, anything you can share would be extremely helpful. Thanks in advance for offering. I'm looking forward to working with you.