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
[EVENT] Treasure Hunt
Author Message
pointhz
Journeyman
*

Posts: 148
Likes Given: 1
Likes Received: 55 in 28 posts
Joined: Oct 2013
Reputation: 1



Post: #1
[EVENT] Treasure Hunt
Hello everyone,

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.

_______________________________________________________________

First of all, this is an improvement of a script previously shared in this forums: http://forum.spherecommunity.net/Thread-Treasure-Hunt

Although the mechanics of this script/event are the same as the previously shared one, this is totally automated. It requires no time to set up and there is no need for any staff intervention during the event. If you want you can even schedule it to start at X hour just by forcing sphere to trigger the function.

So, as the name suggests, this event is a Treasure Hunt.

To start the event you have to type .thunt <Number of Clues>, where the <Number of Clues> must be a number between 12 and 48, both included. It is recommended that you either type 12, 24, 36 or 48 for the event to run smoothly, but it is not mandatory.

Doing this will spawn <Number of Clues> +1 chests across the map, being the first one placed at Britain Bridge, and each one containing a clue to the next one, except for the last chest that contains the event prize.

[Image: image.jpg]

What players have to do is find every chest by their correct order, starting by the chest located at Britain Bridge and ending with the event prize chest. The first player to find every chest wins the event.

To find a clue players only need to double-click the green chests. This will place a map in their backpacks which is the clue that will lead them to the next chest.

[Image: image.jpg]

There are 48 different maps (like the one in the image above) already scripted. Once you type .thunt <Number of Clues>, the script will automatically pick <Number of Clues> random maps from the 48 available.

There is no time limit and the event will only be over once someone wins.

During the event, and as you could notice in the first picture, players can type .thuntratings to see who is currently ahead on the hunt.

[Image: image.jpg]

Players may also type .thunthint and target the current map clue they are trying to decipher if they want to get a Hint for it.

Hints are limited to 1/4 of the total amount of clues and they may only be used until 1/2 of the chests are found.

So for example, in a Treasure Hunt with 24 clues, players may ask for a maximum of 6 hints (24/4=6) as long as they have not found 12 chests already (24/2=12).

[Image: image.jpg]

A hint can either be the sextant coordinates of the next chest, like you can see in the picture, or the exactly location of the chest, like 3179,804, or a direction like E from Vesper. The hint you get from this 3 is random. Once you get an hint you can either single-click the map to read it again or type .thunthint and target the map again.

You may also have noticed on the picture that once you ask for an hint you are also provided with a Quest Arrow in your screen. Following it will also lead you to the map. It may not be that useful when you are too far away, but when you are getting closer it will take you right there.

Every chest is located somewhere in Felucca. Chests are not in guarded zones, safe zones, water, dungeons, etc. They are all at accessible locations to all players.

Once someone finds every chest the event will be over:

[Image: image.jpg]

Players who find 3/4 and 2/3 of the total chests are also rewarded accordingly.

Players participating in the event will have a message displayed above their head, showing their current progress, and a sysmessage will be sent to everyone in the server in case they die.

There are no penalties or whatsoever for being in the event, so there's no big deal if you want to give up half way through.

There are no rules either, you are free to do anything you want.

I guess I'm not forgetting anything, but if you got any question just ask.

If you want to try it out you just need to change the DEFNAME UID of where the event ratings tags are stored. You may also want to change the rewards, just search for i_pvptoken and replace with something else you want.


Attached File(s)
.scp  p_treasure_hunt.scp (Size: 28.61 KB / Downloads: 66)
(This post was last modified: 08-18-2015 12:30 AM by pointhz.)
08-18-2015 12:20 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 3 users Like pointhz's post
Ultima One
Journeyman
*

Posts: 238
Likes Given: 7
Likes Received: 10 in 6 posts
Joined: Jan 2013
Reputation: 6

Ultima One

Post: #2
RE: [EVENT] Treasure Hunt
Looks like an improved version of my thunt script Smile nice job

ULTIMA ONE
The modern, sphere powered Ultima Online server
08-18-2015 12:42 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
pointhz
Journeyman
*

Posts: 148
Likes Given: 1
Likes Received: 55 in 28 posts
Joined: Oct 2013
Reputation: 1



Post: #3
RE: [EVENT] Treasure Hunt
Thanks Tongue Yes it is!
08-18-2015 12:49 AM
Find all posts by this user Like Post Quote this message in a reply
Nescau
Apprentice
*

Posts: 1
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Sep 2015
Reputation: 0



Post: #4
RE: [EVENT] Treasure Hunt
Thanks !

How can i download it? It keeps saying

"you do not have permission to access this page. This could be because of one of the following reasons:
Your account has either been suspended or you have been banned from accessing this resource.
You do not have permission to access this page. Are you trying to access administrative pages or a resource that you shouldn't be? Check in the forum rules that you are allowed to perform this action.
Your account may still be awaiting activation or moderation. (Resend Activation Code)
You have accessed this page directly rather than using appropriate forms or link."

But my account is already activated....

Strange
(This post was last modified: 09-25-2015 02:02 AM by Nescau.)
09-25-2015 02:01 AM
Find all posts by this user Like Post Quote this message in a reply
dafty
Apprentice
*

Posts: 6
Likes Given: 6
Likes Received: 0 in 0 posts
Joined: Sep 2015
Reputation: 0



Post: #5
RE: [EVENT] Treasure Hunt
i had the same problem but try this :

log out
try to download the file
Forum ask for login
login again
bingo Tongue
09-26-2015 04:24 AM
Find all posts by this user Like Post Quote this message in a reply
Diathim
Apprentice
*

Posts: 10
Likes Given: 13
Likes Received: 1 in 1 posts
Joined: Oct 2015
Reputation: -3



Post: #6
RE: [EVENT] Treasure Hunt
Is there any reason I cannot download files?!
10-21-2015 01:27 AM
Find all posts by this user Like Post Quote this message in a reply
chrono
Apprentice
*

Posts: 11
Likes Given: 1
Likes Received: 0 in 0 posts
Joined: Sep 2021
Reputation: 0



Post: #7
RE: [EVENT] Treasure Hunt
i can not download it!
09-03-2021 07:43 PM
Find all posts by this user Like Post Quote this message in a reply
chrono
Apprentice
*

Posts: 11
Likes Given: 1
Likes Received: 0 in 0 posts
Joined: Sep 2021
Reputation: 0



Post: #8
RE: [EVENT] Treasure Hunt
could anyone send me this script?
01-18-2022 06:56 PM
Find all posts by this user Like Post Quote this message in a reply
golfin
Banned

Posts: 213
Likes Given: 2
Likes Received: 32 in 28 posts
Joined: Nov 2017

Eranova

Post: #9
RE: [EVENT] Treasure Hunt
Download: https://forum.spherecommunity.net/attach...hp?aid=300

But otherwise, this script can normally be downloaded from the attachment from the first post.
01-19-2022 04:40 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
VIision
Apprentice
*

Posts: 14
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Nov 2024
Reputation: 0



Post: #10
RE: [EVENT] Treasure Hunt
me to
11-27-2024 02:12 AM
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)