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
undefined packet sphere 56b and 56c exploding.
Author Message
aserehe
Apprentice
*

Posts: 22
Likes Given: 1
Likes Received: 0 in 0 posts
Joined: May 2015
Reputation: 0



Post: #11
RE: undefined packet sphere 56b and 56c exploding.
The player does not die when this setting is 0. There's nothing to do with these mistakes
02-10-2017 04:32 AM
Find all posts by this user Like Post Quote this message in a reply
xwerswoodx
Journeyman
*

Posts: 86
Likes Given: 4
Likes Received: 7 in 4 posts
Joined: Jun 2012
Reputation: 0

UoMMO

Post: #12
RE: undefined packet sphere 56b and 56c exploding.
(02-10-2017 04:32 AM)aserehe Wrote:  The player does not die when this setting is 0. There's nothing to do with these mistakes

It is 0 for me and everyone can die in my sphere Smile PacketDeathAnimation setting is only an animation for death. Maybe you need to check your @Death triggers.
02-10-2017 05:32 AM
Find all posts by this user Like Post Quote this message in a reply
aserehe
Apprentice
*

Posts: 22
Likes Given: 1
Likes Received: 0 in 0 posts
Joined: May 2015
Reputation: 0



Post: #13
RE: undefined packet sphere 56b and 56c exploding.
It's 0 for die chars but screen is not black.
02-10-2017 07:18 AM
Find all posts by this user Like Post Quote this message in a reply
Criminal
Journeyman
*

Posts: 182
Likes Given: 38
Likes Received: 22 in 22 posts
Joined: Jun 2015
Reputation: 0

SantiagoUO.com

Post: #14
RE: undefined packet sphere 56b and 56c exploding.
I remember some crashes in 56b(while PacketDeathAnimation was not in ini) with randoms packets recived, I think is same problem

[Image: mfqAZnj.png]
Discord: SantiagoUO
Skype:
criminaluo
02-15-2017 04:29 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
aserehe
Apprentice
*

Posts: 22
Likes Given: 1
Likes Received: 0 in 0 posts
Joined: May 2015
Reputation: 0



Post: #15
RE: undefined packet sphere 56b and 56c exploding.
Yes, same problem.
03-10-2017 05:53 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: #16
RE: undefined packet sphere 56b and 56c exploding.
as we already said some time ago, the best and only way to fix this is using sphere 56d instead any other old version
03-11-2017 12:53 PM
Find all posts by this user Like Post Quote this message in a reply
Aimed
Apprentice
*

Posts: 20
Likes Given: 0
Likes Received: 4 in 3 posts
Joined: Apr 2015
Reputation: 0



Post: #17
RE: undefined packet sphere 56b and 56c exploding.
I want to fix this issue for the latest 56b release.
How do I build this https://github.com/Sphereserver/Source2/...b-20130616
I didn't find CMakeLists.txt anywhere. I'm Using Cmake 3.5.0
What tools do I need to build this? Provide me with a readme if u can, please.
05-12-2017 10:00 AM
Find all posts by this user Like Post Quote this message in a reply
Aimed
Apprentice
*

Posts: 20
Likes Given: 0
Likes Received: 4 in 3 posts
Joined: Apr 2015
Reputation: 0



Post: #18
RE: undefined packet sphere 56b and 56c exploding.
Hey guys, we might've found a 56b release which doesn't crash on this packet.
We've tested it by sending 0xff packets and it didn't crash. I'm not sure if that was a right test case, maybe packet size and content also does matter. Would need a dump from Spheres which have been crashed this way.

Anyway, here's the windows build
And for Linux just build this release

If you don't trust this windows build link, you can build it yourself on windows of course Smile
05-12-2017 08:31 PM
Find all posts by this user Like Post Quote this message in a reply
Aimed
Apprentice
*

Posts: 20
Likes Given: 0
Likes Received: 4 in 3 posts
Joined: Apr 2015
Reputation: 0



Post: #19
RE: undefined packet sphere 56b and 56c exploding.
(03-11-2017 12:53 PM)Coruja Wrote:  as we already said some time ago, the best and only way to fix this is using sphere 56d instead any other old version

Maybe you should do something with compatibility? Seems like even on different releases of 56b some scripts don't work properly.

How do you expect people will upgrade, if they might have spent hundreds or thousands of hours writing scripts and they are going to get broken by an upgrade? : /
05-13-2017 01:22 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 2 users Like Aimed's post
Coruja
Sphere Developer
*****

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

Dimension Shard

Post: #20
RE: undefined packet sphere 56b and 56c exploding.
56d is compatible with old scripts, of course to jump from an 8 year ago 56b to the latest 56d you can't just update your SphereSvr.exe, there's some root scripts that must be updated too (sphere.ini, sphere_defs.scp, sphere_msgs.scp, spheretables.scp, ...) but in general all triggers/functions/etc still the same

depending how deep is your server customization, this can be an simple copy/paste overwriting all scripts or even an manual work of many weeks, but this is only valid to root scripts. You doesn't have to rewrite all your custom systems, custom items, etc. Unfortunately custom changes made by users on root scripts are not our responsability, so although we always try to keep everything backward compatible, sometimes the user itself made so many custom changes on his code that this will turn into a headache when these scripts must be updated to match the latest official changes

it still worth update these scripts to keep using the latest updates (56d) rather than use an old sphere build (56b), but anyway, you can find some official 56b builds here: https://github.com/Sphereserver/Source/releases
the latest 56b build is from 2013, maybe it could be better than an 56b build from 2009
(This post was last modified: 05-17-2017 01:16 PM by Coruja.)
05-17-2017 01:11 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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