|
You last visited: Today at 12:38
Advertisement
CO++ Project
Discussion on CO++ Project within the CO2 Private Server forum part of the Conquer Online 2 category.
05/12/2012, 09:25
|
#16
|
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 924
|
Quote:
Originally Posted by Korvacs
The hell is with your text on that client o.O
|
He said something happened and fonts got messed up so the client uses whatever font it can find or something.
|
|
|
05/12/2012, 23:14
|
#17
|
elite*gold: 0
Join Date: Nov 2009
Posts: 390
Received Thanks: 321
|
A few comments,
It would be much more efficient/elegant if you'd rely on a scalable, robust solution such as boost::asio. It'd be much better than select()ing on sockets one at a time, which is pretty inefficient, select() doesn't scale well as it is anyway...
Also, this is definitely not ISO-C++. It looks like "C with classes" style to me, ISO-C++ is pretty **** elegant.
While you're at cleaning it up, and since you seem to be aiming at portability, why don't you start the C++11 movement around here? I mean the memory model is finally standardized and you won't have much trouble with multi-threaded code, so it would be really awesome if you would do the transition.
Oh and, nothing is wrong with C++ iostreams, really. Shaving up a few cpu cycles through early optimizations isn't going to help in the long run, especially when you're sacrificing both readability and safety for those cycles which are probably going to be wasted somewhere else anyway.
That's just my opinion, though.
|
|
|
05/12/2012, 23:39
|
#18
|
elite*gold: 20
Join Date: Mar 2006
Posts: 1,491
Received Thanks: 536
|
Quote:
Originally Posted by Nullable
A few comments,
It would be much more efficient/elegant if you'd rely on a scalable, robust solution such as boost::asio. It'd be much better than select()ing on sockets one at a time, which is pretty inefficient, select() doesn't scale well as it is anyway...
Also, this is definitely not ISO-C++. It looks like "C with classes" style to me, ISO-C++ is pretty **** elegant.
While you're at cleaning it up, and since you seem to be aiming at portability, why don't you start the C++11 movement around here? I mean the memory model is finally standardized and you won't have much trouble with multi-threaded code, so it would be really awesome if you would do the transition.
Oh and, nothing is wrong with C++ iostreams, really. Shaving up a few cpu cycles through early optimizations isn't going to help in the long run, especially when you're sacrificing both readability and safety for those cycles which are probably going to be wasted somewhere else anyway.
That's just my opinion, though.
|
I'll check it out, but I like to avoid boost like the plague. While it is cross platform, stable, and powerful, it is a giant pain in the *** to get functional on systems from my past experiences many years ago. Might have improved since, but it left a bad taste in my mouth lol. I'll look into it though. As for C++11, I'd have to look into the changes as I stopped keeping up with it a while ago.
|
|
|
|
|
Similar Threads
|
[Coding] C# Application Project vs. C# Console Project Threading
07/01/2011 - .NET Languages - 0 Replies
Hey, so I'm coding a private server... and I was just wondering:
Is there a difference between Console Project threading and Application threading? I'm going to add a GUI into the console project if I can't do an Application project for other reasons, so putting the extra thread aside (for the Application running), is there a significant difference?
Thanks.
Sincerely,
Fang
|
Re-Make Project! Grand Chase Sound ( TAGALOG ) Project!
06/03/2011 - Grand Chase Philippines - 126 Replies
To all, To people who want to contribute to this Project..
We Need:
Good Vocals, Matching the voices or almost like the voices of all the characters present in the Grand Chase Philippine Server
Good, Funny and nice Voice Replacer, Skill, Taunts and More..
Who really want to contribute.. Not by forcing yourself.
The means by enjoying it..
|
[NEW] Hacks+Bots project finished: Project Devastating
05/17/2011 - Cabal Hacks, Bots, Cheats, Exploits & Macros - 3 Replies
Welcome!
to: Project Devastation release
Hereby i release my free version of my multihack! (I will release my paid version soon, i have to fix a few draws..)
This hack works on European Cabal online servers!
The program searches it's variables inside the magic adresses, and freezes or changes them. It may be that your computer will become a bit slower at the start but it will regenerate.
How to work with the program?
|
All times are GMT +2. The time now is 12:38.
|
|