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
  50154

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
11th May, 2017 at 11/05/2017 19:26:42 -

Bored eh Gigas?

And here I thought we finally had some site activity!

 
n/a

ConvertingBoi



Registered
  26/08/2017 19:47:58
Points
  88
4th November, 2018 at 04/11/2018 21:02:54 -


Originally Posted by Hill Gigas
I'm still waiting for a new version of MooGame.



New online game teaser, perhaps?

Kidding! There's no need to wait, since there's already a new Clickteam server extension called Lacewing. You should try making a game with that, if you want!

 
Nice guy Convert2Double.

UrbanMonk

BRING BACK MITCH

Registered
  07/07/2008
Points
  50154

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
5th November, 2018 at 05/11/2018 15:15:08 -

Just use MooSock and build your own protocol like a real man.

But really, this thread is from 2003.

Simpler times.

 
n/a

ConvertingBoi



Registered
  26/08/2017 19:47:58
Points
  88
5th November, 2018 at 05/11/2018 16:22:28 -


Originally Posted by UrbanMonk
Just use MooSock and build your own protocol like a real man.

But really, this thread is from 2003.

Simpler times.



Yeah!

I mean, Lacewing atleast works better than Moo2/MooGame. Moo is literally 19 years old, so think about it.

 
Nice guy Convert2Double.
   

Post Reply



 



Advertisement

Worth A Click