GreaseMonkey'ing Cantr - customizing Cantr, clientside
Moderators: Public Relations Department, Players Department
- Chroma Key
- Posts: 1667
- Joined: Sat Apr 24, 2010 11:40 pm
Re: GreaseMonkey'ing Cantr - customizing Cantr, clientside
I asked that question (about my own language) several months ago! It would be a huge help.
"She could make something sound stupid just by hearing it.”
"For a short moment there, you almost sounded human."
"For a short moment there, you almost sounded human."
- Greek
- Programming Dept. Member/Translator-Polish
- Posts: 4726
- Joined: Mon Feb 13, 2006 5:41 pm
- Location: Kraków, Poland
- Contact:
Re: GreaseMonkey'ing Cantr - customizing Cantr, clientside
New version 2.1
- Support for Finnish
- Removed B&V grouping, because it's no longer needed
- Bookmarks/Highlights for buildings&vehicles work again
- Support for Finnish
- Removed B&V grouping, because it's no longer needed
- Bookmarks/Highlights for buildings&vehicles work again
‘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’
- Greek
- Programming Dept. Member/Translator-Polish
- Posts: 4726
- Joined: Mon Feb 13, 2006 5:41 pm
- Location: Kraków, Poland
- Contact:
Re: GreaseMonkey'ing Cantr - customizing Cantr, clientside
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.
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.
‘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’
- computaertist
- Posts: 674
- Joined: Sun Dec 30, 2012 3:33 am
Re: GreaseMonkey'ing Cantr - customizing Cantr, clientside
Awesome interface changes, Greek!
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.
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.
Mark Twain wrote:Truth is stranger than fiction, but it is because Fiction is obliged to stick to possibilities; Truth isn't.
- destinysWalrus
- Posts: 243
- Joined: Wed Oct 23, 2013 12:03 am
- Location: Southern California
Re: GreaseMonkey'ing Cantr - customizing Cantr, clientside
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.
- 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
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
have fun!
Pies
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.
- AniCator
- Posts: 114
- Joined: Mon Jun 10, 2013 5:34 pm
- Location: The Netherlands
- Contact:
Re: GreaseMonkey'ing Cantr - customizing Cantr, clientside
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:
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)
- Doug R.
- Posts: 14857
- Joined: Wed Mar 23, 2005 6:56 pm
- Contact:
Re: GreaseMonkey'ing Cantr - customizing Cantr, clientside
Is there a way to configure it? It changed my display preferences (I had emotes yellow instead of gray).
Hamsters is nice. ~Kaylee, Firefly
- AniCator
- Posts: 114
- Joined: Mon Jun 10, 2013 5:34 pm
- Location: The Netherlands
- Contact:
Re: GreaseMonkey'ing Cantr - customizing Cantr, clientside
Right now there isn't but I can add an option for it.
Were you using another script to make them yellow originally?
Were you using another script to make them yellow originally?
- AniCator
- Posts: 114
- Joined: Mon Jun 10, 2013 5:34 pm
- Location: The Netherlands
- Contact:
Re: GreaseMonkey'ing Cantr - customizing Cantr, clientside
Code: Select all
1.4.3
*Added a basic options menu that allows you to change the colour used for emotes.
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)
- AniCator
- Posts: 114
- Joined: Mon Jun 10, 2013 5:34 pm
- Location: The Netherlands
- Contact:
Re: GreaseMonkey'ing Cantr - customizing Cantr, clientside
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)
- Bmot
- Game Mechanics Chair / HR/PD Member
- Posts: 2631
- Joined: Sat Jun 30, 2012 3:59 pm
- Location: The Hague - Netherlands
Re: GreaseMonkey'ing Cantr - customizing Cantr, clientside
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.
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.
Richard Dawkins wrote:We privileged few, who won the lottery of birth against all odds, how dare we whine at our inevitable return to that prior state from which the vast majority have never stirred?
- AniCator
- Posts: 114
- Joined: Mon Jun 10, 2013 5:34 pm
- Location: The Netherlands
- Contact:
Re: GreaseMonkey'ing Cantr - customizing Cantr, clientside
Ah crap, you're right. Gonna look into it.
- AniCator
- Posts: 114
- Joined: Mon Jun 10, 2013 5:34 pm
- Location: The Netherlands
- Contact:
Re: GreaseMonkey'ing Cantr - customizing Cantr, clientside
Fixed it. Sorry for the spam. :p
- Doug R.
- Posts: 14857
- Joined: Wed Mar 23, 2005 6:56 pm
- Contact:
Re: GreaseMonkey'ing Cantr - customizing Cantr, clientside
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;
}
Hamsters is nice. ~Kaylee, Firefly
Return to “General Discussion”
Who is online
Users browsing this forum: No registered users and 1 guest