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
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Random Rares
Author Message
Mordaunt
Super Moderator
****

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



Post: #1
Random Rares
Inspiration for this one came from this thread : Weird Timer Issue

This script will:

Periodically place rare NPCs in random locations on the map.
Periodically place locked loot chests in random locations on the map. (Players will have to pick the locks)

No gembits used so issues with sector sleep preventing generation of rares.
Completely random map locations (or as random as it can be)
Will not spawn on water, in town, on rock or underground (dungeons, indoors)

NPCs will remain in the wild until they are killed/die or in the case of animals and mounts, are tamed.

Chests will remain in the world for a minimum of 3 days and not longer than the period set for the next chest to spawn. (through natural decay)
Chests can be made non moveable so players must pick them at their location, alternatively players can be allowed to move the chests which will negate their timers allowing them to pick the lock at their leisure.

Both the NPCs and the chests/templates used by this system are fully configurable to suit your server.

It's actually stupidly simple.

Random Rares

[Image: 2nis46r.jpg]
(This post was last modified: 09-02-2013 12:05 PM by Mordaunt.)
09-02-2013 11:53 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Random Rares - Mordaunt - 09-02-2013 11:53 AM
RE: Random Rares - dagger4k - 09-03-2013, 12:51 AM
RE: Random Rares - Mordaunt - 09-03-2013, 03:44 AM
RE: Random Rares - amonvangrell - 09-03-2013, 06:51 AM
RE: Random Rares - dagger4k - 09-03-2013, 05:26 PM
RE: Random Rares - Rattlehead - 09-03-2013, 06:20 PM
RE: Random Rares - Mordaunt - 09-03-2013, 08:39 PM
RE: Random Rares - Mordaunt - 09-03-2013, 11:51 PM
RE: Random Rares - amonvangrell - 09-04-2013, 06:51 AM

Forum Jump:


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