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 latest nightly
Author Message
Rizz
Master
**

Posts: 396
Likes Given: 21
Likes Received: 14 in 9 posts
Joined: Oct 2012
Reputation: 0



Post: #2
RE: fishing latest nightly
I found this on the latest script pack:

PHP Code:
[SKILL 18]
DEFNAME=Skill_Fishing
KEY
=Fishing
TITLE
=Fisher%s
FLAGS
=SKF_GATHER
PROMPT_MSG
=What water do you want to fish in?
DELAY=8.0
RANGE
=4
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
    IF (<SRC.FINDLAYER.2.USESCUR>< 1)
        SRC.SYSMESSAGE The tool is out of charges.
        return 1
    ENDIF

ON=@Start
    ANIM 12
    SERV.NEWITEM i_memory_fishing_splash
    NEW.LINK=<UID>
    NEW.P=<ACT.P>

ON=@Success
    ACTARG2=1        // 1 will pack the resource, 0 place it on the ground.
    SRC.FINDLAYER.2.USESCUR --

ON=@Fail
    SRC.SYSMESSAGE You fish a while, but fail to catch anything.

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

ON=@Stroke
    IF (<SRC.FINDLAYER.layer_horse>)
        SRC.SYSMESSAGE You can'
t fish while riding!
        return 
1
    
ENDIF
    
// Damage for Fishing Poles was never active, I add it here anyway.
    //IF ( <SERV.EXPERIMENTAL>&00002000)        // EF_DamageTools
    //    IF (<SRC.FINDLAYER.2.HITS> > 0)
    //        SRC.FINDLAYER.2.DAMAGE <eval <maxhits>*2>,DAM_PHYSICAL,<SRC>
    //    ELSE
    //        SRC.FINDLAYER.2.DESTROY
    //    ENDIF
    //ENDIF

[ITEMDEF i_memory_fishing_splash]
ID=i_memory

ON
=@Create
ATTR
=attr_move_never|attr_decay
TIMERD
=15
IF (<TIMERD> > <SERV.SKILL.FISHING.DELAY>)    // We don't want to fire the splash after the fish success so a check for skill's delay is needed.
 
TIMERD=<eval <SERV.SKILL.FISHING.DELAY>/2>
ENDIF

ON=@Timer
IF (<LINK.ACTION> == skill_fishing)        // Check out if cont is still fishing, otherwise we don't want the effect.
 
EFFECT 2,0352D,4,16
 SOUND 0364
ENDIF 

I tried with .gm off and seems working... i didn't try with a normal pg...
09-30-2014 02:07 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
fishing latest nightly - Skul - 09-30-2014, 01:40 AM
RE: fishing latest nightly - Rizz - 09-30-2014 02:07 AM
RE: fishing latest nightly - Skul - 09-30-2014, 02:09 AM
RE: fishing latest nightly - Rizz - 09-30-2014, 02:45 AM
RE: fishing latest nightly - Skul - 09-30-2014, 02:50 AM
RE: fishing latest nightly - Extreme - 09-30-2014, 02:52 AM
RE: fishing latest nightly - Skul - 09-30-2014, 02:55 AM
RE: fishing latest nightly - Extreme - 09-30-2014, 03:33 AM
RE: fishing latest nightly - darksun84 - 09-30-2014, 03:35 AM
RE: fishing latest nightly - Coruja - 09-30-2014, 03:50 AM
RE: fishing latest nightly - Extreme - 09-30-2014, 03:56 AM
RE: fishing latest nightly - Skul - 09-30-2014, 04:32 AM
RE: fishing latest nightly - Rizz - 09-30-2014, 05:05 AM
RE: fishing latest nightly - Rizz - 10-02-2014, 07:35 PM
RE: fishing latest nightly - Coruja - 10-03-2014, 08:37 AM

Forum Jump:


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