View Single Post
12/26/15, 03:38 PM   #32
SnowmanDK
 
SnowmanDK's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 161
Originally Posted by Wandamey View Post
hi guys, merry Christmas!

and yup that should have worked, but maybe the issue wasn't the callback when you tried last page, Snowman, but the value you are using to update your pins :

last of your (posted) code, you say your count is updated on player activated (and probably map changed too?), but when you check if the count has changed in what you wrote, nowhere you are updating the new value to use it on the refreshed pins
As I said idk what happens on refresh pins, but as it seems to be from a lib I assume the new value is not calculated there.

maybe that was what prevented the update on state change and made you have to change the shown map to update your values.
It was refreshing fishing pins in lines 11-13 of my last code
The code for re-reading the bait amounts are included in that part (as I have had issues with too many functions before, then I try to include them in existing ones).
  Reply With Quote