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
Some Problems of 0.56.4.393
Author Message
midikit
Journeyman
*

Posts: 59
Likes Given: 9
Likes Received: 0 in 0 posts
Joined: Apr 2016
Reputation: 0



Post: #1
Some Problems of 0.56.4.393
Thank you for the update.
Throwing weapon's "You have no ammunition." The problem has been solved.

There were some problems after updating from 0.56.4.387 to 0.56.4.393.

Server console messages randomly generate the following error.
22: 18: ERROR: Can not trySRC EFFECT 0,18643,18,1,0,0,0 object Eros (03dcdb): invalid src uid 01015
22: 18: ERROR: Can not trySRC EFFECT 0,18643,18,1,0,0,0 object Eros (03dcdb): invalid src uid 033e7f
22: 19: ERROR: Can not trySRC EFFECT 0,18643,18,1,0,0,0 object Eros (03dcdb): invalid src uid 02aa82
22: 19: ERROR: Can not trySrc EFFECT 0,18643,18,1,0,0,0 object Eros (03dcdb): invalid src uid 0213c1
22: 20: ERROR: Can not trySRC EFFECT 0,18643,18,1,0,0,0 object Eros (03dcdb): invalid src uid 02aafb
22: 20: ERROR: Can not trySRC EFFECT 0,18643,18,1,0,0,0 object Eros (03dcdb): invalid src uid 02b7f1

Attack hit judgment is incorrect.
Even if the skill is low, there is no attack miss.
This is the same for throwing weapons and all weapons.
(0.56.4.387 normally misses an attack)
(This post was last modified: 06-08-2017 11:27 AM by midikit.)
06-08-2017 11:25 AM
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: #2
RE: Some Problems of 0.56.4.393
do you know if these UIDs (01015, 033e7f, ...) are chars or items?

this "TRYSRC <uid> EFFECT ..." is used by throwing weapons to make the weapon returning effect. I tested here and it works fine on combat but not on archery butte because TRYSRC can't be used with items as SRC (that's why there's no returning animation for throwing weapons on archery butte). But that's interesting, the code wasn't supposed to return an error like "invalid src uid"
06-09-2017 04:17 AM
Find all posts by this user Like Post Quote this message in a reply
midikit
Journeyman
*

Posts: 59
Likes Given: 9
Likes Received: 0 in 0 posts
Joined: Apr 2016
Reputation: 0



Post: #3
RE: Some Problems of 0.56.4.393
UIDs (01015, 033e7f, ...) are chars(NPC Monster) UID.
The weapon used was cyclone.
Console error messages do not cause problems with the server.
Of course, a large amount of error messages are displayed on the console.

The major problem is attack hit judgment is incorrect.
Even if the skill is low, there is no attack miss.
This is the same for throwing weapons and all weapons.
(0.56.4.387 normally misses an attack)

The latest 0.56.4.395 is one more test result.

When an NPC (monster) dies and a returning animation occurs,
An error message is displayed.
Throwing No error occurs during an attack.
It occurs when an NPC is killed by a throwing attack.

And, the offense miss problem
An attack miss message is output.
However, attack damage is calculated.
The attacked target is damaged,
The attacker outputs a miss message.
Eventually, even if the attack is successful, even if it misses, the target is damaged.
(This post was last modified: 06-09-2017 06:55 PM by midikit.)
06-09-2017 06:22 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: #4
RE: Some Problems of 0.56.4.393
it makes sense, because if the NPC die it won't be there to play the animation effect 1s after the weapon is thrown, probably that's why the console error occur

but that's a nice finding, I'll take a look here to see what I can do

PS: try check if using GM=0 the skill will fail correctly, because chars with GM=1 always have 100% success on all skill actions
(This post was last modified: 06-10-2017 09:15 AM by Coruja.)
06-10-2017 09:14 AM
Find all posts by this user Like Post Quote this message in a reply
midikit
Journeyman
*

Posts: 59
Likes Given: 9
Likes Received: 0 in 0 posts
Joined: Apr 2016
Reputation: 0



Post: #5
RE: Some Problems of 0.56.4.393
Thank you coruja.

The throwing weapon animation error was resolved at 0.56.4.397.

The problem that the miss message was output and the attack succeeded disappeared.
Now the attack is successful without a miss message.

But,
It is the same that an attack miss does not occur.
GM = 0, GM = 1 Both attack misses do not occur.
Of course, the test results for the player account are the same.
There is no attack miss for any monster or NPC, even if the attacker is skill 0.
For example, if an attacker in 'Skill 0.0' attacks a balron or dragon, there is no miss.

So, again using 0.56.4.387.
(This post was last modified: 06-16-2017 08:09 PM by midikit.)
06-16-2017 08:05 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: #6
RE: Some Problems of 0.56.4.393
probably this skill success/fail chance is not related to this change

here you can find all recent sphere builds to download (just click on build name -> artifacts)
https://ci.appveyor.com/project/coruja74...ce/history

you can test each build > 387 to find exactly the build number where the problem had started, this will make it easier to find and fix the problem
06-17-2017 02:45 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #7
RE: Some Problems of 0.56.4.393
It seems that the skillstart is fired in the wrong order:

Code:
20:32:(sphere_skills.scp,980)Start for wrestling fired 80
20:32:(h_events_player.scp,19)Hittry fired with  -80 // this should be a miss
20:32:(h_events_player.scp,23)Hitmiss fired with -80
20:32:(h_events_player.scp,27)Hit fired   //this should be a miss
20:32:(h_events_player.scp,6)Skillstart fired for skill Wrestling  actdiff: 0

Shouln't Skillstart fire before @Start of the wrestling? I remember that
(This post was last modified: 06-17-2017 04:52 AM by darksun84.)
06-17-2017 04:33 AM
Find all posts by this user Like Post Quote this message in a reply
midikit
Journeyman
*

Posts: 59
Likes Given: 9
Likes Received: 0 in 0 posts
Joined: Apr 2016
Reputation: 0



Post: #8
RE: Some Problems of 0.56.4.393
Thank. Coruja

I tested again.
Problems without attack misses occur from 0.56.4.391.
Misses will occur normally until 0.56.4.390.
06-17-2017 10:25 AM
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: #9
RE: Some Problems of 0.56.4.393
I found the problem, it was just a missing 'return' line accidentally removed

it's already fixed on latest build 402
06-17-2017 12:13 PM
Find all posts by this user Like Post Quote this message in a reply
Berkley
Journeyman
*

Posts: 54
Likes Given: 28
Likes Received: 2 in 2 posts
Joined: Jul 2015
Reputation: 0



Post: #10
RE: Some Problems of 0.56.4.393
unfortunately the Artifacts are deleting themself after a while.
Is there a way to get them back or a mirror to find them?

Thank youShifty



(06-17-2017 02:45 AM)Coruja Wrote:  probably this skill success/fail chance is not related to this change

here you can find all recent sphere builds to download (just click on build name -> artifacts)
https://ci.appveyor.com/project/coruja74...ce/history

you can test each build > 387 to find exactly the build number where the problem had started, this will make it easier to find and fix the problem
09-17-2021 08:43 PM
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)