Mirage Source
http://miragesource.net/forums/

MSCPP Beta 0.1
http://miragesource.net/forums/viewtopic.php?f=123&t=3985
Page 1 of 41

Author:  Dragoons Master [ Tue Jul 15, 2008 1:30 am ]
Post subject:  MSCPP Beta 0.1

I'm back working on the MSECPP project, to have MSE into C++.
Take a look at this, what do you think?
I have the basic loading working right now and I'm re-developing my WinSock classes to easily send data.
It will look a lot like MSE2.32(yes, I'm following it and I'll make it with all the bug fixes we've found), but I'm actually making only server side.

UPDATE:
Just finished my winsock class. Now it can connects to a basic software, just for test ^^ Well, actually it loads everything from ini files, the start listening the port. It's all threaded and synchronous ^^.
I'm having one problem. The only major thing that I'll change is the data packet mode. I really like strings, but they are way slow... So I'll use it just like in my game, I'm handling byte arrays. But I actually have no Vanilla MS client w/ byte arrays and that will take a long time to develop... Does any body have this? Tnx in advance.

UPDATE(17/07/2008):
Updated the Class Diagram a lot.

UPDATE(31/07/2008):
:D Done converting! :D
Well. Just to remember it is not usable, I finished the CONVERSION, so all the lines are translated to C++, but there are still a few logic stuff that I still need to remake, and a few things on the newer versions that I need to change. WARNING: This is NOT a release yet, it is just a preview, since I have the code and it compiles, but does NOT work yet.
I'll basically release this so you guys can help me out, because I can't make this chit to work xD
Somehow there is happening a damn memory error client side, so the damn VB6 closes...
Yes, the client is a changed MSE2.x(not fully conversed, I think) that I'm changing to work with this server in C++.
If anybody can solve this damn problem I'll thank you a LOT, I really want this to be fully working.
Maybe there are a few packet sizes wrong since I made this very quick, to finish it yet on my vacations.
Remember, this was made in Visual Studio Team 2008, C++.
Version 0.1Beta.
EDIT: Just to make sure, I THINK any project made in Visual Studio Team will work at Express, but I'm not sure. Can anybody test? http://www.microsoft.com/express/vc/ Tnx a lot

UPDATE(01/08/2008):
Updated the class diagram with the same as the released.

UPDATE(02/08/2008):
Changed the name to MSCPP, and not MSECPP and moved the topic to a new board :D
Just re-uploaded the files with a few commentaries and a printable header that shows when loading. Also improved the server side command handling, adding a few more commands.
SHENQUIE!

Attachments:
File comment: MirageSourceCPP Client, just for test, since it's made in VB6.
client_VB.zip [417.09 KiB]
Downloaded 1082 times
File comment: MirageSourceCPP Server
MirageServer.zip [112.32 KiB]
Downloaded 1055 times
File comment: Class Diagram
MSECPP_Server.jpg
MSECPP_Server.jpg [ 79.93 KiB | Viewed 32104 times ]

Author:  Dragoons Master [ Tue Jul 15, 2008 7:15 pm ]
Post subject:  Re: MSECPP

Any body interested?

Author:  seraphelic [ Wed Jul 16, 2008 2:53 am ]
Post subject:  Re: MSECPP

Im pretty interested, although I can't help you with the byte arrays. Im planning an engine in c++ but im still learning the language first. I'll be following your progress :P

Author:  Lea [ Wed Jul 16, 2008 4:19 pm ]
Post subject:  Re: MSECPP

You did break it down nice, however there's a lot of stuff that isn't quite included in that UML diagram.

GL :D Go ahead and take a look at MSSC if you want... I will probably not work on it again until school time... when I worked on it on the bus ride to and from school (1 hour each way! ;-;)

Author:  Dragoons Master [ Wed Jul 16, 2008 8:49 pm ]
Post subject:  Re: MSECPP

Hehehe, I'm still editing it a lot.
Just finished socket thread's synchronizing :D
Hell job xD
Well, now I'm making the GameAI.
By the end of this month I think I'll have it done. :D

Author:  Dragoons Master [ Thu Jul 17, 2008 10:16 pm ]
Post subject:  Re: MSECPP

Just edited the class diagram a looooooooot! Now it's much better. Almost done. The code it self is almost good to be released. Maybe 3 more days if I waste a lot of time with it ^^.

Author:  seraphelic [ Fri Jul 18, 2008 3:33 pm ]
Post subject:  Re: MSECPP

What program do you use to make the diagram?

Author:  Dragoons Master [ Sat Jul 19, 2008 3:01 am ]
Post subject:  Re: MSECPP

Microsoft Visio.

UPDATE: It's connecting and creating accounts/chars now :D
I think 2 more days it will be done :D

Author:  grimsk8ter11 [ Sat Jul 19, 2008 4:54 am ]
Post subject:  Re: MSECPP

dragoons you should im me

Author:  Matt [ Sat Jul 19, 2008 10:11 am ]
Post subject:  Re: MSECPP

grimsk8ter11 wrote:
dragoons you should im me


O.o

He's not dead? O.o

Author:  Robin [ Sat Jul 19, 2008 12:25 pm ]
Post subject:  Re: MSECPP

Grim's been around. He's on MSN a lot.

Author:  Matt [ Sat Jul 19, 2008 1:46 pm ]
Post subject:  Re: MSECPP

Robin wrote:
Grim's been around. He's on MSN a lot.


I meant on the forums. *shakes head*

I know he's on MSN. I see him when I randomly login.

Author:  Robin [ Sat Jul 19, 2008 1:58 pm ]
Post subject:  Re: MSECPP

Perfekt wrote:
Robin wrote:
Grim's been around. He's on MSN a lot.


I meant on the forums. *shakes head*

I know he's on MSN. I see him when I randomly login.


Yeah, speaking of which you need to get on GTalk more.

Author:  Matt [ Sat Jul 19, 2008 3:27 pm ]
Post subject:  Re: MSECPP

Robin wrote:
Perfekt wrote:
Robin wrote:
Grim's been around. He's on MSN a lot.


I meant on the forums. *shakes head*

I know he's on MSN. I see him when I randomly login.


Yeah, speaking of which you need to get on GTalk more.


*sets it to load with windows* Problem solved. :P

Author:  grimsk8ter11 [ Sun Jul 20, 2008 6:12 am ]
Post subject:  Re: MSECPP

it loads with windows and pisses me off >.<

university is a bitch

Author:  Matt [ Sun Jul 20, 2008 11:41 am ]
Post subject:  Re: MSECPP

grimsk8ter11 wrote:
it loads with windows and pisses me off >.<

university is a bitch


I have no choice. If I don't let it load with windows, I won't remember to load it. >.<

Bad memory FTL.

Author:  William [ Wed Jul 23, 2008 9:03 pm ]
Post subject:  Re: MSECPP

Indeed this sounds interesting, just ask and I can setup a board for you if you wish.

Author:  Dragoons Master [ Fri Jul 25, 2008 2:42 pm ]
Post subject:  Re: MSECPP

I'm reeeealy busy on the last days. Just came back from a trip to the beach and tomorrow I'll need to go 400km away from where I live just to speak at a university for 2:30 about XNA ><, then I'll come back to my city, in the same day... So I'll leave at 8:00 AM, taking a bus, then I'll be there at 13:30 and wait until 15:00 to make the speech. Then I'll have to take an other damn trip back to my town at 18:00, so I'll have to run a lot because I can't miss that bus xD

Author:  Spodi [ Fri Jul 25, 2008 3:03 pm ]
Post subject:  Re: MSECPP

Bah, I wish my class diagrams were that small and simple. :(

Author:  Dragoons Master [ Mon Jul 28, 2008 2:58 pm ]
Post subject:  Re: MSECPP

:D
Back to work now ^^
I think that by the end of the week it will be done. If not, it will take a while since I'll need to go back to college's town :cry:

Author:  Dragoons Master [ Thu Jul 31, 2008 6:27 pm ]
Post subject:  Re: MSECPP

Released, but read main post.

Author:  jsventor [ Sat Aug 02, 2008 7:17 am ]
Post subject:  Re: MSECPP

I'm gonna DL it, I'm super curious to see what C++ is like, not sure if I'll be any help though :(

Author:  Dragoons Master [ Sat Aug 02, 2008 3:00 pm ]
Post subject:  Re: MSECPP

Any help with this damn vb6 memory bug is appreciated ^^ Txn

Just re-uploaded the files with a few commentaries and a printable header that shows when loading. Also improved the server side command handling, adding a few more commands.

Author:  Dragoons Master [ Sun Aug 10, 2008 7:13 am ]
Post subject:  Re: MSCPP Beta 0.1

Yup, simply conversion xD

Author:  Lea [ Sun Aug 10, 2008 6:20 pm ]
Post subject:  Re: MSCPP Beta 0.1

He is crippling himself.

I tried to avoid that in my version of MSSC, but it's turning out to be a huge project :D

I'll work on it again once school's in session. MSSC has become my favorite bus-ride activity.

Page 1 of 41 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/