Page 12 of 15

Re: GreaseMonkey'ing Cantr - customizing Cantr, clientside

Posted: Tue Sep 24, 2013 8:14 pm
by Chroma Key
I asked that question (about my own language) several months ago! :lol: It would be a huge help.

Re: GreaseMonkey'ing Cantr - customizing Cantr, clientside

Posted: Wed Sep 25, 2013 10:41 pm
by Greek
New version 2.1

- Support for Finnish
- Removed B&V grouping, because it's no longer needed
- Bookmarks/Highlights for buildings&vehicles work again

Re: GreaseMonkey'ing Cantr - customizing Cantr, clientside

Posted: Sun Oct 27, 2013 5:06 pm
by Greek
Please update to newest version 2.3 as soon as possible.

I'll introduce CE events page features to the game soon.

They are not compatible with old Cantr Enhanced version and will lead to serious errors.
New version is slightly faster and will make CE still work correctly after introducing mentioned features.

Re: GreaseMonkey'ing Cantr - customizing Cantr, clientside

Posted: Fri Nov 01, 2013 7:36 pm
by computaertist
Awesome interface changes, Greek! :mrgreen:

Spotted a little bug between CE version 2.3.0 and the changes, in Chrome: When left-clicking a name in a line with event grouping, it behaves as it did before the update instead of after it.

Re: GreaseMonkey'ing Cantr - customizing Cantr, clientside

Posted: Mon Sep 01, 2014 8:08 pm
by destinysWalrus
Is there any working way to get the greasemonkey script? Userscripts is broken, and I'm trying to make a script of my own - but I'm not sure how to get it to behave. An example that did work would be helpful.

Re: GreaseMonkey'ing Cantr - customizing Cantr, clientside

Posted: Mon Sep 01, 2014 9:15 pm
by Pies
If anybody else would be looking for ce script - I uploaded last version I had (2.4.0) - http://314es.pl/cantr_CE.js

have fun!
Pies

Re: GreaseMonkey'ing Cantr - customizing Cantr, clientside

Posted: Fri Oct 31, 2014 8:09 pm
by AniCator
I've updated Natso's old script to support some of Cantr's newer features.
You can get it here: https://openuserjs.org/scripts/AniCator/Cantr_Visual_Enhancer

Tested it using Greasemonkey (Firefox) and Tampermonkey (Chrome).

Updates:

Code: Select all

* Fixed real-time event support.
* Added support for character description boxes.
* Limited the amount of events the script translates on page load to speed it up. (limit is set to 100 now)

Re: GreaseMonkey'ing Cantr - customizing Cantr, clientside

Posted: Mon Nov 03, 2014 5:04 pm
by Doug R.
Is there a way to configure it? It changed my display preferences (I had emotes yellow instead of gray).

Re: GreaseMonkey'ing Cantr - customizing Cantr, clientside

Posted: Mon Nov 03, 2014 6:51 pm
by AniCator
Right now there isn't but I can add an option for it.
Were you using another script to make them yellow originally?

Re: GreaseMonkey'ing Cantr - customizing Cantr, clientside

Posted: Mon Nov 03, 2014 8:04 pm
by AniCator

Code: Select all

1.4.3
*Added a basic options menu that allows you to change the colour used for emotes.

Image Image

I added an option to change the emote colours. The value is saved as soon as you change it. It's pretty basic.
You will have to reload the page afterwards though.

PS: It can take some time before the script is updated from 1.4.2 to 1.4.3 on your local machine. It depends on your userscript update settings.

EDIT: I quickly updated the script another time. You don't have to reload the page for the color changes anymore. (1.4.4)

Re: GreaseMonkey'ing Cantr - customizing Cantr, clientside

Posted: Mon Nov 03, 2014 10:37 pm
by AniCator

Code: Select all

1.4.5
* Moved options to the bottom of the screen. (clicking on the bar makes the CVE options pop up)
* Added experimental color picker.
* Added preview text.
* Enabled CVE on all Cantr pages.

1.4.4
* Emote color changes now update instantly (no page reload required)

Re: GreaseMonkey'ing Cantr - customizing Cantr, clientside

Posted: Mon Nov 03, 2014 10:48 pm
by Bmot
Could it be that version 1.4.5 messed up the navigation buttons on the character page?

The row events-inventory- etc. buttons don't seem to work anymore, and neither do the whisper button thingies, or using enter to talk to all, all since I updated.

-edit: also, when I turn it off, all buttons are working again.

Re: GreaseMonkey'ing Cantr - customizing Cantr, clientside

Posted: Mon Nov 03, 2014 10:56 pm
by AniCator
Ah crap, you're right. Gonna look into it.

Re: GreaseMonkey'ing Cantr - customizing Cantr, clientside

Posted: Mon Nov 03, 2014 11:00 pm
by AniCator
Fixed it. Sorry for the spam. :p

Re: GreaseMonkey'ing Cantr - customizing Cantr, clientside

Posted: Tue Nov 04, 2014 2:28 pm
by Doug R.
AniCator wrote:Right now there isn't but I can add an option for it.
Were you using another script to make them yellow originally?


I was using the Interface menu under player settings, but it seems that the script supercedes those settings. This is what I have in my interface box:

Code: Select all

.cvee_emote {
color: #EEEE00;
font-style: italic;
}
.cvee_quote {
color: #ffffff;
}
.cvee_character {
color: #ff9700;
}
.cvee_event {
color: #999999;
}