SphereCommunity
force disconnect? - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: force disconnect? (/Thread-force-disconnect)

Pages: 1 2 3 4 5


RE: force disconnect? - evening - 01-15-2015 09:39 PM

me too


RE: force disconnect? - x77x - 01-15-2015 10:09 PM

with the rest of the function above?


RE: force disconnect? - Extreme - 01-16-2015 04:34 AM

lol

[FUNCTION HOWTODISCONNECT]
SENDPACKET 0D1


RE: force disconnect? - x77x - 01-16-2015 06:55 AM

the OBJ thing is not letting it


try it with the WHOLE code

Code:
[FUNCTION DISCONNECTX]
SENDPACKET 0D1

[FUNCTION JOINWEI]
OBJ <UID.040004000>
OBJ.MEMBER=<SRC.UID>,,2,<SRC.UID>,1,1,0
SRC.SYSMESSAGE @04 Congtatulations, You have joined the mighty army of Wei!
SRC.GO 1513,1621,10
SRC.TAG.ARMY Wei//04000
SRC.TITLE Infantry Soldier
src.events +e_armylife_wei
SRC.TAG.ARMYKILLS 0
SRC.TAG.ARMYDEATHS 0
SRC.LEVEL 1
SRC.SYSMESSAGE @0033 Please log off then back in!
DISCONNECTX

15:58:ERROR:(SPHERE_ARMY_JOIN.scp,84)Undefined keyword 'SENDPACKET'


RE: force disconnect? - Extreme - 01-16-2015 12:21 PM

LOL AGAIN
Are you using the 'JOINWEI' function in npcs? They can't receive packets.
Are you using the 'JOINWEI' function in players and getting the error? Your sphereserver is old. It's not my problem.


RE: force disconnect? - x77x - 01-16-2015 02:32 PM

PLAYERS

i told you the object is fucking it up, if you remove it, itll work

nightly 12/26/14


RE: force disconnect? - darksun84 - 01-16-2015 07:51 PM

Where are you using the function ? Are you calling it from an item ?


RE: force disconnect? - Extreme - 01-17-2015 12:44 AM

I quit.


RE: force disconnect? - x77x - 01-17-2015 02:29 AM

ill do it any way itll work, but im telling you its not working like its supposed to

Code:
[FUNCTION JOINWEI]
OBJ <UID.040004000>
OBJ.MEMBER=<SRC.UID>,,2,<SRC.UID>,1,1,0
SRC.SYSMESSAGE @04 Congtatulations, You have joined the mighty army of Wei!
SRC.GO 1513,1621,10
SRC.TAG.ARMY Wei//04000
SRC.TITLE Infantry Soldier
src.events +e_armylife_wei
SRC.TAG.ARMYKILLS 0
SRC.TAG.ARMYDEATHS 0
SRC.LEVEL 1
SRC.SYSMESSAGE @0033 Please log off then back in!
DISCONNECT
SRC.DISCONNECT
SENDPACKET 0D1
SRC.SENDPACKET 0D1
TRYSRV DISCONNECT
TRYSRV.DISCONNECT
TRYSRC DISCONNECT
TRYSRC.DISCONNECT

take your pick, none of them work...



11:38:ERROR:(SPHERE_ARMY_JOIN.scp,387)Undefined keyword 'DISCONNECT'
11:38:ERROR:(SPHERE_ARMY_JOIN.scp,389)Undefined keyword 'SENDPACKET'
11:38:ERROR:(SPHERE_ARMY_JOIN.scp,391)Undefined keyword 'DISCONNECT'
11:38:ERROR:(SPHERE_ARMY_JOIN.scp,391)Can't trysrv DISCONNECT object Armystone of Wei (040001f41)
11:38:ERROR:(SPHERE_ARMY_JOIN.scp,392)Undefined keyword 'TRYSRV.DISCONNECT'
11:38:ERROR:(SPHERE_ARMY_JOIN.scp,393)Undefined symbol 'DISCONNECT'
11:38:ERROR:(SPHERE_ARMY_JOIN.scp,393)Can't trysrc object Armystone of Wei (040001f41): invalid src uid 00
11:38:ERROR:(SPHERE_ARMY_JOIN.scp,394)Undefined keyword 'TRYSRC.DISCONNECT'


RE: force disconnect? - Extreme - 01-17-2015 02:40 AM

Try this in game, .sendpacket 0d1