Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 04/23/26 14:23
Z9 getting Error 058
by k_ivan. 04/20/26 15:57
Stooq now requires an API key
by jcl. 04/13/26 09:42
Strange "Alien" Skull created with >Knubber<
by NeoDumont. 04/10/26 18:58
400 free seamless texture pack downl. here !
by NeoDumont. 04/08/26 19:55
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 3,492 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
valino, juergenwue, VladMak, Geir, ondrej
19209 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Creating a Login function for game Possible Y/N? #69838
04/06/06 01:26
04/06/06 01:26
Joined: Nov 2005
Posts: 49
Massachusetts
T
TBone Offline OP
Newbie
TBone  Offline OP
Newbie
T

Joined: Nov 2005
Posts: 49
Massachusetts
Hi, Does anyone know if it is possible in C-Script to create a login funcion for a game?

I'm running version 6.3XX and I would like to add a login module to my game so that players can create a profile with different settings. These settings would be written out to a .txt file so nothing is lost. I did not find anything like C++'s cin or cout keyword in the 3D manual. Is there something similar?

Another option would be for me to use C++ to create the login and then call the .exe game file from the dos prompt.

Any ideas would be great, I don't have a lot of experience programming so please be gentle

thanks for your time


"Supreme executive power derives from a mandate of the masses NOT some farcicle aquatic ceromony" Constitutional peasant skit "Monty Python and the Holy Grail"
Re: Creating a Login function for game Possible Y/N? [Re: TBone] #69839
04/06/06 06:08
04/06/06 06:08
Joined: Aug 2005
Posts: 1,558
HK
V
vlau Offline
Serious User
vlau  Offline
Serious User
V

Joined: Aug 2005
Posts: 1,558
HK
I think it is possible using c-script, like save and read
user name, password with file_str_write and file_str_read,
compare user name/password with str_cmp.

But don't forget to encrypt the password.txt file for security purpose.

Re: Creating a Login function for game Possible Y/N? [Re: vlau] #69840
04/06/06 13:24
04/06/06 13:24
Joined: Nov 2005
Posts: 49
Massachusetts
T
TBone Offline OP
Newbie
TBone  Offline OP
Newbie
T

Joined: Nov 2005
Posts: 49
Massachusetts
Thanks Vlau,
I'll keep that in mind.

thanks for your help

I just found the keyword inkey() I think I can use that to take characters from the keyboard as a string and then operate on them.


"Supreme executive power derives from a mandate of the masses NOT some farcicle aquatic ceromony" Constitutional peasant skit "Monty Python and the Holy Grail"

Gamestudio download | 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