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
Improved Stables
Author Message
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #1
Improved Stables
With the pets stored on a list on the player there are no more lost pets due to a stable master being killed or removed.

If the account stable setting is turned on ALL characters on the account can access the stable to place and retrieve pets.

Improved Stables

Also has a simple gump so you do not have to get all the animals at once, just the one you want.

[Image: 25ibxqt.jpg]

Just to mention that first animal looks funny because I am stood behind it's icon

[Image: 2nis46r.jpg]
(This post was last modified: 10-17-2013 08:19 AM by Mordaunt.)
10-17-2013 07:37 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Awaken
Apprentice
*

Posts: 30
Likes Given: 10
Likes Received: 4 in 4 posts
Joined: Sep 2013
Reputation: 0



Post: #2
RE: Improved Stables
Big Grin Amazing
(This post was last modified: 10-17-2013 07:46 AM by Awaken.)
10-17-2013 07:46 AM
Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #3
RE: Improved Stables
Well... you're to blame for the script anyway, putting ideas in my head. lol

[Image: 2nis46r.jpg]
10-17-2013 08:35 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #4
RE: Improved Stables
Pet bonding.

Record stable time to know how much time have been stabled.

Feeding them?

Taxes? (You would like this one for sure)
10-17-2013 06:17 PM
Find all posts by this user Like Post Quote this message in a reply
Anarch Cassius
Master
**

Posts: 273
Likes Given: 19
Likes Received: 10 in 9 posts
Joined: Mar 2012
Reputation: 2



Post: #5
RE: Improved Stables
You want EA bonding or just bonding? I've got a system but it's got little in common Smile

Could just combine the last 3 and have fees overtime for animal storage Smile

Current Projects: Necromancy SCP overhaul. Custom Faction AI/System. Imbuing.
10-17-2013 06:36 PM
Find all posts by this user Like Post Quote this message in a reply
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #6
RE: Improved Stables
if (<uid> == <serv.list.<src>_stabled.<dlocal._for>) you are missing an > at the end
10-17-2013 07:09 PM
Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #7
RE: Improved Stables
Aha...

It's not that I like taxes, it's just that the last couple of modifications to my housing system have been "tax" related.

I did wonder about storage fees, had a look at the default system which doesn't charge any so I didn't put any in.
That's not to say I won't

As for bonding, I'm not even familiar with that, given I normally just ignore EA Tongue

Fixed the missing > also.

[Image: 2nis46r.jpg]
10-17-2013 08:36 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #8
RE: Improved Stables
Small update, removed the foritems loops that was being used to locate the figurine after shrinking, nothing critical the script works either way.

Thanks Xun Wink

[Image: 2nis46r.jpg]
10-18-2013 04:09 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #9
RE: Improved Stables
Fixed the issue with the incorrect icon color for stabled pets on the dialog which was broken (some how) when I removed the for loop that picks up the figurine (which isn't even related to the dialog)

[Image: 2nis46r.jpg]
10-18-2013 11:15 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #10
RE: Improved Stables
Little tweak to this script after discovering today that I was (once again) apparently out scripting sphere and using techniques that the devs haven't yet added (tsk tsk)
Oddly the script WAS working in it's previous form, but I thought it best to change it to avoid embarressing Ben & Xun Big Grin

[Image: 2nis46r.jpg]
10-27-2014 03:15 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes Mordaunt's post
Post Reply 


Forum Jump:


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