The Daily Click ::. Forums ::. General Chat ::. MooGame/INI Saving Stats
 

Post Reply  Post Oekaki 
 

Posted By Message

Zexmaix



Registered
  10/12/2002
Points
  5
8th June, 2003 at 20:16:13 -

Hi, I need a little help for a MMORPG I am making using MMF 1.5 and MooGame. In the game, I want the user to be able to create 3 different characters per account, each having str,con,dex,int,wis, and cha stat counters, a level counter, and hp and mp counters to start.

I already have a system worked out that allows the user to create an account by inputting a user name and password which it saves to the server. But I am stumped as to how go further with the account, and have 3 characters with the above stated stats saved under them.

If you can give me an example or walkthrough of how I can do this using the INIs in MMF or within MooGame it would be greatly appreciated. Thanks!

 
Zexmaix ~> The Defiant Hero

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5685

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
8th June, 2003 at 20:36:43 -

Just in the Ini have -

[Stuff]
Username = Bob
Password = 123456789

[Character1]
Name=Assault Andy
Str=99999999
con=9 squilen
dex= big
int = 342890
wis = 324890480230

[Character2]
Name= Weak
Str=0.2
con= 1
dex= 0.5
int= 0.0000000002
wis=1

Etc.

-Andy

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5685

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
8th June, 2003 at 20:37:03 -

Btw, this sort of thing should go in the code-it section.

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

Zexmaix



Registered
  10/12/2002
Points
  5
8th June, 2003 at 21:37:31 -

Yeah, I get what you mean by what the INI should look like. But how do you save it into this INI groups or items or whatever. I am somewhat of a beginner when it comes to this stuff, but I have 2 INIs that I am using. One checks to make sure when the user creates an account, that the account doesn't already exist on the server. And it looks like this:

equi_acct.ini

[Zexmaix]
Exists=1
Password=dbzpoke87
[Talquek]
Exists=1
Password=lol123
[Cafelite]
Exists=1
Password=WhyAreYouLooking

So the group is their name, an items are exists and password. This is checked in MooGame. My second INI, I want to use to store the user's account and the server they play on. Here is what that one looks like.

equi_users.ini

[User Accounts]
Accounts=Gamemaster1
Server=00.00.00.00

So the group is User Accounts, and items are Accounts and Server, now I need more of an example in MMF or something to show me how to add a character to this user. Do I just create a new group for each character with relating items for stats, and would I make this in the equi_users.ini that is handled by MMF or go with the MooGame one?

I know how it is supposed to look like you showed, but it's HOW do I do it that I need to know.

 
Zexmaix ~> The Defiant Hero

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5685

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
9th June, 2003 at 02:31:42 -

No...... You leave all the data on the server, then when they log in run a loop that adds all the players that they have. If they .ini with thier stats was on thier computer they could open it and edit it.

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

Hill Gigas

Reviewing Madman

Registered
  07/06/2004
Points
  257

Game of the Week WinnerHas Donated, Thank You!VIP MemberI like Aliens!Turtle Power!GOTW WINNER CUP 2!SnowmanGOTW WINNER CUP 3!
11th May, 2017 at 11/05/2017 14:40:05 -

I'm still waiting for a new version of MooGame.

 
n/a

UrbanMonk

BRING BACK MITCH

Registered
  07/07/2008
Points
  57016

Has Donated, Thank You!Little Pirate!ARGH SignKliktober Special Award TagPicture Me This Round 33 Winner!The Outlaw!VIP MemberHasslevania 2!I am an April FoolKitty
Picture Me This Round 33 Winner!Picture Me This Round 32 Winner!Santa!Box Blue
11th May, 2017 at 11/05/2017 19:26:42 -

Bored eh Gigas?

And here I thought we finally had some site activity!

 
http://www.soapcow.com <- Flash games, featuring MMF made games!
http://www.jsoftgames.com <- Old blog I don't keep up anymore
http://www.rodentrush.com <- My best iphone game, made with Fusion.
   

Post Reply



 



Advertisement

Worth A Click