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: #31
RE: force disconnect?
what do you mean? im trying to disconnect a player via script or function

Dragons of Time 2000-2020
http://dragonsoftime.com
01-29-2015 11:00 PM
Find all posts by this user Like Post Quote this message in a reply
Ankron
Apprentice
*

Posts: 20
Likes Given: 3
Likes Received: 2 in 2 posts
Joined: Jan 2015
Reputation: 0



Post: #32
RE: force disconnect?
You could always try sending the client a bad gump too. That'll cause the client to crash.
02-15-2015 01:32 PM
Find all posts by this user Like Post Quote this message in a reply
x77x
Master
**

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



Post: #33
RE: force disconnect?
ooooooooohhhhhhh good idea =)

Dragons of Time 2000-2020
http://dragonsoftime.com
02-16-2015 02:53 AM
Find all posts by this user Like Post Quote this message in a reply
x77x
Master
**

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



Post: #34
RE: force disconnect?
still havent figured out a way to this

why wont src.disconnect work?

i simply want to disconnect the client via script...

not kick because of the ban, ideas?

Dragons of Time 2000-2020
http://dragonsoftime.com
10-12-2015 06:49 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: #35
RE: force disconnect?
What version are you using? Paste again the code you have now and tell us who do you want to disconnect. TRYSVR Disconnect or TRYSVR src.disconnect should do it (You might find problems if you try to disconnect privileged accounts, but not with players).
10-12-2015 04:39 PM
Find all posts by this user Like Post Quote this message in a reply
x77x
Master
**

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



Post: #36
RE: force disconnect?
build 2475 client 7.0.46.0

i tried...
SRC.DISCONNECT
SRC.XDISCONNECT
TRYSRC <UID> SRC.SENDPACKET 0D1
SRC.SENDPACKET 0D1
TRYSVR src.disconnect
SRC.TRYSVR src.disconnect
SERV.SRC DISCONNECT

all crap!

this one will make it crash
SRC.SENDPACKET 0D1

but i want a nice smooth normal disconnect

Dragons of Time 2000-2020
http://dragonsoftime.com
(This post was last modified: 10-14-2015 08:04 AM by x77x.)
10-14-2015 08:03 AM
Find all posts by this user Like Post Quote this message in a reply
Ben
Sphere Developer
*****

Posts: 612
Likes Given: 2
Likes Received: 123 in 70 posts
Joined: Mar 2010
Reputation: 18

SphereCommunity

Post: #37
RE: force disconnect?
You keep using src everywhere... just try with
TRYSVR disconnect

AxisII's current version: 2.0.4j
AxisII SourceCode on Github
AxisII up to date changelog
10-14-2015 09:25 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #38
RE: force disconnect?

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
10-14-2015 12:17 PM
Find all posts by this user Like Post Quote this message in a reply
x77x
Master
**

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



Post: #39
RE: force disconnect?
that works...

did i say DISCONNECT?


i meant LOGOUT =)

FORCE A LOGOUT via SCRIPT

Dragons of Time 2000-2020
http://dragonsoftime.com
10-17-2015 09:15 PM
Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #40
RE: force disconnect?
Whats the difference between logout and disconnect in this case?

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
10-17-2015 10:17 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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