Sy_Accursed Posted July 27, 2015 Share Posted July 27, 2015 So I was bored doing some fish flingers grinding out that comp trim req and was in the mode to do some codingy stuff. So I sat and looked at my scrawled on piece of papered used for keeping tabs on the combos when doing fish fingers and thought I could tech it up a bit! It may not be the most elegant of things, but it does the job done! And it only took like 2,500 lines of javascript to make it work *eye twitches* Update 28/08/16 Since Google drive decided to get rid of the website hosting feature I came up with two ways to get it: Zip File Android APK Basic Instructions: Load the html file from zip in your browser or open the app on android device. Show/Hide Vague Hints give you access to markers for when you get one of the 4 non-specific hints (non-metal hook, near mid, far distance) which gives highlights. Show/Hide Quick Summary gives a text overview of options selected. All the other stuff tap the thing you want - it will hide the unusable options. Tap again to undo Reset clears the whole lot. 2 Operation Gold Sparkles :: Chompy Kills :: Full Profound :: Champions :: Barbarian Notes :: Champions Tackle Box :: MA RewardsDragonkin Journals :: Ports Stories :: Elder Chronicles :: Boss Slayer :: Penance King :: Kal'gerion Titles :: Gold Statue Link to comment Share on other sites More sharing options...
Arceus Posted July 27, 2015 Share Posted July 27, 2015 Nice job, looks like a useful tool for people engaging in FF! I haven't looked through the code so forgive me if it isn't possible, but one suggestion I can think of is to make it possible to correct yourself if you make a mistake. For example, if you click the box for the wrong type of bait, and uncheck, can you force the other options to appear? Or at least, other options in that row and column that are not already invalidated to reappear? Other than starting a new round of course. And pretty much the same thing for the near hints and the boxes that it blanks out. "Fight for what you believe in, and believe in what you're fighting for." Can games be art? --- My blog here if you want to check out my Times articles and other writings! I always appreciate comments/feedback. Link to comment Share on other sites More sharing options...
Sy_Accursed Posted July 28, 2015 Author Share Posted July 28, 2015 I have done some fiddling to try and make that work, as well as trying to suss out how to stop the 2ndary location selectors appear once 2 2ndaries are ticked but so far I can't get it to work. I'm not exactly good with javascript and it's a small miracle I even got it to work this far. It's all done with onchange flags for the check boxes setting functions to specific values which then toggles specific div ids to visible or hidden Operation Gold Sparkles :: Chompy Kills :: Full Profound :: Champions :: Barbarian Notes :: Champions Tackle Box :: MA RewardsDragonkin Journals :: Ports Stories :: Elder Chronicles :: Boss Slayer :: Penance King :: Kal'gerion Titles :: Gold Statue Link to comment Share on other sites More sharing options...
Omnitec Posted July 28, 2015 Share Posted July 28, 2015 This I like a lot! :D My JS is rusty so forgive me, but what happens if you put an else command in your Worm(x), Maggot(x) etc functions that gives you back the original divs all visible? Probably nothing :( Link to comment Share on other sites More sharing options...
Sy_Accursed Posted July 28, 2015 Author Share Posted July 28, 2015 Nothing happens because for example clicking worm in the bass row sets Worm(x) to Worm (1) and then function checks with Worm(x) is 1 then runs the functions to hide the worms for the other fish and hide the other baits for bass. So no matter what you do that check box is always gonna land on Worm(1)I did try changing the id/onclick parameter within the function and defining a separate undoing function, but that doesn't work either as it just runs all in 1 go (ie changes onclick="Worms(1)" to onclick="Undo(1)" then finds Undo(x) and runs that. The best I can suss at the moment is adding a reset button at the end of each row and column which will make that row/column entirely re-appear, which wouldn't be the worst just means a 2 click operation to clear an error. The only way I can see to do it better would to have every cell have a hidden 'undo' button that appears after it is clicked and links to an inverted version of its function, but that seems a bit messy and would be ALOT of extra script for limited usage. I am working on some sprucing at the moment.Replacing check-boxes with hidden buttons for the looks (making the img urls defined by class whilst I do it so I can easily feed in some better images later) Also simplified location selection into a looping button that cycles through Beach, Dock, Lake, River. Sorry if it looks a bit messy whilst I work nature of google drive hosting means it changes on the fly whilst I work - trying to add the button before I remove checkbox so even if it looks a bit funky when u refresh there will be a working selection. Operation Gold Sparkles :: Chompy Kills :: Full Profound :: Champions :: Barbarian Notes :: Champions Tackle Box :: MA RewardsDragonkin Journals :: Ports Stories :: Elder Chronicles :: Boss Slayer :: Penance King :: Kal'gerion Titles :: Gold Statue Link to comment Share on other sites More sharing options...
Omnitec Posted July 28, 2015 Share Posted July 28, 2015 See if you can change the onclick buttons a bit to check whether or not the function has been executed already using class names, might work :D http://www.codingforums.com/javascript-programming/80498-onclick-do-onclick-undo.html Link to comment Share on other sites More sharing options...
Sy_Accursed Posted July 28, 2015 Author Share Posted July 28, 2015 Hmm that seems to have potential - I've swapped out the code for hiding maggots in Bass if you pick worms in Bass for a variant of it. However for some reason it's taking 2 clicks to make it disappear initially (even if I wipe out all other code in that function) Edit: Solved it need to manually add style="display: block" to all the divs I'll do that now whilst working on the buttons, then I'll have to do the script tweaks to make it all work. Operation Gold Sparkles :: Chompy Kills :: Full Profound :: Champions :: Barbarian Notes :: Champions Tackle Box :: MA RewardsDragonkin Journals :: Ports Stories :: Elder Chronicles :: Boss Slayer :: Penance King :: Kal'gerion Titles :: Gold Statue Link to comment Share on other sites More sharing options...
Sy_Accursed Posted July 28, 2015 Author Share Posted July 28, 2015 Wahey I've got it working nicely! Not fully coded yet but coming along with the re-click to undo. I realised as I went to ensure not glitch entries I need to combine use of toggling display between block and none and visibility between hidden and visible.Rows are running on displayColumns on visibility Otherwise, for example, undoing Worms on Bass would reveal Worms on Salmon even though Salmon is set as Shrimp. Operation Gold Sparkles :: Chompy Kills :: Full Profound :: Champions :: Barbarian Notes :: Champions Tackle Box :: MA RewardsDragonkin Journals :: Ports Stories :: Elder Chronicles :: Boss Slayer :: Penance King :: Kal'gerion Titles :: Gold Statue Link to comment Share on other sites More sharing options...
Squakus Posted July 29, 2015 Share Posted July 29, 2015 Could you add starting hint highlighting for bait types? (i.e trout likes red/pike likes fluttering) As the size of an explosion increases, the number of social situations it is incapabale of solving approaches zero. Ensure you are not a social situation. Link to comment Share on other sites More sharing options...
Sy_Accursed Posted July 29, 2015 Author Share Posted July 29, 2015 But bait hints are always exact so there is no need for a starting hint highlighter for them. Possible bits of hint info given are:Wriggling Red - WormWriggling Brown - MaggotLeaping Brown - CricketLeaping Green - LocustFluttering Green - Green MothFluttering Grey - Grey MothShellfish Grey - CrayfishShellfish Red - Shrimp Normal - StandardLarge Mouth - LargeSmall Mouth - SlimDouble - DoubleCan spot metal a mile off - Wood or Bone Close to shore - 1 or 2Far but not to far - 3 or 4Far from shore - 5 or 6 Operation Gold Sparkles :: Chompy Kills :: Full Profound :: Champions :: Barbarian Notes :: Champions Tackle Box :: MA RewardsDragonkin Journals :: Ports Stories :: Elder Chronicles :: Boss Slayer :: Penance King :: Kal'gerion Titles :: Gold Statue Link to comment Share on other sites More sharing options...
Uaexkiller Posted August 27, 2015 Share Posted August 27, 2015 This is awesome, been using it for a while now for the games and its helping out. A few suggestions:1. Can you add the name of each hook and the number of weights at the top, when I switch screens quickly, its takes a while to find what I am looking after getting the combo2. Can you list the fish in the order they appear in the ratings page ingame, would make it easier to select the different locations before the start of the game order -> herring , cod, bass , trout, pike, salmon Link to comment Share on other sites More sharing options...
Sy_Accursed Posted August 28, 2015 Author Share Posted August 28, 2015 Good ideas. Done. Operation Gold Sparkles :: Chompy Kills :: Full Profound :: Champions :: Barbarian Notes :: Champions Tackle Box :: MA RewardsDragonkin Journals :: Ports Stories :: Elder Chronicles :: Boss Slayer :: Penance King :: Kal'gerion Titles :: Gold Statue Link to comment Share on other sites More sharing options...
Sirenix Posted August 29, 2015 Share Posted August 29, 2015 I checked it out, I likey! This will make Lew Zealand's favorite game SOOO much easier! PS If you don't know who Lew Zealand is, you don't know the Muppet Show. Link to comment Share on other sites More sharing options...
Bellatrixae Posted October 4, 2015 Share Posted October 4, 2015 This is quite a useful tool, for me at least. I have such a hard time keeping track of & understanding the hints in FF. Bellatrixae | The Newbie Link to comment Share on other sites More sharing options...
Sy_Accursed Posted August 28, 2016 Author Share Posted August 28, 2016 So Google decided to kill web hosting via drive and I CBA to set something else up. So instead I've made a zip file you can download and just open the html file for it to work in your browser, I've also ported it to a native android app form. Whilst doing this I took the opportunity to make some usability upgrades:Vague Hints is now in a floating box you can hide to avoid confusion when quickly pressing stuff mid-roundQuick Summary is now also in a floating box you can hide so its always on hand if you want, but not in the way if you don'tUpdated all the tables to use some floating properties to make the design collapse to make the whole thing usable on smaller screens with less hassle - been doing test builds on my tablet and phone. Tablet isn't much different but just a bit slicker. Phone is usable, not as easy as bigger screens but usable none the less. Benefit is it works on the web version as well so you can size ur browser window however you'd like. Operation Gold Sparkles :: Chompy Kills :: Full Profound :: Champions :: Barbarian Notes :: Champions Tackle Box :: MA RewardsDragonkin Journals :: Ports Stories :: Elder Chronicles :: Boss Slayer :: Penance King :: Kal'gerion Titles :: Gold Statue Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now