Jump to content

Utility Release: World of Fishing


Lil Troll

Recommended Posts


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  276
  • Reputation:   24
  • Joined:  07/06/13
  • Last Seen:  

From my topic : http://rathena.org/board/topic/86213-lil-troll-world-of-fishing/

 

LIL-TROLL PRESENTS: WORLD OF FISHING

Works best on "/effecton".

/////////////////////////////////////////////////////////////////////////
//---------------------------------------------------------------------//
//                          WORLD OF FISHING                           //
//                     AUTHOR: LIL TROLL//COLDFIRE                     //
//---------------------------------------------------------------------//
//                          RATHENA SCRIPT                             //
//---------------------------------------------------------------------//
//                            Version 1.6                              //
//---------------------------------------------------------------------//
//    FEATURES: (Modified Fishing Script)                              //
//    Automatic Fishing Mode 1 (Lil-Troll Version):                    //
//    - Fish Autohides After Caught                                    //
//    - Non-Abusable     			                       //
//    - Fishing with Animated BMP! ( Just make your own BMP-Cutins )   //
//    - Fishing with Exp - Level!                                      //
//    - Fishing with Titles Names                                      //
//    - Fish Monster Encounter                                         //
//      - Marine Sphere, Summon, Warper                                //
//    - Jackpot & Lucky Treasure Box                                   //
//    Automatic Fishing Mode 2 (Grass Version):                        //
//    - Fish Autohides depends on settings.                            //
//    - Plain Automatic Continuous Fishing.                            //
//    Fishing Cutins(Animation) VS Progress Bar                        //
//    Fish Box (Reward Storage)                	                       //
//    - Fish Box with Exp - Level! Increase Storage Limit per Level!   //
//    Fishing NPC (Fishing Guru)                               	       //
//    - NPC automatically change and suits to desired toggle.          //
//    Fishing Points (With toggles [On/Off] (Account-Based)  	       //
//    - You can set Fishing Points to character based by removing "#"  //
//    - You can pick mode from the toggle                              //
//    Fishing Manual (Instructions,Statistics)                         //
//    Fishing Ladder:                                                  //
//    - Rank, Experience, Points, Fish Caught                          //
//    - Successful Fishing, Fails, Monster Encounters, Reward Moments  // 
//    Idea/Concept:                                                    //
//    Modified, Improved and Add "Flavor" to known fishing scripts.    //
//    - Fishing Script By Grass0916                                    //
//    - Fishing Script By Mercurial                                    //
//    - Fishing Script By Pnuema                                       //
//---------------------------------------------------------------------//
/////////////////////////////////////////////////////////////////////////

[spoiler=You can see original topic here:]http://rathena.org/board/topic/86213-lil-troll-world-of-fishing/

 

[spoiler=Idea Behind the Script]Fore more information regarding the script, for you to get a hint what this script does. You can see video below. 

 

[spoiler=Grass Cutins:]

Anyways, you can download the cutins, posted by Vlync. Thanks for this men! :)
Vlync: #22 Post

 

[spoiler=To Do:][spoiler=Done:]Important Updates:

#1: Added Fish Auto Hides. [v.1.1].

#2: Fix major used of permanent global variables. [v.1.4].

#3: Added SQL - Ladder. [v.1.5].

#4: Added (Modified) Grass Fishing Automatic Version[v.1.6].

#5: Added Anti-Abuse if Cuttins = 1[v.1.6].

[spoiler=Script]If I encounter and already know how to make this:

- Fix major usage of variables.
- To find Error and Bugs.
- To decrease the length of the script without consuming too much resources.

- Automatically remove inactive rows in Fishing_System SQL(15days timeframe).

- Make necessary variables transferred to SQL.

Currently Doing:

- NPC Configuration.

[spoiler=Gameplay:]I want to make it more diverse!

- Generating fresh ideas and building new concept for new Features. 

Currently doing this:

- Adding skills.

- Adding Manual Fishing Feature.

- Adding Pool Prize Event.

- Finding way how to disable Animated Cutins when char moves so that mes wouldn't be in use anymore.

 

[spoiler=Change Logs:][spoiler=Older Versions:]#1: Initial Release.

v.1.2:
#1: Added new modes, see toggles.
#2: Fix warp bug on "Fish Monster Encounter"(Warper).
v.1.3:
#1: Reduce the length of the script.
#2: Added new for statements.
v.1.4:
#1: Fix unaware bug, in longrun of fishing casting time will be instant.
#2: Remove usage of too much perma vars. Thanks to Nanakiwurtz for pinpointing that out! :)

[spoiler=v.1.5:]#1: Re-written and improve the whole script.
#2: Added Ladder. Shop, Fishing Box Manual(Instructions, Etc.)
#3: Added Fishing Manual(Statistics, Instructions, Requirements, Etc.),
#4: New Toggles and Quests.

[spoiler=v.1.5.1:]#1: Improve Jackpot Scene and Lucky Treasure Box Scene.
#2: Shorten the length of the script.

[spoiler=v.1.5.2:]#1: Improve usage of Progressbar VS Cutins, separated the two since sometimes irregularity happens. See new toggle "$@Cutins".

[spoiler=v1.6:]#1: Improve usage of "IF STATEMENTS", shorten most of if statements.
#2: Minor fix in the whole script.
#3: Added Non-Abuse for Cuttins = 1. (Forgot to add this part in past releases, sorry!)
#4: Added "$@FishingMode" Toggle, choose between LilTroll Version or Grass Version(New Feature).
#5: Improve and decrease the length of some scenes(Fish Warper, Lucky Box, Marine Sphere, Monster Summon, Jackpot).
#6: Fix Major usage of cutins. Now its pretty smooth! :)
#7: Added Fish Rank Cutins(Animation = $@FishRankCutins) -
- Toggle 0 = Off, 1 = On.
- Fishing will halt and Rank-Up Animation will appear then after, fishing will continue! POOOOWW!!! :D

 

[spoiler=Special Notes:][spoiler=If you cant fish?]Check what toggle you putted, also always check the fishing manual if you are lacking of requirements. I guess you should probably add dialogues to NPC that if you cannot fish open your Fishing Manual and "Check Requirements".

[spoiler=Script Auto Adopts:]The system automatically suits the changes between what Fishing Mode, And Toggle is set to. It includes NPC's automatic chaging, the variables, dialogues, condition, etc.

[spoiler=What is $@Toggle?:]Determines what mode you want to select.
4 = Points + Shop + Quest + Fish Pool
3 = Points + Shop + Quest
2 = Points + Shop
1 = Points On
0 = Points Off

[spoiler=Toggle is 3 and above:]If your $@Toggle is 3 and above, Dont forget to make your own fishing quest for the players to be able to fish, if they finish the quest the "CanNowFish" will be set to "1", and new Menu will appear in Fishing Guru. Also instead of making your own "getitem" command in the quest script you made just paste this "callfunc "FishingQuestPrize";" just change this first. "$@FishingQuestRewards", "$@QuestAmounts" Must be the Fishing Manual,Box,and 2Main Equips(Rod,FishingHat).

[spoiler=Progress Bar VS Cutins:]( set $@Cuttins,1; )

- Determine whether what effect you want to use while fishing cast is loading.

1 = Cutins(Animation)

0 = Progrss Bar(Classic Type)

#1 Progress Bar, usage of normal progress bar over animated cutins.
- Pros: When you move while fishing, the cast will stop.
- Cons: Very classic, other may see it as boring as hell.
#2 Cutins(Animation):
- Pros: Very fresh to community, good animation depends on your quality of cutins to be used.
- Cons: I used "mes" command for the character to stop moving while fishing, because if player is able to move he might abuse the whole fishing. (I think this is ok, but to some it will be a bother i guess.) For the meantime this is my fix to abuse, Ticker is fine but I replaced it because it eats lots of memory. Also added permanent variable "FishingAbuse" secondary protection to abuse.

[spoiler=Fishing Gameplay Toggle:](set $@FishingMode,0;)

-Toggle to pick between Lil-Troll version of fishing and Grass version of fishing.
#1 Lil-Troll version: (set to 0)
- Diversified fishing, got Encounters and Rewarding Moments features.
#2 Grass version: (set to 1)

- Why I did not use Grass(CanFish) cell detection version? It can be used while being on AFK mode.
- Automatic Non-Abusive Fishing, wherein the player will determine how many lure to be used in continuous automatic fishing.

 

The GUIDE to Configure, the SETUP, the SQL QUERY is inside the script. Yes I know, the script is too long but am very sure this is so easy to configure! I added notes and marks so that Newbie like me wont be confused modifying the whole script. Please don`t criticize me so hard. Am really new to scripting yet am very eager to learn, I actually solved and manage to fix all the problems and bugs by hundreds of trials and error and a little bit of imitating scripting of other pros and a little help of other very good citizens. Well actually this is only part of the whole script. For some reason I wont upload the whole script and I will not upload any of my "BMP" or "Cutins" that i used in the script. 

 

Please help me improve this script. If you found bugs or errors please pinpoint it to me so that I can actually fix that fast. Before releasing it to your server, please configure it right and check out what this script does. Please do suggest improvements, additional features, etc. to make the script more diverse and fresh. Also if you knew a way how to do my To Do List, can you help me on that part?

 

Remember, always read the "Change Logs" and "Special Notes" when new updates are uploaded. And also If I release a newer version just copy the setup from your Configuration and the location of NPC to the new one. 

 

A little thanks or appreciation of my work will pump-up my motivation to much improve the whole script.  Am very sure that all will gonna enjoy this script! Thanks and have fun!  :)

 

P.S. I will make a video of the script if I got spare time.

 

****** I made this script using this svn(http://sourceforge.net/p/rathena/svn/17482/) IDK whats the difference from this one to old one, 

I  think I will change some statements so lower svn can use this, at the mean time I really dont know what to change. 

 Still finding command logs at changes from reading SVN LOGS. Am really new to scripting. ******

 

fishing_system_v1.5.txt

fishing_system_v1.5.1.txt

fishing_system_v1.5.2.txt

fishing_system_v1.6.txt

Edited by Lil Troll
  • Upvote 2
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  567
  • Reputation:   18
  • Joined:  04/15/13
  • Last Seen:  

Nice Script! :)

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  1268
  • Reputation:   382
  • Joined:  02/03/12
  • Last Seen:  

I'll have to check this  out when I get a chance.

  • Upvote 2
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  276
  • Reputation:   24
  • Joined:  07/06/13
  • Last Seen:  

@yoona, Thanks! Hope you would test it. 

@skorm, Yes sir! Please do check it if you have time to spare. :D

Edited by Lil Troll
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  567
  • Reputation:   18
  • Joined:  04/15/13
  • Last Seen:  

i will :) 100% sure as soon as possible!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  81
  • Topics Per Day:  0.02
  • Content Count:  1654
  • Reputation:   583
  • Joined:  08/09/12
  • Last Seen:  

@Lil Troll: Nice script!

But I think it's unnecessary to assign all of the variables as global permanent variables.

I suggest to use "." rather than "$" /ok

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  276
  • Reputation:   24
  • Joined:  07/06/13
  • Last Seen:  

@nanakiwurtz I did that before, i changed some related NPC vars to "." but errors appearing and some arrays cannot be read. I really need to figure out how to minimize the usage of global vars. I guess you can help me by pinpointing some of those vars(sorry nub)  hehe...Thanks! :)

Edited by Lil Troll
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  126
  • Reputation:   4
  • Joined:  10/31/12
  • Last Seen:  

i Love the scrpt can i ask were can i download that image . ..  

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  276
  • Reputation:   24
  • Joined:  07/06/13
  • Last Seen:  

@Markiez22: You must create your own BMP, I wont upload mine, its easy I know you can do it! :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  164
  • Reputation:   12
  • Joined:  01/03/12
  • Last Seen:  

waiting waiting waiting :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   15
  • Joined:  11/17/11
  • Last Seen:  

Where is the WHOLE script? is the script well-function i mean is it bug-free already?
Thanks for this.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  276
  • Reputation:   24
  • Joined:  07/06/13
  • Last Seen:  

@Vlync, yes its working and fully functioning. The old version used too much global vars, it will cause your server in long run to lag. I fixed major of it by making all vars to temporary global. Just refrain using the old version, just save your setups. :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   15
  • Joined:  11/17/11
  • Last Seen:  

@Vlync, yes its working and fully functioning. The old version used too much global vars, it will cause your server in long run to lag. I fixed major of it by making all vars to temporary global. Just refrain using the old version, just save your setups. :)

Where can i find the whole script? the script provided above is just a variable and header?

Correct me if i'm wrong. Thank you.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  276
  • Reputation:   24
  • Joined:  07/06/13
  • Last Seen:  

I remove the link of old scripts. I don`t want anyone to use it while im finishing the new one, because of too much perma-global vars althou it work fine. I will post the new one after I finished the whole script, meantime the new release will be my final release of it ATM. I don`t like players encounter bugs or any related errors. Because I do have vacation this coming week so am not here doing any updates to bugs or errors. 

Edited by Lil Troll
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  276
  • Reputation:   24
  • Joined:  07/06/13
  • Last Seen:  

Bump, updated the whole script to v.1.5. Check this out. :)



 

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   15
  • Joined:  11/17/11
  • Last Seen:  

Bump, updated the whole script to v.1.5. Check this out. :)

 

Let me try this one, it would be nice if you could provide a VIDEO in your OWN version of that Fishing System (-:)

Thanks for the script anyways (-:

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  276
  • Reputation:   24
  • Joined:  07/06/13
  • Last Seen:  

Ok no problem, Im now making an

 

Bump, updated the whole script to v.1.5. Check this out. :)



 

Let me try this one, it would be nice if you could provide a VIDEO in your OWN version of that Fishing System (- :)
Thanks for the script anyways (-:

Welcome! :) Yes I would love to! Anyways am planning to make that script more diverse, going to add skills and new features to it, but first am finding ways how to minimize the length of the script using callfunc, or getarg or whatever I can use to shorten the lines. I need to discover and learn new things first. :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  666
  • Reputation:   93
  • Joined:  04/27/12
  • Last Seen:  

@LilTroll - Shortening lines, is good, but remember it doesn't always mean it's better, a small script coded wrong can still eat up more resources than one that is more than 3x it's length. Just keep that in mind. Lol.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  276
  • Reputation:   24
  • Joined:  07/06/13
  • Last Seen:  

@sir Liohardt: Yes sir, thanks for reminding me of that. Am really aware of it, I was scared of using too much of it, I saw some topic at eathena using wrong small script coded can cost too much resources. I did remove some for statements  that shorten the script unnecessarily and took the long way around, LOL as you can see in the script you can found redundancy of functions and commands, but then again if you have a extra time you can look and read the whole script to correct some of my mistakes if I have any. Thanks! :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  75
  • Reputation:   3
  • Joined:  04/12/13
  • Last Seen:  

some demo for cutin ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  226
  • Reputation:   11
  • Joined:  01/09/12
  • Last Seen:  

Video will be appreciated and yeah we want the cutins too :LOL, but all in all its great to see this script working~

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   15
  • Joined:  11/17/11
  • Last Seen:  

Okay, everyone is asking for cutins i have cutins for this guys and i wanted to share this on to you.

l don't want to be selfish then here it goes.

Credits: gras0916 

 

Download:

data_Fishing System Imitating Seal Online.rar



Happy Fishing!  /no1

 

Regards,

Vlync / Meerooy

 

  • Upvote 3
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  55
  • Topics Per Day:  0.01
  • Content Count:  1188
  • Reputation:   161
  • Joined:  06/12/12
  • Last Seen:  

@Vlync,

 

Thanks a lot for this sharing

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  276
  • Reputation:   24
  • Joined:  07/06/13
  • Last Seen:  

Wow i dont know there is existing cutins grass released, i used my own cutins, gonna upload my vid later. Thanks for the share, gonna put that up also in the post. :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  276
  • Reputation:   24
  • Joined:  07/06/13
  • Last Seen:  

Bump, updated to Version 1.6!

[spoiler=Link:]​http://rathena.org/board/topic/86736-utility-release-world-of-fishing/#entry219249

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...