Dominion Strategy Forum

Please login or register.

Login with username, password and session length
Pages: 1 ... 5 6 [7] 8 9 ... 72  All

Author Topic: Goko Dominion Salvager Discussion  (Read 598699 times)

0 Members and 3 Guests are viewing this topic.

Watno

  • Margrave
  • *****
  • Offline Offline
  • Posts: 2745
  • Shuffle iT Username: Watno
  • Respect: +2982
    • View Profile
Re: Dominion Online User Extension for Firefox and Chrome
« Reply #150 on: June 14, 2013, 06:11:19 am »
+2

Not sure what was wrong, but it works now.
Small request: Can you add the notification sound when someone joins to games without access limitation as well?

Edit: Also, the vp counter should tell your opponent about the command to check his score when it announces itself.
« Last Edit: June 14, 2013, 06:32:11 am by Watno »
Logged

yed

  • Minion
  • *****
  • Offline Offline
  • Posts: 620
  • Shuffle iT Username: yed
  • Respect: +571
    • View Profile
Re: Dominion Online User Extension for Firefox and Chrome
« Reply #151 on: June 14, 2013, 07:21:56 am »
0

Please add link to this thread to http://dom.retrobox.eu/vp.html so that people without extension can get it.
Logged

LastFootnote

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 7495
  • Shuffle iT Username: LastFootnote
  • Respect: +10721
    • View Profile
Re: Dominion Online User Extension for Firefox and Chrome
« Reply #152 on: June 14, 2013, 10:02:18 pm »
+1

I don't think putting #vpoff into my game titles is working anymore. Is that intentional?
Logged

joel88s

  • Young Witch
  • ****
  • Offline Offline
  • Posts: 140
  • Respect: +169
    • View Profile
Re: Dominion Online User Extension for Firefox and Chrome
« Reply #153 on: June 17, 2013, 12:30:31 pm »
+1

Wow, thanks so much, this is sensational!

I can't get the Kindgom Generator to work though. The window comes up, but whatever I type in it says Reference Error:set_parcer is not defined. Have only tried this playing againsts Bots so far. Any ideas what my problem is?


[EDIT: And now suddenly it works. Perhaps asking for help fixes the error? Pretty cool code if so.]

[RE-EDIT: And now same problem again. Perhaps announcing the error is fixed re-triggers the error? OK, I'm stumped.]
« Last Edit: June 17, 2013, 05:00:58 pm by joel88s »
Logged

Jdaki

  • Bishop
  • ****
  • Offline Offline
  • Posts: 118
  • Respect: +47
    • View Profile
Re: Dominion Online User Extension for Firefox and Chrome
« Reply #154 on: June 17, 2013, 05:54:14 pm »
+1

I had the same error. I worked out how to fix it- assuming you're on Chrome too. I clicked the little button to the right in the address bar- it says "run unsafe script" or something. It then crosses through the https bit of the address- but it makes the kingdom generator work...
Logged

joel88s

  • Young Witch
  • ****
  • Offline Offline
  • Posts: 140
  • Respect: +169
    • View Profile
Re: Dominion Online User Extension for Firefox and Chrome
« Reply #155 on: June 17, 2013, 06:48:50 pm »
0

Wow, that totally works! (And yes it's also Chrome.) Great fix, many thanks.
Logged

michaeljb

  • Board Moderator
  • *
  • Offline Offline
  • Posts: 1422
  • Shuffle iT Username: michaeljb
  • Respect: +2113
    • View Profile
Re: Dominion Online User Extension for Firefox and Chrome
« Reply #156 on: June 17, 2013, 08:47:46 pm »
0

Yes, in the Chrome version, the set parser script is loaded from http://dom.retrobox.eu/js/1.0.0/set_parser.js rather than being part of the extension itself (weird issues with how Chrome extension js files are executed compared to Firefox). Just make sure that if you're agreeing to run an "unsafe" script, it's the right unsafe script  :P
Logged
🚂 Give 18xx games a chance 🚂

yed

  • Minion
  • *****
  • Offline Offline
  • Posts: 620
  • Shuffle iT Username: yed
  • Respect: +571
    • View Profile
Re: Dominion Online User Extension for Firefox and Chrome
« Reply #157 on: June 18, 2013, 04:55:21 am »
0

Why don't you make this script part of the GM Firefox Script and Chrome Extension?
Logged

michaeljb

  • Board Moderator
  • *
  • Offline Offline
  • Posts: 1422
  • Shuffle iT Username: michaeljb
  • Respect: +2113
    • View Profile
Re: Dominion Online User Extension for Firefox and Chrome
« Reply #158 on: June 18, 2013, 08:20:43 pm »
0

It already is part of the GM Firefox Script. It's not part of the Chrome Extension because of difficulties with how Chrome extensions deal with content scripts...basically the most straightforward way to do that would just be to throw the set parser code right into the main script, which is kind of unwieldy, but since loading it externally is causing problems, it might be worth it anyway.
Logged
🚂 Give 18xx games a chance 🚂

michaeljb

  • Board Moderator
  • *
  • Offline Offline
  • Posts: 1422
  • Shuffle iT Username: michaeljb
  • Respect: +2113
    • View Profile
Re: Dominion Online User Extension for Firefox and Chrome
« Reply #159 on: June 19, 2013, 03:24:02 am »
+2

Version 1.15.1 published
- the contents of set_parser have been added to the main script to avoid issues some users were having with loading potentially unsafe scripts from other sites
- personal blacklist
-- there is a textarea in the user settings window now; to add players to your personal blacklist, just type in one username per line (case-sensitive)
-- blacklisted players will be auto-booted when joining games you host
-- blacklisted players will not be visible in the player list in the lobbies
-- you will not see chat messages in the lobby from blacklisted players
-- tables/games in the lobby will be hidden if any blacklisted players have joined, unless you have already joined that game. For instance, if someone else is hosting a 3 player game that you have joined, and someone on your blacklist takes the last spot, it will be possible to actually start the game with them. I don't know the best way to handle this case so I figured I'd leave it open and ask the forum. Maybe autoboot yourself in that scenario? Please let me know how you think we should deal with this.

Firefox users who would like to try out the blacklist can get it from my firefox-new branch. No idea what you need to do set it up with Grease Monkey, and it's completely untested on Firefox. Just took all the blacklist-related commits and squashed them down to one.
Logged
🚂 Give 18xx games a chance 🚂

yed

  • Minion
  • *****
  • Offline Offline
  • Posts: 620
  • Shuffle iT Username: yed
  • Respect: +571
    • View Profile
Re: Dominion Online User Extension for Firefox and Chrome
« Reply #160 on: June 19, 2013, 04:59:25 am »
0

It already is part of the GM Firefox Script.
It is not part of it. It loads external script like this:
// @require     http://dom.retrobox.eu/js/1.0.0/set_parser.js
Logged

Tombolo

  • Tactician
  • *****
  • Offline Offline
  • Posts: 439
  • Respect: +450
    • View Profile
Re: Dominion Online User Extension for Firefox and Chrome
« Reply #161 on: June 19, 2013, 07:54:43 am »
0

The point tracker/log seems to have suddenly stopped displaying.  I'm not sure if I did something or what, but I'm on Chrome, and the extension is still working to some extent because it displays the automated message when I type #vpon, and the kingdom generator still pops up.

Also, this is awesome, thanks for doing it!

Also, would it be possible to have some sort of auto-on thing for the point tracker when playing bots?  I'm playing with bots a lot and I keep forgetting and it's kinda annoying to type it every time anyway.  :P
Logged
We’ve had a hard day at work, we’ve been looking forward to our Dominion, how can you expect us to play anything else, you ogre.

shark_bait

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1103
  • Shuffle iT Username: shark_bait
  • Luckyfin and Land of Hinter for iso aliases
  • Respect: +1868
    • View Profile
Re: Dominion Online User Extension for Firefox and Chrome
« Reply #162 on: June 19, 2013, 07:57:37 am »
0

The log has disappeared for me too, don't know what's going on.  If anyone could help that'd be great.
Logged
Hello.  Name's Bruce.  It's all right.  I understand.  Why trust a shark, right?

Is quite curious - Who is the mystical "Celestial Chameleon"?

Watno

  • Margrave
  • *****
  • Offline Offline
  • Posts: 2745
  • Shuffle iT Username: Watno
  • Respect: +2982
    • View Profile
Re: Dominion Online User Extension for Firefox and Chrome
« Reply #163 on: June 19, 2013, 08:02:47 am »
0

Did you check in the options screen wether it's turned on (user settings on the main menu)?
Logged

EgorK

  • Apprentice
  • *****
  • Offline Offline
  • Posts: 272
  • Respect: +74
    • View Profile
Re: Dominion Online User Extension for Firefox and Chrome
« Reply #164 on: June 19, 2013, 08:24:45 am »
0

Log stoped working for me as well. I do not see any errors in js console
Logged

shark_bait

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1103
  • Shuffle iT Username: shark_bait
  • Luckyfin and Land of Hinter for iso aliases
  • Respect: +1868
    • View Profile
Re: Dominion Online User Extension for Firefox and Chrome
« Reply #165 on: June 19, 2013, 09:20:30 am »
0

Did you check in the options screen wether it's turned on (user settings on the main menu)?

There is no check box for the in game log from the user settings menu.  So I dunno how to fix it.
Logged
Hello.  Name's Bruce.  It's all right.  I understand.  Why trust a shark, right?

Is quite curious - Who is the mystical "Celestial Chameleon"?

jsh357

  • Margrave
  • *****
  • Offline Offline
  • Posts: 2577
  • Shuffle iT Username: jsh357
  • Respect: +4340
    • View Profile
    • JSH Gaming: Original games
Re: Dominion Online User Extension for Firefox and Chrome
« Reply #166 on: June 19, 2013, 09:21:51 am »
+1

Cool, now I can blacklist Serf Bot!
Logged
Join the Dominion community Discord channel! Chat in text and voice; enter dumb tournaments; spy on top players!

https://discord.gg/2rDpJ4N

michaeljb

  • Board Moderator
  • *
  • Offline Offline
  • Posts: 1422
  • Shuffle iT Username: michaeljb
  • Respect: +2113
    • View Profile
Re: Dominion Online User Extension for Firefox and Chrome
« Reply #167 on: June 19, 2013, 10:31:59 am »
0

hmmm, the log seems to be working fine for me. First you should make sure you only have one version of the extension enabled (if you only ever got it from the store, this shouldn't apply, but if you ever installed one through "Load unpacked extension" it might).

If that doesn't fix it, maybe this could help?
- go to Chrome's Settings
- click "Clear browsing data"
- check "Delete cookies and other site and plug-in data"
- reload playdominion.com

This will delete your cookies for other sites too, so you'll lose auto-login info and stuff like that, and since I'm not getting the same problem I'm not sure this will actually fix it...would be easier to help if I was having the same issue... :/
Logged
🚂 Give 18xx games a chance 🚂

michaeljb

  • Board Moderator
  • *
  • Offline Offline
  • Posts: 1422
  • Shuffle iT Username: michaeljb
  • Respect: +2113
    • View Profile
Re: Dominion Online User Extension for Firefox and Chrome
« Reply #168 on: June 19, 2013, 10:33:14 am »
0

It already is part of the GM Firefox Script.
It is not part of it. It loads external script like this:
// @require     http://dom.retrobox.eu/js/1.0.0/set_parser.js

Oh. Probably this then:

basically the most straightforward way to do that would just be to throw the set parser code right into the main script, which is kind of unwieldy

Also if you look at the jison documentation, they recommend keeping the generated parser in a separate script.
Logged
🚂 Give 18xx games a chance 🚂

EgorK

  • Apprentice
  • *****
  • Offline Offline
  • Posts: 272
  • Respect: +74
    • View Profile
Re: Dominion Online User Extension for Firefox and Chrome
« Reply #169 on: June 19, 2013, 12:17:51 pm »
0

Purging goko cookies had not helped, I do not see how removing all can
Logged

HiveMindEmulator

  • Mountebank
  • *****
  • Offline Offline
  • Posts: 2222
  • Respect: +2118
    • View Profile
Re: Dominion Online User Extension for Firefox and Chrome
« Reply #170 on: June 19, 2013, 12:39:23 pm »
0

Yeah, I have the same no log problem. The latest update must have broken something...
Logged

LastFootnote

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 7495
  • Shuffle iT Username: LastFootnote
  • Respect: +10721
    • View Profile
Re: Dominion Online User Extension for Firefox and Chrome
« Reply #171 on: June 19, 2013, 12:58:15 pm »
0

Hmm, I can still see the log fine. Weird. I'm on OSX 10.7.5 and running Chrome 27.0.1453.116.
Logged

Rabid

  • Jester
  • *****
  • Offline Offline
  • Posts: 840
  • Shuffle iT Username: Rabid
  • Respect: +643
    • View Profile
Re: Dominion Online User Extension for Firefox and Chrome
« Reply #172 on: June 19, 2013, 01:04:45 pm »
0

Mine wasn't working about a week ago.
User setting something like "show in game log" fixed it.
But that user setting no longer seems to be available.
Logged
Twitch
1 Day Cup #1:Ednever

michaeljb

  • Board Moderator
  • *
  • Offline Offline
  • Posts: 1422
  • Shuffle iT Username: michaeljb
  • Respect: +2113
    • View Profile
Re: Dominion Online User Extension for Firefox and Chrome
« Reply #173 on: June 19, 2013, 01:12:12 pm »
0

Yeah, that user setting didn't work right, so I took it out after nutki published Version 15. Maybe there's an issue with your user settings because of that? When you're on Goko's site, opening up the Chrome Developer Tools console and typing in "delete localStorage.userOptions" will clear all the options you have saved with the extension, so you'll have to go into the settings window again and rename your created games and whatever else there is. Once again, don't know if that will fix it, I'm kind of just taking shots in the dark here...

Hmm, I can still see the log fine. Weird. I'm on OSX 10.7.5 and running Chrome 27.0.1453.116.

Same.
Logged
🚂 Give 18xx games a chance 🚂

HiveMindEmulator

  • Mountebank
  • *****
  • Offline Offline
  • Posts: 2222
  • Respect: +2118
    • View Profile
Re: Dominion Online User Extension for Firefox and Chrome
« Reply #174 on: June 19, 2013, 01:14:10 pm »
0

Hmm, I can still see the log fine. Weird. I'm on OSX 10.7.5 and running Chrome 27.0.1453.116.
Mine doesn't work for Chrome 27.0.1453.116 in Windows 7, but it was working yesterday, if that helps.
Logged
Pages: 1 ... 5 6 [7] 8 9 ... 72  All
 

Page created in 0.061 seconds with 21 queries.