Dominion Strategy Forum

Please login or register.

Login with username, password and session length
Pages: [1]

Author Topic: Bazaar fixed (simulator)  (Read 10120 times)

0 Members and 1 Guest are viewing this topic.

Geronimoo

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1059
  • Respect: +868
    • View Profile
    • Geronimoo's Dominion Simulator
Bazaar fixed (simulator)
« on: August 26, 2011, 05:08:27 am »
0

I fixed the Bazaar bug in the simulator (it was often not played if there were other actions in hand). Download it here.
Logged

DG

  • Governor
  • *****
  • Offline Offline
  • Posts: 4074
  • Respect: +2624
    • View Profile
Re: Bazaar fixed (simulator)
« Reply #1 on: August 29, 2011, 09:47:42 am »
0

You may need to check what the automated players are doing to silver in the latest version(s). They tend to be trashing it at the wrong times in advance of copper with bishops and other cards. They are also often trashing it unnecessarily.


Code: [Select]
*** _Salvager(Plr 1)'s turn 10 ***
_Salvager(Plr 1)'s cards in Hand: [Copper, Copper, Salvager, Copper, Silver]
_Salvager(Plr 1) plays Salvager
... _Salvager(Plr 1) gets +1 buys
... _Salvager(Plr 1) trashes a Silver
... _Salvager(Plr 1) gets +$3
_Salvager(Plr 1) plays 3 Coppers
_Salvager(Plr 1) has $6 to spend and 2 buys
_Salvager(Plr 1) buys a Duchy
_Salvager(Plr 1) buys NOTHING!
_Salvager(Plr 1) draws 5 cards
_Salvager(Plr 1)'s cards in Hand: [Silver, Courtyard, Copper, Silver, Gold]
Logged

Geronimoo

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1059
  • Respect: +868
    • View Profile
    • Geronimoo's Dominion Simulator
Re: Bazaar fixed (simulator)
« Reply #2 on: August 29, 2011, 09:58:55 am »
0

Salvager's code is quite bad indeed and it will trash Silver at odd times, but I don't think there's really a problem with Silver and other cards (Bishop for instance should never trash Silver before Copper).
Do you have more logs that indicate something's wrong with Silver trashing?
Logged

DG

  • Governor
  • *****
  • Offline Offline
  • Posts: 4074
  • Respect: +2624
    • View Profile
Re: Bazaar fixed (simulator)
« Reply #3 on: August 29, 2011, 10:21:43 am »
0

I had a lot of trouble simulating the various cards mentioned in this thread http://forum.dominionstrategy.com/index.php?topic=535.0. The warehouse, bishop, vault, shanty town combinations were misfiring all the time and the bots frequently got stuck trashing and buying silver (or warehouses).
Logged

DG

  • Governor
  • *****
  • Offline Offline
  • Posts: 4074
  • Respect: +2624
    • View Profile
Re: Bazaar fixed (simulator)
« Reply #4 on: August 29, 2011, 10:23:13 am »
0

There also seems to be an interface error using the trashcan icon on the main screen to delete a script. It sometimes deletes more than row.
Logged

burgerboy123

  • Pawn
  • **
  • Offline Offline
  • Posts: 1
  • Respect: +1
    • View Profile
Re: Bazaar fixed (simulator)
« Reply #5 on: January 21, 2015, 02:46:43 am »
+1

The RebuildDuke strategy file is called RebuildDuchy.cs, which is a bit confusing :)
2. The card type of Ruins is called "Ruin", but the proper term is actually "Ruins"
Logged
adil

pacovf

  • Cartographer
  • *****
  • Offline Offline
  • Posts: 3500
  • Multiediting poster
  • Respect: +3838
    • View Profile
Re: Bazaar fixed (simulator)
« Reply #6 on: January 21, 2015, 05:21:09 am »
0

3 and a half year necro... I think we have a winner!

burgerboy, welcome to the Forum. Have you checked the Forum Games?
Logged
pacovf has a neopets account.  It has 999 hours logged.  All his neopets are named "Jessica".  I guess that must be his ex.
Pages: [1]
 

Page created in 0.047 seconds with 20 queries.