Tips to debug
![]() ![]() |
Hi, Still not work for me :o( Could you add some GM_log() where it could fail, please. |
![]() ![]() |
Hi oliezekat. Could you let me know what is occuring? Does the text "Not enough research points." Still appear? Does anything show in the error console? Thanks for the feedback! Also, I will look into using the GM_log() function. This is my first script so please be patient with me. :) P.S. I bow down to your Ikariam v3 Empire Board script. I have used it for a long time and absolutely could not live without it!! |
![]() ![]() |
Okay...I think I may have solved another issue regarding points over 1,000. I mistakenly thought the javascript function String.replace() would replace all occurrences of the target value. It seems to only replace the first. Unfortunatley, I only have a small city on the test server so I couldnt test very many cases. Give it a try now though and let me know if it works. Also I added lots of debug messages as you suggested so that it will provide more feedback for me if it still isnt operating properly. Thanks! |
![]() ![]() |
It's fine now ! :o) You could remove GM_log() or set option (into source-code) to disable them ;o) |

