Estiah Forum

General Forum => Game discussion => Topic started by: Swata on 20:43:27 - 01/05/10

Title: Few more Greasemonkey scripts (Mind Tricks)
Post by: Swata on 20:43:27 - 01/05/10
Hello, I have created a few small scripts recently and I am posting it here for everyone's use.

New charms (http://userscripts.org/scripts/show/65469) - ver 0.2.1 (9.1.2010)
Shows 'N' for charms that were recently made available (diff max 2 levels or 10 attribute points) and 'O' for too old charms
pic (http://s3.amazonaws.com/uso_ss/4917/large.jpg?1262345276)

Charm requirements (http://userscripts.org/scripts/show/65598) - ver 1.1.2 (3.2.2010)
Shows how many attribute points are you missing to fullfill charm's requirements
pic (http://s3.amazonaws.com/uso_ss/4980/large.png?1262644703)

Build Items (http://userscripts.org/scripts/show/65703) - ver 1.0.1 (29.11.2012)
Shows if you have any items needed for Buildings Under Tracking + allows you to add them
pic (http://s3.amazonaws.com/uso_ss/5014/large.png?1262813368)


.. and one big
Mind Tricks (http://userscripts.org/scripts/show/84207) - ver 111218.2
Compilation of various scripts - see url for details.
Title: Re: Few more Greasemonkey scripts
Post by: Schutzengel on 21:00:15 - 01/05/10
Interesting stuff, really.
It could be more coloured. I guess you aren't a javascript pro, right?
They are cool.

But a mark for "Too old" charms isn't useful imo.
Title: Re: Few more Greasemonkey scripts
Post by: Sheira on 22:45:28 - 01/05/10
Neat ideas. Some comments:

New charms: You should probably highlight these charms in another way, but I have no idea how at the moment. And as Schutzengel already said. Too old isn't really useful because some charms are used for a long time.

Charm requirements: You shouldn't replace the normal requirements, adding information behind or as mouseover would be better. Maybe use some color, like red if you do not meet the specific requirement and with mouseover it displays the amount missing. This could also be displayed behind if there is enough space.

Build items: Again maybe a little different in displaying these information, maybe a colored number in brackets, so it's easy to spot.

If you have nothing against it, I would add these to my AllInOne script once they get a little more colorful.
Title: Re: Few more Greasemonkey scripts
Post by: Aplsos on 22:49:54 - 01/05/10
The Build Items script doesn't seem to work on blue (dungeon-only) items.  Otherwise, it's great.
Title: Re: Few more Greasemonkey scripts
Post by: Sheira on 22:52:59 - 01/05/10
I just looked at the script and it only takes green items into consideration.
@Swata: You should use XPath to locate these nodes instead of the JS-functions. If you have any questions feel free to PM me.
Title: Re: Few more Greasemonkey scripts
Post by: Bazabaza on 23:41:51 - 01/05/10
nice ideas indeed.

as for "too old", experienced players can just ignore it, but noobs may get a clue from it and stop using lvl5 charms at lvl40 :) otherwise its not really that useful.

I agree that the "charm requirements" should not replace the normal requirements, but should be just added somewhere so both can be seen.

I think "build items" is visible enough, but some color wouldnt hurt it either :)
Title: Re: Few more Greasemonkey scripts
Post by: Swata on 23:48:54 - 01/05/10
New charms: You should probably highlight these charms in another way, but I have no idea how at the moment. And as Schutzengel already said. Too old isn't really useful because some charms are used for a long time.

Requirement for 'too old' is level not higher than yours current level * 0.5 and none of attributes higher than you current * 0.5. So I think it's quite weak. And it's just mark that you should look at time to time and consider if you really want to have it (I have still some unarchived charms with this mark). Just for lazy people like me that don't archive charms on regular basis.

Similar with 'new' mark - just mark that this charm can be good to look at as it became available not too long before.

Charm requirements: You shouldn't replace the normal requirements, adding information behind or as mouseover would be better. Maybe use some color, like red if you do not meet the specific requirement and with mouseover it displays the amount missing. This could also be displayed behind if there is enough space.

Version 0.1 were adding it after normal requirements (see pic (http://s3.amazonaws.com/uso_ss/4961/large.jpg?1262512745)), but there were reported some issues (http://i.nyx.cz/files/00/00/03/41/341765_421386dc8b994238b550.png). I was thinking about floating window but this sollution seemed to be sufficient (even for me and I was disputating it at the start).

Build items: Again maybe a little different in displaying these information, maybe a colored number in brackets, so it's easy to spot.

I'm thinking about link to storage or even direct adding dialog in next version ..

If you have nothing against it, I would add these to my AllInOne script once they get a little more colorful.

I'd be glad to be in AllInOne, but I have a small problem with the coloring issue. I like things to be decent. You can easily find the information you need, but you are not dragged to it when you dont. It's my problem with ExchangeRates - it in fact hides item type, because it's color is much more noticable.

The Build Items script doesn't seem to work on blue (dungeon-only) items.  Otherwise, it's great.

I'll fix it tomorrow. Thanks for report.
Title: Re: Few more Greasemonkey scripts
Post by: Swata on 23:56:22 - 01/05/10
Interesting stuff, really.
It could be more coloured. I guess you aren't a javascript pro, right?
They are cool.

Thanks and yes, I'm not a javascript pro - these were my first userscripts and my other meetings with javascript were really brief if any.
Title: Re: Few more Greasemonkey scripts
Post by: Sheira on 00:08:27 - 01/06/10
With more colorful I didn't mean too colorful, but some colors are nice, no need for bright ones. I agree the information shouldn't be the only thing to see, but you should notice it easily without looking for it. Maybe it is possible to find a good compromise. I find it a lot easier to find these information if some colors are involved.
It's my problem with ExchangeRates - it in fact hides item type, because it's color is much more noticable.
Could you explain that please?
Title: Re: Few more Greasemonkey scripts
Post by: Unaekgnoah on 02:08:08 - 01/06/10
These ideas are truly awesome. Seriously, I mean brilliant stuff man...
but the way you execute this is kinda poor. It needs to hit me like "BAM," just like what everybody else is saying!
Title: Re: Few more Greasemonkey scripts
Post by: Blacksol on 02:25:58 - 01/06/10
If you have nothing against it, I would add these to my AllInOne script once they get a little more colorful.

Can I suggest some other scripts are added to allinone script (assuming the authors consent):

1. Craft helper: http://forum.estiah.com/index.php?topic=1027.msg8381#msg8381 link in reply 2

2. wiki links: http://forum.estiah.com/index.php?topic=3218

3. Your post in another thread re removing buy/craft/bid button http://forum.estiah.com/index.php?topic=4111.msg50883#msg50883.  This also works on guild showcase page

4. available skills: http://forum.estiah.com/index.php?topic=3402.0

Might make it easier if they are all in one source  ;D Or if cannot do it due to technical limitations then perhaps have a sticky of greasemonkey scripts?

I presume gear slots can stay seperate as that is periodically updated i think
Title: Re: Few more Greasemonkey scripts
Post by: Swata on 07:43:54 - 01/06/10
With more colorful I didn't mean too colorful, but some colors are nice, no need for bright ones. I agree the information shouldn't be the only thing to see, but you should notice it easily without looking for it. Maybe it is possible to find a good compromise. I find it a lot easier to find these information if some colors are involved.

Ok, I'll look at it.

It's my problem with ExchangeRates - it in fact hides item type, because it's color is much more noticable.
Could you explain that please?

I was used to, when short of money, get thru my storage and sell all gray items. It is now significantly harder with all that colors around. At first it was almost impossible but I got used to it a little. Similar with red timer marks, but red is easier to find than grey.
Title: Re: Few more Greasemonkey scripts
Post by: Swata on 23:21:02 - 01/06/10
Build Items are back, now in Color! ;)
(and with fixed blue items issue)
(http://s3.amazonaws.com/uso_ss/5014/large.png?1262813368)
Title: Re: Few more Greasemonkey scripts
Post by: Pandemonium on 00:08:44 - 01/07/10
These are really awesome, and are all going into my "Must-have" Estiah scripts list. Well done and very useful, especially for a new javascripter. Bravo!

The only thing I can think to add is to highlight a skill that you're missing for a charm. For example, I meet all the requirements for a particular Holy charm, but don't have Holy (R2). It'd be nice to bold the skill that's missing to use the charm, as well.
Title: Re: Few more Greasemonkey scripts
Post by: Merton on 03:24:10 - 01/07/10
Build Items is the best!  Thanks for that one.
Title: Re: Few more Greasemonkey scripts
Post by: Merton on 03:54:56 - 01/07/10
However it doesn't support multiple alts it seems.  Any way to fix that?
Title: Re: Few more Greasemonkey scripts
Post by: Swata on 07:35:24 - 01/07/10
The only thing I can think to add is to highlight a skill that you're missing for a charm. For example, I meet all the requirements for a particular Holy charm, but don't have Holy (R2). It'd be nice to bold the skill that's missing to use the charm, as well.

It's already in my todo list.

However it doesn't support multiple alts it seems.  Any way to fix that?

Build items getting inventory for more chars in same guild? It would need either multiple relogging while getting one page (definitely no way to go) or using some kind of inventory snapshot. That theoretically could be done but it seems like a lot of work and only little gain (none for me as I have no alts).
Title: Re: Few more Greasemonkey scripts
Post by: Blacksol on 13:49:11 - 01/07/10

However it doesn't support multiple alts it seems.  Any way to fix that?

Build items getting inventory for more chars in same guild? It would need either multiple relogging while getting one page (definitely no way to go) or using some kind of inventory snapshot. That theoretically could be done but it seems like a lot of work and only little gain (none for me as I have no alts).

I have an alt but the new gear script does not work for me - was Pandamonium's post about the new charms?
Title: Re: Few more Greasemonkey scripts
Post by: Merton on 17:52:36 - 01/07/10
Actually now even the original character I used it with doesn't appear to be getting any response from the script.  It worked well the first time, and now is just absent. 

But if it can't be made alt friendly, no point in me using it anyways.  I've got 16 dudes to keep track of.
Title: Re: Few more Greasemonkey scripts
Post by: Bazabaza on 18:05:24 - 01/07/10
Is it possible that you just have no items from the BUT in your inventory? the new version doesnt show anything different on the guild page if you dont have any items...... try buying an item from the BUT and then see if it works :)
Title: Re: Few more Greasemonkey scripts
Post by: Kinkey on 18:18:18 - 01/07/10
Confirming what Baza said. If you don't have any item from the B.U.T, then the whole section appears as default. Tested this with various alts.
Title: Re: Few more Greasemonkey scripts
Post by: Merton on 19:41:10 - 01/07/10
Ah yes okay then.  I recalled the old version have 0s on all items if you didn't have anything.  Well then, I am again very pleased.
Title: Re: Few more Greasemonkey scripts
Post by: Swata on 00:30:19 - 01/08/10

However it doesn't support multiple alts it seems.  Any way to fix that?

Build items ...

I have an alt but the new gear script does not work for me - was Pandamonium's post about the new charms?

C'mon - you patched together all three scripts to one post. Quotated reply was about Build Items, Pandemonium's post about Charm Requirements and now New Charms ...

So - are you sure you are talking about New Charms? You can test if it is working by unarchivating a Lvl 1 charm a check if it has 'O' at deck builder page (Others: See? It have its use! :D)

But if it can't be made alt friendly, no point in me using it anyways.  I've got 16 dudes to keep track of.

Do you have really 16 alts or it's only guild mates? Because if it is the second case, there is no way to check their private inventory without knowing their pass. Well, maybe an external server to let them send data to, but it is really out of my capabilities.
Title: Re: Few more Greasemonkey scripts
Post by: Merton on 01:37:49 - 01/08/10
I do have 16 characters, but the problem seems to not exist.  I'm getting it to work on my other guys now.
Title: Re: Few more Greasemonkey scripts
Post by: Blacksol on 04:44:08 - 01/08/10
So - are you sure you are talking about New Charms? You can test if it is working by unarchivating a Lvl 1 charm a check if it has 'O' at deck builder page (Others: See? It have its use! :D)

Yes new/old charms script does not work for me - does not show N next to new charms and does not show O next to old (eg yeti's horn which I still had as active as was farming spear/frost and now level 30).

Charm requirements and build items both work on my two guys (except for blue items but I recall you are working on that).
Title: Re: Few more Greasemonkey scripts
Post by: Swata on 22:14:13 - 01/08/10
I do have 16 characters, but the problem seems to not exist.  I'm getting it to work on my other guys now.

My bad - I thought you want to see info for all of them at same time. Today I realised that you are only making sure that switching char wont mess anything.  :)

Yes new/old charms script does not work for me - does not show N next to new charms and does not show O next to old (eg yeti's horn which I still had as active as was farming spear/frost and now level 30).

There was a bug for two-runed charms that second rune ovelaped the tag. It is fixed now (in ver 0.2).

If you still wont see anything and you are using firefox, clear Error Console (shown after Ctrl+Shift+J), reload page and look in it for errors.

If still nothing I can provide you a debug version.

Charm requirements and build items both work on my two guys (except for blue items but I recall you are working on that).

It is already fixed too. Unlike previous fix I did announced it here.
Build Items are back, now in Color! ;)
(and with fixed blue items issue)
(http://s3.amazonaws.com/uso_ss/5014/large.png?1262813368)
Title: Re: Few more Greasemonkey scripts
Post by: Blacksol on 00:21:05 - 01/09/10
There was a bug for two-runed charms that second rune ovelaped the tag. It is fixed now (in ver 0.2).

If you still wont see anything and you are using firefox, clear Error Console (shown after Ctrl+Shift+J), reload page and look in it for errors.

If still nothing I can provide you a debug version.

Still does not work, error console shows multiple versions of following error:
Warning: The 'charCode' property of a keydown event should not be used. The value is meaningless.
Source File: http://www.estiah.com/character/deck
Line: 0
Title: Re: Few more Greasemonkey scripts
Post by: Swata on 12:07:10 - 01/09/10
Still does not work, error console shows multiple versions of following error:
Warning: The 'charCode' property of a keydown event should not be used. The value is meaningless.
Source File: http://www.estiah.com/character/deck
Line: 0

It do not look like something I could produce. Do you have any other userscript/extension influencing this page? Try to disable New Charms (in the popup menu on monkey incon at bottom corner of FF) and check if you are still getting these warnings.

If yes, try to disable them.

With new charms enabled you can also uncomment (in its source code - you will be probably forced to set editor for greasemonkey to do this - notepad is sufficient) lines 38-42 (deleting '/*' and '*/' around it) and line 87 (deleting '//') to check (after saving and reload) in console if the script is doing something.
Correct output should be your attributes and then  'altering charm xxx' for every charm that should have a tag.
Title: Re: Few more Greasemonkey scripts
Post by: Sheira on 12:26:15 - 01/09/10
Warnings are no problems.
The problem here is with how you access the gear builder. If you click on the ring in the top right it won't work, if you go directly to a specific gear, it will work. The reason for that is the include which states: http://www.estiah.com/character/deck/*. To fix the problem change it to: http://www.estiah.com/character/deck*.
Title: Re: Few more Greasemonkey scripts
Post by: Swata on 13:01:22 - 01/09/10
Warnings are no problems.
The problem here is with how you access the gear builder. If you click on the ring in the top right it won't work, if you go directly to a specific gear, it will work. The reason for that is the include which states: http://www.estiah.com/character/deck/*. To fix the problem change it to: http://www.estiah.com/character/deck*.

Thanks. I'm not using the toolbar therefore I didn't realised it. Fixed in 0.2.1
Title: Re: Few more Greasemonkey scripts
Post by: Blacksol on 14:31:32 - 01/09/10
Excellent now works.  Thanks  ;D
Title: Re: Few more Greasemonkey scripts
Post by: Swata on 21:01:41 - 01/16/10
Charm requirements (http://userscripts.org/scripts/show/65598) now supports skills too! Thanks to Sheira for help with XPath query on requested page.

First post updated with last versions and dates.
Title: Re: Few more Greasemonkey scripts
Post by: Sparky on 21:25:30 - 01/16/10
Charm requirements (http://www.userscripts.org/scripts/show/65598) now supports skills too! Thanks to Sheira for help with XPath query on requested page.

First post updated with last versions and dates.
Was a wrong url, fix't.
Title: Re: Few more Greasemonkey scripts
Post by: Blacksol on 01:39:52 - 01/17/10
Cannot quote these for some reason  :(

Sheira page 1: Charm requirements: You shouldn't replace the normal requirements...

Bazabaza page 1: I agree that the "charm requirements" should not replace the normal requirements, but should be just added somewhere so both can be seen.


I just installed the updated script and now it replaces the stat,level,skill that is lacking rather than putiing (+XX) next to it.

I echo the above sentiments - Is is possible to go back to having  (+XX) next to it as I would especially like to be able to see the actual stat requirement as I know roughly were my stats will be going forward and replacing it means I have to go current stat + difference to work it out (or turn the script off or wiki it).

Otherwise all good  ;D
Title: Re: Few more Greasemonkey scripts
Post by: Swata on 10:28:51 - 01/17/10
Cannot quote these for some reason  :(

Sheira page 1: Charm requirements: You shouldn't replace the normal requirements...

Bazabaza page 1: I agree that the "charm requirements" should not replace the normal requirements, but should be just added somewhere so both can be seen.


I just installed the updated script and now it replaces the stat,level,skill that is lacking rather than putiing (+XX) next to it.

I echo the above sentiments - Is is possible to go back to having  (+XX) next to it as I would especially like to be able to see the actual stat requirement as I know roughly were my stats will be going forward and replacing it means I have to go current stat + difference to work it out (or turn the script off or wiki it).

Otherwise all good  ;D

The main problem is that adding (+xx) could exceed the line lenght and take space of two lines -> pushing some of skill requirements out of the card frame.

Sheira, Bazabaza: Got you used to it or do you still want to see original stats?
Title: Re: Few more Greasemonkey scripts
Post by: Bazabaza on 19:39:50 - 01/17/10
if it can be done, I'd prefer to see both the original stats and the amount missing. I wouldnt go back to not using it, but I do turn it off sometimes so I can see the original stats :/. as already mentioned, it would be best if it would display the missing info somewhere else as in a mouseover popup or something (if it can be done).
Title: Re: Few more Greasemonkey scripts
Post by: Sparky on 21:08:57 - 01/17/10
I just found this script while wandering on the net : http://userscripts.org/scripts/show/30891
It's a cool one, allowing to add nots to items when hovering them (the note is added to the description, in a different color) although I got the same problem as I had with the Available skills script (http://forum.estiah.com/index.php?topic=3402.msg52852#new).

Anyway I was wondering about who the author was and if this could be added to the AllInOne next patch, this would be so great  ;D
Thanks again to all working on those scripts for Estiah players, you guys are awesome!
Title: Re: Few more Greasemonkey scripts
Post by: Blacksol on 14:53:30 - 01/21/10
I just found this script while wandering on the net : http://userscripts.org/scripts/show/30891
It's a cool one, allowing to add nots to items when hovering them (the note is added to the description, in a different color) although I got the same problem as I had with the Available skills script (http://forum.estiah.com/index.php?topic=3402.msg52852#new).

Anyway I was wondering about who the author was and if this could be added to the AllInOne next patch, this would be so great  ;D
Thanks again to all working on those scripts for Estiah players, you guys are awesome!

1. Tested it and it works for me on items in inventory.

2. Items in storage can have notes added but do not show up when mouseover item.  Also when reclaimed from storage any notes are then lost (this may not be fixable??).

3. The script moves the XXg & sell/reclaim/lock buttons to first row of box from second row which then overlaps with text of longer named items. Having the note button right next to the sell/reclaim buttons also means a slight mis-click could have an unintended consequence (especially on reclaim as no confirmation)

4. a popup box appears whenever the inventory page is loaded/refreshed stating "The page at http://www.estiah.com says:     IMPORTANT: Remove this line from json2.js before deployment."

The concept appears good but the script could do with some display tweaks and bug fixes. I will post in all-in-one forum thread.
Title: Re: Few more Greasemonkey scripts
Post by: Swata on 11:48:36 - 01/31/10
New version of Build Items (http://userscripts.org/scripts/show/65703) allows you to add items to storage directly from guild page.

It took me almost two days. I doubt it will save that much time to all its users together :)
Title: Re: Few more Greasemonkey scripts
Post by: Swata on 00:00:55 - 02/02/10
Charm requirements (http://userscripts.org/scripts/show/65598) updated. On popular demand, you can now switch back to classic view by clicking on card description.
Title: Re: Few more Greasemonkey scripts
Post by: Aplsos on 00:48:34 - 02/02/10
Charm Requirements stopped working entirely for me after that update.
Title: Re: Few more Greasemonkey scripts
Post by: Bazabaza on 02:23:53 - 02/02/10
same here
Title: Re: Few more Greasemonkey scripts
Post by: Sparky on 02:53:51 - 02/02/10
Works very well for me, thanks for that update, it's great :)
Title: Re: Few more Greasemonkey scripts
Post by: Slalderma on 03:42:17 - 02/02/10
Working in the shops, but not in the Charm Collection page.  ???
Title: Re: Few more Greasemonkey scripts
Post by: Aplsos on 03:57:36 - 02/02/10
Yeah, that appears to be it - specifically, it works in craft shops (both regular and exploration), but not in vendor shops, the guild showcase, auction house, or charm list.
Title: Re: Few more Greasemonkey scripts
Post by: Schutzengel on 04:52:11 - 02/02/10
Yeah, that appears to be it - specifically, it works in craft shops (both regular and exploration), but not in vendor shops, the guild showcase, auction house, or charm list.
Just add the link to where it should work.
Title: Re: Few more Greasemonkey scripts
Post by: Sparky on 05:04:27 - 02/02/10
Working in the shops, but not in the Charm Collection page.  ???
Well the script with filters applying to it seems to take care of it already, showing both requirements and what you're missing to use the charm.
Title: Re: Few more Greasemonkey scripts
Post by: Bazabaza on 06:03:45 - 02/02/10
the links for vendor shops, auction house and charm list are already in, it just isnt working. however adding the link to the showcase made it work there.
Title: Re: Few more Greasemonkey scripts
Post by: Ixia on 15:17:59 - 02/02/10
All great ideas! THX very much.
Keep working on them!
Title: Re: Few more Greasemonkey scripts
Post by: Swata on 22:30:49 - 02/03/10
It is fixed now. Thanks for the bug reports.
Title: Re: Few more Greasemonkey scripts
Post by: Swata on 22:36:53 - 02/03/10
.. however adding the link to the showcase made it work there.

Good point. Added.
Title: Re: Few more Greasemonkey scripts
Post by: Bazabaza on 03:08:11 - 02/04/10
Thanks! :)
Title: Re: Few more Greasemonkey scripts
Post by: Blacksol on 14:31:01 - 02/04/10
Working in the shops, but not in the Charm Collection page.  ???
Well the script with filters applying to it seems to take care of it already, showing both requirements and what you're missing to use the charm.

While it now works in charm collection page it now doubles up the filter script.

So to state what might be the obvious for those that may not know, you can turn this script off on the charm collection page by right clicking on the greasemonkey icon, selecting "managing user scripts", selecting "Estiah - Charm requirements" and removing "http://www.estiah.com/character/card" from the included pages
Title: Re: Few more Greasemonkey scripts
Post by: Sheira on 15:09:59 - 02/04/10
A better way would probably be: Take the requirements part out of the charm collection script. People who want to see the charm requirements can simply install this script to have the requirements on every page.
Title: Re: Few more Greasemonkey scripts
Post by: Bazabaza on 22:08:28 - 02/04/10
A better way would probably be: Take the requirements part out of the charm collection script. People who want to see the charm requirements can simply install this script to have the requirements on every page.

+1

if only I knew how :-[
Title: Re: Few more Greasemonkey scripts
Post by: Sparky on 20:24:04 - 02/08/10
(http://i46.tinypic.com/161c3vd.png)
No big deal, just noticed that "N" and "O" aren't working with double-runed charms (Pyric Charge and Phantom Thunder as examples there).
Title: Re: Few more Greasemonkey scripts
Post by: Swata on 20:43:15 - 02/08/10
No big deal, just noticed that "N" and "O" aren't working with double-runed charms (Pyric Charge and Phantom Thunder as examples there).

Do you have last version? It is solved since 0.2. At least I hope so.
Title: Re: Few more Greasemonkey scripts
Post by: Sparky on 22:18:28 - 02/08/10
No big deal, just noticed that "N" and "O" aren't working with double-runed charms (Pyric Charge and Phantom Thunder as examples there).

Do you have last version? It is solved since 0.2. At least I hope so.
I wasn't up to date indeed, it works alright now, thanks :)
Title: Re: Few more Greasemonkey scripts
Post by: Blacksol on 08:00:51 - 02/13/10
Build items has stopped working for me.  Last time I know it worked was before I upgraded to Firefox 3.6 and before installing noscripts addon (although all scripts permitted on estiah site)

[edit] actually just worked out what it was - I had disabled third party cookies in firefox options which caused this script to stop working (and at least one other estiah script) - posting in case it helps someone else :)
Title: Re: Few more Greasemonkey scripts
Post by: Swata on 21:50:27 - 08/23/10
After more than half of an year I have something new to share. It started as a little more complex script but it growed and growed. As helper functions were generally usefull I have added more scripts and now it is something like AIO. Unlike in AIO, as one of scripts is actualy creating new content I wanted them to cooperate ..
I still do not consider it finished, but this way I will not be the only one that benefits from what is already done ...

Mind Tricks (http://userscripts.org/scripts/show/84207)

ItemAvailability - Shows in which cities you can buy an item.
CraftHelper - Remembers all charms you could want to craft.
CityLoader - When you enter the city, this loads all city shops for you. Useful with ItemAvailability and CraftHelper. ItemAvailability and CraftHelper data are built from visited shop. You can use CityLoader to 'visit' every shop in current city for you (triggered from /city page).
AutoSelectPet - Preselects your first pet for a race / fight.
NewCharms - Point out that there are new charms you can use.
PenetratedDmg - Did you ever wondered how many damage will this charm do to heavely armored opponent?

Screenshots:
By default are all extensions disabled. You can switch it on in market.
(http://s3.amazonaws.com/uso_ss/10361/large.jpg?1282513638)

ItemAvailability
(http://s3.amazonaws.com/uso_ss/10362/large.jpg?1282513668)

CraftHelper - all shops
(http://s3.amazonaws.com/uso_ss/10363/large.jpg?1282513800)
(http://s3.amazonaws.com/uso_ss/10364/large.jpg?1282513893)
- tracked charms
(http://s3.amazonaws.com/uso_ss/10365/large.jpg?1282514000)

NewCharms
(http://s3.amazonaws.com/uso_ss/10366/large.jpg?1282514172)

PenetratedDmg
(http://s3.amazonaws.com/uso_ss/10367/large.jpg?1282514288)
Title: Re: Few more Greasemonkey scripts
Post by: Sparky on 23:30:02 - 08/23/10
This looks totally awesome Swata, thanks for sharing!

I've found a typo also:

(http://i38.tinypic.com/2q23dw3.png)

Unless you do want to call it your dakr corner  :)
Title: Re: Few more Greasemonkey scripts
Post by: Swata on 17:56:03 - 08/24/10
This looks totally awesome Swata, thanks for sharing!

I've found a typo also:

Unless you do want to call it your dakr corner  :)

Thanks, typo fixed :)
Title: Re: Few more Greasemonkey scripts
Post by: Paladin05 on 22:13:44 - 08/24/10
Mind Tricks seems quite nice and everything seems to be working as it should. One question, however, how do I track charms with the CraftHelper?
Title: Re: Few more Greasemonkey scripts
Post by: Sparky on 23:41:14 - 08/24/10
Mind Tricks seems quite nice and everything seems to be working as it should. One question, however, how do I track charms with the CraftHelper?
Scroll down the market page, there should be a "View all shops" button which will list all shops from cities you've visited on your pc Post-script installation (so it'll update as you move), there you can check crafts and choose whether to "track" them or not. Though if you play several chars, the shops you'll see there are like screenshots of what they were when they got added to the script, so if you're in Night Tear with a char that can use, say, Cripple, and then you log in as a char who can't use it, when checking the shop from "All shops" you'll see Cripple lighted up like you can use it. Just ignore whether it's greyed out or not and you'll be fine.
Title: Re: Few more Greasemonkey scripts
Post by: Kalashnikov on 23:48:13 - 08/24/10
Yes thanks :)
Title: Re: Few more Greasemonkey scripts
Post by: Chronosz on 00:40:06 - 08/25/10
Can anyone tell me why some of these don't work. The see what items you have in your INV that your guilds needs used to work for me, but now doesn't. And that new one that tells you see what items are where, that doesn't work either.

I have the all in one from the other topic, and most of it works but not all of it. Is it something with my browser...?
Title: Re: Few more Greasemonkey scripts
Post by: Sparky on 00:55:26 - 08/25/10
Can anyone tell me why some of these don't work. The see what items you have in your INV that your guilds needs used to work for me, but now doesn't. And that new one that tells you see what items are where, that doesn't work either.

I have the all in one from the other topic, and most of it works but not all of it. Is it something with my browser...?
As for the "where item is where", once you've enabled everything in the "Swata's Mind Tricks" page (scroll down the market page to see it) the locations for each item will be added as you visit them, meaning you'll have to have visited all cities after installing the script for it to work. So long as you're doing that on the same browser it'll be ok so you can use alts to do so as well.
Title: Re: Few more Greasemonkey scripts
Post by: Wisebot on 06:51:54 - 08/25/10
Could you make a chrome verision of this script?  :-[
Title: Re: Few more Greasemonkey scripts
Post by: Gr1ffo on 07:04:08 - 08/25/10
Wow, great job with these mate.
Title: Re: Few more Greasemonkey scripts
Post by: Swata on 21:31:36 - 08/25/10
Sparky, thanks for answering the questions, you are doing great work here!

Can anyone tell me why some of these don't work. The see what items you have in your INV that your guilds needs used to work for me, but now doesn't. ...

Build Items script is working for me as usual .. do you have more info? Preferably what changed before it stopped working and if there are any errors in error console.

Could you make a chrome verision of this script?  :-[

I do not use chrome and do not know what problems it has with the scripts made for FF. As I prefer to finish functionality that is only partly done to porting, this wont happen in the next few months.
Title: Re: Few more Greasemonkey scripts
Post by: Giab on 21:49:25 - 08/25/10
Really nice script. Thanks!
Title: Re: Few more Greasemonkey scripts
Post by: Chronosz on 23:09:48 - 08/25/10
This is just my best guess....


return key.replace("-", "+").replace("_", "/");

Is what I get in the error console..
Title: Re: Few more Greasemonkey scripts
Post by: Swata on 07:11:54 - 08/26/10
This is just my best guess....


return key.replace("-", "+").replace("_", "/");

Is what I get in the error console..

This is not from my code :(

Every line in EC starts with where did the error happend. So we are looking either for subtring 'SwataScript' or something like 'Greasemonkey'.

----------------------------

On the All shops/tracked topic:

Card frame (gold/grey) is not actualized, but everything else is - card count, item counts, even the item availability.
Title: Re: Few more Greasemonkey scripts
Post by: Antiviper on 09:28:45 - 08/26/10
Could you make a chrome verision of this script?  :-[

I do not use chrome and do not know what problems it has with the scripts made for FF. As I prefer to finish functionality that is only partly done to porting, this wont happen in the next few months.

These "GM_***" function does not work in Chrome, GM_getValue/GM_setValue/GM_log can be emulated easily, but GM_xmlHttpRequest seems to be a problem.
Title: Re: Few more Greasemonkey scripts
Post by: Naki on 19:04:49 - 08/28/10
(...) but GM_xmlHttpRequest seems to be a problem.

Should work, like normal JS Ajax request.

Quote from: http://userscripts.org/topics/41177
GM_xmlhttpRequest=function(obj) {
   var request=new XMLHttpRequest();
   request.onreadystatechange=function() { if(obj.onreadystatechange) { obj.onreadystatechange(request); }; if(request.readyState==4 && obj.onload) { obj.onload(request); } }
   request.onerror=function() { if(obj.onerror) { obj.onerror(request); } }
   try { request.open(obj.method,obj.url,true); } catch(e) { if(obj.onerror) { obj.onerror( {readyState:4,responseHeaders:'',responseText:'',responseXML:'',status:403,statusText:'Forbidden'} ); }; return; }
   if(obj.headers) { for(name in obj.headers) { request.setRequestHeader(name,obj.headers[name]); } }
   request.send(obj.data); return request;
}
Title: Re: Few more Greasemonkey scripts
Post by: Sparky on 19:24:18 - 09/02/10
(http://i51.tinypic.com/dbp27t.png)
It's also a bit buggy with the cities displayed next to items/shops to say where to get them, happens to be incorrect on some somehow, showing cities where the said item/shop is actually unavailable.
Title: Re: Few more Greasemonkey scripts
Post by: Swata on 23:20:06 - 09/02/10
Antiviper, Naki : Thanks. I will try it in two weeks. At least I hope so ..

Sparky:
1) Why is everything (even result of unrelated BuildItems script) displayed twice?
2a) You seem to have 'magic' shop in Eclis that sells both Mithril Bar and Eminent Vita. Could you do an Export and send me strings between 'ItemShops;;;' and closest ',,,' plus same for 'Items;;;'?
2b) Did you do an Export/Import cycle?
Title: Re: Few more Greasemonkey scripts
Post by: Sparky on 23:48:36 - 09/02/10
Sparky:
1) Why is everything (even result of unrelated BuildItems script) displayed twice?
2a) You seem to have 'magic' shop in Eclis that sells both Mithril Bar and Eminent Vita. Could you do an Export and send me strings between 'ItemShops;;;' and closest ',,,' plus same for 'Items;;;'?
2b) Did you do an Export/Import cycle?
1) I don't know... maybe a bug on my end though...

2a) Yeah I have some "magic shops" like that, like I said: (http://fr.tinypic.com/r/fvfkmf/7)
I'll try to PM you that string later, though the data seems to be so heavy that when I try to select all to copy (to paste it in a text file) firefox freezes :/

2b) No, I never did.
Title: Re: Few more Greasemonkey scripts
Post by: Blacksol on 00:46:51 - 09/03/10
Antiviper, Naki : Thanks. I will try it in two weeks. At least I hope so ..

Sparky:
1) Why is everything (even result of unrelated BuildItems script) displayed twice?

This doesn't happen for me, but the PvP Fight log script doubles up the gems from all-in-one, ie shows 4 gems rather than two (which was posted in the fight log forum thread) - may be a similar issue
Title: Re: Few more Greasemonkey scripts
Post by: Swata on 19:20:53 - 09/03/10
Ad 1)
BuildItems are triggered on html elements with classes 'data nolink BV_system_file', ItemAvailability 'nolink itreasure BV_system_file'. So it is either that something is adding another hidden element with these classes or, more probably, you are running scripts two times (I have tried to install another BI script with different name and I have got exactly same result as you did).

Ad 2)
I have got similar result on other place some time ago but I was manually editing data before so i thought I have messed it up. I was thinking about it during the day but I was not able to came up with a way how could be data screwed in that way by script .. maybe your data will give me a clue.
Title: Re: Few more Greasemonkey scripts
Post by: Swata on 11:39:53 - 09/20/10
new version with
Title: Re: Few more Greasemonkey scripts
Post by: Blacksol on 15:21:18 - 09/20/10
wow very cool, makes inventory management much easier.

I note it doesn't pick up elixir component's in the list, eg glowing sparenight does not show up Elixir of Dex which is crafted in a number of craft shops.

Is this info populated from shop info saved by your script? If so does that mean when I discover a secret shop in future that those items/charms will show up on the inventory tooltip?
Title: Re: Few more Greasemonkey scripts
Post by: Chaofan on 16:45:26 - 09/20/10
wow very cool, makes inventory management much easier.

I note it doesn't pick up elixir component's in the list, eg glowing sparenight does not show up Elixir of Dex which is crafted in a number of craft shops.

Is this info populated from shop info saved by your script? If so does that mean when I discover a secret shop in future that those items/charms will show up on the inventory tooltip?

Maybe that happens because the script tracks components for crafted charms, and elixirs aren't charms?
Title: Re: Few more Greasemonkey scripts
Post by: Swata on 17:51:13 - 09/20/10
I note it doesn't pick up elixir component's in the list, eg glowing sparenight does not show up Elixir of Dex which is crafted in a number of craft shops.
Only charms for now. Items needs different displaying pattern as there are no charm counts.

Is this info populated from shop info saved by your script? If so does that mean when I discover a secret shop in future that those items/charms will show up on the inventory tooltip?
Exactly. (for charms)

Maybe that happens because the script tracks components for crafted charms, and elixirs aren't charms?
Script tracks items too. But as my level is <40 crafting items was never my priority :)
Title: Re: Few more Greasemonkey scripts
Post by: Uraxor on 19:05:10 - 09/20/10
So, um, yea, looks pretty cool .. where can i get it?
It's in the original post or .. ?
Title: Re: Few more Greasemonkey scripts
Post by: Swata on 19:38:04 - 09/20/10
So, um, yea, looks pretty cool .. where can i get it?
It's in the original post or .. ?
First post, last updated script.
Title: Re: Few more Greasemonkey scripts
Post by: Chronosz on 23:17:21 - 09/20/10
The "how many of each charm" part doesn't work for me? Any idea why? It tells me what charms they go to, but doesn't list the ones I already have.
Title: Re: Few more Greasemonkey scripts
Post by: Swata on 09:58:35 - 09/21/10
The "how many of each charm" part doesn't work for me? Any idea why? It tells me what charms they go to, but doesn't list the ones I already have.
Strange. The script first fetches 'http://www.estiah.com/character/card' and 'http://www.estiah.com/character/card/index/collection/archive' (and parses them) and only then displays usage. So the server response was recieved .. but what have we got? Try to edit the script file and at end of line 1347 which contains
Code: [Select]
Estiah.Charms.FetchCharmCounts(function(charmCounts) {insert
Code: [Select]
var c = 0; for (var i in charmCounts) c++; GM_log(c);And the number of processed charms will be inserted into your error console. It should correspond with 'Collected unique charms' on character page. And of course try the links above.

Edit: I've slightly modified page fetching mechanism today but it should not affect anything.
Title: Re: Few more Greasemonkey scripts
Post by: Swata on 20:47:56 - 09/27/10
new version with

Chronosz: Any progress?
Title: Re: Few more Greasemonkey scripts
Post by: Sparky on 21:26:51 - 09/27/10
  • small data fix that wont fix sparky's problem but hopefully will prevent similar problems in future (also fixing local db - what can be fixed)
Thanks for the new version! And as for my problem, I just cleared all the data I had and it's working fine since then :)
Title: Re: Few more Greasemonkey scripts
Post by: Gilfar on 21:44:13 - 09/27/10
I have exact same problem as Chronosz, and with the log statement is says "SwataScripts/Estiah - Mind Tricks: 0" this means it doesn't process any charms...
Also I think CityLoader doesn't work correctly as it only adds shops (sometimes!) and never charms that can be crafted inside, this happens especially for event shops.
Title: Re: Few more Greasemonkey scripts
Post by: Swata on 23:16:48 - 09/27/10
I have exact same problem as Chronosz, and with the log statement is says "SwataScripts/Estiah - Mind Tricks: 0" this means it doesn't process any charms...
Also I think CityLoader doesn't work correctly as it only adds shops (sometimes!) and never charms that can be crafted inside, this happens especially for event shops.

It's stranger and stranger ..

Ok, I've added some debug info related to fetching pages. It can be switched on by editing line 26 to:
Code: [Select]
var debug = true;Note that empty vendor shop page have more than 25000 characters so there probably shouldn't be lower number of characters.

I've also found an extra comma in the fetching code, but that should not have impact - at least not irregular.
Title: Re: Few more Greasemonkey scripts
Post by: Gilfar on 13:16:28 - 09/28/10
I get this
Code: [Select]
SwataScripts/Estiah - Mind Tricks: url "http://www.estiah.com/character/card" loaded with 5918 characters, title "Login - Estiah"
SwataScripts/Estiah - Mind Tricks: url "http://www.estiah.com/character/card/index/collection/archive" loaded with 5974 characters, title "Login - Estiah"
I think it logs you out ?
Similiar for CityLoader
Code: [Select]
SwataScripts/Estiah - Mind Tricks: url "http://www.estiah.com/market" loaded with 5900 characters, title "Login - Estiah"
SwataScripts/Estiah - Mind Tricks: url "http://www.estiah.com/market/craft/shop/id/5005/site/4002" loaded with 5970 characters, title "Login - Estiah"
Title: Re: Few more Greasemonkey scripts
Post by: Blacksol on 14:13:12 - 09/28/10
I cannot export the data (in the Soul Harvester's Tent). Specifically, I click the export button, the data comes up in the box but if I try to select it all (either ctrl+A or by highlighting with the mouse - click at start, go to end and shift+click) then firefox sits there thinking for a long time...
Title: Re: Few more Greasemonkey scripts
Post by: Swata on 18:31:26 - 09/28/10
I get this
Code: [Select]
SwataScripts/Estiah - Mind Tricks: url "http://www.estiah.com/character/card" loaded with 5918 characters, title "Login - Estiah"
SwataScripts/Estiah - Mind Tricks: url "http://www.estiah.com/character/card/index/collection/archive" loaded with 5974 characters, title "Login - Estiah"
I think it logs you out ?
Similiar for CityLoader
Code: [Select]
SwataScripts/Estiah - Mind Tricks: url "http://www.estiah.com/market" loaded with 5900 characters, title "Login - Estiah"
SwataScripts/Estiah - Mind Tricks: url "http://www.estiah.com/market/craft/shop/id/5005/site/4002" loaded with 5970 characters, title "Login - Estiah"

Great. Now I'm able to reproduce it. So far good news. For some reason, probably because GM is running in sandbox are these requests evaluated as third-party (to other site that requesting page is from) and therefore authentization cookies are not send because of your privacy settings. You can change it by
Code: [Select]
network.cookie.cookieBehavior = 0but you probably know why you have forbidden it ...
Title: Re: Few more Greasemonkey scripts
Post by: Gilfar on 18:50:58 - 09/28/10
Thanks for letting me know. I disable 3rd party cookies for purpose, however I found a workaround. You have to add exception for cookies for estiah.com and the script works fine without disabling my cookie privacy settings :)
Title: Re: Few more Greasemonkey scripts
Post by: Swata on 18:52:12 - 09/28/10
I cannot export the data (in the Soul Harvester's Tent). Specifically, I click the export button, the data comes up in the box but if I try to select it all (either ctrl+A or by highlighting with the mouse - click at start, go to end and shift+click) then firefox sits there thinking for a long time...

1,5MB is probably too much for your firefox to copy ..
You can copy all lines starting with
Code: [Select]
user_pref("greasemonkey.scriptvals.SwataScripts/Estiah - Mind Tricks directly from prefs.js but the editing needs to be done really carefully. Backup first is a must.

Edit: .. or you can wait till I do variable based export and split it to many small exports.
Title: Re: Few more Greasemonkey scripts
Post by: Swata on 19:02:33 - 09/28/10
Thanks for letting me know. I disable 3rd party cookies for purpose, however I found a workaround. You have to add exception for cookies for estiah.com and the script works fine without disabling my cookie privacy settings :)

Cool. FF has exceptions for cookie management. Sadly under 'Use custom settings for history'. I did not looked there :)
Title: Re: Few more Greasemonkey scripts
Post by: Swata on 22:54:19 - 09/28/10
Edit: .. or you can wait till I do variable based export and split it to many small exports.

Done. I was thinking about multiselect instead of combobox, but that looked really ugly and make it to look better would take too much work :(
Title: Re: Few more Greasemonkey scripts
Post by: Zruda on 12:41:14 - 10/14/10
I think Kysin Frozen Estoc somehow breaks the script's charm listing (all my tracked charms are suddenly at 0, all the crafting recipes in the inventory say I have 0 charms, and I crafted it yesterday).
The error log says:

Error: mismatched tag. Expected: </strong>.
Source File: http://www.estiah.com/market
Line: 1498, Column: 327
Source Code:
    <div class="description"> <span class="special"> <strong>-16</strong> to target's  melee (ongoing)<br/> </span> <span class="magic"> <strong>24</strong> Magic (38% P)</span> <br />(Target enemy with lowest <strong>ward</strong>)<br/>[<i>If <span class="armor">armor</span> is greater than <span class="armor"> <strong>50</span> </strong> </i>]<br/> <span class="magic"> <strong>32</strong> Magic (38% P)</span> <br /> <br/> <span class="lhp">Requires Level 50</span> <br /> <span class="data lhp"> <strong>663</strong> Dex&nbsp;&nbsp; <strong>448</strong> Pow</span> <br /> <span class="data lhp"> <strong>390</strong> Con</span> <br /> <span class="data lhp">Sword (R<strong>5</strong>)</span> <br /> <span class="data lhp">Frost (R<strong>5</strong>)</span> </div>

(error highlighted by me).
Should this be reported as Estiah bug?
Title: Re: Few more Greasemonkey scripts
Post by: Swata on 23:39:32 - 10/14/10
I think Kysin Frozen Estoc somehow breaks the script's charm listing (all my tracked charms are suddenly at 0, all the crafting recipes in the inventory say I have 0 charms, and I crafted it yesterday).
The error log says:

<span class="armor"> <strong>50</span> </strong>

(error highlighted by me).
Should this be reported as Estiah bug?

Yes, this bug is from estiah code (switched span and strong end tags). Browser normaly fixes it before displaying, but if I fetch the page manually, the correction is not triggered. I'm correcting few such issues manually, but this one cannot be handled easily. You can try to report it, maybe the bunny gods will be with us.

BTW: It will be probably fixed if you enter the shop manually - until you will load it again from city page :(
Title: Re: Few more Greasemonkey scripts
Post by: Swata on 21:03:54 - 10/31/10
New version with data moved to localStorage where available and few other changes to make it run in Chrome. Only difference I know about are missing tooltips in NewCharms.
link (http://"http://userscripts.org/scripts/show/84207")
Title: Re: Few more Greasemonkey scripts
Post by: Bazabaza on 23:20:29 - 10/31/10
link (http://"http://userscripts.org/scripts/show/84207")

fixed link (http://userscripts.org/scripts/show/84207)


so for a non-chrome user, what is different? what does it mean that data has been moved to localstorage?
Title: Re: Few more Greasemonkey scripts
Post by: Sheira on 23:30:28 - 10/31/10
No love for non-chrome users.
localStorage is said to be a bit slower than GM_setValue on Firefox, but the data is saved even when Firefox crashes.
Title: Re: Few more Greasemonkey scripts
Post by: Ilydia on 23:33:13 - 10/31/10
Your script should differentiate between different browsers and use the appropriate storage variant^^
Title: Re: Few more Greasemonkey scripts
Post by: Wercool on 04:18:28 - 11/01/10
so. does this work on IE? thanks.
Title: Re: Few more Greasemonkey scripts
Post by: Swata on 20:40:48 - 11/01/10
fixed link (http://userscripts.org/scripts/show/84207)
Thanks.

Bazabaza, Sheira, Ilydia:
GM stores values in FF preferences and that is great for settings but an archive with charms from all shops have around 1.5MB.  All other preferences in my FF have less than 200kB. That big prefs.js file is a performance issue too.

So for non-chrome user it means quicker start of FF :)

I thought about stating prefered storage for every value, but it is not worth it.

so. does this work on IE? thanks.
Dunno - have IE way to run userscript?
Title: Re: Few more Greasemonkey scripts
Post by: Ilydia on 21:54:23 - 11/01/10
http://www.bhelpuri.net/Trixie/

But hey, you don't want to encourage anyone to use IE.
Title: Re: Few more Greasemonkey scripts
Post by: Ilydia on 13:07:41 - 11/05/10
ItemAvailability of Mind Tricks :
I want to craft "Spirit of Flame" in Aleas Hell Unleashed. It says I could buy the mats in Aleas and links to the shop 1005, but neither the mats nor the shop are available there?
Title: Re: Few more Greasemonkey scripts
Post by: Swata on 00:04:20 - 11/06/10
ItemAvailability of Mind Tricks :
I want to craft "Spirit of Flame" in Aleas Hell Unleashed. It says I could buy the mats in Aleas and links to the shop 1005, but neither the mats nor the shop are available there?

It looks like another case of malformed data. Shop 1005 is 'Inachis General Goods' and it should not be in Aleas.
Could you export your 'ItemShops' data and send it to me? Maybe I will be able to identify what happened and prevent it in future.

Then you can try to import mine (hopefully nothing else is damaged):
Code: [Select]
ItemShops;;;2006;;Lum,,1003;;Eve,,2010;;Wil,,2009;;Tri,,1006;;Ina,,1007;;Lum,,1005;;Ina,,1010;;Tri,,1004;;Gae,,2005;;Ina,,1002;;Ecl,,2008;;Sky,,2013;;Lum;;Ina;;Zea,,2000;;Ale,,1012;;Win,,1000;;Ale,,2003;;Eve,,2011;;Win,,2007;;Nig,,1008;;Nig,,2004;;Gae,,1009;;Sky,,2002;;Ecl,,1011;;Wil,,1013;;Zea,,1014;;Zea,,2012;;Zea,,1001;;Dra,,2001;;Dra
Title: Re: Few more Greasemonkey scripts
Post by: Supernana on 09:04:11 - 11/07/10
mmmm
sorry..
need to ask..
last time i know there are a script that allow you to query charm while you building gear..
just like charm collection but in gear page..
anyone know what script it is and where i can download them ?
thank you in advance :)
Title: Re: Few more Greasemonkey scripts
Post by: Swata on 10:37:51 - 11/07/10
probably this one
http://userscripts.org/scripts/show/68502
Title: Re: Few more Greasemonkey scripts
Post by: Supernana on 16:27:34 - 11/07/10
probably this one
http://userscripts.org/scripts/show/68502

thank you very much swata.. :)
c u in next coli ^^
Title: Re: Few more Greasemonkey scripts
Post by: Blacksol on 11:53:34 - 12/20/10
Minor request for an update - is it possible to remove the [track] button on charms you already have 5 copies of?

This would make it easier to spot charms that still need to be crafted.

Thanks :)
Title: Re: Few more Greasemonkey scripts
Post by: Swata on 18:56:57 - 12/20/10
Minor request for an update - is it possible to remove the [track] button on charms you already have 5 copies of?

This would make it easier to spot charms that still need to be crafted.

Thanks :)

Why not to remove whole receipt? It has no use anymore. .. I have it already in my todo list.

Since you started it, does someone think there should be checkbox to reveal these receipts again, or it is fine if it would be pernament (of course with enable/disable in options)?
Title: Re: Few more Greasemonkey scripts
Post by: Blacksol on 00:15:21 - 12/21/10
Minor request for an update - is it possible to remove the [track] button on charms you already have 5 copies of?

This would make it easier to spot charms that still need to be crafted.

Thanks :)

Why not to remove whole receipt? It has no use anymore. .. I have it already in my todo list.

Since you started it, does someone think there should be checkbox to reveal these receipts again, or it is fine if it would be pernament (of course with enable/disable in options)?

Do you mean remove the whole charm from the shop? Both the actual shop and shops from all shops page? If so I am in favour of that provided there is an option to turn it off - perhaps a default setting in the options and then a Hide/Show button on each shop page?
Title: Re: Few more Greasemonkey scripts
Post by: Swata on 13:22:38 - 12/21/10
Do you mean remove the whole charm from the shop? Both the actual shop and shops from all shops page? If so I am in favour of that provided there is an option to turn it off - perhaps a default setting in the options and then a Hide/Show button on each shop page?

Yes and probably yes.

And my question in fact had to be 'why would someone want that?'.

You can try to formulate it as an user story. Heh, either are user stories really that good or I need a really long break from my job.

"As an user, I want a way to show again receipt for a charm I have 5 of so that I ..."
Title: Re: Few more Greasemonkey scripts
Post by: Sparky on 14:03:59 - 12/21/10
I'd love a way to have all charms I have 5 copies of to be hidden in shops, just like they are in Vendor's + T1 and T2 class shops. That'd make things neat.
Then, also:
"As an user, I want a way to show again receipt for a charm I have 5 of so that I ..."
+1. Just in case. Also for stuff like charms you "consume" in order to craft MOAR (Kysin Caches, Wisdom of the Repentant...)
Title: Re: Few more Greasemonkey scripts
Post by: Swata on 17:01:11 - 12/21/10
New version is out. (http://userscripts.org/scripts/show/84207) Added sooner mentioned hidding, for now without the checkbox.
Also, user can choose where to store data. Second one is out for a month, but there is not much love for tech-upgrades, so I didn't mentioned it here ..
Title: Re: Few more Greasemonkey scripts
Post by: Ilydia on 22:28:46 - 12/21/10
Really nice new version, thanks for the storage options.
Title: Re: Few more Greasemonkey scripts
Post by: Blacksol on 12:39:15 - 12/22/10
Fantastic, can the hide charm function also work on the guild showcase page?Which is where one may want the checkbox
Title: Re: Few more Greasemonkey scripts
Post by: Sparky on 12:40:24 - 12/22/10
Awesome, +1 for the guild showcase too :)
Title: Re: Few more Greasemonkey scripts
Post by: Blacksol on 14:54:31 - 12/22/10
Can it be turned off on the tracked charms page by default?? or at least made alt friendly. 

I had a number of charms tracked on this account that did not show up on the tracked charms page as an alt already had 5 of them.

The all shops page and the actual shop pages are fine. So it just appears to be on the tracked charm page
Title: Re: Few more Greasemonkey scripts
Post by: Swata on 17:50:24 - 12/22/10
I hope I have found solution that doesn't need a checkbox :P
It also fixes the broken layout as it keeps hidden receipts, only darker. Can be found on usual place. (http://userscripts.org/scripts/show/84207)

Can it be turned off on the tracked charms page by default?? or at least made alt friendly. 

I had a number of charms tracked on this account that did not show up on the tracked charms page as an alt already had 5 of them.

The all shops page and the actual shop pages are fine. So it just appears to be on the tracked charm page

Strange. Charm counts are downloaded only once (after you click on all shops or with first shop) and should be updated before hidding takes place. Try to check it with this new update if you have hidden charms with <5 count or charm counts that doesn't fits and let me know.
Title: Re: Few more Greasemonkey scripts
Post by: Blacksol on 01:10:01 - 12/23/10
nice update  ;D

Still have issue with charms where alt has 5 - both on tracked charms page and on all shops page (I may have been mistaken about all shops page when tested yesterday on previous version). 

For example, in Wildhowl shop Hack & Slash, Slashing Axe Welcome is ghosted out on all shops page and tracked charms page but fully visible on actual shop page. I have 1 and alt has 5.

Similarly in Windscar shop Tales of the North, on the all shops page there are a number of charms I have 5 of that are not ghosted out (as alt does not have 5) and some that are ghosted out when alt has 5 and I have less than 5.

A quick check on my alt's pages shows that all shops page is working correctly, ie where alt has less than 5 but I have 5 the charm is correctly not ghosted out. Therefore, seems that my alt's charm numbers are driving the ghosting effect for me.

On my main PC I am running a bunch of other scripts including ones that remove buy/craft buttons when have 5 of a charm. But on this PC that script is not installed/running so that can't be causing a conflict.
Title: Re: Few more Greasemonkey scripts
Post by: Swata on 09:12:08 - 12/23/10
...

I still do not know what is most important - are the displayed charm counts from your current char or from an alt?

Damn, do I really need an alt just to test things like this?  ::)

EDIT: Checked. I'll look at it.
Title: Re: Few more Greasemonkey scripts
Post by: Supernana on 09:55:37 - 12/23/10
...

I still do not know what is most important - are the displayed charm counts from your current char or from an alt?

Damn, do I really need an alt just to test things like this?  ::)

EDIT: Checked. I'll look at it.

T.T
i see my alts (L.36)
have 14 Eternal Rebellion..
i think you should split the inventory record based on player id/player name T.T
Title: Re: Few more Greasemonkey scripts
Post by: Swata on 10:58:14 - 12/23/10
T.T
i see my alts (L.36)
have 14 Eternal Rebellion..
i think you should split the inventory record based on player id/player name T.T

That is something else. What Blacksol reported was only because of late update of charm counts.

There is no stored inventory data. Actual item counts are fetched when needed. On market page the fetch is delayed till you go to 'all shops'. So you probably switched accounts in the meantime.
Title: Re: Few more Greasemonkey scripts
Post by: Swata on 12:42:45 - 12/23/10
Charm hidding in stored shops for alts fixed (http://userscripts.org/scripts/show/84207).
Title: Re: Few more Greasemonkey scripts
Post by: Blacksol on 13:19:18 - 12/23/10
Charm hidding in stored shops for alts fixed (http://userscripts.org/scripts/show/84207).

Nice work  :D Thanks
Title: Re: Few more Greasemonkey scripts
Post by: Supernana on 02:20:15 - 12/24/10
T.T
i see my alts (L.36)
have 14 Eternal Rebellion..
i think you should split the inventory record based on player id/player name T.T

That is something else. What Blacksol reported was only because of late update of charm counts.

There is no stored inventory data. Actual item counts are fetched when needed. On market page the fetch is delayed till you go to 'all shops'. So you probably switched accounts in the meantime.

ok then i'll try it again :)
Title: Re: Few more Greasemonkey scripts
Post by: Swata on 23:32:43 - 12/25/10
fixed handling of switched end tags in Lightning Rod and Kysin Frozen Estoc (script was unable to fetch a page with one of those charms)
Title: Re: Few more Greasemonkey scripts
Post by: Powerslave on 06:17:10 - 01/27/11
Hi,

I suggested to hide those charms from the tooltip of which you already have 5. I played a bit with the script and came up with this bit of tweaked code (see below).

Oh, and I'd like to suggest once again to put "mind tricks" in the title of the thread  ;)

Code: [Select]
CraftHelper.AlterInventory = function (doc) {

  [...]
            var desc = items[i].getElementsByClassName('description')[0];
            desc.appendChild(document.createElement('br'));
//            desc.appendChild(document.createElement('br'));
//            Web.appendText('Useful in following crafts:', desc);

            for (var j = 0; j < usage.length; j++) {
                var craftId = usage[j];
                var charmId = receipts[craftId].charmId;
                var charmName = charmNames[charmId];
                var itemCount = receipts[craftId][itemId];
                var charmCount = charmCounts[charmId];

                if (charmCount == undefined) charmCount = 0;
                if (charmCount == 5)
                    continue;
                desc.appendChild(document.createElement('br'));
                Web.appendText('x' + itemCount + ' in ', desc);
                Web.appendText(charmName, Web.CreateElement('span', 'c2', desc));
                Web.appendText(' (' + charmCount + ')', desc);
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Swata on 00:27:01 - 01/27/11
Title updated. :)

About hiding .. first, I'd prefer fading to hiding. That is't big change, just one more span. Second, I like to pretend that every module is standalone and based on settings can be enabled/disabled. And this functionality fits more into HideUsedReceipts. I know it is not that easy to implement, but I don't want to give up that idea yet.

Hmm, or it can be build-in behaviour, like you wrote it. No one would like to switch it off anyway ..
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Bazabaza on 00:49:02 - 01/27/11
yes we would :) fading is much better than completely hiding because that would break the order of charms / layout of the page, which would be horrible.... if there'd be hiding instead of fading I'd definitely turn it off :S
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Misha on 01:17:54 - 01/27/11
I had it turned off because I thought it WAS hiding them completely.  Now that I know it's just fading I've turned it on and I like it.
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Powerslave on 10:02:48 - 01/27/11
Just to make it clear: the code below will hide the charms from the inventory tooltip. I made a screenshot to make it clear:

(http://img153.imageshack.us/img153/5295/tooltip.png)
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Swata on 10:52:47 - 01/27/11
yes we would :) fading is much better than completely hiding because that would break the order of charms / layout of the page, which would be horrible.... if there'd be hiding instead of fading I'd definitely turn it off :S

That was other place - this time it is about tooltip in inventory. But among other benefits, it is better to be consistent.
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Bazabaza on 18:02:25 - 01/27/11
oh, I missed that part :(
but still I'd personally prefer fading instead of hiding in the tooltip too (if it is really needed anyway.... I find the "(5)" informative enough).
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Swata on 17:08:38 - 01/30/11
three minor additions (http://userscripts.org/scripts/show/84207)

CraftHelper - fading of used up recepies in inventory tooltip
HideLowLevelBounties
- Hides (fades) players among 'players with bounty' with level lower than yours -1.
ItemsCounter
- Shows sum of inventory and storage item counts in inventory tooltip.
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Xanphenir on 12:46:39 - 02/28/11
Dear Swata:

Could inventory page of other sort mode be included into your script?
http://www.estiah.com/character/inventory/index/sort/rarity
http://www.estiah.com/character/inventory/index/sort/quantity

Personally I managed to modify the script to work on rarity sort. But It will be great if Mind Tricks can include them.
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Swata on 21:47:04 - 02/28/11
Could inventory page of other sort mode be included into your script?

I'll look into it. In the mean time, enjoy new inventory-related update!

StorageItemsWatcher
- Watches for items that will expire soon. (http://userscripts.org/scripts/show/84207)

EDIT: sorted inventory pages included
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Blacksol on 05:15:47 - 03/01/11
StorageItemsWatcher
- Watches for items that will expire soon. (http://userscripts.org/scripts/show/84207)
Also per download page it runs every 30 minutes and if go to inventory page


Err, what's it meant to do? I have it installed, enabled and 3 items in my storage are red.... = situation normal, so now what?

Or am I missing something obvious?

Edit: 2 of the items just turned red so just under 24 hours to go, and the other one I think was red about 14 hours ago, so up to 10 hours until expires
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Swata on 08:23:22 - 03/01/11
This is how it is supposed to be working. Sadly I was unable to upload screenshot to userscripts.org yesterday :(
(http://img62.imageshack.us/img62/4562/storageitemswatcher.jpg)
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Blacksol on 12:49:13 - 03/01/11
Ahh, well it doesn't work for me.

When I enable the StorageItemsWatcher and then reload the inventory page (or restart firefox) I have no new menu and other parts of mind tricks that run on inventory page no longer work, ie no cities listed that can buy item in and no list of charms that item can be used to craft.

I still get exchange rates showing from all-in-one. Only other script running on inventory page is wikilinks.

Any suggestions?
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Misha on 17:30:17 - 03/01/11
It's possible that that link is showing up on a second line in your menu and being hidden by other parts of the Estiah interface.  It's currently happening with Cylia since she has applied to a job with a long name (which takes up a lot of space on the menu).  I can see part of the link just under the Cylia (L.50) entry and can even hover over it to get the info, but it's pretty easy to not see.

Ninja Edit: It only checks every 30 minutes?  That is kind of an issue if you sign in on a different character.  It'll keep showing the data for the previous character until it checks again.  Any way to fix that?
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Swata on 19:10:48 - 03/01/11
Ahh, well it doesn't work for me.

When I enable the StorageItemsWatcher and then reload the inventory page (or restart firefox) I have no new menu and other parts of mind tricks that run on inventory page no longer work, ie no cities listed that can buy item in and no list of charms that item can be used to craft.

I still get exchange rates showing from all-in-one. Only other script running on inventory page is wikilinks.

Any suggestions?

It is probably an error in the script. Check the Error console for the info about it.

It only checks every 30 minutes?  That is kind of an issue if you sign in on a different character.  It'll keep showing the data for the previous character until it checks again.  Any way to fix that?

30 minutes is ok, problem is that it is not alt-friendly. I'll fix it in next update.
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Sparky on 19:27:06 - 03/01/11
I couldn't get that storage item watcher to work so disabled all GM scripts besides Mind Trick, ensured it was enabled and then checked the error console. It gave me that:

Quote
Error : Unsupported type for GM_setValue. Supported types are: string, bool, and 32 bit integers.
Source File : chrome://greasemonkey/content/prefmanager.js
Line : 88
I'm using Firefox 4.0b 12
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Tipunk on 20:13:03 - 03/01/11
Hi Swata :)
I nearly have the same error as Sparky. My message in the console is this one :
Quote
Erreur : Unsupported type for GM_setValue. Supported types are: string, bool, and 32 bit integers.
Fichier Source : file:///C:/Documents%20and%20Settings/TiPunK/Application%20Data/Mozilla/Firefox/Profiles/dmewd2mg.default/gm_scripts/estiah_-_mind_tricks/estiah_-_mind_tricks.user.js
Ligne : 4294967003
I'm using Firefox 3.6.13

The line N°4294967003 in unreachable. 4294967003 lines ? Ugh ?  :o
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Swata on 21:12:47 - 03/01/11
30 minutes is ok, problem is that it is not alt-friendly. I'll fix it in next update.
fixed

I couldn't get that storage item watcher to work so disabled all GM scripts besides Mind Trick, ensured it was enabled and then checked the error console. It gave me that:

Quote
Error : Unsupported type for GM_setValue. Supported types are: string, bool, and 32 bit integers.
Source File : chrome://greasemonkey/content/prefmanager.js
Line : 88
I'm using Firefox 4.0b 12
Great, finally something. I hope it is fixed now. Stupid greasemonkey storage cannot convert by itself  :o

The line N°4294967003 in unreachable. 4294967003 lines ? Ugh ?  :o
2158 so far
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Sparky on 22:10:38 - 03/01/11
Working now, thanks :)
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Blacksol on 03:23:40 - 03/02/11
working for me too.  Doesn't show time till expiry like in your screen shot (instead it has a ?) but hopefully this will work later
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Swata on 22:05:18 - 03/02/11
working for me too.  Doesn't show time till expiry like in your screen shot (instead it has a ?) but hopefully this will work later
'?' means that the item can expire any minute, time value is amout of time we know for sure the item will still exist (based on a last check when the item WASN'T expiring).
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Misha on 19:37:39 - 03/03/11
When I go to the inventory page, sometimes I get this error in my console:

Error: The expression is not a legal expression.
Source File: file:///home/talaysen/.mozilla/firefox/hzsg2ire.default/gm_scripts/estiah_-_mind_tricks/estiah_-_mind_tricks.user.js
Line: 2057

It stops the other Mind Tricks features for the inventory page from working too.
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Swata on 22:52:04 - 03/03/11
When I go to the inventory page, sometimes I get this error in my console:

Error: The expression is not a legal expression.
Source File: file:///home/talaysen/.mozilla/firefox/hzsg2ire.default/gm_scripts/estiah_-_mind_tricks/estiah_-_mind_tricks.user.js
Line: 2057

It stops the other Mind Tricks features for the inventory page from working too.

Should be fixed now. (item names with " in it)
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Tipunk on 15:04:39 - 03/04/11
Working now, thanks :)
+1
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Powerslave on 08:16:53 - 03/08/11
Hi Swata,

I have some more suggestions for the MindTricks: could we have the "tracked charms" directly on the market page? (not under "show all shops")

OR

Could this be integrated into a small drop-down menu, like AllInOne? Like:

Quote
MindTricks
Version 110303
Options
Export/Import
Check for update
-------------------
Tracked Charms


Also, I'd like to suggest to integrate my "Show bounties" script (based on Gitface's PvP Fight Log script) into Mind Tricks, as an additional option. Here: http://userscripts.org/scripts/show/95185


Cheers
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Swata on 20:37:02 - 03/09/11
I have some more suggestions for the MindTricks: could we have the "tracked charms" directly on the market page? (not under "show all shops")

Yes, it is possible, but it is relatively a lot of work for one saved click. I'm still more focused on adding new functionality over this. Second, I have in my todo list to rewrite these pages to real pages (accessible via url) and it would be much easier then.

OR

Could this be integrated into a small drop-down menu, like AllInOne? Like:

Quote
MindTricks
Version 110303
Options
Export/Import
Check for update
-------------------
Tracked Charms
Again, quite a lot of (re)work for not much gain. See 'focus' note in previous reply.

Also, I'd like to suggest to integrate my "Show bounties" script (based on Gitface's PvP Fight Log script) into Mind Tricks, as an additional option. Here: http://userscripts.org/scripts/show/95185
I have never intended to create second AllInOne script. Yes, I have to admit that I kinda failed.

It all started with earlier mentioned new 'pages' (CraftHelper). And if you want to modify them from another script like normal shop pages (ItemAvailability), you have to either make that second script aware of what the first one is doing or create a mechanism tha will trigger the second one on first's one creation so they can pretend to be standalone. Sadly it means to have them in one superscript. Other scripts wanted to use helper functions and so on ..

I haven't even included 'Charm requirements' yet. And that script could profit from it as it runs on shop pages too.

Err, too much text. What I really wanted to say was that I think it belongs more to AllInOne than here.
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Powerslave on 22:23:14 - 03/09/11
I have some more suggestions for the MindTricks: could we have the "tracked charms" directly on the market page? (not under "show all shops")

Yes, it is possible, but it is relatively a lot of work for one saved click. I'm still more focused on adding new functionality over this. Second, I have in my todo list to rewrite these pages to real pages (accessible via url) and it would be much easier then.

In the meantime I managed to move the "tracked charms" to the market page by finding this line:
Code: [Select]
var shopGroup = Estiah.Market.AddShopGroup('staff', 'Dark corner', shopRoot);
...and simply inserting this line right after it:
Code: [Select]
Estiah.Market.AddShop('tracked', 'item', 'Tracked Charms', 'Charms you have marked for tracking', CraftHelper.CreateAndShowTracked, shopGroup);
It works fine, but when I click on "back to market" I get a broken page and I have to refresh. I tried tweaking this line, but without success:
Code: [Select]
Web.AddButton('Back to market', '/market/all', 5, CraftHelper.BackFromShop, buttonsRoot)
Any idea how could I fix it? Thanks :-)
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Swata on 22:55:46 - 03/09/11
It works fine, but when I click on "back to market" I get a broken page and I have to refresh. I tried tweaking this line, but without success:
Code: [Select]
Web.AddButton('Back to market', '/market/all', 5, CraftHelper.BackFromShop, buttonsRoot)
Any idea how could I fix it? Thanks :-)
First two params are only button text & display href, third type of button.
Problem is in CraftHelper.BackFromShop - it assumes that you have already visited (and created) all shops page and tries to return to it. I'd suggest to remove tracked from all shops page (so you do not have to solve returning to two diferent pages) and create function similar to BackFromShop but modified to your needs. You can take a look to ShowCityShops (returning function from all shops to original shops).
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Powerslave on 00:17:57 - 03/10/11
It works fine, but when I click on "back to market" I get a broken page and I have to refresh. I tried tweaking this line, but without success:
Code: [Select]
Web.AddButton('Back to market', '/market/all', 5, CraftHelper.BackFromShop, buttonsRoot)
Any idea how could I fix it? Thanks :-)
First two params are only button text & display href, third type of button.
Problem is in CraftHelper.BackFromShop - it assumes that you have already visited (and created) all shops page and tries to return to it. I'd suggest to remove tracked from all shops page (so you do not have to solve returning to two diferent pages) and create function similar to BackFromShop but modified to your needs. You can take a look to ShowCityShops (returning function from all shops to original shops).

OK, so I replaced this:
Code: [Select]
var buttonsRoot = Web.CreateElement('div', 'section_text', crafts);
Web.AddButton('Back to market', '/market/all', 5, CraftHelper.BackFromShop, buttonsRoot);

...with this (in the CraftHelper.CreateAndShowTracked function):
Code: [Select]
var ie = Web.CreateElement('div', 'wireframe_market common_content common_wl', page);
var buttonsRoot = Web.CreateElement('div', 'section_text', ie);
Web.AddButton('Back to city shops', '/market', 5, Settings.BackToMarket, buttonsRoot);

...and it's working perfectly! :-)
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Swata on 21:51:12 - 03/10/11
...and it's working perfectly! :-)
Congrats! :)
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Sparky on 02:14:27 - 03/22/11
I get this on Tracked Charms:

(http://s3.noelshack.com/uploads/images/1914079192938_capture_dacran_20110322__021248.png) (http://s3.noelshack.com/upload/1914079192938_capture_dacran_20110322__021248.png)

Was working well so far, haven't made any change as far as I know and it just became like that yesterday.
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Swata on 20:33:16 - 03/22/11
Was working well so far, haven't made any change as far as I know and it just became like that yesterday.

No FF upgrade or something like that?
Ok, first check if these shops have problems in 'all shops' too. I suppose they will.
Second, export and send me Shop_4034, Shop_5014 and if standalone shops are ok CharmTracker_(affected character number).

Third, you can try to revisit these shops, maybe it will fix itself. I want the exports even if it fixes itself - what went wrong is valuable information.
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Sparky on 00:20:50 - 03/23/11
Was working well so far, haven't made any change as far as I know and it just became like that yesterday.

No FF upgrade or something like that?
Ok, first check if these shops have problems in 'all shops' too. I suppose they will.
Second, export and send me Shop_4034, Shop_5014 and if standalone shops are ok CharmTracker_(affected character number).

Third, you can try to revisit these shops, maybe it will fix itself. I want the exports even if it fixes itself - what went wrong is valuable information.

I think I've upgraded FF recently, that might be it... but I've reset the Mind Tricks data now, so can't send the export, sorry.  :-[
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Swata on 18:40:33 - 03/27/11
Do you remember that lag on inventory page? With FF4 it is gone!
It still needs to be redone, but the waiting for that will be less stressful.
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Sparky on 20:31:31 - 03/27/11
Do you remember that lag on inventory page? With FF4 it is gone!
It still needs to be redone, but the waiting for that will be less stressful.

I don't know if it's due to the last FF upgrade I've done, or anything else, but even though I'd wiped the data from Mind Tricks, then even removed the whole script and re-installed it, I have a problem: when I installed it I enabled all the options and it was working just fine, but once I close Firefox it seems to just forget all that data and when I start it again all the data is lost, tracked charms/shops etc....
I can get around it by manually exporting the data to a text file before quitting FF and then importing it as I start FF again, but I know it wasn't doing that before, and my settings on FF have always been the same (it does clear cache/cookies/etc automatically when I quit, but it's always been so).

Anything I'm missing ?
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Sheira on 20:49:17 - 03/27/11
There are two ways to save persistent data with Greasemonkey scripts in Firefox. Saving in local storage and saving in the prefs.js. Firefox uses the cookie options for local storage. So if you have said delete all cookies on closing, Firefox will also delete everything from local storage, too.
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Sparky on 21:37:26 - 03/27/11
There are two ways to save persistent data with Greasemonkey scripts in Firefox. Saving in local storage and saving in the prefs.js. Firefox uses the cookie options for local storage. So if you have said delete all cookies on closing, Firefox will also delete everything from local storage, too.
I've just set it to save to the prefs.js, seems to have fixed it, thanks!
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Swata on 23:10:03 - 03/27/11
.. but I know it wasn't doing that before, and my settings on FF have always been the same (it does clear cache/cookies/etc automatically when I quit, but it's always been so).

Anything I'm missing ?
It wasn't doing that because you had set it to GM storage less than half a year ago.
I've added note into script description, although I don't really belive anyone will read it ..
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Powerslave on 17:02:31 - 04/06/11
Swata,

You cannot track guild showcase charms. Any plans to add those?
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Swata on 20:32:41 - 04/06/11
Swata,

You cannot track guild showcase charms. Any plans to add those?

The original idea was to help with collecting resources needed for the craft - even when you are outside of the city with the shop. Guild crafts needs only GHPs and are visible all time.

So you want only a marker for charms you want? If this is the case, something affecting only showcase would be probably better. Like other outline color. Correct me if I'm wrong.
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Powerslave on 20:07:09 - 04/10/11
Hi Swata,

Would it be possible to include the complete database for items and charms in the script itself (or wherever, but available to everyone)? I mean, now you have to visit each town, in order to fill up your database to see what can be bought where, and what items are needed for which charms. However, this is pretty static data - it doesn't change by class or level or anything. But until it's not complete, it's not very useful... and it's a pain in the ass to fill it up. So, could you implement this "feature"?

Thanks
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Swata on 23:14:49 - 04/11/11
Hi Swata,

Would it be possible to include the complete database for items and charms in the script itself (or wherever, but available to everyone)? I mean, now you have to visit each town, in order to fill up your database to see what can be bought where, and what items are needed for which charms. However, this is pretty static data - it doesn't change by class or level or anything. But until it's not complete, it's not very useful... and it's a pain in the ass to fill it up. So, could you implement this "feature"?

Thanks

Yes, it is semi-static (thinks like halloween shop and updates) but I do not have it. At least not in usable form. For instance I know there are forges, but haven't visited any yet. Parsing a wiki doesn't seem like an option.

Best thing I can do in this situation is to add another option into Export that will export these 'static' data so if someone is willing to share, it could be done easier - without giving out own data or clearing them in text editor.

In the meantime, there is a small update - relogin after session is lost. (http://userscripts.org/scripts/show/84207)
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Powerslave on 17:20:16 - 04/12/11
Would it be possible to include the complete database for items and charms in the script itself (or wherever, but available to everyone)? I mean, now you have to visit each town, in order to fill up your database to see what can be bought where, and what items are needed for which charms. However, this is pretty static data - it doesn't change by class or level or anything. But until it's not complete, it's not very useful... and it's a pain in the ass to fill it up. So, could you implement this "feature"?

Yes, it is semi-static (thinks like halloween shop and updates) but I do not have it. At least not in usable form. For instance I know there are forges, but haven't visited any yet. Parsing a wiki doesn't seem like an option.

Best thing I can do in this situation is to add another option into Export that will export these 'static' data so if someone is willing to share, it could be done easier - without giving out own data or clearing them in text editor.

Well, I guess the forges and seasonal shops are not a big concern - a pre-filled database that includes normal and event shops would cover 90%+ of the available charms. I will gladly share my set of data - now with forges included! ;-)
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Swata on 22:52:21 - 04/18/11
Version with easier export of static data. (http://userscripts.org/scripts/show/84207)
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Kandiru on 21:45:26 - 05/06/11
I'm not quite sure what has happened. I used to be able to see on the inventory page when mouse-overing an item which charms it could be used to buy. I thought this was from MindTricks, but it seems to have disappeared now. :( Anyone know which how to get it back?
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Swata on 20:27:59 - 05/07/11
I'm not quite sure what has happened. I used to be able to see on the inventory page when mouse-overing an item which charms it could be used to buy. I thought this was from MindTricks, but it seems to have disappeared now. :( Anyone know which how to get it back?

1) Check market if you can still visit shops from other cities from there.
2) Check settings, if CraftHelper is enabled.
3) Check error console on inventory page if there is any error related to mind tricks or greasemonkey.
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Kandiru on 00:21:22 - 05/09/11
Loading inventory gives the following error:

Error: uncaught exception: TypeError: el.getAttribute is not a function

The Market page loads and shows the MindTricks buttons, clicking show all shops lists the shops, but clicking on any of the links does nothing and the following error appears in the error console:

Error: node.parentNode is undefined
Source File: file:///C:/Documents%20and%20Settings/Nick/Application%20Data/Mozilla/Firefox/Profiles/wm5o256s.default/extensions/%7Be4a8a97b-f2ed-450b-b12d-ee082ba24781%7D/components/greasemonkey.js
Line: 759

Firefox has updated recently, which might be to blame?
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Swata on 16:48:18 - 05/15/11
Sorry for delay, busy week.

I have identified both instructions in code but I'm unable to get a way how there could be problem. Upgrading my FF didn't messed anything as well. As you are only one reporting this, it may be your data. Look at a shop that doesn't displays and send me this shop's data. For instance, if it is Seylin's Hidden House, the url is pointing at /shop/4012 so I need you to export Shop_4012.

Or .. you can try a different approach and just rewrite your static data with someone else's. Make sure you have made a copy of your pesonal data, just in case the donator exported everything.

I'd still appreciate the data, just to know what's went wrong.
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Kadafan on 10:32:45 - 05/18/11
This is a great script and has helped me tremendously. One error though: Cut Amethyst x1 (0) [Buy] [A] no Cut Amethyst in Lumia! There was one more and I will report if found. Thanks!
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Swata on 10:09:43 - 05/21/11
This is a great script and has helped me tremendously. One error though: Cut Amethyst x1 (0) [Buy] [A] no Cut Amethyst in Lumia! There was one more and I will report if found. Thanks!

Try to import this:
Code: [Select]
ItemShops;;;2006;;Lum,,1003;;Eve,,2010;;Wil,,2009;;Tri,,1006;;Ina,,1007;;Lum,,1005;;Ina,,1010;;Tri,,1004;;Gae,,2005;;Ina,,1002;;Ecl,,2008;;Sky,,2013;;Lum;;Ina;;Zea,,2000;;Ale,,1012;;Win,,1000;;Ale,,2003;;Eve,,2011;;Win,,2007;;Nig,,1008;;Nig,,2004;;Gae,,1009;;Sky,,2002;;Ecl,,1011;;Wil,,1013;;Zea,,1014;;Zea,,2012;;Zea,,1001;;Dra,,2001;;Dra,,,DataVersion;;;110301I hope it is the only thing that is broken ..
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Eschatos on 04:45:26 - 07/10/11
This script is great! I have one issue though. The last 2 weeks I had all my tracked items and shops reset twice and I can't figure why. For some reason everything switches to "disabled" in the options screen and I lose everything.
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Swata on 11:10:09 - 07/10/11
This script is great! I have one issue though. The last 2 weeks I had all my tracked items and shops reset twice and I can't figure why. For some reason everything switches to "disabled" in the options screen and I lose everything.

Strange. So if you switch something on, it keeps enabled or is disabled again after reload of the page (or after closing and opening browser)?

About the doubling - something like that caused AVG or Avast Web Scanner. You can check, if you have that and try to disable it, if it helps.
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Sparky on 12:10:40 - 07/10/11
This script is great! I have one issue though. The last 2 weeks I had all my tracked items and shops reset twice and I can't figure why. For some reason everything switches to "disabled" in the options screen and I lose everything.
Happened to me because I've set Firefox to clear cache+cookies when I close it and I had stuff stored in local storage, thus resetting all data everytime. I switched to Greasemonkey storage to avoid this problem.
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Janis187 on 16:42:28 - 08/30/11
city loader, craft helper dont work for me
simply it dont show anything in market page only Swata's Mind Tricks, Soul Harvester's Tent
yes all those are enabled under Swata's Mind Tricks
it shows track/untrack in city shops
other scripts seem to work fine

any ideas whats wrong?
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Swata on 20:04:13 - 08/30/11
city loader, craft helper dont work for me
simply it dont show anything in market page only Swata's Mind Tricks, Soul Harvester's Tent
yes all those are enabled under Swata's Mind Tricks
it shows track/untrack in city shops
other scripts seem to work fine

any ideas whats wrong?

Neither 'Show all shops' button under Soul Harvester's Tent nor extended tooltips in inventory?
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Janis187 on 20:28:19 - 08/30/11
ok found show all shops how did i miss that xD
i wiped all data that could be reason why i dont see extended tooltips in inventory?
before it showed extended tooltips for items that were expireing but others not
i still dont see city loader?
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Swata on 21:05:48 - 08/31/11
ok found show all shops how did i miss that xD
i wiped all data that could be reason why i dont see extended tooltips in inventory?
before it showed extended tooltips for items that were expireing but others not
i still dont see city loader?

Quote
CityLoader
When you enter the city, this loads all city shops for you. Useful with ItemAvailability and CraftHelper.
It only means you do not have to visit every shop in the city to get data from it. It will be visited on the background to (re)load data.

And about inventory tooltips - look at the last screenshot on script page (http://userscripts.org/scripts/show/84207). And yes, the content depends on data from visited shops.
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Janis187 on 06:07:35 - 09/01/11
tnx you for replays and awesome script!
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Sparky on 23:34:04 - 10/07/11
Charms tracking is awesome... would there be a possibility to implement a summary of what you need in order to get all the charms tracked ?

Like something displayed upon hitting a button (that could get heavy) with all the materials

ie:
To craft all the tracked charms you will need:

Nightsteel: 30 (4)
Colithon Feather: 64 (0)
Doppelganger Heart: 10 (13)

etc...

I can see there being a potential problem or two, for instance because of Lizina's Jewelry's epic pebbles being trackable despite them having a "limit" to count towards (as in the script would display the materials necessary for you to have a total of 5 copies of every tracked charm), but that would be really nice if this was possible (yeah I'm so lazy to count it myself and keep track of it all manually. :P ).
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Swata on 17:02:20 - 10/08/11
Yes, tracking summary is definitely possible. The biggest problem I see now is my lack of time. I'm a little behind with virtually everything. But there is still a hope.

(yeah I'm so lazy to count it myself and keep track of it all manually. :P )
Well, that's the reason scripts like this one exists ;)
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Howiefeltersnatch on 16:41:56 - 12/03/11
Glass Orb and Shadow Orb still show up in grey text, which i thought meant that they had no other uses other than to sell for gold which is not the case since Statue: Music of the Spheres was added.  Also there are not links to the shops where they are available but does show the number of a particular item in the inventory.

Sorry if this was previously mentioned/discussed.  I did a quick scan, did not see it and do not have time to look more right now.
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Swata on 19:21:47 - 12/03/11
Glass Orb and Shadow Orb still show up in grey text, which i thought meant that they had no other uses other than to sell for gold which is not the case since Statue: Music of the Spheres was added.  

Colorized items is a build-in feature of the game. You should report it in the Bugs section.

Also there are not links to the shops where they are available but does show the number of a particular item in the inventory.

Erm .. what? Sorry, I didn't get what are you trying to say.
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Chicagodog on 21:19:40 - 12/03/11
Charms tracking is awesome... would there be a possibility to implement a summary of what you need in order to get all the charms tracked ?

Like something displayed upon hitting a button (that could get heavy) with all the materials

Just wanted to add my support here.  The charm tracking is great and I love it!  If we could track materials needed for those charms, well... that would be even awesome-er!!!  I can just imagine looking at a list of things I need, then walking into the market and buying up all the things on my shopping list.
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Howiefeltersnatch on 13:00:59 - 12/04/11

Also there are not links to the shops where they are available but does show the number of a particular item in the inventory.

Erm .. what? Sorry, I didn't get what are you trying to say.

When an item is needed to craft something in the BUT section it shows which cities it can be bought in (if it can be bought) or if it can be bought in the city you are currently in, give you a link to that shop to purchase it.  This does not happen on these items.   After I did buy those items, it did show the number of that item that I currently had in my inventory.
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Swata on 13:39:43 - 12/04/11

Also there are not links to the shops where they are available but does show the number of a particular item in the inventory.

Erm .. what? Sorry, I didn't get what are you trying to say.

When an item is needed to craft something in the BUT section it shows which cities it can be bought in (if it can be bought) or if it can be bought in the city you are currently in, give you a link to that shop to purchase it.  This does not happen on these items.   After I did buy those items, it did show the number of that item that I currently had in my inventory.

Finally got it. It is the side effect of these items not beeing marked as craft ingredients. As it affects only these two items I think it is not worth repairing. Storing locations of all items is a lot of extra data and making exceptions is ugly ;)
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Mm001 on 06:26:34 - 12/05/11
I notice there are some items shows wrong locations that can be purchased,

For example : Mithril Bar shows can be bought in the following cities.
Zea Ina, Lum,  Eve, Wil,  Sky,  Gae,  Win, Ecl, Dra
But in game and wiki. it can only be bought in
Ina, Sky, Lum, Dra, Win.

It makes me made wrong decisions sometime. But I do not know how to correct it yet.
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Sparky on 10:16:52 - 12/05/11
I notice there are some items shows wrong locations that can be purchased,

For example : Mithril Bar shows can be bought in the following cities.
Zea Ina, Lum,  Eve, Wil,  Sky,  Gae,  Win, Ecl, Dra
But in game and wiki. it can only be bought in
Ina, Sky, Lum, Dra, Win.

It makes me made wrong decisions sometime. But I do not know how to correct it yet.

The locations aren't written down anywhere, they get updated when you visit cities, so the data is grabbed while you're playing.
However I got the same problem as you, I believe it comes from swapping between alts fast sometimes, or do stuff that might get the script confused as to what item gets bought in what city. Only way I've found to fix it is erasing all data (did it twice but annoying for me to gather the data back and re-track all the charms on my list so I kinda gave up on it.)
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Swata on 22:01:10 - 12/05/11
Sadly I still don't know why the data are sometimes messed up and therefore I'm unable fix it. BUT. You can export only static (shop/crafts) data from an uncorrupted source and import it in to your browser. Import does only overwrite, so what is not present in imported data is persisted.

Another possible approach is exporting personal data, wiping everything, importing PD again and let the static data recreate. But it is not designed that way and some PD references SD so that could cause problems until SD will be regenerated.

Or you can try to import following code as this is probably the thing that is corrupted.
Code: [Select]
ItemShops;;;2006;;Lum,,1003;;Eve,,2010;;Wil,,2009;;Tri,,1006;;Ina,,1007;;Lum,,1005;;Ina,,1010;;Tri,,1004;;Gae,,2005;;Ina,,1002;;Ecl,,2008;;Sky,,2013;;Lum;;Ina;;Zea,,2000;;Ale,,1012;;Win,,1000;;Ale,,2003;;Eve,,2011;;Win,,2007;;Nig,,1008;;Nig,,2004;;Gae,,1009;;Sky,,2002;;Ecl,,1011;;Wil,,1013;;Zea,,1014;;Zea,,2012;;Zea,,1001;;Dra,,2001;;Dra,,,DataVersion;;;110301
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Mm001 on 04:33:03 - 12/06/11
Sadly I still don't know why the data are sometimes messed up and therefore I'm unable fix it. BUT. You can export only static (shop/crafts) data from an uncorrupted source and import it in to your browser. Import does only overwrite, so what is not present in imported data is persisted.

Another possible approach is exporting personal data, wiping everything, importing PD again and let the static data recreate. But it is not designed that way and some PD references SD so that could cause problems until SD will be regenerated.

Or you can try to import following code as this is probably the thing that is corrupted.
Code: [Select]
ItemShops;;;2006;;Lum,,1003;;Eve,,2010;;Wil,,2009;;Tri,,1006;;Ina,,1007;;Lum,,1005;;Ina,,1010;;Tri,,1004;;Gae,,2005;;Ina,,1002;;Ecl,,2008;;Sky,,2013;;Lum;;Ina;;Zea,,2000;;Ale,,1012;;Win,,1000;;Ale,,2003;;Eve,,2011;;Win,,2007;;Nig,,1008;;Nig,,2004;;Gae,,1009;;Sky,,2002;;Ecl,,1011;;Wil,,1013;;Zea,,1014;;Zea,,2012;;Zea,,1001;;Dra,,2001;;Dra,,,DataVersion;;;110301
Just importing the string seems change nothing  :(  There are only a few errors so I may live with it. Recollecting data will be a pain.
Are the static data gathered by alts shared to others? If so, I may have a try.
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Swata on 19:32:29 - 12/06/11
Just importing the string seems change nothing  :(  There are only a few errors so I may live with it. Recollecting data will be a pain.
Are the static data gathered by alts shared to others? If so, I may have a try.

Yes, it is shared.
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Swata on 19:30:00 - 12/18/11
Update time! (http://userscripts.org/scripts/show/84207)

CraftHelper
- item crafts are now visible in inventory tooltips (with charms that are crafted from them)
- tracked crafts in inventory tooltips in different color
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Powerslave on 11:03:45 - 07/13/12
Hi,

I'm using the Tor browser lately (to circumvent stupid proxy settings at work :-) and all the scripts work (AiO, wikilinks, marketplace, ...) except MindTricks. It shows up in greasemonkey as active (I click on the greasemonkey button on the market page to check), but the extra menus just do not appear on the page. Any idea how to fix this?

Thanks
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Swata on 14:28:02 - 07/14/12
Does it shows JS errors from the GM scripts somewhere?
Script is launched from last line, so if there is any error in parsing/setting up ..

Also, if there is console.log, you may try to add some logs into functions like Launcher.Launch or Settings.Attach. You can edit the source code, right?
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Ziotackus on 09:55:42 - 11/29/12
It seems that Build Items ceased to work in Firefox 1.7... :(
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Swata on 21:43:13 - 11/29/12
It seems that Build Items ceased to work in Firefox 1.7... :(

Thanks for info, fixed (http://userscripts.org/scripts/show/65703).
Almost 3 years without maintenance and then FF introduces new JS parser .. :(
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Ziotackus on 08:53:18 - 11/30/12
Thanks for info, fixed (http://userscripts.org/scripts/show/65703).
Almost 3 years without maintenance and then FF introduces new JS parser .. :(

Taaanx! ;)
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Eschatos on 01:41:31 - 01/31/13
I was wondering, is there a way to import all vendors/shops into a fresh mind tricks install?
I wiped it all and my backup txt is gone too lol
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Ravenpaw on 18:04:54 - 01/31/13
I put a copy of mine here (http://www.speedyshare.com/aHARR/mind-tricks.txt). It's too large to send with a PM.
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Fabio on 19:05:02 - 01/31/13
I'm having some problem with this script...
everywhere it say me I have no object...
for example...
If I am on tracked charm it say:
Tattered Sapphire Chunk x5 (0)
Prismatic Soul Gem x2 (0)
Pristine Feather x3 (0)
Frozalium Ore x2 (0)

but I have all that things...and for all the charms listed is the same...
even on inventory when I put my mouse on an item it say:
Useful on following crafts:

[list of charms] all with (0)..even on charms that I'm sure I have xD
but the pourple thing of traked charms are working good...

some time I see some number for an half a second but after that it refresh and put (0) on all...

I was thinking it could be the browser...(ff19) but I downgraded again to 18 and nothing changed..
I also tryed to uninstall cccleaner and spybot S&D couse maybe they can block cookies (I think the script is cookie based) but nothing...
I also tryed to change storage from local to grease monkeys storage and back again few times trying several refresh but nothing...any help?
I love this script :([/list]
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Eschatos on 19:29:14 - 01/31/13
I put a copy of mine here (http://www.speedyshare.com/aHARR/mind-tricks.txt). It's too large to send with a PM.


Thanks man :)
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Fabio on 17:59:19 - 02/04/13
I'm having some problem with this script...
everywhere it say me I have no object...
for example...
If I am on tracked charm it say:
Tattered Sapphire Chunk x5 (0)
Prismatic Soul Gem x2 (0)
Pristine Feather x3 (0)
Frozalium Ore x2 (0)

but I have all that things...and for all the charms listed is the same...
even on inventory when I put my mouse on an item it say:
Useful on following crafts:

[list of charms] all with (0)..even on charms that I'm sure I have xD
but the pourple thing of traked charms are working good...

some time I see some number for an half a second but after that it refresh and put (0) on all...

I was thinking it could be the browser...(ff19) but I downgraded again to 18 and nothing changed..
I also tryed to uninstall cccleaner and spybot S&D couse maybe they can block cookies (I think the script is cookie based) but nothing...
I also tryed to change storage from local to grease monkeys storage and back again few times trying several refresh but nothing...any help?
I love this script :(

noone? :([/list]
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Swata on 20:55:26 - 02/05/13
Fabio: Sorry, missed it, I haven't noticed there were posts on next page too.

It seems that request to get inventory page or parsing of the response fails. It has nothing to do with storage, this part of the script is 'online'.

That numbers you can see when the page loads are from the time when the script/you visited the actual shop, thus outdated.

As the pages probably hasn't been updated, it seems that something is blocking the requests. You can try to look into error console (Ctrl+Shift+J) if there are any error regarding estiah, greasemonkey or mind tricks.

If you (or someone else) find out what to do to reproduce it, I can borrow my account back (stopped playing half year ago) and look into it. Without a way to reproduce it, that is all I can do.
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Powerslave on 21:36:38 - 02/05/13
Fabio: Sorry, missed it, I haven't noticed there were posts on next page too.

It seems that request to get inventory page or parsing of the response fails. It has nothing to do with storage, this part of the script is 'online'.

That numbers you can see when the page loads are from the time when the script/you visited the actual shop, thus outdated.

As the pages probably hasn't been updated, it seems that something is blocking the requests. You can try to look into error console (Ctrl+Shift+J) if there are any error regarding estiah, greasemonkey or mind tricks.

If you (or someone else) find out what to do to reproduce it, I can borrow my account back (stopped playing half year ago) and look into it. Without a way to reproduce it, that is all I can do.

I have the same problem since quite some time, but I could manage without it. There is no relevant error message in the console, but it may be connected to the updated js parser in firefox (see wl's allinone script thread for similar(?) problems). It would be still nice if you could fix it ;-)

Cheers
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Fabio on 01:51:12 - 02/06/13
Fabio: Sorry, missed it, I haven't noticed there were posts on next page too.

It seems that request to get inventory page or parsing of the response fails. It has nothing to do with storage, this part of the script is 'online'.

That numbers you can see when the page loads are from the time when the script/you visited the actual shop, thus outdated.

As the pages probably hasn't been updated, it seems that something is blocking the requests. You can try to look into error console (Ctrl+Shift+J) if there are any error regarding estiah, greasemonkey or mind tricks.

If you (or someone else) find out what to do to reproduce it, I can borrow my account back (stopped playing half year ago) and look into it. Without a way to reproduce it, that is all I can do.

I have the same problem since quite some time, but I could manage without it. There is no relevant error message in the console, but it may be connected to the updated js parser in firefox (see wl's allinone script thread for similar(?) problems). It would be still nice if you could fix it ;-)

Cheers
I fixed it... I don't know why but cheking FF's setting I found an uncheked box... third part cookies...probably some program I installed modified this setting...
but I had to wipe all plug in data and restore it to have it working :D
but now finally all work like a "charm"(the origin of this sentence is estiah rigth? :D)
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Powerslave on 10:24:49 - 02/06/13
I fixed it... I don't know why but cheking FF's setting I found an uncheked box... third part cookies...probably some program I installed modified this setting...
but I had to wipe all plug in data and restore it to have it working :D
but now finally all work like a "charm"(the origin of this sentence is estiah rigth? :D)

Hmmm... I prefer 3rd party cookies disabled (yeah, I'm kinda paranoid). Anyone knows a workaround for me?  :-[
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Sheira on 10:41:12 - 02/06/13
Add www.estiah.com to the exception list. AllInOne also needs this for some features.
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Powerslave on 11:00:37 - 02/06/13
Add www.estiah.com to the exception list. AllInOne also needs this for some features.
That just effing works! ;D WOOT!
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Swata on 20:51:21 - 02/06/13
Great, thanks people!

Yesterday it was too late to fix it (and borrow the account back) and now when I was going to, it's solved!
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Asahi on 06:55:48 - 10/11/14
When I update to win8, all mindtrick script become unable to use.  :P
Do any body know how to fix that?
I have another computer with win7 and it work fine....  :-\
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Gauss on 17:40:45 - 07/19/15
Sorry to necro this old thread, but I'm unable to get Mind Tricks working.  None of the parts seem to function, and the 'shop' in the market does not appear.  I've tried both a fresh install and copying over from a previous computer (where it does still function, possibly due to not having updated firefox/greasemonkey in months/years...?)

The console shows an error "GM_getValue is not defined", apparently from the line "Storage.GM.get = GM_getValue;"

Hope someone can help with this.

EDIT:  Nevermind, figured it out.  Had to add an @grant line for each of the GM_ APIs being used.
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Asahi on 02:38:21 - 07/26/15
Sorry to necro this old thread, but I'm unable to get Mind Tricks working.  None of the parts seem to function, and the 'shop' in the market does not appear.  I've tried both a fresh install and copying over from a previous computer (where it does still function, possibly due to not having updated firefox/greasemonkey in months/years...?)

The console shows an error "GM_getValue is not defined", apparently from the line "Storage.GM.get = GM_getValue;"

Hope someone can help with this.

EDIT:  Nevermind, figured it out.  Had to add an @grant line for each of the GM_ APIs being used.

May I ask how to fix this, please?
Just add @grant? Add this at where?  :o
Sorry I don't know anything about script coding... :P
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Gauss on 03:32:08 - 08/06/15
May I ask how to fix this, please?
Just add @grant? Add this at where?  :o
Sorry I don't know anything about script coding... :P

Sorry for delayed response, been too busy playing to check here...


Start by opening the Mind Tricks .js file in a text editor.  At the top of the file should be a block of code that looks something like this:
Quote from: Mind Tricks
// ==UserScript==
// @name           Estiah - Mind Tricks
// @namespace      SwataScripts
// @description    Collection of various extensions
// @include        http://www.estiah.com/*
// @exclude        http://www.estiah.com/
// @author         swata
// @version        111218.2
// ==/UserScript==

You need to add in lines so that it looks more like this:
Quote from: Mind Tricks fixed
// ==UserScript==
// @name           Estiah - Mind Tricks
// @namespace      SwataScripts
// @description    Collection of various extensions
// @grant          GM_getValue
// @grant          GM_setValue
// @grant          GM_deleteValue
// @grant          GM_listValues
// @grant          GM_log
// @grant          GM_xmlhttpRequest
// @include        http://www.estiah.com/*
// @exclude        http://www.estiah.com/
// @author         swata
// @version        111218.2
// ==/UserScript==

The exact position of the @grant lines shouldn't matter, but they need to be in that block of code.
Title: Re: Few more Greasemonkey scripts (Mind Tricks)
Post by: Asahi on 05:47:24 - 08/08/15
Got it!!
Finally Mind Trick back for me!!

Very very thanks~~~~~~~~~~~!!