Naruto Web Forum Index Naruto Web
Naruto Web - The Online Naruto Game
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  ADR RPG ModADR RPG Mod   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
BlogsBlogs   
  GamesGames   
 ProfileCheat Codes   ProfileOnline Comics Directory   


remember user

 
Post new topic   Reply to topic    Naruto Web Forum Index -> Feature Suggestions
Author Message
cody4camp



Joined: 02 Jan 2008
Posts: 396
Location: computer chair

Character Kankarru
  Rank: 10 of 131
  Level: 1

Characteristics:
  Class:  Fighter
  Element:  Fire
  Alignment:  Neutral

438 Points

PostPosted: Sat Jan 12, 2008 12:19 am    Post subject: remember user Reply with quote

have on login screen to remember user& pass
Back to top

Jurge
Moose Chicken


Joined: 10 Dec 2007
Posts: 430
Location: Leaf Village

Character Jurge
  Rank: 1 of 131
  Level: 1

Characteristics:
  Class:  Bard
  Element:  Fire
  Alignment:  Neutral

45636 Points

PostPosted: Sun Jan 13, 2008 1:38 pm    Post subject: Reply with quote

Yeh thats a good idea cody.
also if your pass/user is wrong a warning should show.
Back to top

tinnie



Joined: 01 Oct 2007
Posts: 249
Location: U.K

Character tinnie
  Rank: 2 of 131
  Level: 1

Characteristics:
  Class:  Barbare
  Element:  Earth
  Alignment:  Neutral

4 Points

PostPosted: Sun Jan 13, 2008 6:35 pm    Post subject: Reply with quote

vb6 code:

'Store the user name and password
UserName = NameTxt.Text
UserPassword = PasswordTxt.Text

'Validate the user data, then start the connecting sequence
If Game_CheckUserData Then
SendNewChar = False
InitSocket
End If

'Save the game ini (name and password)
Var_Write DataPath & "Game.ini", "INIT", "Name", NameTxt.Text
Var_Write DataPath & "Game.ini", "INIT", "SavePass", -CInt(SavePass)
If Not SavePass Then
Var_Write DataPath & "Game.ini", "INIT", "Password", ""
Else
Var_Write DataPath & "Game.ini", "INIT", "Password", PasswordTxt.Text
End If

'End program
IsUnloading = 1


'Change the value
SavePass = Not SavePass

'Display the image or remove it
If SavePass Then
SavePassImg.Picture = LoadPicture(change 2 pic of login screen)
Else
Set SavePassImg.Picture = Nothing
End If

End Sub

for Sim Very Happy
Back to top

Display posts from previous:   
Post new topic   Reply to topic    Naruto Web Forum Index -> Feature Suggestions All times are GMT
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group