Hello Guest, please login or register.
Did you miss your activation email?
Login with username, password and session length.

Pages: 1 [2] 3   Go Down

Author Topic: How do you make Online Games  (Read 6627 times)

0 Members and 1 Guest are viewing this topic.

ChaosSpartan28

Re: How do you make Online Games
« Reply #20 on: November 11, 2006, 08:10:42 am »
If you want a FREE server, and one you can control players who log on with, then host your own server.

 http://www.hamachi.cc/

It is a Host-It-Yourself type of server. Check out more details on the site.


Hope this helps ;D
Logged

King Tetiro

Leader of Phoenix Heart
Re: How do you make Online Games
« Reply #21 on: November 11, 2006, 11:26:17 am »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 3549
BUt how do you make a ini file load depending on which player it it?

EG Tetiro=Player1

Also

Yeah erm let's see I need to know, if I created a object/text on my computer(Menu), would anyone else see it?

If they do, how do I stop it?

Thanks for any help.

And also

How do I make an admin system + password protected system?

Also I need to know

1-Level Engine

2-Party Engine

3-Re-spawn Engine (Enemies and Heroes)

4-How to save all the data
« Last Edit: August 01, 2008, 05:36:16 pm by King Tetiro »
Logged
  • Phoenix Heart
Re: How do you make Online Games
« Reply #22 on: November 11, 2006, 12:34:42 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 647
You're asking for someone to make the whole engine for you. Ask one thing at a time or just !@#$% google it.
Logged
Re: How do you make Online Games
« Reply #23 on: November 11, 2006, 04:29:42 pm »
  • =/
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Posts: 2284
BUt how do you make a ini file load depending on which player it it?
Here is some puesado code.

1. Alright, when you type in your name in the log in screen, the server checks for your ini file that is named after you, downloads that file, and matches the password your typed in to the one inside the ini file. If they match, it lets you read the rest of the variables and positions, else it kicks you off that file and deletes the ini. (Hopefully your smart enough to encrypt the inis so no one can really heck them and see the password.)

1-Level Engine

2. What do you mean by level engine? Be more descriptive.

2-Party Engine

3. Again, be more descriptive on what you mean.

3-Re-spawn Engine (Enemies and Heroes)

4. Save the room, x pos, y pos and z pos (Depth in a 2d game.) into an ini file. When the person logs in, (Check number one.) load these positions. The object should appear in the same place as it was when the dude logged off. Enemies should auto spawn if they are client side but server side then you probaly need an ini file or something for that. (Not sure really about enemies....)

How do I make an admin system + password protected system?

5. Again, with the ini files. You save part of it that says who is admin, and who is a normal dude, mod, etc. Again, it is read at the beginning and assigned a global variable.


 Since you have no clue how to use an ini file, here is the basics:

Code: [Select]
ini_open("Inifile.ini")
//Part and key identify the variable, well the variable is the thing your reading. Defualt is the thing the variable defualts to if it
//Isn't found.
return1 = ini_read_string("Part","Key","Default")
ini_close()
If you want to write one:
Code: [Select]
ini_open("Inifile.ini")
ini_write_string("Part","Key","Varible") //Part and key identify the variable, well the variable is the thing your writing.
ini_close()
Creating an ini file happens as soon as you use ini_open. So, if the ini file dosen't exist, it will create it for you.

*Thinks up writing his own Mmo for fun...*
Logged

King Tetiro

Leader of Phoenix Heart
Re: How do you make Online Games
« Reply #24 on: November 11, 2006, 05:04:47 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 3549
Thanks for some help, I now need the questions

2,3 and also

How do you encyrpt?

If I create an object or text, can the other person see it? If they do, how do I stop it?

How do I make it that when you log in, you reappear where you logged off?
Logged
  • Phoenix Heart
Re: How do you make Online Games
« Reply #25 on: November 11, 2006, 05:22:33 pm »
  • =/
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Posts: 2284
How do you encyrpt?

1. Use a encryption dll like Cryptor. Here is an example writen by TRM:
Quote
I made a small example (since roach took down his link) using it with binary encryption/decryption. You set your own key in the cryptorInitialize(); script.

Download: CryptorTutorial.zip (9KB)

I encrypted a .gif file into graphic.enc using the cryptorEncryptFile(); script, then deleted the .gif so I just had the .enc file. Then I can load this encrypted graphic (which I extract to the temp_directory so it is deleted when the game is ended) into the game and display it in the middle of the screen.



I suggest atleast a 12 character key.

In the Creation code of room0, I have this code:
Quote
{
 // Initialize the Cryptor.dll
 cryptorInitialize();
 // Create the avatar in the center of the screen
 instance_create(128, 112, objCryptor);
}

If I create an object or text, can the other person see it? If they do, how do I stop it?

2. I have no clue what you mean, sorry....

How do I make it that when you log in, you reappear where you logged off?

Quote from: Piers
4. Save the room, x pos, y pos and z pos (Depth in a 2d game.) into an ini file. When the person logs in, (Check number one.) load these positions. The object should appear in the same place as it was when the dude logged off. Enemies should auto spawn if they are client side but server side then you probaly need an ini file or something for that. (Not sure really about enemies....)
« Last Edit: November 11, 2006, 05:24:39 pm by piers »
Logged

King Tetiro

Leader of Phoenix Heart
Re: How do you make Online Games
« Reply #26 on: November 11, 2006, 05:27:33 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 3549
Oh okay, I don't understand 4.

Oh btw, number 2

If I open the menu (Create object) will others see it? If so, how do I stop it?
Logged
  • Phoenix Heart
Re: How do you make Online Games
« Reply #27 on: November 11, 2006, 05:56:46 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 1635
Shut the !@#$% up already. Why don't you go back and reflect on what's wrong with this post:

Quote
BUt how do you make a ini file load depending on which player it it?

EG Laigonaz=Player1

Also

Yeah erm let's see I need to know, if I created a object/text on my computer(Menu), would anyone else see it?

If they do, how do I stop it?

Thanks for any help.

And also

How do I make an admin system + password protected system?

Also I need to know

1-Level Engine

2-Party Engine

3-Re-spawn Engine (Enemies and Heroes)

4-How to save all the data
Ok, but I'll help you a little bit. Online connections can be made via TCP or UDP. They are protocols, basically sets of rules for sending information over the internet. When you want to make an online game, you have to have a host, someone who is creates the game, and the people who join, often called "slaves". Basically, when you see an option "do you want to join a game or host one", that is what it is doig. So, when you connect, you have to constantly send information over the internet. Send things like position, sprite, etc. That way, everyone can see what is going on. Certain things don't need to be sent every step, because if would lag the game down. Sockets are another method of using TCP and UDP to connect, but I'm not going to go into that right now. That's basically it - sending informatoin back and forth. I'm not going to create engines for you. You can go download the multitude of tutorials that already exist.
Logged

King Tetiro

Leader of Phoenix Heart
Re: How do you make Online Games
« Reply #28 on: November 11, 2006, 06:03:36 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 3549
Where would you recommend getting these tuts?

(SITES!)
Logged
  • Phoenix Heart
Re: How do you make Online Games
« Reply #29 on: November 11, 2006, 06:24:02 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 1635
forums.gamemaker.nl
Logged

King Tetiro

Leader of Phoenix Heart
Re: How do you make Online Games
« Reply #30 on: November 11, 2006, 06:50:27 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 3549
I have tried.

I have looked all over the net for a stupid funking starting block (Example,engine or tutorial)

and

I HAVE FOUND NOTHING!

 >:(  >:(  >:(  >:(  >:(  >:(

I am annoyed. All I need is an engine that

Connects the server
Account (Password protected)(Inventory,Who you are and level)
Chat Engine
Spawn Engine
And a text+menu engine which only you can see

BUT can I find that? NOOO! If anyone can make this, I will be very happy.
« Last Edit: November 11, 2006, 07:34:34 pm by Laigonaz »
Logged
  • Phoenix Heart
Re: How do you make Online Games
« Reply #31 on: November 11, 2006, 08:01:15 pm »
  • Am i here or am i not?...
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 238
you better make your e-mail work.....
Logged
Re: How do you make Online Games
« Reply #32 on: November 11, 2006, 08:21:37 pm »
  • =/
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Posts: 2284
I have tried.

I have looked all over the net for a stupid funking starting block (Example,engine or tutorial)

and

I HAVE FOUND NOTHING!

 >:(  >:(  >:(  >:(  >:(  >:(

I am annoyed. All I need is an engine that

Connects the server
Account (Password protected)(Inventory,Who you are and level)
Chat Engine
Spawn Engine
And a text+menu engine which only you can see

BUT can I find that? NOOO! If anyone can make this, I will be very happy.

Here, I'll set you up:
An online dll. (Soc)
An encryption dll.
A game maker.
Tutorials.

 Or:


 I personally recommend you building your own engine, so that you can say it is yours....
« Last Edit: November 11, 2006, 08:27:35 pm by piers »
Logged

Leif-Ericson

Re: How do you make Online Games
« Reply #33 on: November 11, 2006, 09:14:40 pm »
These all use GameMaker.

http://forums.gamemaker.nl/index.php?showtopic=254828 - Zelda Online (Uses Mplay, much easier to code than other online DLL's.)
http://forums.gamemaker.nl/index.php?showtopic=181221&hl=gmmmorpg - GMMMORPG (Uses SocDLL, easier to use)
http://forums.gamemaker.nl/index.php?showtopic=254828 - Zelda Online using 39Dll (Much Harder)

The first Zelda Online is currently still being made, so if theres anyhting you dont know how to do, it'll be in the next version. But it has compatibility issues.

Logged
Re: How do you make Online Games
« Reply #34 on: November 11, 2006, 11:11:44 pm »
  • Issac_Amisov
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 3458
Easy answer.

SoC

works amazingly.
Logged

King Tetiro

Leader of Phoenix Heart
Re: How do you make Online Games
« Reply #35 on: November 12, 2006, 06:39:04 am »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 3549
Thanks, piers and Leif-Ericson and anyone else who HELPED. I ain't no noob overall, just a noob at MMORPG.
Logged
  • Phoenix Heart
Re: How do you make Online Games
« Reply #36 on: November 12, 2006, 01:15:31 pm »
  • Am i here or am i not?...
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 238
ive got one too!......wait......
Logged

King Tetiro

Leader of Phoenix Heart
Re: How do you make Online Games
« Reply #37 on: November 12, 2006, 02:33:14 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 3549
Got a what?
Logged
  • Phoenix Heart
Re: How do you make Online Games
« Reply #38 on: November 12, 2006, 03:56:12 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 1902
Scooter wins ownership of this topic.
Logged


.TakaM was here.
Quote
so my friend stole a giant bag of ketchup out of the ketchup pumping things and brought it to our table and we took it in the bathroom and i smashed it over the sink and kicked it around the bathroom and smeared it everywhere and we all took turns kicking the ketchup out of it and when we were done it looked like an african village was murdered in the bathroom
XFD.
  • Awesome Land

King Tetiro

Leader of Phoenix Heart
Re: How do you make Online Games
« Reply #39 on: November 12, 2006, 07:50:55 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 3549
Does it matter?
Logged
  • Phoenix Heart
Pages: 1 [2] 3   Go Up

 


Contact Us | Legal | Advertise Here
2013 © ZFGC, All Rights Reserved



Page created in 0.049 seconds with 78 queries.