MSCPP Beta 0.1

Mirage Source ported into C++

MSCPP Beta 0.1

Postby Dragoons Master » Tue Jul 15, 2008 1:30 am

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
client_VB.zip
MirageSourceCPP Client, just for test, since it's made in VB6.
(417.09 KiB) Downloaded 450 times
MirageServer.zip
MirageSourceCPP Server
(112.32 KiB) Downloaded 417 times
MSECPP_Server.jpg
Class Diagram
MSECPP_Server.jpg (79.93 KiB) Viewed 8315 times
Last edited by Dragoons Master on Sat Aug 02, 2008 4:08 pm, edited 12 times in total.
http://www.blackages.com.br
Image
Dave wrote:
GameBoy wrote:www.FreeMoney.com
I admit I clicked. I immediately closed upon realizing there was, in fact, no free money.
Robin wrote:I love you and your computer.Marry me.
User avatar
Dragoons Master
Pro
 
Posts: 493
Joined: Mon May 29, 2006 3:26 pm
Location: São Paulo, Brasil
Google Talk: blackagesbr@gmail.com

Re: MSECPP

Postby Dragoons Master » Tue Jul 15, 2008 7:15 pm

Any body interested?
http://www.blackages.com.br
Image
Dave wrote:
GameBoy wrote:www.FreeMoney.com
I admit I clicked. I immediately closed upon realizing there was, in fact, no free money.
Robin wrote:I love you and your computer.Marry me.
User avatar
Dragoons Master
Pro
 
Posts: 493
Joined: Mon May 29, 2006 3:26 pm
Location: São Paulo, Brasil
Google Talk: blackagesbr@gmail.com

Re: MSECPP

Postby seraphelic » Wed Jul 16, 2008 2:53 am

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
User avatar
seraphelic
Regular
 
Posts: 93
Joined: Tue Oct 09, 2007 1:40 am

Re: MSECPP

Postby Lea » Wed Jul 16, 2008 4:19 pm

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! ;-;)
User avatar
Lea
Community Leader
 
Posts: 1762
Joined: Sun May 28, 2006 10:29 pm
Location: Salt Lake City, UT, USA
Google Talk: Darunada@gmail.com

Re: MSECPP

Postby Dragoons Master » Wed Jul 16, 2008 8:49 pm

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
http://www.blackages.com.br
Image
Dave wrote:
GameBoy wrote:www.FreeMoney.com
I admit I clicked. I immediately closed upon realizing there was, in fact, no free money.
Robin wrote:I love you and your computer.Marry me.
User avatar
Dragoons Master
Pro
 
Posts: 493
Joined: Mon May 29, 2006 3:26 pm
Location: São Paulo, Brasil
Google Talk: blackagesbr@gmail.com

Re: MSECPP

Postby Dragoons Master » Thu Jul 17, 2008 10:16 pm

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 ^^.
http://www.blackages.com.br
Image
Dave wrote:
GameBoy wrote:www.FreeMoney.com
I admit I clicked. I immediately closed upon realizing there was, in fact, no free money.
Robin wrote:I love you and your computer.Marry me.
User avatar
Dragoons Master
Pro
 
Posts: 493
Joined: Mon May 29, 2006 3:26 pm
Location: São Paulo, Brasil
Google Talk: blackagesbr@gmail.com

Re: MSECPP

Postby seraphelic » Fri Jul 18, 2008 3:33 pm

What program do you use to make the diagram?
User avatar
seraphelic
Regular
 
Posts: 93
Joined: Tue Oct 09, 2007 1:40 am

Re: MSECPP

Postby Dragoons Master » Sat Jul 19, 2008 3:01 am

Microsoft Visio.

UPDATE: It's connecting and creating accounts/chars now :D
I think 2 more days it will be done :D
http://www.blackages.com.br
Image
Dave wrote:
GameBoy wrote:www.FreeMoney.com
I admit I clicked. I immediately closed upon realizing there was, in fact, no free money.
Robin wrote:I love you and your computer.Marry me.
User avatar
Dragoons Master
Pro
 
Posts: 493
Joined: Mon May 29, 2006 3:26 pm
Location: São Paulo, Brasil
Google Talk: blackagesbr@gmail.com

Re: MSECPP

Postby grimsk8ter11 » Sat Jul 19, 2008 4:54 am

dragoons you should im me
Image
grimsk8ter11
Pro
 
Posts: 370
Joined: Mon May 29, 2006 2:58 pm

Re: MSECPP

Postby Matt » Sat Jul 19, 2008 10:11 am

grimsk8ter11 wrote:dragoons you should im me


O.o

He's not dead? O.o
Matt
 

Re: MSECPP

Postby Robin » Sat Jul 19, 2008 12:25 pm

Grim's been around. He's on MSN a lot.
Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?


Image
User avatar
Robin
Submit-Happy
 
Posts: 2768
Joined: Fri Jun 16, 2006 7:01 am
Location: Yorkshire, UK

Re: MSECPP

Postby Matt » Sat Jul 19, 2008 1:46 pm

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.
Matt
 

Re: MSECPP

Postby Robin » Sat Jul 19, 2008 1:58 pm

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.
Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?


Image
User avatar
Robin
Submit-Happy
 
Posts: 2768
Joined: Fri Jun 16, 2006 7:01 am
Location: Yorkshire, UK

Re: MSECPP

Postby Matt » Sat Jul 19, 2008 3:27 pm

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
Matt
 

Re: MSECPP

Postby grimsk8ter11 » Sun Jul 20, 2008 6:12 am

it loads with windows and pisses me off >.<

university is a bitch
Image
grimsk8ter11
Pro
 
Posts: 370
Joined: Mon May 29, 2006 2:58 pm

Re: MSECPP

Postby Matt » Sun Jul 20, 2008 11:41 am

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.
Matt
 

Re: MSECPP

Postby William » Wed Jul 23, 2008 9:03 pm

Indeed this sounds interesting, just ask and I can setup a board for you if you wish.
I'm on Facebook!My Youtube Channel Send me an email
Image
User avatar
William
Community Leader
 
Posts: 2535
Joined: Mon May 29, 2006 1:00 pm
Location: Sweden
Google Talk: johansson_tk@hotmail.com

Re: MSECPP

Postby Dragoons Master » Fri Jul 25, 2008 2:42 pm

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
http://www.blackages.com.br
Image
Dave wrote:
GameBoy wrote:www.FreeMoney.com
I admit I clicked. I immediately closed upon realizing there was, in fact, no free money.
Robin wrote:I love you and your computer.Marry me.
User avatar
Dragoons Master
Pro
 
Posts: 493
Joined: Mon May 29, 2006 3:26 pm
Location: São Paulo, Brasil
Google Talk: blackagesbr@gmail.com

Re: MSECPP

Postby Spodi » Fri Jul 25, 2008 3:03 pm

Bah, I wish my class diagrams were that small and simple. :(
User avatar
Spodi
Knowledgeable
 
Posts: 339
Joined: Mon Jul 24, 2006 2:04 pm

Re: MSECPP

Postby Dragoons Master » Mon Jul 28, 2008 2:58 pm

: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:
http://www.blackages.com.br
Image
Dave wrote:
GameBoy wrote:www.FreeMoney.com
I admit I clicked. I immediately closed upon realizing there was, in fact, no free money.
Robin wrote:I love you and your computer.Marry me.
User avatar
Dragoons Master
Pro
 
Posts: 493
Joined: Mon May 29, 2006 3:26 pm
Location: São Paulo, Brasil
Google Talk: blackagesbr@gmail.com

Re: MSECPP

Postby Dragoons Master » Thu Jul 31, 2008 6:27 pm

Released, but read main post.
http://www.blackages.com.br
Image
Dave wrote:
GameBoy wrote:www.FreeMoney.com
I admit I clicked. I immediately closed upon realizing there was, in fact, no free money.
Robin wrote:I love you and your computer.Marry me.
User avatar
Dragoons Master
Pro
 
Posts: 493
Joined: Mon May 29, 2006 3:26 pm
Location: São Paulo, Brasil
Google Talk: blackagesbr@gmail.com

Re: MSECPP

Postby jsventor » Sat Aug 02, 2008 7:17 am

I'm gonna DL it, I'm super curious to see what C++ is like, not sure if I'll be any help though :(
Image
jsventor
Knowledgeable
 
Posts: 234
Joined: Fri May 18, 2007 9:54 pm

Re: MSECPP

Postby Dragoons Master » Sat Aug 02, 2008 3:00 pm

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.
http://www.blackages.com.br
Image
Dave wrote:
GameBoy wrote:www.FreeMoney.com
I admit I clicked. I immediately closed upon realizing there was, in fact, no free money.
Robin wrote:I love you and your computer.Marry me.
User avatar
Dragoons Master
Pro
 
Posts: 493
Joined: Mon May 29, 2006 3:26 pm
Location: São Paulo, Brasil
Google Talk: blackagesbr@gmail.com

Re: MSCPP Beta 0.1

Postby Dragoons Master » Sun Aug 10, 2008 7:13 am

Yup, simply conversion xD
http://www.blackages.com.br
Image
Dave wrote:
GameBoy wrote:www.FreeMoney.com
I admit I clicked. I immediately closed upon realizing there was, in fact, no free money.
Robin wrote:I love you and your computer.Marry me.
User avatar
Dragoons Master
Pro
 
Posts: 493
Joined: Mon May 29, 2006 3:26 pm
Location: São Paulo, Brasil
Google Talk: blackagesbr@gmail.com

Re: MSCPP Beta 0.1

Postby Lea » Sun Aug 10, 2008 6:20 pm

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.
User avatar
Lea
Community Leader
 
Posts: 1762
Joined: Sun May 28, 2006 10:29 pm
Location: Salt Lake City, UT, USA
Google Talk: Darunada@gmail.com

Next

Return to MSCPP 0.1 Beta

Who is online

Users browsing this forum: No registered users and 1 guest

cron