Jump to content

(Bug Fixed) Fishing Simulation System (Timing Fishing + Sound Included) 1.2.2b


5 Screenshots

About This File

[NOTE] For now on I will keep release all of my work for free , I hope most people can enjoy my script without paid. But if you still want to support my work, please consider donate or become my patron. Thank you.

 

Tired of boring odd base fishing game which just click and wait for the reward?
Then maybe you will need this simulate fishing game. Idea from a Japanese Video Game.
The Legend of Heroes VI: Sora no Kiseki


Feature:

  • Easy add / modify / remove local database
  • Not bound to npc when fishing, that mean you can walk freely, but there are timeout there.
  • Everyone can look and hear how you fish
  • Sound Effect included
  • Easy setup and configure each fishing spot
  • Can easily duplicate the npc and will not conflict to each other

Global Rod / Bait / Fish Database Example:

Spoiler

setarray $@rod_data$, "25031|0|0",
      "25032|25|75",
      "25033|75|25"; // rod data "<rod id>|<indicator slow bonus>|<variation reduce>"
      // $@rod_data$ value suggestion "<itemid>|<0~∞%>|<0~100%>"
setarray $@bait_data$, "501|500|20",
      "502|600|15",
      "503|750|15",
      "504|500|20",
      "505|400|25",
      "506|500|60";  // bait data "<bait id>|<delay before run>|<timeout>"
      // $@bait_data$ value suggestion "<itemid>|<500~1000>|<10~60>"
setarray $@fish_data$,"Junk|500|0|junkitem|713:909:914:915",
      "Fish|100|50|getfish|6049:6771:6774:6778:6779:6780:6096",
      "Bass|100|70|getitem|501:502:503",
      "Fish Monster|75|100|mob|1070:1073",
      "Strouf|75|120|mob|1065",
      "Marina|75|120|mob|1141",
      "Mermaid|100|80|useskill|28:34|2184",
      "Evil Mermaid|100|80|useskill|86:184|2184",
      "MVP Monster|-50|300|mob|2202:2319",
      "Frog|100|40|mob|2678:2679",
      "Shark",
      "Mackerel",
      "Thief Fish|100|70|delitem|501:502:503";  // fish data "<fish name>|<fish speed>|<variation>|<mode>|<mode data>|<additional data>"
      // $@fish_data$ value suggestion "<fish name>|<0~500>|<10~500>|<getitem/delitem/useskill/mob>|<itemid/mobid>|<use by mob mode only>"

Each Spot Npc Example:

Spoiler
izlude,110,67,0 script Test Spot::FISHTEST 723,{
Fishing_Start_Func(".rod_list",".bait_list");
end;
OnSuccess:
 emotion E_LOUD,1;
 showscript "I got it!",getcharid2(3,getVariable(".charname"+strnpcinfo(3)+"$"));
 specialeffect 6;
 soundeffectall "fish_reel03.wav",0;
 
 Fish_Reward_Func();
 Fishing_End_Func();
 
OnHit:
 emotion E_SWT2;
 emotion E_SWT2,1;
 specialeffect 4;
 soundeffectall "fish_reel02.wav",0;
 //setVariable(".timeout"+strnpcinfo(3),getVariable(".timeout"+strnpcinfo(3))+1); // add 1 more sec on each successful hook
 end;
 
// Event without player attach =================================================================================
OnCharacterGone:
 Fishing_End_Func();
OnWrongTiming:
 emotion E_HMM,1,getVariable(".charname"+strnpcinfo(3)+"$");
 showscript "I shouldn't pull at this situation...",getcharid2(3,getVariable(".charname"+strnpcinfo(3)+"$"));
 specialeffect 5;
 Fishing_End_Func();
OnTimeOut:
 emotion E_HMM,1,getVariable(".charname"+strnpcinfo(3)+"$");
 showscript "The bait is gone...",getcharid2(3,getVariable(".charname"+strnpcinfo(3)+"$"));
 specialeffect 5;
 Fishing_End_Func();
OnRodGone:
 emotion E_OMG,1,getVariable(".charname"+strnpcinfo(3)+"$");
 showscript "Where is my rod?",getcharid2(3,getVariable(".charname"+strnpcinfo(3)+"$"));
 specialeffect 5;
 Fishing_End_Func();
OnFail:
 soundeffectall "fish_reel01.wav",0;
 emotion E_SWT,1,getVariable(".charname"+strnpcinfo(3)+"$");
 showscript "I lost it...",getcharid2(3,getVariable(".charname"+strnpcinfo(3)+"$"));
 specialeffect 5;
 Fishing_End_Func();
OnInit:
// =========================< Rod & Bait Effect >========================================================================
setarray .rod_list,25031,25032,25033;   // rod allow to use  (Copy from $@rod_data$)
setarray .bait_list,504,505,506;    // bait consume id  (Copy from $@bait_data$)
setarray .fish_list$,"Mermaid|10000|5|120";//,"Bass|10000|5|120";    // fish list in this npc (Copy from $@fish_data$) string as id
// ======================================================================================================================
Fish_Spot_Initialize();
callfunc("EF_Bubble");
}

This script need my release of:

Spoiler
  1. Yuchinin Common Library (common.txt)

If you bought this script and need help on setting the npc, feel free to pm me on rAthena mailbox.

Suggestion are welcome.

Upcoming List:

  • Leaderboard
  • Fishing Contest
  • Private Pond & Public Pond

By downloading this script, you agree to these terms:

  • You are not allowed to redistribute this script in any way, shape, or form.
  • Chargeback scams are not tolerated and will get you punished on rAthena.
  • I still retain all rights to this script and sound.
  • Terms above may be changed or adjusted without prior notification.

Copyright © - Yuchinin 2017 - All Rights Reserved


What's New in Version 1.2.2b   See changelog

Released

//= 1.2.2b Make it support recent change of emotion command
//=        Removed requirement of monster controller

  • Upvote 2
  • Love 1

×
×
  • Create New...