Posted By
|
Message
|
Matt K ( Kodex )
Registered 01/01/2003
Points 42
|
6th April, 2004 at 07:34:57 -
Ok,
i'm trying to make an online game. The server is on my PC, and i want to know how to make some sort of server-side ini which will store names of players, their passwords etc.
What i want, is in my game people can create a new acount/login with an existing one, and send their login detials to the server, which then responds. i also want to know how to make it so you can recieve some sort of 'message of the day' from the server, like when you connect to the server in the game.
please, any help would be much apreciated :/
n/a
|
Klikmaster Master of all things Klik
Registered 08/07/2002
Points 2599
|
6th April, 2004 at 11:32:59 -
I really need to know the answer to this question. How do we get server-side inis to work?
Matt K - Do you have mooclick, that has a Message of the day function, I think.
n/a
|
Matt K ( Kodex )
Registered 01/01/2003
Points 42
|
6th April, 2004 at 12:38:07 -
ba im just using the free version of moo2.
i really want to know how you can save things server-side, so that you can save your position etc or details on the server, and load it again. need you have a separate ini for every player?? i have no idea how do you link to the ini in your game??
n/a
|
Klikmaster Master of all things Klik
Registered 08/07/2002
Points 2599
|
6th April, 2004 at 15:48:52 -
I'm not sure how it works in moo2, but in mooclick you send values on a channel to change players position, etc.
But for saving people's usernames, stats, etc. I have no idea Server-Side Inis? Or is there a way to get data from an online database back to the app?
n/a
|
Kramy
Registered 08/06/2002
Points 1888
|
6th April, 2004 at 18:02:09 -
In MooClick you have to use an ini, then a special channel or command to tell your Server App to save it and how to.
No idea for Moo2.
Kramy
|
Klikmaster Master of all things Klik
Registered 08/07/2002
Points 2599
|
6th April, 2004 at 19:07:43 -
Kramy, You know how to save an ini on the server? How? Anyone know?
n/a
|
Assault Andy Administrator
I make other people create vaporware
Registered 29/07/2002
Points 5686
|
7th April, 2004 at 06:49:18 -
Extended version of Kramy's:
You have your client and your server programs.
Client:
On press enter - Send string to server = "create ini"
Server:
on recieve msg from client - create ini file in C:\game\users\
+msg = "create ini"
----------
Basically, from the client you send the data to the server telling the server what you want created. For a username\password type thing:
Client:
Send textbox(username).text
Send textbox(password).text
Server:
On recieve username & Pass - Open (username sent from client).ini
Password = password in ini file - Send string to client = "Login Successful"
-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
|
Crystal Clear (H.E.S) Possibly Insane
Registered 06/10/2002
Points 2548
|
7th April, 2004 at 08:39:20 -
Klikmaster:Message Of the Day function i dont think has got to do with a server side INI, i think its just for setting like some sort of special message that can be displayed?? but i thought there was an IMI or something that you, could have usin MOO2?
HES homepage:
http://www.distinctiv-efair.com/heretic/studios
Crystal Clear Productions: http://www.distinctiv-efair.com/heretic/crystalclear
|
Klikmaster Master of all things Klik
Registered 08/07/2002
Points 2599
|
7th April, 2004 at 08:47:00 -
Assault Andy : Do you need to host your own server to use server-side inis?
n/a
|
Justin
Registered 03/02/2003
Points 52
|
7th April, 2004 at 09:30:44 -
no you don't have to host your own server to do serverside imi's if you have moogame/moo2 they are built in and you can use them from the extension itself. if you don't have either of those extensions then you would need to host your own server or at least no of one that let you use some custom commands.
n/a
|
Klikmaster Master of all things Klik
Registered 08/07/2002
Points 2599
|
7th April, 2004 at 09:44:41 -
But I have mooclick, can i not use server-side inis then?
n/a
|
Justin
Registered 03/02/2003
Points 52
|
7th April, 2004 at 10:57:25 -
only if you use a custom server... like mentioned above.
n/a
|
Assault Andy Administrator
I make other people create vaporware
Registered 29/07/2002
Points 5686
|
10th April, 2004 at 20:21:27 -
You need a server to host your own server side inis, and you don't need them for imis as Justin said. But the advantage of hosting it yourself is, you can edit all the things in the ini files and it's alot more secure than an imi file.
Personally I wouldn't use a imi, but it would be costly to host your own server. So it's based on what your willing to do.
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
|
Klikmaster Master of all things Klik
Registered 08/07/2002
Points 2599
|
10th April, 2004 at 21:33:23 -
Is there a way of me storing player data online, without having my own server or moo2/game?
n/a
|
Crystal Clear (H.E.S) Possibly Insane
Registered 06/10/2002
Points 2548
|
10th April, 2004 at 23:03:49 -
hmmm... Theres probably a way with moosock, check out the CTforums they should have stuff on it.
HES homepage:
http://www.distinctiv-efair.com/heretic/studios
Crystal Clear Productions: http://www.distinctiv-efair.com/heretic/crystalclear
|
|
|