User Pass
Home Sign Up Contact Log In
Page:
 
alindyl
offline
Link
 
Originally posted by pabst

Are you using the stadium page or the team finances page? Do you have any other scripts running on that page? And what browser are you using?


FF29 now, but was doing it in 28 as well.

I have no other scripts running on either of those pages, and it happens on both the stadium and finance page. Let me try deleting and reloading the script again to see if it still does it.

Yep still doing it. Here's a screenshot from the financial page

http://i776.photobucket.com/albums/yy49/alindyl/PriceAssistant.jpg

You can see all the expected prices are 0%

*Edit* Btw, just for my own curiosity, do you know what happened to break the script in the first place?
Edited by alindyl on May 2, 2014 11:52:26
 
pabst
offline
Link
 
Originally posted by alindyl
FF29 now, but was doing it in 28 as well.

I have no other scripts running on either of those pages, and it happens on both the stadium and finance page. Let me try deleting and reloading the script again to see if it still does it.

Yep still doing it. Here's a screenshot from the financial page

http://i776.photobucket.com/albums/yy49/alindyl/PriceAssistant.jpg

You can see all the expected prices are 0%

*Edit* Btw, just for my own curiosity, do you know what happened to break the script in the first place?


For the original breakage, it looked like he was using an undeclared variable and dumping the wrong data in it due to the variable scope. One of the longstanding jokes about C vs. C++ is that C allows you to shoot yourself in the foot. C++ allows you to shoot yourself and then re-use the bullet. This just appears to be a Javascript example of the latter case. It still didn't run right, but once I fixed that the script at least started running on my browser.

You'll probably have to GM me so I can figure out what I broke now. I had to change one other line in the script but that might be what's broken it for you as it was an output line.
 
caneswizard
offline
Link
 
I don't own a team so I can't GM you. Can anybody help?
 
woofin
offline
Link
 
Originally posted by pabst
For the original breakage, it looked like he was using an undeclared variable and dumping the wrong data in it due to the variable scope. One of the longstanding jokes about C vs. C++ is that C allows you to shoot yourself in the foot. C++ allows you to shoot yourself and then re-use the bullet. This just appears to be a Javascript example of the latter case. It still didn't run right, but once I fixed that the script at least started running on my browser.

You'll probably have to GM me so I can figure out what I broke now. I had to change one other line in the script but that might be what's broken it for you as it was an output line.


Pabst, I sent you another GM offer from Sea Wasps-Army.

It does the same thing for me. It works to sent the % but then shows 0% after it is set.
 
Wolfkill
offline
Link
 
edit:
Edited by Wolfkill on May 3, 2014 12:15:14
 
regnac
offline
Link
 
Originally posted by woofin
Pabst, I sent you another GM offer from Sea Wasps-Army.

It does the same thing for me. It works to sent the % but then shows 0% after it is set.


same here
 
pabst
offline
Link
 
Round 3: http://userscripts.org/scripts/show/484540

Edited by pabst on May 4, 2014 19:45:08
 
caneswizard
offline
Link
 
Originally posted by pabst
Round 3: http://userscripts.org/scripts/show/484540



Bingo!!!! We have lift-off!!!!!

Thank you so much pabst This is really a fantastic and helpful script.

And I love your beer.
 
madmal
Prez SWO
offline
Link
 
Originally posted by caneswizard
Bingo!!!! We have lift-off!!!!!

Thank you so much pabst This is really a fantastic and helpful script.

And I love your beer.


+1000000
 
Page:
 


You are not logged in. Please log in if you want to post a reply.