|
|
#1 (permalink) |
|
Ape for Diddy
Join Date: Jul 2007
Posts: 250
Reputation: 10
|
I can't code a lick but I want to make a text based mmorpg, is there any engines out there that works and can actually go in a browser? I seen a few text engines but they were all downloads and single player -.- I wouldn't mind making the player DL it, but i really want it online..
Edit: I'm going to try to learn CSS, but It's extremely hard for me to grasp. //My first C++ program -- this is a comment #include <iostream> // std::cout #include <ostream> // <<, std::end1 int main() { std::cout << "Hello, world!" << std::endl; } Is the hello world I was trying to make, but after i compiled it and turned it into a .exe, when I go to open it I just see a black box flash and then nothing comes up. What did I do wrong? Last edited by Krayze; 04-23-2008 at 06:00 PM. |
|
|
|
|
#2 (permalink) |
|
Banned
Join Date: May 2006
Posts: 2,053
Reputation: 14
|
a text based MMORPG is normally called a MUD, what you are looking for is a MUD Codebase, you can find alot of them here:
http://www.mudconnect.com/resources/..._Snippets.html and as for the problem with your code, you are going to need to either run it through the command prompt or try adding Code:
system("pause");
but don't trust me completely on that since i've never touched c++, opening through the command prompt should definately work though. Last edited by TwitcH; 04-23-2008 at 11:21 PM. |
|
|
|
|
#3 (permalink) |
|
Still learning the ropes
Join Date: Dec 2007
Posts: 27
Reputation: 10
|
You didn't do anything wrong. The reason the screen closed is because it has finished executing your program and so it exits.
It's actually displaying the Hello World then closing really fast. Your best bet is to run your program through the Command Prompt so that the window does not close after execution. To do this: Go to start, run, type cmd You'll then need to navigate to the location of your exe file. Once you are in the correct folder just type name.exe and it will run and display your text!
__________________
I'm currently developing my first multiplayer game. Please try it out and leave me some feedback. IT'S FREE!
BattleCity Classic - Build, defend and attack cities in an endless quest for control and dominance! |
|
|
|
|
#4 (permalink) | ||
|
OnRPG Elite Member!
Join Date: Jun 2006
Location: Onrpg
Posts: 4,641
Reputation: 82
|
Quote:
Quote:
|
||
|
|
| Thread Tools | |
| Display Modes | |
|
|