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: #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
Post Reply 


Messages In This Thread
Fishing spawn problem - ograso - 06-09-2014, 03:24 AM
RE: Fishing spawn problem - Mordaunt - 06-09-2014, 04:34 AM
RE: Fishing spawn problem - ograso - 06-09-2014, 05:12 AM
RE: Fishing spawn problem - htid4life - 06-09-2014, 05:36 AM
RE: Fishing spawn problem - ograso - 06-09-2014, 05:44 AM
RE: Fishing spawn problem - darksun84 - 06-09-2014, 06:22 AM
RE: Fishing spawn problem - Feeh - 06-09-2014, 07:11 AM
RE: Fishing spawn problem - ograso - 06-09-2014 07:21 AM
RE: Fishing spawn problem - XuN - 06-09-2014, 05:29 PM
RE: Fishing spawn problem - ograso - 06-09-2014, 09:16 PM
RE: Fishing spawn problem - ograso - 06-09-2014, 11:34 PM
RE: Fishing spawn problem - Extreme - 06-10-2014, 05:44 AM
RE: Fishing spawn problem - ograso - 06-10-2014, 05:57 AM

Forum Jump:


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