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-nmm6 (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-nmm6 (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-nmm6 (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
force disconnect?
Author Message
x77x
Master
**

Posts: 488
Likes Given: 0
Likes Received: 15 in 15 posts
Joined: Mar 2012
Reputation: -4



Post: #41
RE: force disconnect?
a proper disconnect, would still let you read the system messages at the bottom of the screen

telling you, your beening disconnected on purpose

a crash or the packet kicks you back out to the main login window

theres an idea!

a timer then your packet bomb!
.
.
.
SRC.SYSMESSAGE @0033 You will be disconnected in 10 seconds, Please log back in!
SRC.TIMERF 10, f_disconnectx

[FUNCTION f_disconnectx]
SRC.SENDPACKET 0D1 01

Dragons of Time 2000-2020
http://dragonsoftime.com
(This post was last modified: 10-18-2015 02:33 AM by x77x.)
10-18-2015 01:30 AM
Find all posts by this user Like Post Quote this message in a reply
pointhz
Journeyman
*

Posts: 148
Likes Given: 1
Likes Received: 55 in 28 posts
Joined: Oct 2013
Reputation: 1



Post: #42
RE: force disconnect?
[FUNCTION f_disconnectx]
SRC.SYSMESSAGE @0033 You will be disconnected in 10 seconds, Please log back in!
SRC.TIMERF 10, f_disconnecty

[FUNCTION f_disconnecty]
IF (<SRC.ISONLINE>)
SRC.SENDPACKET 0D1 01
ENDIF


What if you logout and log back in after f_disconnectx but before f_disconnecty? Will the timerf still work and disconnect you at the right time? I think so
(This post was last modified: 10-18-2015 02:25 AM by pointhz.)
10-18-2015 02:23 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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