Problem with script

in
Subscribe to Problem with script 38 posts, 12 voices



Joel Fong User
FirefoxMacintosh

Whenever I go to a fish wrangler page, an alert pops up asking me to set my preferences etc. However, when I do right click the greesemonkey icon, the "user script commands" option is greyed out, preventing me from setting any preferences. I have reinstalled greesemonkey and reinstalled this script several times but to no avail. Some help regarding this is highly appreciated. Thanks.

 
iispyderii Script's Author
FirefoxMacintosh

Make sure your on a Fishwrangler page when doing this. You can't be on the discussion boards or doing a tournament when you try to set the commands. Otherwise, it's working fine and no one else has had these problems since I implemented this feature a month ago.

 
walfoss User
FirefoxX11

I just installed the script for the first time and I'm having the same issue. No matter what page I'm on, the script options menu is greyed out.

 
SouthernPitBull User
FirefoxWindows

i had the same problem for a while... i re installed and refreshed til it worked

 
Joel Fong User
FirefoxMacintosh

I have the script running fine now.
Problem solved by manually editing the script.

Scroll down to '- Registering GreaseMonkey Commands -' and then either copy "GM_setValue('Good', true)" or "GM_setValue('Good', false)" This is the part of the code for the bait preference.

Scroll up and paste it just before the script checks if your preferences have been selected. (That would be before the line "if (GM_getValue('Good', 'not set') == 'not set')" near the top part of the script.) This will set your bait preference.

After that, scroll back down to '- Registering GreaseMonkey Commands -' and copy either "GM_setValue('Boat Trainer', true)" or "GM_setValue('Boat Trainer', false)" This is the part of the code to toggle the boat trainer on and off.

Scroll back up to where you first pasted your bait preference and paste your boat trainer preferences just directly below it.

Your modified code will look similar to:

GM_setValue('Good', true)
GM_setValue('Boat Trainer', true)

if (GM_getValue('Good', 'not set') == 'not set')

So basically I manually set the preferences for the bait and boat trainer so that the script is able to run without giving me any alerts about preferences not set.

*On a side note: This script is one of the most well written scripts I have ever seen. iispyderii has given 'smart' a new meaning.*

 
iispyderii Script's Author
FirefoxMacintosh

I think it has messed up when going from 1.7.2 to 1.8.0.
I will reinstall fresh on my browser and clear all the about:config page.
You can see the values it sets by putting this in your mozilla address bar

about:config
and putting "greasemonkey" in the search bar. The bolded lines are the ones from userscripts and stuff.

 
flanders75 User
FirefoxWindows

I am not getting the grayed out selection, but I keep getting the choose chum option for icelandia.
"You haven't changed your preference for Icelantia Chum"
In the script commands I only get to choose good/bad and the boat.
I have no option for CHUM
I have not opened up Icelantia yet, is this why.
The script looks good but this issue is a pain in the butt.
I only install this script today for the first time so am assuming I have the latest version, although it keeps asking me to update that too.

 
killerinc Scriptwright
FirefoxWindows

what do you think the Good/Evil is ? that is for the chum

 
iispyderii Script's Author
FirefoxMacintosh

I thought I fixed that issue? I will check in on it.

 
iispyderii Script's Author
FirefoxMacintosh

Oh wait. haha. I didn't read the post quite right. Yeah. The Good/Evil is for Icelantia Chum.

 
flanders75 User
FirefoxWindows

I have set the good/evil thing and it keeps asking me over and over. I just figured that I was missing something

 
iispyderii Script's Author
FirefoxMacintosh

Try installing a previous version.
I just reset everything I had preset and reinstalled the latest script and everything worked fine.

 
flanders75 User
FirefoxWindows

How do I tell what version I am running

 
iispyderii Script's Author
FirefoxMacintosh

Oh, I just figured out something for the user 'walfoss' up there.
All the options are greyed out because you are on Linux. Firefox is most likely built entirely different on the Linux structure. Thus making some of the more complex greasemonkey features unusable.

 
iispyderii Script's Author
FirefoxMacintosh

Well, if you installed the latest version. It should be 1.8.5.3.
you can check manually by opening the script with notepad or something.
1) Right click the monkey down at the bottom
2) 'Manage User Scripts'
3) Click on Fishwrangler script in left side bar
4) Look for button near bottom that says "Edit"
5) Open with notepad.
6) It says what version you have on like the 5th line. with "==Userscript==' being 1.

 
flanders75 User
FirefoxWindows

got the latest now, hopefully the problem stops

 
flanders75 User
FirefoxWindows

oh yeah, thanks for your help.

 
edwin-lie User
FirefoxWindows

Mine Is still error ~_~

 
edwin-lie User
FirefoxWindows

Fishwrangler Boat Trainer - Could not determine enough to auto-travel.
textLocation: -1
textLocation2: -1
timervalue: -1
locationIndex: -1
location:http://apps.facebook.com/fishwrangler/request-j...

Please turn Ice Trainer OFF if you aren't using it

It said like that...

 
iispyderii Script's Author
FirefoxMacintosh

You have to turn the boat trainer off if your not using it. It also doesn't work for the Cruiser b/c i haven't coded for fuel.

 
magnum User
FirefoxWindows

The script is not auto-fishing for me. Is there an error just for me or everyone?

I've reinstalled it twice.

 
scriptuser1471 User
FirefoxWindows

Nope its stopped for me too. About 5 hours ago.

 
iispyderii Script's Author
FirefoxMacintosh

Are you guys still having problems? I might have a problem too. but it's too impersistent to tell.

 
Danith1 User
FirefoxWindows

I think the issue is still with the safe check logic. iispy, this logic is working for me. Should help

//===============================================================================
// - Grab Island Name/ Safety Checker -
//===============================================================================
//
//Determine which Island we're fishing.
//If it's Magma Reef, look for the text "Aye, Danger!" or "Continue at your own risk".
//If it's Sans Culpra, look for the text "Scuba Diving License REQUIRED..." and abort if found

var images = document.getElementsByTagName("img");

for(var i = 0; i < images.length; i++)
{
if (images[i].title == "Magma Reef")
{
island = images[i].title;
safeToFish = ((document.body.innerHTML.indexOf('Aye, Danger!') == -1) &&
(document.body.innerHTML.indexOf('Continue at your own risk') == -1));
//alert("safeToFish " + safeToFish);
break;
}
else if(images[i].title == "Sans Culpra")
{
island = images[i].title;
safeToFish = (document.body.innerHTML.indexOf('Scuba Diving License REQUIRED...') == -1);
break;
}
}

 
Danith1 User
FirefoxWindows

Don't add this logic!! Sorry, sent the wrong code.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel