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
MOUNT Property Broken?
Author Message
n1ghtwish
Apprentice
*

Posts: 40
Likes Given: 0
Likes Received: 28 in 8 posts
Joined: Jan 2016
Reputation: 0



Post: #1
MOUNT Property Broken?
Is it just me or is the MOUNT readable property not functioning?

Example:
Code:
[FUNCTION whatsmymount]
sysmessage I am riding <mount.name>
sysmessage I am riding <uid.mount.name>
ref1 = <mount>
sysmessage I am riding <ref1.name>

All properties return 0
Output is always: "I am riding 0"

Additionally, another issue I am experiencing with the MOUNT and DISMOUNT triggers:

From ground to ride, MOUNT fires
From ride to ground, DISMOUNT fires
From ride to ride, DISMOUNT fires but MOUNT does not fire for the second ride

Bug? Me = Idiot?
03-03-2018 03:31 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: #2
RE: MOUNT Property Broken?
It seems that when you use mount by scripts or .show mount by client, the function that returns the mount use the rider instead of the ridden creature for making the checks
03-03-2018 06:00 AM
Find all posts by this user Like Post Quote this message in a reply
Abuelox
Journeyman
*

Posts: 64
Likes Given: 0
Likes Received: 7 in 7 posts
Joined: Apr 2010
Reputation: 0

Alteria Games

Post: #3
RE: MOUNT Property Broken?
The same thing happens to me, it seems that it is the emulator's problem.
03-03-2018 06:33 AM
Visit this user's website 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: MOUNT Property Broken?
I don't know if it's intentional, but on current code, the <MOUNT> property is used on the mount to return its rider, and not on the rider to return its mount. Same goes to MOUNT [uid] function

since the wiki page says that <MOUNT> property should be used on the char to return its mount and MOUNT [uid] function should make the char ride on mount [uid], on latest build I updated the code to make it work like this
03-04-2018 03:46 AM
Find all posts by this user Like Post Quote this message in a reply
n1ghtwish
Apprentice
*

Posts: 40
Likes Given: 0
Likes Received: 28 in 8 posts
Joined: Jan 2016
Reputation: 0



Post: #5
RE: MOUNT Property Broken?
Works as expected now, thank you!
03-06-2018 02:19 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)