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:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New Features Request
Author Message
Coruja
Sphere Developer
*****

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

Dimension Shard

Post: #63
RE: New Features Request
Quote:13-07-2006, Nazghul
- Added: CURFOLLOWER, MAXFOLLOWER with no built-in functionality. These variables
change values on a status gump.
for ages all we got is this, it's 2 basic values but not the entire system. My ideia is finish this engine and get it fully working - and hardcoded.

Why hardcoded if it can be done using scripts? Because the idea is make it working for everyone just setting simple properties on chars/npcs, without needing a much more complex scripted engine which will need many tags, events, funcions, etc. I can make a custom script myself on my server, but the idea is make it working for the entire community, not just for me.

The engine is simple and can be easily made Smile

------------------------------------------------

The basics / Whats needed:
1) on/off setting on sphere.ini (EF_PetSlots already exists, but there's no use since the engine is incomplete)
2) CURFOLLOWER / MAXFOLLOWER (nothing to do here, properties already exists)
3) new CONTROLSLOTS property on NPCs (to determine how many CURFOLLOWER slots will raise/decrease). If not set on NPC, it wont use any slot.
4) OPTIONAL: new CURFOLLOWER.0, CURFOLLOWER.1 [...] returning pet UID [read-only]. Not really needed, but will be a huge improvement to allow ppl create custom scripts like a custom dialog showing all pets the player has, a custom spell/function to run on all pets of this player, etc. It's like a reverse <OWNER> function.

The fully working engine:
1) counter will raise when:
-unshrink some creature (@DClick on t_figurine)
-summon a creature using some spell (@Start on spells)
-get a pet transfered to you
-buy a pet on a npc (animal trainer, etc)
-retrieve a pet stabled on NPC

2) counter will decrease when:
-pet get removed (@Destroy)(this already includes pet die/shrink/stable I think)
-pet get untamed (@PetDesert, "all release" command or when owner attack it)
-pet get transfered to someone

3) prevent the actions (on 1) if it would exceed the MAXFOLLOWER limit
(This post was last modified: 08-28-2013 01:23 PM by Coruja.)
08-26-2013 08:32 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
New Features Request - Extreme - 09-11-2012, 01:15 PM
RE: New Features Request - Shaklaban - 09-14-2012, 01:05 PM
RE: New Features Request - ShiryuX - 09-14-2012, 03:01 PM
RE: New Features Request - Extreme - 09-17-2012, 02:32 AM
RE: New Features Request - Gil Amarth - 09-14-2012, 09:36 PM
RE: New Features Request - darksun84 - 09-14-2012, 11:02 PM
RE: New Features Request - darksun84 - 10-29-2012, 01:35 AM
RE: New Features Request - darksun84 - 02-20-2013, 12:19 AM
RE: New Features Request - ShiryuX - 09-17-2012, 03:38 PM
RE: New Features Request - Rizz - 10-17-2012, 08:30 PM
RE: New Features Request - Anarch Cassius - 10-18-2012, 02:41 AM
RE: New Features Request - ShiryuX - 10-18-2012, 12:47 PM
RE: New Features Request - Shaklaban - 10-23-2012, 06:02 AM
RE: New Features Request - Lazarus - 10-25-2012, 05:22 PM
RE: New Features Request - Extreme - 10-26-2012, 12:18 AM
RE: New Features Request - Lazarus - 10-26-2012, 01:37 AM
RE: New Features Request - ShiryuX - 10-26-2012, 05:57 AM
RE: New Features Request - Lazarus - 10-26-2012, 08:50 AM
RE: New Features Request - Rizz - 10-26-2012, 11:22 PM
RE: New Features Request - Crusader - 01-19-2013, 05:33 AM
RE: New Features Request - Extreme - 10-27-2012, 12:28 AM
RE: New Features Request - Lazarus - 10-27-2012, 01:42 AM
RE: New Features Request - Extreme - 10-27-2012, 10:06 PM
RE: New Features Request - Rizz - 10-31-2012, 11:58 PM
RE: New Features Request - RanXerox - 11-01-2012, 01:59 AM
RE: New Features Request - Rizz - 11-01-2012, 02:29 AM
RE: New Features Request - ShiryuX - 11-01-2012, 02:40 AM
RE: New Features Request - Rizz - 11-01-2012, 09:23 PM
RE: New Features Request - Anarch Cassius - 11-02-2012, 12:26 PM
RE: New Features Request - Rizz - 11-03-2012, 04:29 AM
RE: New Features Request - Barnabus - 11-03-2012, 04:26 AM
RE: New Features Request - Rizz - 12-07-2012, 06:26 AM
RE: New Features Request - Rizz - 01-07-2013, 08:56 AM
RE: New Features Request - Ben - 01-19-2013, 09:09 AM
RE: New Features Request - Mordaunt - 01-19-2013, 09:25 AM
RE: New Features Request - Ben - 01-19-2013, 09:42 AM
RE: New Features Request - Rizz - 01-20-2013, 11:54 PM
RE: New Features Request - Ben - 01-21-2013, 09:45 AM
RE: New Features Request - Rizz - 01-21-2013, 10:54 AM
RE: New Features Request - Norlack - 02-01-2013, 11:09 PM
RE: New Features Request - Ultima One - 02-01-2013, 11:48 PM
RE: New Features Request - Mordaunt - 02-02-2013, 12:04 AM
RE: New Features Request - Norlack - 02-02-2013, 04:34 AM
RE: New Features Request - Shaklaban - 02-02-2013, 05:23 AM
RE: New Features Request - Crusader - 02-26-2013, 09:59 AM
RE: New Features Request - darksun84 - 03-13-2013, 04:12 AM
RE: New Features Request - Gil Amarth - 04-17-2013, 04:32 AM
RE: New Features Request - Coruja - 05-01-2013, 04:59 AM
RE: New Features Request - Rattlehead - 05-02-2013, 07:32 PM
RE: New Features Request - darksun84 - 05-02-2013, 08:58 PM
RE: New Features Request - Mordaunt - 05-02-2013, 10:21 PM
RE: New Features Request - Coruja - 05-05-2013, 06:19 PM
RE: New Features Request - Rattlehead - 05-02-2013, 11:46 PM
RE: New Features Request - Ben - 05-06-2013, 12:20 AM
RE: New Features Request - Coruja - 05-06-2013, 05:56 PM
RE: New Features Request - Ultima One - 05-10-2013, 10:22 AM
RE: New Features Request - Rizz - 05-19-2013, 08:59 PM
RE: New Features Request - Coruja - 05-23-2013, 02:58 AM
RE: New Features Request - RanXerox - 05-23-2013, 04:40 AM
RE: New Features Request - Coruja - 05-25-2013, 04:59 AM
RE: New Features Request - RanXerox - 05-25-2013, 08:21 AM
RE: New Features Request - Ben - 05-28-2013, 08:19 PM
RE: New Features Request - Coruja - 08-26-2013 08:32 AM
RE: New Features Request - Rattlehead - 08-26-2013, 10:03 AM
RE: New Features Request - Coruja - 08-28-2013, 12:42 PM
RE: New Features Request - Khaos - 09-11-2013, 12:14 PM
RE: New Features Request - Rattlehead - 09-12-2013, 09:38 AM
RE: New Features Request - Khaos - 09-13-2013, 01:11 PM
RE: New Features Request - XuN - 09-13-2013, 05:12 PM
RE: New Features Request - darksun84 - 09-13-2013, 05:45 PM
RE: New Features Request - XuN - 09-13-2013, 06:33 PM
RE: New Features Request - Rattlehead - 09-14-2013, 02:42 PM
RE: New Features Request - darksun84 - 09-19-2013, 12:48 AM
RE: New Features Request - amonvangrell - 09-19-2013, 07:06 AM
RE: New Features Request - Rizz - 10-17-2013, 08:41 AM
RE: New Features Request - RanXerox - 10-17-2013, 08:57 AM
RE: New Features Request - Rizz - 10-17-2013, 05:18 PM
RE: New Features Request - XuN - 10-17-2013, 06:07 PM
RE: New Features Request - Rizz - 10-17-2013, 07:25 PM

Forum Jump:


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