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
fishing sos treasure system
Author Message
babazar
Journeyman
*

Posts: 189
Likes Given: 2
Likes Received: 10 in 9 posts
Joined: Jun 2013
Reputation: 0



Post: #1
fishing sos treasure system
does any one have this ?
08-01-2013 07:53 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: #2
RE: fishing sos treasure system
I'm assuming you mean AoS not SoS

[Image: 2nis46r.jpg]
08-01-2013 09:53 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
babazar
Journeyman
*

Posts: 189
Likes Given: 2
Likes Received: 10 in 9 posts
Joined: Jun 2013
Reputation: 0



Post: #3
RE: fishing sos treasure system
yeh, ive went through the full scp got the scritp but does not work, when someone opens i_sos_bottle the treasure map generates coords but does not place the chests so i am misiing something
08-01-2013 04:31 PM
Find all posts by this user Like Post Quote this message in a reply
xwerswoodx
Journeyman
*

Posts: 86
Likes Given: 4
Likes Received: 7 in 4 posts
Joined: Jun 2012
Reputation: 0

UoMMO

Post: #4
RE: fishing sos treasure system
No, he want sos bottle system
08-01-2013 10:45 PM
Find all posts by this user Like Post Quote this message in a reply
babazar
Journeyman
*

Posts: 189
Likes Given: 2
Likes Received: 10 in 9 posts
Joined: Jun 2013
Reputation: 0



Post: #5
RE: fishing sos treasure system
Any one at all Big Grin
08-02-2013 07:41 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: #6
RE: fishing sos treasure system
No need to bump, be patient, if someone has it I'm sure it will appear eventually

[Image: 2nis46r.jpg]
08-02-2013 10:56 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
htid4life
Journeyman
*

Posts: 162
Likes Given: 27
Likes Received: 4 in 3 posts
Joined: Mar 2012
Reputation: 2



Post: #7
RE: fishing sos treasure system
ya id like this any one got it?

[Image: htid.jpg]
08-13-2013 03:10 AM
Find all posts by this user Like Post Quote this message in a reply
Soulless
Super Moderator
****

Posts: 335
Likes Given: 29
Likes Received: 49 in 27 posts
Joined: Jun 2012
Reputation: 12

Ye Olde Sphere

Post: #8
RE: fishing sos treasure system
This was originally Alumrial (mispelled Sad ) but i modified it a bit for no reason at all. i know someone had this system uploaded on script sharing, so if you want the original i would suggest finding that script pack and hunting for this one. this is just the SOS message part here.

Code:
[itemdef i_sos_message]
name=waterstained SOS
id=014ed
type=t_script

on=@create
color=060
attr=attr_decay
timer=0

on=@dclick
if !(<topobj.uid>==<src.uid>)
src.sysmessage You can't use this where it is.
return 1
endif

if !(<tag0.coords>)
serv.newitem=i_sos_tile
dorand 7
new.p=<eval {2078 3400}>,<eval {1450 1900}>
new.p=<eval {2256 3175}>,<eval {2464 3350}>
new.p=<eval {50 700}>,<eval {2350 3150}>
new.p=<eval {3850 4200}>,<eval {750 2175}>
new.p=<eval {524 1050}>,<eval {3650 4000}>
new.p=<eval {1550 2050}>,<eval {3650 4000}>
new.p=<eval {3550 3800}>,<eval {50 1000}>
enddo
new.attr=attr_static|attr_move_never
new.update
tag0.coords=<new.sextantp>
endif
dialog d_sos_message
return 1

[itemdef i_sos_tile]
ID=i_water
type=t_script

on=@create
attr=attr_move_never|attr_invis

[dialog d_sos_message]
0, 0
PAGE 0
resizepic 63 62 2520 317 319
dhtmlgump 91 103 256 189 0 0 This is a message hastily scribbled by a passenger aboard a sinking ship. While it is probably too late to save the passengers and crew, perhaps some treasure went down with the ship! The message gives the ships last known sextant coordinates.
button 91 317 4014 4015 1 0 0
dtext 132 317 0 OKAY
dtext 91 293 0 <tag0.coords>

[typedef t_fish_pole]

on=@targon_ground
serv.newitem i_memory
new.p=<src.targp>
if (<new.sos_treasure_chest>)
   src.sos_treasure_fishing <new.sos_treasure_chest>
   return 1
endif
new.remove

on=@targon_item
if (<src.targ.baseid>==i_sos_tile)
src.sos_treasure_fishing <src.targ.uid>
return 1
endif

[function sos_treasure_chest]
foritems 3
   if (<baseid>==i_sos_tile)
   local.sos_treasure_chest=<uid>
   endif
   endfor
if (<local.sos_treasure_chest>)
   return <local.sos_treasure_chest>
   else
   return 0
endif

[function sos_treasure_fishing]
ref1=<argn>
   anim 12
   sound 027
   local.chance=(rand(<fishing>)
if <eval (<fishing>/10)>><local.chance>
    serv.newitem i_chest_wooden_brass
    new.color=060
    new.p=<p>
    new.update
    new.load_sos_loot 3
    ref1.link.tag0.treasure_found=1
    ref1.remove
   sysmessage @0482 You pull out a flooded tresure chest!
   return 1
elseif <local.chance><<eval (<fishing>/5)>
   sysmessage @0482 You disturb a sea dwelling monster!
   serv.newnpc=c_sea_serpent
   new.p=<ref1.p>
   new.update
   new.attack
   return 1
else
  sysmessage @0482 You fish for a while, but fail to find the treasure.
return 1
endif

[function load_sos_loot]
for <args>
serv.newitem i_gold
new.amount=<eval {1 25000}>
new.cont=<uid>
serv.newitem i_random_set_armor
new.cont=<uid>
serv.newitem i_random_rare_armor
new.cont=<uid>
serv.newitem i_random_rare_weapon
new.cont=<uid>
serv.newitem i_random_rare_jewelry
new.cont=<uid>
serv.newitem i_random_rare_clothing
new.cont=<uid>
serv.newitem random_jewel,{1 10}
new.cont=<uid>
serv.newitem random_jewel,{1 10}
new.cont=<uid>
serv.newitem random_jewel,{1 10}
new.cont=<uid>
serv.newitem random_jewel,{1 10}
new.cont=<uid>
serv.newitem pillows
new.cont=<uid>
serv.newitem paintings
new.cont=<uid>
serv.newitem bodyparts
new.cont=<uid>
serv.newitem Shipwreck_Stuff
new.cont=<uid>
endfor

What am I working on?
(This post was last modified: 08-13-2013 04:47 AM by Soulless.)
08-13-2013 04:40 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes Soulless's post
babazar
Journeyman
*

Posts: 189
Likes Given: 2
Likes Received: 10 in 9 posts
Joined: Jun 2013
Reputation: 0



Post: #9
RE: fishing sos treasure system
TY ive got the sos system working fully,
08-20-2013 08:20 AM
Find all posts by this user Like Post Quote this message in a reply
htid4life
Journeyman
*

Posts: 162
Likes Given: 27
Likes Received: 4 in 3 posts
Joined: Mar 2012
Reputation: 2



Post: #10
RE: fishing sos treasure system
you keen to share?

[Image: htid.jpg]
08-20-2013 08:44 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)