Gamestudio Links
Zorro Links
Newest Posts
Zorro FIX plugin - Experimental
by 7th_zorro. 04/20/24 07:29
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (7th_zorro, henrybane, flink, Edgar_Herrera), 758 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
MMORPG Where to start? #189247
03/18/08 15:43
03/18/08 15:43
Joined: Nov 2006
Posts: 193
England
RyuShinji Offline OP
Member
RyuShinji  Offline OP
Member

Joined: Nov 2006
Posts: 193
England
hello i've made a few games but now, i want to try and make a very basic mmorpg that i could easly be built into a more advanced mmorpg,
what do i need to know to make an mmorpg?

Re: MMORPG Where to start? [Re: RyuShinji] #189248
03/18/08 15:57
03/18/08 15:57
Joined: Jan 2008
Posts: 1,580
Blade280891 Offline
Serious User
Blade280891  Offline
Serious User

Joined: Jan 2008
Posts: 1,580
Scripting mainly, i would start with just a basic level and add basic characters and weapons, then work your way up from there, i have a few downloaded tutorials on how to script one, if you need them.


My Avatar Randomness V2

"Someone get me to the doctor, and someone call the nurse
And someone buy me roses, and someone burned the church"
Re: MMORPG Where to start? [Re: Blade280891] #189249
03/18/08 16:06
03/18/08 16:06
Joined: Oct 2007
Posts: 5,210
Ä°stanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
Ä°stanbul, Turkey
if i were you,

i would start with basic multi-player games(maybe just cahtting thingy as first project), then learn everything about acknex multiplayer features(or gstnet) by making small projects like this. then make some more complex ones ....

then make a multi player but no mmo rpg and for the last thing start my mmo project.


3333333333
Re: MMORPG Where to start? [Re: Blade280891] #189250
03/18/08 16:11
03/18/08 16:11
Joined: Nov 2006
Posts: 193
England
RyuShinji Offline OP
Member
RyuShinji  Offline OP
Member

Joined: Nov 2006
Posts: 193
England
i've already made a more complicated mp game from the lockweed tutorial so i know some basics and more...

so i guess i'll start with the players just controling a ball each and then make chat systems and then attacking then enemys and stuff...

But how do i go from a quake style arena game to a mmorpg i dont mean the battle system or anything, just the online differences , do i need to know how to use dlls or mysql & how should i get a server host? things like that? "gstnet"?

Last edited by RyuShinji; 03/18/08 16:23.
Re: MMORPG Where to start? [Re: RyuShinji] #189251
03/18/08 16:49
03/18/08 16:49
Joined: Oct 2007
Posts: 5,210
Ä°stanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
Ä°stanbul, Turkey
i see.

as you already have some experience, you better start playing with mysql(there is a plugin for both c-script and lite-c, D3D's i think.)

it's really much more fun to play with mysql, you may start with how do you do changes on a sql server or how you get info from it(i mean sql queries).

i tried some little things with GS&mysql using the plugin i mentioned above, it did pretty well.

But if you go more complex, sometimes you may need something more on sql side, in this case you should program the server on your own using c++ or other languages.

Gstnet is a multiplayer plugin for GS, much easier to use, but there is no lite-c version yet


3333333333
Re: MMORPG Where to start? [Re: Quad] #189252
03/18/08 19:26
03/18/08 19:26
Joined: Nov 2006
Posts: 193
England
RyuShinji Offline OP
Member
RyuShinji  Offline OP
Member

Joined: Nov 2006
Posts: 193
England
Thank you so much this is perfect!

1.
Could anyone tell me how mysql basicaly works with GS to create a mmorpg?,
as i understand it its like a sort of file like a "txt" file for example, that is acessed through a dll that stores info like variables such as health & level, am i right and is there anything that i'm missing?

2.
in a normal arena type mp game someones computer is the server when they run the game in
server mode, so do i need some kind of host website to run my game in server mode 24/7, so people can join it and play it in thier 100s like a mmorpg?
OR
is mysql updated & read from so often that it acts as a server itself?

sorry for the long question...

Last edited by RyuShinji; 03/18/08 19:27.
Re: MMORPG Where to start? [Re: RyuShinji] #189253
03/18/08 20:46
03/18/08 20:46
Joined: Oct 2007
Posts: 5,210
Ä°stanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
Ä°stanbul, Turkey
1. in fact its not about gs, for mmo's, mysql does the storing info like accounts(username/pass),character info(int,dex,str,etc.),maybe atak power and so on, it's about how you design your game.

and mysql databeses not-exactly-but-like registry more than a txt file. it has a table hierarchy, like you have a accounts table,it has rows and columns, each row is an account and columns are like id,username,passwd,email,gender.

Code:

accounts table
_____________________________
id |uname |passwd |
______|_________|____________|
1 |quads |123456 |//this one
______|_________|____________|//and this one stands for a line
2 |ryu |abcde |
______|_________|____________|
...etc.



you can make a registration page using php. the usage of functions are smiliar and queries are exactly same.(talking about php and GS)

to use this stored info in database there are functions like(i made up the func names im not sure )

handle = mysql_connect("mysqlusername","mysqlpassword",[maybe some more parameters like ip addres im not sure]);
mysql_connectdb(handle,"mydatabase");

using these you are now connected to your database

then you query your database, lets say user entered his user name as ryu and password as abcde and you want to check if that password is wrong or right.

then you make a query like(not from client to database,from server to database,i mean client sends username and password to server,server checks it)

result = mysql_query("SELECT uname,passwd FROM accounts WHERE uname = 'ryu'");

this returns a row, there are some other functions to parse them,so you get password from database only thing left is to check if it is same as the password that user entered or not.

if its right then you send(make another query) the user's characters' info.(say you have another table like:
Code:

_______________________________________
id |name |level |dex |
______|_________|____________|_________|
1 |AAAA |12 |345 |//quads' first char.
______|_________|____________|_________|
1 |asdad |34 |123 |//quads' second.
______|_________|____________|_________|
2 |ryugaa |55 |455 |//ryu's first
______|_________|____________|_________|
2 |ryuzaki |9 |23 |//ryu's second
______|_________|____________|_________|

//(id points to the account id ) chars' with id 1 belongs to account with id 1.
//or you can design that things yourself



2. im not sure i exactly understand that

servers can be like one for database server and one for Game server.
sql server(including mysql) are designed for fast-access so queries will return the result fast but, making a lot of queries for unneeded things like store every step of character with queries and send them to other clients with some other queries will make server highly loaded, it will start to lag and even it will crash. This chamges from game to game but you may try sending other characters position and angle directly without storing them at the database(like in normal mp games,dont go to sql server,send info directly over gameserver), just store the last position(say when use logs off) and user will respawn in his last position when he logs in back.

a normal hosting's server and a normal home pc cant handle these, you may need to hire or buy a server machine that only works as your server, either you can run mysql server and game server in same Machine but again, for performance issues it will be better when they are on spare machines.

and a mysql server wont do the sending info to the client part, this is game server's job, mysql servers stores info and runs queries.

sorry for the long answer.

Last edited by Quadraxas; 03/18/08 20:59.

3333333333
Re: MMORPG Where to start? [Re: Quad] #189254
03/18/08 21:01
03/18/08 21:01
Joined: Jan 2008
Posts: 1,580
Blade280891 Offline
Serious User
Blade280891  Offline
Serious User

Joined: Jan 2008
Posts: 1,580
do you need help with PHP and MySql because i have some knowledge, i can make a registration page.


My Avatar Randomness V2

"Someone get me to the doctor, and someone call the nurse
And someone buy me roses, and someone burned the church"
Re: MMORPG Where to start? [Re: Blade280891] #189255
03/18/08 21:22
03/18/08 21:22
Joined: Nov 2006
Posts: 193
England
RyuShinji Offline OP
Member
RyuShinji  Offline OP
Member

Joined: Nov 2006
Posts: 193
England
Thanks so much Quadraxas that was a great answer ^_^ I feel as if I’m understanding more and more...

Blade28081991 << That would be great but I’ll need some time to find out exactly how I want things to be atm I’m just trying to see how its possible for me to make a mmorpg with my current level of understanding, but shockingly I have 1 more question about mysql, where is the information stored? do I need to create a mysql account of my own? does GSTNet use someone else’s mysql account or do I need to link it to my own?

Well I guess that was like 3 or 4 question sorry but they are my last concerns

Last edited by RyuShinji; 03/18/08 21:54.
Re: MMORPG Where to start? [Re: RyuShinji] #189256
03/18/08 21:24
03/18/08 21:24
Joined: Jan 2008
Posts: 1,580
Blade280891 Offline
Serious User
Blade280891  Offline
Serious User

Joined: Jan 2008
Posts: 1,580
erm, well i have a MySql account, so i can create one for you, otherwise you will need to register with a free/paid host like awardspace(the one im with) and set up a MySql account there. With a free account you can only have 1 table.


My Avatar Randomness V2

"Someone get me to the doctor, and someone call the nurse
And someone buy me roses, and someone burned the church"
Page 1 of 2 1 2

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1