GreaseMonkey'ing Cantr - customizing Cantr, clientside

General out-of-character discussion among players of Cantr II.

Moderators: Public Relations Department, Players Department, Players Department Trainee

User avatar
Doug R.
Posts: 14857
Joined: Wed Mar 23, 2005 6:56 pm
Contact:

Re: GreaseMonkey'ing Cantr - customizing Cantr, clientside

Postby Doug R. » Tue Nov 04, 2014 2:29 pm

Wait, that box was put there by the old version, Cantr Visual Event Enhancement, Advanced Edition (Some Assembly Required) 1.0.

Is your script an update to that, or is it an update to something I didn't install? I'm a bit confused.

Edit: I'm using Chrome on a Mac and the show/save settings doesn't come up for me.

http://gyazo.com/fb16b650fc01e32bcba14e23ee328312
http://gyazo.com/db38ae399cbf8e09350e65ff79c93f34
Hamsters is nice. ~Kaylee, Firefly
User avatar
AniCator
Posts: 114
Joined: Mon Jun 10, 2013 5:34 pm
Location: The Netherlands
Contact:

Re: GreaseMonkey'ing Cantr - customizing Cantr, clientside

Postby AniCator » Tue Nov 04, 2014 3:45 pm

Code: Select all

1.4.8
* Added support for enabling and disabling the different modes of emote detection.
* Cleaned up the CVE UI.
* Made the CVE bar light up when the mouse is hovering over it.
* Added sound that plays when an event is received. (disabled by default, tested on Chrome only)
* Removed the slideUp and slideDown code, replaced it with the snappier display:none and display:block (for compatibility reasons)
* Added code that should detect if the user has written their own cvee_emote, cvee_character and cvee_event classes in Player Settings -> Interface

https://openuserjs.org/scripts/AniCator/Cantr_Visual_Enhancer

Try updating to 1.4.8, Doug. Hopefully that one will work as expected and respect your style overrides.
User avatar
Doug R.
Posts: 14857
Joined: Wed Mar 23, 2005 6:56 pm
Contact:

Re: GreaseMonkey'ing Cantr - customizing Cantr, clientside

Postby Doug R. » Wed Nov 05, 2014 6:18 pm

Thanks!
Hamsters is nice. ~Kaylee, Firefly
User avatar
AniCator
Posts: 114
Joined: Mon Jun 10, 2013 5:34 pm
Location: The Netherlands
Contact:

Re: GreaseMonkey'ing Cantr - customizing Cantr, clientside

Postby AniCator » Tue Nov 11, 2014 5:35 pm

Been experimenting with extracting information from the wiki:
Image

Main problem right now is the fact that the wiki runs using an SSL certificate from intro.cantr.net so initially you can't get the information.
User avatar
Greek
Programming Dept. Member/Translator-Polish
Posts: 4702
Joined: Mon Feb 13, 2006 5:41 pm
Location: Kraków, Poland
Contact:

Re: GreaseMonkey'ing Cantr - customizing Cantr, clientside

Postby Greek » Sat Jan 10, 2015 1:48 pm

Cantr Enhanced rehosted on greasefork:

https://greasyfork.org/pl/scripts/7409-cantr-enhanced

I hope it works.
‘Never! Run before you walk! Fly before you crawl! Keep moving forward! You think we should try to get a decent mail service in the city. I think we should try to send letters anywhere in the world! Because if we fail, I’d rather fail really hugely’
User avatar
Pies
Programming Dept. Member
Posts: 383
Joined: Sat Nov 29, 2008 1:32 pm
Location: https://314es.pl/irc
Contact:

Re: GreaseMonkey'ing Cantr - customizing Cantr, clientside

Postby Pies » Sat Jan 10, 2015 2:22 pm

AniCator wrote:Main problem right now is the fact that the wiki runs using an SSL certificate from intro.cantr.net so initially you can't get the information.


Why you didn't send me any pm? :<
It's something what can be fixed, I believe I'll be good before Monday.
dwudziestoletni mężczyzna wrote:"OOC: Jak ci się nie podoba, to nie graj. Ta gra nie szuka więcej graczy."

kaloryfer wrote:This game already has a lot of problems, new players would only bring new ones.
User avatar
Bmot
Translator-Dutch (PR)
Posts: 2304
Joined: Sat Jun 30, 2012 3:59 pm
Location: The Hague - Netherlands

Re: GreaseMonkey'ing Cantr - customizing Cantr, clientside

Postby Bmot » Mon Feb 16, 2015 11:09 pm

Greek wrote:Cantr Enhanced rehosted on greasefork:

https://greasyfork.org/pl/scripts/7409-cantr-enhanced

I hope it works.


It works fine :) But is there any way to switch off individual functions? I don't really like the colouring of names...
Genie wrote:Liking Cantr is a bit like liking cats. Sometimes you enjoy it and you have good time together, sometimes it hurts you, annoys you very much or sleeps all the day, you still keep a bond with it.
User avatar
Raynus
Posts: 1610
Joined: Sun Oct 06, 2013 2:10 pm

Re: GreaseMonkey'ing Cantr - customizing Cantr, clientside

Postby Raynus » Tue Feb 17, 2015 3:55 am

Bmot wrote:
Greek wrote:Cantr Enhanced rehosted on greasefork:

https://greasyfork.org/pl/scripts/7409-cantr-enhanced

I hope it works.


It works fine :) But is there any way to switch off individual functions? I don't really like the colouring of names...


Turn off curiosities in account settings, then you'll be able to see CE settings.
User avatar
Bmot
Translator-Dutch (PR)
Posts: 2304
Joined: Sat Jun 30, 2012 3:59 pm
Location: The Hague - Netherlands

Re: GreaseMonkey'ing Cantr - customizing Cantr, clientside

Postby Bmot » Tue Feb 17, 2015 4:38 am

Raynus wrote:
Bmot wrote:
Greek wrote:Cantr Enhanced rehosted on greasefork:

https://greasyfork.org/pl/scripts/7409-cantr-enhanced

I hope it works.


It works fine :) But is there any way to switch off individual functions? I don't really like the colouring of names...


Turn off curiosities in account settings, then you'll be able to see CE settings.


Ah, no, it was because my Cantr account was set in Dutch that it didn't show the options. Still, thanks!
Genie wrote:Liking Cantr is a bit like liking cats. Sometimes you enjoy it and you have good time together, sometimes it hurts you, annoys you very much or sleeps all the day, you still keep a bond with it.
User avatar
AniCator
Posts: 114
Joined: Mon Jun 10, 2013 5:34 pm
Location: The Netherlands
Contact:

Re: GreaseMonkey'ing Cantr - customizing Cantr, clientside

Postby AniCator » Thu Oct 08, 2015 6:40 pm

I've updated the Cantr Visual Enhancer so that it works with the new way Cantr events work now.
Cantr has been acting a little weird lately though when it comes to its AJAX calls. I've seen UI elements vanish and pop back in a lot.
https://openuserjs.org/scripts/AniCator/Cantr_Visual_Enhancer
User avatar
Marian
Posts: 3190
Joined: Thu Dec 15, 2005 12:16 am

Re: GreaseMonkey'ing Cantr - customizing Cantr, clientside

Postby Marian » Sun Jan 03, 2016 1:01 am

Is anyone else having issues with Cantr Enhanced all of a sudden?

[quoteSelect language. It is enough to select it from the list, refresh page and it will be saved.
If you would like to change language in the future or disable some modules you can click on the text [Cantr Enhanced options] below.[/quote] is all crammed in a tiny box on the left side of the screen within the Character List section, and it's shoving my actual char names further down.

I'll see if I can get a screenshot up later.
Millhouse
Posts: 498
Joined: Sat Jun 13, 2015 1:32 am

Re: GreaseMonkey'ing Cantr - customizing Cantr, clientside

Postby Millhouse » Tue Jan 05, 2016 3:55 pm

Yes, same problem.
User avatar
Greek
Programming Dept. Member/Translator-Polish
Posts: 4702
Joined: Mon Feb 13, 2006 5:41 pm
Location: Kraków, Poland
Contact:

Re: GreaseMonkey'ing Cantr - customizing Cantr, clientside

Postby Greek » Tue Jan 05, 2016 9:08 pm

It's caused by change of HTML structure of Cantr page.
I'll fix Cantr Enhanced later, because there are going to be much more changes and it'd need to be fixed again anyway.
‘Never! Run before you walk! Fly before you crawl! Keep moving forward! You think we should try to get a decent mail service in the city. I think we should try to send letters anywhere in the world! Because if we fail, I’d rather fail really hugely’
Millhouse
Posts: 498
Joined: Sat Jun 13, 2015 1:32 am

Re: GreaseMonkey'ing Cantr - customizing Cantr, clientside

Postby Millhouse » Wed Jan 06, 2016 12:15 am

I was able to get the big box to go away by picking polish from the drop down and refreshing. You can change the language back by going into Cantr Enhanced options.
User avatar
Marian
Posts: 3190
Joined: Thu Dec 15, 2005 12:16 am

Re: GreaseMonkey'ing Cantr - customizing Cantr, clientside

Postby Marian » Wed Jan 13, 2016 12:59 am

Not to nag but any idea when Cantr Enhanced will be working again now that all the changes have been made? I hadn't realized how dependent I was on it. I can barely find my vehicles now, and standing around while people are dragging items around? Yikes. :shock:

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest