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)
I'm going to share some scripts that although have been made for a very peculiar kind of server, some of you may find them interesting and useful and could adapt them to your own servers.
Although I never used this script, what it basically does is find a random location from a given square to spawn a steed.
This doesn't replace any spawn system you might have because you would need an item for every steed you wanted to spawn, but can be good if you want to spawn one epic rare steed somewhere in yew territory for example but not always in the same exact location.
You don't have to change any of the functions, all you have to do is change the settings explained in the first item in the script.
You provide the steed ID you want to spawn, the time you want the spawn to move to another location (regardless if it has been tamed or not), enter the square location where it will spawn within, and you are ready to go. Add the stone and its done.
The script will find a location to create the desired spawn. If the location found is a guarded zone, a safe zone, or water, it will find another location until it is a valid one.
08-16-2015 02:52 AM
The following 2 users Like pointhz's post:2 users Like pointhz's post Lincoln (10-27-2016), XuN (08-16-2015)