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
Fishing spawn problem
Author Message
ograso
Journeyman
*

Posts: 135
Likes Given: 10
Likes Received: 2 in 2 posts
Joined: May 2014
Reputation: 0



Post: #1
Fishing spawn problem
Hey all,

I added mr's in the sphere_region.scp as follows.

Code:
[REGIONTYPE r_default_water t_water]
RESOURCES=0.1 mr_sos_bottle
RESOURCES=60.0 mr_nothing  // Most of the time fishing produces nothing.
RESOURCES=10.0 mr_fish1
RESOURCES=10.0 mr_fish2
RESOURCES=10.0 mr_fish3
RESOURCES=10.0 mr_fish4
RESOURCES=10.0 mr_fishxx
RESOURCES=10.0 mr_fishxxx

and also checked areadef in sphere_mapx.scp for r_default_water and everything looks fine. But when I try to catch fish "there are no fish here" mesage appear on screen.

Where is the problem. Did I missed something?
06-09-2014 03:24 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 spawn problem
Increase the numbers for your fish

[Image: 2nis46r.jpg]
06-09-2014 04:34 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
ograso
Journeyman
*

Posts: 135
Likes Given: 10
Likes Received: 2 in 2 posts
Joined: May 2014
Reputation: 0



Post: #3
RE: Fishing spawn problem
(06-09-2014 04:34 AM)Mordaunt Wrote:  Increase the numbers for your fish

I did what you say and "there are no fisht" mesages dissappear but I cant catch up any fish Sad

Code:
[REGIONTYPE r_default_water t_water]
RESOURCES=0.1 mr_sos_bottle
RESOURCES=60.0 mr_nothing  // Most of the time fishing produces nothing.
RESOURCES=100.0 mr_fish1
RESOURCES=100.0 mr_fish2
RESOURCES=100.0 mr_fish3
RESOURCES=100.0 mr_fish4
RESOURCES=100.0 mr_fishxx
RESOURCES=100.0 mr_fishxxx

[REGIONTYPE r_water t_water]
RESOURCES=0.1 mr_sos_bottle
//RESOURCES=0.2 mr_footwear
RESOURCES=60.0 mr_nothing
RESOURCES=100.0 mr_fish1
RESOURCES=100.0 mr_fish2
RESOURCES=100.0 mr_fish3
RESOURCES=100.0 mr_fish4
RESOURCES=100.0 mr_fishxx
RESOURCES=100.0 mr_fishxxx
(This post was last modified: 06-09-2014 05:12 AM by ograso.)
06-09-2014 05:12 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: #4
RE: Fishing spawn problem
try removing this part

RESOURCES=60.0 mr_nothing

[Image: htid.jpg]
06-09-2014 05:36 AM
Find all posts by this user Like Post Quote this message in a reply
ograso
Journeyman
*

Posts: 135
Likes Given: 10
Likes Received: 2 in 2 posts
Joined: May 2014
Reputation: 0



Post: #5
RE: Fishing spawn problem
(06-09-2014 05:36 AM)htid4life Wrote:  try removing this part

RESOURCES=60.0 mr_nothing

tried but nothing changed.
06-09-2014 05:44 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: #6
RE: Fishing spawn problem
try to restart server also Big Grin
06-09-2014 06:22 AM
Find all posts by this user Like Post Quote this message in a reply
Feeh
Sphere Developer
*****

Posts: 156
Likes Given: 6
Likes Received: 40 in 29 posts
Joined: Sep 2012
Reputation: 4



Post: #7
RE: Fishing spawn problem
is your t_water defined ?

[TYPEDEF t_water]
TERRAIN = 0a8 0ab
TERRAIN = 0136 0137
TERRAIN = 05797 0579c
TERRAIN = 0746e 07485
TERRAIN = 07490 074ab
TERRAIN = 074b5 075d5

Feeh/Epila - Nightly releases / SphereWiki / Github Issues / Sphere's GitHub
06-09-2014 07:11 AM
Find all posts by this user Like Post Quote this message in a reply
ograso
Journeyman
*

Posts: 135
Likes Given: 10
Likes Received: 2 in 2 posts
Joined: May 2014
Reputation: 0



Post: #8
RE: Fishing spawn problem
Now there is an abort message on screen. being abort when try to catch up fish.. anybody clue

Code:
[SKILL 18]
DEFNAME=Skill_Fishing
KEY=Fishing
TITLE=Fisher%s
PROMPT_MSG=What water do you want to fish in?
DELAY=2.0
STAT_STR=40
STAT_INT=30
STAT_DEX=40
BONUS_STR=10
BONUS_DEX=90
BONUS_INT=0
BONUS_STATS=25
ADV_RATE=2.5,50.0,200.0
VALUES=1,30,200

ON=@PreStart
    IF (<SRC.FINDLAYER.layer_horse>)
     SRC.SYSMESSAGE You can't fish while riding!
     return 1
    ENDIF

ON=@Fail
    src.message <def.scp.fishing_fail>
    if <def.scp.Fishing_SeaSerpent> == 0
        return 0
    endif
    if <src.fishing> >= <def.scp.Fishing_MinToDisturbSerpent>
        if <r100> <= <def.scp.Fishing_ChanceSeaSerpent>
            src.f_disturb_seamonster <targp>
        endif
    endif
    SRC.SYSMESSAGE You fish a while, but fail to catch anything.

ON=@Abort
    SRC.SYSMESSAGE You pull your line back in and stop fishing.

(06-09-2014 07:11 AM)Feeh Wrote:  is your t_water defined ?

[TYPEDEF t_water]
TERRAIN = 0a8 0ab
TERRAIN = 0136 0137
TERRAIN = 05797 0579c
TERRAIN = 0746e 07485
TERRAIN = 07490 074ab
TERRAIN = 074b5 075d5

yup My defs are as follow

Code:
[TYPEDEF t_water]
TERRAIN = 0a8    0ab
TERRAIN = 0136    0137
TERRAIN = 05797    0579c
TERRAIN = 0746e    07485
TERRAIN = 07490    074ab
TERRAIN = 074b5    075d5
TERRAIN = 064
TERRAIN = 03ff0 03ff3

Its working perfectly When I change the GM ON. but its not working as a player. being abort?
(This post was last modified: 06-09-2014 08:04 AM by ograso.)
06-09-2014 07:21 AM
Find all posts by this user Like Post Quote this message in a reply
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #9
RE: Fishing spawn problem
Check your Fishing skill, it may be too low.
06-09-2014 05:29 PM
Find all posts by this user Like Post Quote this message in a reply
ograso
Journeyman
*

Posts: 135
Likes Given: 10
Likes Received: 2 in 2 posts
Joined: May 2014
Reputation: 0



Post: #10
RE: Fishing spawn problem
(06-09-2014 05:29 PM)XuN Wrote:  Check your Fishing skill, it may be too low.

As I said before, its message appear on screen "You pull your line back in and stop fishing." when I cast a fly. Why the process being abort. I checked to skill but there is no problem at all. but If you do GM ON, you can cathc up fish perfectly


Code:
[SKILL 18]
DEFNAME=Skill_Fishing
KEY=Fishing
TITLE=Fisher%s
PROMPT_MSG=What water do you want to fish in?
DELAY=2.0
STAT_STR=40
STAT_INT=30
STAT_DEX=40
BONUS_STR=10
BONUS_DEX=90
BONUS_INT=0
BONUS_STATS=25
ADV_RATE=2.5,50.0,200.0
VALUES=1,30,200

ON=@PreStart
    IF (<SRC.FINDLAYER.layer_horse>)
     SRC.SYSMESSAGE You can't fish while riding!
     return 1
    ENDIF

ON=@Fail
    src.message <def.scp.fishing_fail>
    if <def.scp.Fishing_SeaSerpent> == 0
        return 0
    endif
    if <src.fishing> >= <def.scp.Fishing_MinToDisturbSerpent>
        if <r100> <= <def.scp.Fishing_ChanceSeaSerpent>
            src.f_disturb_seamonster <targp>
        endif
    endif
    SRC.SYSMESSAGE You fish a while, but fail to catch anything.

ON=@Abort
    SRC.SYSMESSAGE You pull your line back in and stop fishing.
(This post was last modified: 06-09-2014 09:18 PM by ograso.)
06-09-2014 09:16 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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