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
Invalid code=1203 (Ridden NPC not acting as such)
Author Message
Criminal
Journeyman
*

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

SantiagoUO.com

Post: #1
Invalid code=1203 (Ridden NPC not acting as such)
Hello, sometimes I get this error in console and the item disspear, it happen sometimes with dragons and drakes while shrinked ( we use it for pvm ) not ridden or similar

Code:
:ERROR:UID=02046f, id=01106 'a crystal dragon', Invalid code=1203 (Ridden NPC not acting as such)

Any idea?

[Image: mfqAZnj.png]
Discord: SantiagoUO
Skype:
criminaluo
01-19-2016 07:58 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
pointhz
Journeyman
*

Posts: 148
Likes Given: 1
Likes Received: 55 in 28 posts
Joined: Oct 2013
Reputation: 1



Post: #2
RE: Invalid code=1203 (Ridden NPC not acting as such)
http://wiki.sphere.torfo.org/index.php/Error_Codes

Just found this on the wiki. Maybe it can help you.

If you figured it out already, how did you do it?

How do you event set the ACTION to 111? Shouldnt this be an automated thing?
(This post was last modified: 06-01-2016 06:57 AM by pointhz.)
06-01-2016 06:56 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: #3
RE: Invalid code=1203 (Ridden NPC not acting as such)
not solved yet, also the pets dont have statf_ridden

[Image: mfqAZnj.png]
Discord: SantiagoUO
Skype:
criminaluo
06-01-2016 08:01 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
pointhz
Journeyman
*

Posts: 148
Likes Given: 1
Likes Received: 55 in 28 posts
Joined: Oct 2013
Reputation: 1



Post: #4
RE: Invalid code=1203 (Ridden NPC not acting as such)
How do you know? Maybe I'm being dumb, but how do you check for the pet flags if they are being ridden? You can only target the owner ahah

Is there any way it can be related to shrink functions? I mean, you shrink the pet and when you unshrink it loses the statf_ridden and no longer retrieves it?
(This post was last modified: 06-01-2016 08:04 AM by pointhz.)
06-01-2016 08:03 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: #5
RE: Invalid code=1203 (Ridden NPC not acting as such)
what sphere build are you using? I remember that I had this same problem about mounts disappearing some months ago on 56c jan/feb nightlies but it's already fixed

try check if there's something wrong on your scripts, because sphere only throw this console warning when it found an NPC ridden without ridden action (ACTION=111) properly set
06-01-2016 09:06 AM
Find all posts by this user Like Post Quote this message in a reply
pointhz
Journeyman
*

Posts: 148
Likes Given: 1
Likes Received: 55 in 28 posts
Joined: Oct 2013
Reputation: 1



Post: #6
RE: Invalid code=1203 (Ridden NPC not acting as such)
56b.

Any way to fix it via script, not updating sphere version?
06-01-2016 09: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: #7
RE: Invalid code=1203 (Ridden NPC not acting as such)
56b is too outdated and have many bugs like this, so the most recommended solution is update your sphere version

but if you don't want to, maybe this can be fixed using scripts too but it will require some weird workarounds. Everytime a player ride an mount, the mount NPC will become "invisible" (disconnected) and will change current ACTION to 111 (ridden). The correct behavior is always stay at ACTION=111, but as I said, 56b have some bugs and for some unknown reason it was changing this value, making the worldsave detect this NPC as an "mount not acting as mount". So to prevent this problem, you must make sure that the ridden NPC always have ACTION=111

I don't recommend and don't know how you can do an workaround like this, but it's the only way to fix this problem if you don't want update your sphere build
06-01-2016 02:32 PM
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: #8
RE: Invalid code=1203 (Ridden NPC not acting as such)
The problem is, it happen with all pets, dragons are not rideables and it happen many times..

About updating the sphere, well I was doing it, but found few things that need to be fixed before..

[Image: mfqAZnj.png]
Discord: SantiagoUO
Skype:
criminaluo
06-01-2016 04:06 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
pointhz
Journeyman
*

Posts: 148
Likes Given: 1
Likes Received: 55 in 28 posts
Joined: Oct 2013
Reputation: 1



Post: #9
RE: Invalid code=1203 (Ridden NPC not acting as such)
What should be the main concern on updating sphere version?
06-01-2016 06:16 PM
Find all posts by this user Like Post Quote this message in a reply
Ultima One
Journeyman
*

Posts: 238
Likes Given: 7
Likes Received: 10 in 6 posts
Joined: Jan 2013
Reputation: 6

Ultima One

Post: #10
RE: Invalid code=1203 (Ridden NPC not acting as such)
Just FYI, added this after SRC.TARG.SHRINK on the shrink potions:

Code:
SRC.TARG.ACTION = 111

Should hopefully correct the action on the pet once its been shrunk, I can only assume the shrink function sometimes does something wrong or has some weird use case, this will force all shrunk animals to get this action - so if you allow non-rideable pets to be shrunk it may be worth checking for mountable flags before doing that.

Will let you know in a few days if they see any more issues with it

ULTIMA ONE
The modern, sphere powered Ultima Online server
(This post was last modified: 06-02-2016 12:21 AM by Ultima One.)
06-02-2016 12:20 AM
Visit this user's website 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)