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:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Adding trash to the ocean
Author Message
PePs1Man
Apprentice
*

Posts: 32
Likes Given: 8
Likes Received: 2 in 2 posts
Joined: Jun 2017
Reputation: 0



Post: #1
Adding trash to the ocean
Hello everyone, I may need help for something simple, that I've succeded to do in the past but now, it won't work.

To be brief, I modified the sphere_region.scp to add/modify:
Code:
[REGIONRESOURCE mr_fish1]
AMOUNT=1,5        // This many...
REAP=i_fish_big_1  // ...of this item...
REAPAMOUNT=1,5
SKILL=10.0,100.0    // ...can be harvested if the player has this much skill.
REGEN=60*60

[REGIONRESOURCE mr_fish2]
AMOUNT=1,5
REAP=i_fish_big_2
REAPAMOUNT=1,5
SKILL=10.0,100.0
REGEN=60*60

[REGIONRESOURCE mr_fish3]
AMOUNT=1,5
REAP=i_fish_big_3
REAPAMOUNT=1,5
SKILL=10.0,100.0
REGEN=60*60

[REGIONRESOURCE mr_fish4]
AMOUNT=1,5
REAP=i_fish_big_4
REAPAMOUNT=1,5
SKILL=10.0,100.0
REGEN=60*60

[REGIONRESOURCE mr_trash1]
AMOUNT=1,1
REAP=i_boots_calf
REAPAMOUNT=1,1
SKILL=1.0,50.0
REGEN=60*60

[REGIONRESOURCE mr_trash2]
AMOUNT=1,1
REAP=i_boots_fur
REAPAMOUNT=1,1
SKILL=1.0,50.0
REGEN=60*60

[REGIONRESOURCE mr_trash3]
AMOUNT=1,1
REAP=i_sandals
REAPAMOUNT=1,1
SKILL=1.0,50.0
REGEN=60*60

[REGIONRESOURCE mr_trash4]
AMOUNT=1,1
REAP=i_boots_thigh
REAPAMOUNT=1,1
SKILL=1.0,50.0
REGEN=60*60

[REGIONRESOURCE mr_trash5]
AMOUNT=1,1
REAP=i_boots_tabi
REAPAMOUNT=1,1
SKILL=1.0,50.0
REGEN=60*60

[REGIONRESOURCE mr_trash6]
AMOUNT=1,1
REAP=i_bandana
REAPAMOUNT=1,1
SKILL=1.0,50.0
REGEN=60*60

[REGIONRESOURCE mr_trash7]
AMOUNT=1,1
REAP=i_bonnet
REAPAMOUNT=1,1
SKILL=1.0,50.0
REGEN=60*60

[REGIONRESOURCE mr_trash8]
AMOUNT=1,1
REAP=i_cap
REAPAMOUNT=1,1
SKILL=1.0,50.0
REGEN=60*60

[REGIONRESOURCE mr_trash9]
AMOUNT=1,1
REAP=i_hat_feather
REAPAMOUNT=1,1
SKILL=1.0,50.0
REGEN=60*60

[REGIONRESOURCE mr_trash10]
AMOUNT=1,1
REAP=i_hat_wide_brim
REAPAMOUNT=1,1
SKILL=1.0,50.0
REGEN=60*60

[REGIONRESOURCE mr_trash11]
AMOUNT=1,1
REAP=i_hat_wizards
REAPAMOUNT=1,1
SKILL=1.0,50.0
REGEN=60*60

[REGIONRESOURCE mr_trash12]
AMOUNT=1,1
REAP=i_mask_orc
REAPAMOUNT=1,1
SKILL=1.0,50.0
REGEN=60*60

[REGIONRESOURCE mr_trash13]
AMOUNT=1,1
REAP=i_mask_blue
REAPAMOUNT=1,1
SKILL=1.0,50.0
REGEN=60*60

[REGIONRESOURCE mr_trash14]
AMOUNT=1,1
REAP=i_mask_tribal_red
REAPAMOUNT=1,1
SKILL=1.0,50.0
REGEN=60*60

Code:
[REGIONTYPE r_default_water t_water]
RESOURCES=1.0 mr_nothing  // Most of the time fishing produces nothing.
RESOURCES=1.0 mr_fish1
RESOURCES=1.0 mr_fish2
RESOURCES=1.0 mr_fish3
RESOURCES=1.0 mr_fish4
RESOURCES=5.0 mr_trash1
RESOURCES=5.0 mr_trash2
RESOURCES=5.0 mr_trash3
RESOURCES=10.0 mr_trash4
RESOURCES=10.0 mr_trash5
RESOURCES=10.0 mr_trash6
RESOURCES=10.0 mr_trash7
RESOURCES=10.0 mr_trash8
RESOURCES=10.0 mr_trash9
RESOURCES=2.5 mr_trash10
RESOURCES=2.5 mr_trash11
RESOURCES=5.0 mr_trash12
RESOURCES=5.0 mr_trash13
RESOURCES=5.0 mr_trash14

[REGIONTYPE r_water t_water]
RESOURCES=1.0 mr_nothing  // Most of the time fishing produces nothing.
RESOURCES=1.0 mr_fish1
RESOURCES=1.0 mr_fish2
RESOURCES=1.0 mr_fish3
RESOURCES=1.0 mr_fish4
RESOURCES=5.0 mr_trash1
RESOURCES=5.0 mr_trash2
RESOURCES=5.0 mr_trash3
RESOURCES=10.0 mr_trash4
RESOURCES=10.0 mr_trash5
RESOURCES=10.0 mr_trash6
RESOURCES=10.0 mr_trash7
RESOURCES=10.0 mr_trash8
RESOURCES=10.0 mr_trash9
RESOURCES=2.5 mr_trash10
RESOURCES=2.5 mr_trash11
RESOURCES=5.0 mr_trash12
RESOURCES=5.0 mr_trash13
RESOURCES=5.0 mr_trash14

.show region.events -- gives me the correct events

Tried fishing at different skill level with/without GM mode. no luck, I still get the only 4 default fish.

Is it me? or is it an issue?

Sphere tables was modified to point out to my new version :
Code:
scripts/custums/c_sphere_region.scp

//scripts/sphere_region.scp

any clues?
11-19-2017 09:05 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: Adding trash to the ocean
Probably you need to restart the server
11-19-2017 08:17 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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