The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
hidden password
Author Message
ograso
Journeyman
*

Posts: 135
Likes Given: 10
Likes Received: 2 in 2 posts
Joined: May 2014
Reputation: 0



Post: #1
hidden password
Hey all,

I am using a pin system. Players must use a pin before enter the game. I have 2 questions about this pin system.

1- Players using their own password but I can show them password as staff. How can I make hidden this passwords.

2- Players shouldnt enter the password more then 3 times. How can I do this?
02-15-2015 05:11 AM
Find all posts by this user Like Post Quote this message in a reply
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #2
RE: hidden password
You must first tell us how are you storing the password... is it a tag?

For anything related to 'before enter the game' the only you can use is what is on 'sphere_serv_triggers.scp', there's no way to show dialog to client if there's no character or such things.
02-15-2015 06:35 PM
Find all posts by this user Like Post Quote this message in a reply
ograso
Journeyman
*

Posts: 135
Likes Given: 10
Likes Received: 2 in 2 posts
Joined: May 2014
Reputation: 0



Post: #3
RE: hidden password
Yeah Xun, storing with tag like src.tag.pin=<ARGTXT[1]>

Is it possible to show on example. Scenario; someone steal the account and trying to enter player pin and system will disconnect to player after third attempts and will remember these failed attempts. If stealer try to access attempt again and still failed attempts happened then account will disable.
02-15-2015 09:50 PM
Find all posts by this user Like Post Quote this message in a reply
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #4
RE: hidden password
Code:
CTAG0.Password.Try += 1
IF (<CTAG0.Password.Try> > 3)
  SYSMESSAGE Too many invalid passwords.
  DISCONNECT
ENDIF
PS: CTAG is the same of TAG, but tags are permanent and ctags are cleared on logout
02-16-2015 01:17 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes Coruja's post
ograso
Journeyman
*

Posts: 135
Likes Given: 10
Likes Received: 2 in 2 posts
Joined: May 2014
Reputation: 0



Post: #5
RE: hidden password
thanks coruja, what about the second attempt after logout? player logged out and he/she still trying to system with stolen account. I need to disable after second access attempt
(This post was last modified: 02-16-2015 04:34 AM by ograso.)
02-16-2015 04:18 AM
Find all posts by this user Like Post Quote this message in a reply
ograso
Journeyman
*

Posts: 135
Likes Given: 10
Likes Received: 2 in 2 posts
Joined: May 2014
Reputation: 0



Post: #6
RE: hidden password
(02-15-2015 06:35 PM)XuN Wrote:  You must first tell us how are you storing the password... is it a tag?

For anything related to 'before enter the game' the only you can use is what is on 'sphere_serv_triggers.scp', there's no way to show dialog to client if there's no character or such things.

Xun?
02-17-2015 06:53 AM
Find all posts by this user Like Post Quote this message in a reply
ograso
Journeyman
*

Posts: 135
Likes Given: 10
Likes Received: 2 in 2 posts
Joined: May 2014
Reputation: 0



Post: #7
RE: hidden password
another idea,

Is it possible to prevent some specific tags in the taglist results.
(This post was last modified: 02-17-2015 09:48 PM by ograso.)
02-17-2015 09:48 PM
Find all posts by this user Like Post Quote this message in a reply
ograso
Journeyman
*

Posts: 135
Likes Given: 10
Likes Received: 2 in 2 posts
Joined: May 2014
Reputation: 0



Post: #8
RE: hidden password
I do not want to believe you dear sphere developers. I saw all of you read this help request but nobody wanted to help. interesting behaviors. anyway

Dear UO lovers I am trying to explain how is it possible to hash the players pin password or valuable information in game. please visit this post http://forum.spherecommunity.net/Thread-Hashing
(This post was last modified: 02-19-2015 08:04 AM by ograso.)
02-19-2015 08:03 AM
Find all posts by this user Like Post Quote this message in a reply
Shaklaban
Master
**

Posts: 378
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 8

DOT

Post: #9
RE: hidden password
restrict the tag command in the oncommand trigger. if you want to restrict specific tags, then create softcoded tag and taglist commands.
02-25-2015 08:35 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 4 Guest(s)