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
Unknown Packet Support
Author Message
Skul
Master
**

Posts: 413
Likes Given: 0
Likes Received: 19 in 15 posts
Joined: Jun 2012
Reputation: 9



Post: #1
Unknown Packet Support
This script is a simple 'fix' for the 'unknown packets' sometimes received in the latest sphereserver build. Use this script only if you receive unknown packet errors and want to use the sphereserver version you currently have.

First part of code is meant to be placed in sphere.ini
Code:
//Unknown Packets
PACKET10=f_packet_0x0a
PACKET12=f_packet_0x0c
PACKET14=f_packet_0x0e
PACKET17=f_packet_0x011
PACKET20=f_packet_0x014
PACKET27=f_packet_0x01b
PACKET28=f_packet_0x01c
PACKET45=f_packet_0x02d
PACKET47=f_packet_0x02f
PACKET49=f_packet_0x031
PACKET51=f_packet_0x033
PACKET64=f_packet_0x040
PACKET71=f_packet_0x047
PACKET72=f_packet_0x048
PACKET73=f_packet_0x049
PACKET78=f_packet_0x04e
PACKET88=f_packet_0x058
PACKET91=f_packet_0x05b
PACKET96=f_packet_0x060
PACKET97=f_packet_0x061
PACKET112=f_packet_0x070
PACKET119=f_packet_0x077
PACKET120=f_packet_0x078
PACKET135=f_packet_0x087
PACKET143=f_packet_0x08f
PACKET144=f_packet_0x090
PACKET151=f_packet_0x097
PACKET156=f_packet_0x09c
PACKET161=f_packet_0x0a1
PACKET168=f_packet_0x0a8
PACKET170=f_packet_0x0aa
PACKET176=f_packet_0x0b0
PACKET188=f_packet_0x0bc
PACKET190=f_packet_0x0be
PACKET195=f_packet_0x0c3
PACKET196=f_packet_0x0c4
PACKET199=f_packet_0x0c7
PACKET203=f_packet_0x0cb
PACKET204=f_packet_0x0cc
PACKET220=f_packet_0x0dc
PACKET230=f_packet_0x0e6
PACKET242=f_packet_0x0f2
PACKET253=f_packet_0x0fd
This second part is meant to be installed into a seperate script.scp file, such as sphere_unknown_packets.scp:
Code:
//Unknown Packets
[function f_packet_0x0a]
[function f_packet_0x0c]
[function f_packet_0x0e]
[function f_packet_0x011]
[function f_packet_0x014]
[function f_packet_0x01b]
[function f_packet_0x01c]
[function f_packet_0x02d]
[function f_packet_0x02f]
[function f_packet_0x031]
[function f_packet_0x033]
[function f_packet_0x040]
[function f_packet_0x047]
[function f_packet_0x048]
[function f_packet_0x049]
[function f_packet_0x04e]
[function f_packet_0x058]
[function f_packet_0x05b]
[function f_packet_0x060]
[function f_packet_0x061]
[function f_packet_0x070]
[function f_packet_0x077]
[function f_packet_0x078]
[function f_packet_0x087]
[function f_packet_0x08f]
[function f_packet_0x090]
[function f_packet_0x097]
[function f_packet_0x09c]
[function f_packet_0x0a1]
[function f_packet_0x0a8]
[function f_packet_0x0aa]
[function f_packet_0x0b0]
[function f_packet_0x0bc]
[function f_packet_0x0be]
[function f_packet_0x0c3]
[function f_packet_0x0c4]
[function f_packet_0x0c7]
[function f_packet_0x0cb]
[function f_packet_0x0cc]
[function f_packet_0x0dc]
[function f_packet_0x0e6]
[function f_packet_0x0f2]
[function f_packet_0x0fd]
This script is not meant to add any feature other than eliminate client crashes and long server response times in the certain sphere server builds.

"I ask a question to the answer I already know."

Marchadium :: http://www.marchadium.ca/ :: Join us!
09-20-2012 10:08 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: #2
RE: Unknown Packet Support
Thats a nice idea!
I had never thought about it before Big Grin

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.
09-20-2012 01:25 PM
Find all posts by this user Like Post Quote this message in a reply
WRWR
Journeyman
*

Posts: 212
Likes Given: 30
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 1



Post: #3
RE: Unknown Packet Support
Code:
ERROR:(sphere.ini,841)Undefined symbol 'PACKET14'
ERROR:(sphere.ini,841)Undefined symbol 'f_packet_0x0e'
ERROR:(sphere.ini,844)Undefined symbol 'PACKET27'
ERROR:(sphere.ini,844)Undefined symbol 'f_packet_0x01b'
ERROR:(sphere.ini,847)Undefined symbol 'PACKET47'
ERROR:(sphere.ini,847)Undefined symbol 'f_packet_0x02f'
ERROR:(sphere.ini,850)Undefined symbol 'PACKET64'
ERROR:(sphere.ini,850)Undefined symbol 'f_packet_0x040'
ERROR:(sphere.ini,853)Undefined symbol 'PACKET73'
ERROR:(sphere.ini,853)Undefined symbol 'f_packet_0x049'
ERROR:(sphere.ini,856)Undefined symbol 'PACKET91'
ERROR:(sphere.ini,856)Undefined symbol 'f_packet_0x05b'
ERROR:(sphere.ini,859)Undefined symbol 'PACKET112'
ERROR:(sphere.ini,859)Undefined symbol 'f_packet_0x070'
ERROR:(sphere.ini,862)Undefined symbol 'PACKET135'
ERROR:(sphere.ini,862)Undefined symbol 'f_packet_0x087'
ERROR:(sphere.ini,865)Undefined symbol 'PACKET151'
ERROR:(sphere.ini,865)Undefined symbol 'f_packet_0x097'
ERROR:(sphere.ini,868)Undefined symbol 'PACKET168'
ERROR:(sphere.ini,868)Undefined symbol 'f_packet_0x0a8'
ERROR:(sphere.ini,871)Undefined symbol 'PACKET188'
ERROR:(sphere.ini,871)Undefined symbol 'f_packet_0x0bc'
ERROR:(sphere.ini,874)Undefined symbol 'PACKET196'
ERROR:(sphere.ini,874)Undefined symbol 'f_packet_0x0c4'
ERROR:(sphere.ini,877)Undefined symbol 'PACKET204'
ERROR:(sphere.ini,877)Undefined symbol 'f_packet_0x0cc'
ERROR:(sphere.ini,880)Undefined symbol 'PACKET242'
ERROR:(sphere.ini,880)Undefined symbol 'f_packet_0x0f2'
(This post was last modified: 09-20-2012 05:48 PM by WRWR.)
09-20-2012 05:47 PM
Find all posts by this user Like Post Quote this message in a reply
Skul
Master
**

Posts: 413
Likes Given: 0
Likes Received: 19 in 15 posts
Joined: Jun 2012
Reputation: 9



Post: #4
RE: Unknown Packet Support
Make sure the PACKETxx listed go somewhere inside the [SPHERE] block in sphere.ini, this will not work if you place it within the [BLOCKIP] or [SERVERS] blocks.

"I ask a question to the answer I already know."

Marchadium :: http://www.marchadium.ca/ :: Join us!
09-20-2012 06:06 PM
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: #5
RE: Unknown Packet Support
I placed after //MySqlDatabase=
Its the right place to paste =D

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.
(This post was last modified: 09-24-2012 12:27 PM by Extreme.)
09-20-2012 11:14 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: #6
RE: Unknown Packet Support
Another packet...
PHP Code:
PACKET53=F_PACKET_0X035
[FUNCTION F_PACKET_0X035

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.
09-24-2012 12:28 PM
Find all posts by this user Like Post Quote this message in a reply
daedelus
Journeyman
*

Posts: 69
Likes Given: 0
Likes Received: 2 in 1 posts
Joined: Aug 2012
Reputation: 0



Post: #7
RE: Unknown Packet Support
I have the fix script, resync and this error:

Code:
23:03:WARNING:93:Unknown game packet (0x41) received.
23:03:WARNING:93:Unknown game packet (0x6d) received.
23:03:WARNING:93:Unknown game packet (0x7e) received.
23:03:WARNING:93:Unknown game packet (0xfb) received.
23:03:WARNING:93:Unknown game packet (0x85) received.
23:03:WARNING:93:Unknown game packet (0x88) received.
23:03:WARNING:93:Unknown game packet (0x2d) received.
23:03:WARNING:93:Unknown game packet (0xd) received.
23:03:WARNING:93:Unknown game packet (0x7a) received.
23:03:WARNING:93:Unknown game packet (0xe4) received.
23:03:WARNING:93:Unknown game packet (0xd3) received.
23:03:WARNING:93:Unknown game packet (0x5b) received.
23:03:WARNING:93:Unknown game packet (0x5b) received.
23:03:WARNING:93:Unknown game packet (0x6b) received.
23:03:WARNING:93:Unknown game packet (0x87) received.
23:03:WARNING:93:Unknown game packet (0xc0) received.
23:03:WARNING:93:Unknown game packet (0xa2) received.
23:03:WARNING:93:Unknown game packet (0xa) received.
23:03:WARNING:93:Unknown game packet (0x84) received.
23:03:WARNING:93:Unknown game packet (0x70) received.
23:03:WARNING:93:Unknown game packet (0x60) received.
23:03:WARNING:93:Unknown game packet (0x90) received.
23:03:WARNING:93:Unknown game packet (0x25) received.
23:03:WARNING:93:Unknown game packet (0x9c) received.
23:03:WARNING:93:Unknown game packet (0xe3) received.
23:03:WARNING:93:Unknown game packet (0x3f) received.
23:03:WARNING:93:Unknown game packet (0x3c) received.
23:03:WARNING:93:Unknown game packet (0x60) received.
23:10:WARNING:3c8:Unknown game packet (0x17) received.
23:10:WARNING:166:Unknown game packet (0x5f) received.
23:10:WARNING:3bc:Unknown game packet (0x3c) received.
23:10:WARNING:3eb:Unknown game packet (0xa8) received.
23:10:WARNING:3eb:Unknown game packet (0xc7) received.
23:10:WARNING:a7:Unknown game packet (0x43) received.
23:10:WARNING:3eb:Unknown game packet (0xc) received.
23:10:WARNING:166:Unknown game packet (0x35) received.
23:10:WARNING:3eb:Unknown game packet (0xde) received.
23:10:WARNING:d9:Unknown game packet (0x88) received.
23:10:WARNING:3bc:Unknown game packet (0x25) received.
23:10:WARNING:3eb:Unknown game packet (0x2a) received.
23:10:WARNING:3eb:Unknown game packet (0x5e) received.
23:10:WARNING:166:Unknown game packet (0x9d) received.
23:10:WARNING:d9:Unknown game packet (0x61) received.
23:10:WARNING:3bc:Unknown game packet (0xf3) received.
23:10:WARNING:3eb:Unknown game packet (0xc0) received.
23:10:WARNING:3eb:Unknown game packet (0xc6) received.
23:10:WARNING:166:Unknown game packet (0x1b) received.
23:10:WARNING:3eb:Unknown game packet (0x1f) received.
23:10:WARNING:3bc:Unknown game packet (0x19) received.
23:11:WARNING:166:Unknown game packet (0xc) received.
WARNING:3eb:Unknown game packet (0x17) received.
23:10:WARNING:166:Unknown game packet (0x88) received.
23:10:WARNING:33b:Unknown game packet (0xa3) received.
23:10:WARNING:3bc:Unknown game packet (0xc6) received.
23:10:WARNING:3c8:Unknown game packet (0x36) received.
23:10:WARNING:3fa:Unknown game packet (0x46) received.
23:10:WARNING:3fc:Unknown game packet (0xba) received.
23:10:WARNING:38:Unknown game packet (0x21) received.
23:10:WARNING:81:Unknown game packet (0x96) received.
23:10:WARNING:a7:Unknown game packet (0x61) received.
23:10:WARNING:d7:Unknown game packet (0x28) received.
23:10:WARNING:d9:Unknown game packet (0x8e) received.
23:10:WARNING:db:Unknown game packet (0xf2) received.
23:10:WARNING:3eb:Unknown game packet (0xa) received.
23:10:WARNING:3fa:Unknown game packet (0x7a) received.
23:10:WARNING:81:Unknown game packet (0xc0) received.
23:10:WARNING:d7:Unknown game packet (0xc5) received.
23:10:WARNING:3fa:Unknown game packet (0xbc) received.
23:10:WARNING:db:Unknown game packet (0xc5) received.
23:10:WARNING:d7:Unknown game packet (0x41) received.
23:10:WARNING:3fa:Unknown game packet (0x92) received.
23:10:WARNING:3fa:Unknown game packet (0xc0) received.
23:10:WARNING:166:Unknown game packet (0x19) received.
23:10:WARNING:3bc:Unknown game packet (0x15) received.
23:10:WARNING:db:Unknown game packet (0x68) received.
23:10:WARNING:38:Unknown game packet (0xdd) received.
23:10:WARNING:a7:Unknown game packet (0x78) received.
23:10:WARNING:3c8:Unknown game packet (0x3d) received.
23:10:WARNING:d7:Unknown game packet (0xd8) received.
23:10:WARNING:d7:Unknown game packet (0x64) received.
23:10:WARNING:38:Unknown game packet (0x2d) received.
23:10:WARNING:d7:Unknown game packet (0xa) received.
23:10:WARNING:d7:Unknown game packet (0xef) received.
23:10:WARNING:38:Unknown game packet (0x46) received.
23:10:WARNING:38:Unknown game packet (0x2d) received.
23:10:WARNING:38:Unknown game packet (0x7a) received.
23:10:WARNING:d7:Unknown game packet (0x2a) received.
23:10:WARNING:166:Unknown game packet (0x1d) received.
23:10:WARNING:3c8:Unknown game packet (0xf5) received.
23:10:WARNING:d7:Unknown game packet (0x63) received.
23:10:WARNING:d7:Unknown game packet (0x90) received.
23:10:WARNING:38:Unknown game packet (0xe5) received.
23:10:WARNING:a7:Unknown game packet (0x60) received.
23:10:WARNING:3bc:Unknown game packet (0xe6) received.
23:10:WARNING:d7:Unknown game packet (0xb9) received.
23:10:WARNING:3eb:Unknown game packet (0x78) received.
23:10:WARNING:166:Unknown game packet (0xb) received.
23:10:WARNING:3eb:Unknown game packet (0x2a) received.
23:10:WARNING:3eb:Unknown game packet (0x5e) received.
23:10:WARNING:166:Unknown game packet (0x9d) received.
23:10:WARNING:d9:Unknown game packet (0x61) received.
23:10:WARNING:3bc:Unknown game packet (0xf3) received.
23:10:WARNING:3eb:Unknown game packet (0xc0) received.
23:10:WARNING:3eb:Unknown game packet (0xc6) received.
23:10:WARNING:166:Unknown game packet (0x1b) received.
23:10:WARNING:3eb:Unknown game packet (0x1f) received.
23:10:WARNING:3bc:Unknown game packet (0x19) received.
23:11:WARNING:3fc:Unknown game packet (0xa1) received.
23:13:WARNING:166:Unknown game packet (0x82) received.
23:13:WARNING:166:Unknown game packet (0xee) received.
23:13:WARNING:166:Unknown game packet (0xc1) received
23:13:WARNING:166:Unknown game packet (0x7a) received.
23:10:WARNING:3eb:Unknown game packet (0x5e) received.
23:10:WARNING:166:Unknown game packet (0x9d) received.
23:10:WARNING:d9:Unknown game packet (0x61) received.
23:10:WARNING:3bc:Unknown game packet (0xf3) received.
23:10:WARNING:3eb:Unknown game packet (0xc0) received.
23:10:WARNING:3eb:Unknown game packet (0xc6) received.
23:10:WARNING:166:Unknown game packet (0x1b) received.

Thanks

P.S: Sorry if i repeat one.
10-10-2012 12:16 PM
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: #8
RE: Unknown Packet Support
if your sphere release older this can be happen, or maybe fix for resync don't support packet filtering.

31-03-2012, ShiryuX
- Fixed #2052: Players trying to move during a resync pause caused exceptions on console.
10-10-2012 08:34 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Skul
Master
**

Posts: 413
Likes Given: 0
Likes Received: 19 in 15 posts
Joined: Jun 2012
Reputation: 9



Post: #9
RE: Unknown Packet Support
I noticed this problem was happening when I updated my build of sphere to about the same day I posted this little 'fix'. Problem was happening when I had FEATURExxx enabled in sphere.ini, I also noticed it was happening without it, so I had to post this for everyone else. The instructions are simple enough to install. First post will give you all the info you need.

If you don't get this error on your sphere build then you do not need to use this script.

"I ask a question to the answer I already know."

Marchadium :: http://www.marchadium.ca/ :: Join us!
10-10-2012 09:25 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Barnabus
Journeyman
*

Posts: 124
Likes Given: 0
Likes Received: 3 in 2 posts
Joined: Apr 2012
Reputation: 1



Post: #10
RE: Unknown Packet Support
// This one happens if your running while server resyncs

PACKET119=f_packet_0x77
[function f_packet_0x0fd)
11-04-2012 02:53 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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