• Visit Honorbuddy
  • Visit Rebornbuddy
  • Visit Demonbuddy
  • Visit Exilebuddy
  • Visit Hearthbuddy
  • Visit Pokefarmer
  • Visit Buddystore

Sepefeets Silverfish update (WotOG)

Discussion in 'Community Developer Forum' started by sepefeet, Jul 7, 2016.

  1. sepefeet

    sepefeet New Member

    Joined:
    Jan 20, 2016
    Messages:
    122
    Likes Received:
    1
    Trophy Points:
    0
    Not your game settings, your silverfish settings in settings.txt. My defaults are much higher than HsB's (although mine also has some optimizations HsB's doesn't) and most of the deck configs that other users create have excessively high settings because they have fast CPU's that can handle it.

    The behavior is controlled in settings.txt so just ignore the GUI for it. Aggro can use "rush" (aggressive) or "face" (very aggressive) and midrange should use "control" behavior but I'd strongly recommend starting out with some of the premade user configs. Pretty much everything except the old mid hunter has been botted to rank 5 this month although the season is about to end and may already have in your region...
     
  2. Iso

    Iso Member

    Joined:
    Sep 30, 2014
    Messages:
    323
    Likes Received:
    5
    Trophy Points:
    18
    SilverLog_2016-12-20_00-56-24
    start calculations, current time: 01:04:24:5468 Maelstrom then Hero Power
    SilverLog_2016-12-20_01-21-08
    Turn 9 L.Bolt instead of L.Storm on 3 targets
    SilverLog_2016-12-20_01-31-29
    Too conservative with AoE
    SilverLog_2016-12-20_01-50-30
    start calculations, current time: 02:00:19:0276 Killed 3/1 Peacekeepr instead of 3/1 Wild Pyro
    SilverLog_2016-12-20_02-05-25
    Turn 5: Dont SMOrc people into face with 2 x L.Bolt just coz u can
     

    Attached Files:

  3. cyo123

    cyo123 New Member Legendary

    Joined:
    Dec 3, 2014
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Thanks!
     
  4. GeneLu

    GeneLu New Member

    Joined:
    Dec 9, 2016
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    0
    Do you plan to add new decks like pirate-dragon warrior?I think that is a better deck than old dragon warrior or pure pirate.thx
     
  5. ShaitanB

    ShaitanB New Member

    Joined:
    Oct 8, 2016
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Im totally noob in this things soo i need some your help

    1. Im find settings.txt file but dont know what i need to change

    enfacehp = 15; //hp of enemy when your hero is allowed to attack the enemy face with his weapon
    maxwide = 5000; //number of boards which are taken to the next deep-lvl where another move may be added to them
    twotsamount = 1000; //number of boards where the next turn is simulated
    simEnemySecondTurn = true; //simulate a 2nd enemy turn (might have been removed?)
    playarround = false; //play around some enemy aoe spells?
    playaroundprob = 50; //probability where the enemy plays the aoe spell but your minions are forced to survive
    playaroundprob2 = 80; //probability where the enemy plays the aoe spell and your minions can die!
    enemyTurnMaxWide = 40; //boards calculated in enemy first turn in first AI step (lower than enemySecondTurnMaxWide)
    enemyTurnMaxWideSecondTime = 200; //boards calculated in enemys-first-turn BUT in the second AI step (higher than enemyTurnMaxWide)
    enemySecondTurnMaxWide = 40; //number of enemy boards calculated in enemys second TURN (might have been removed?)
    nextTurnDeep = 6; //maximum deep-lvls (total moves) in your second turn (recommended = dont touch this)
    nextTurnMaxWide = 20; //maximum boards calculated in one second turn deep-lvl
    nextTurnTotalBoards = 200; //maximum boards calculated in second turn simulation
    useSecretsPlayArround = false; //try to play around enemy secrets
    alpha = 50; //weight in % of your 2nd turn vs your 1st (0<= alpha <= 100) eg. 30 = 30% 2nd turn result + 70% first turn result
    simulatePlacement = true; //simulate all placements for direwolfalpha/flametongue/defenderofargus
    behave = control; //select the behavior of the ai: control, rush, face (new) or mana (very experimental, dont use that )


    // everything below is recommended to only be in your base settings.txt because they are personal choices
    // some may purposefully not reload with auto-config-switching
    // deck builders please start omitting these from your deck specific settings

    useExternalProcess = true; //use silver.exe for calculations, a lot faster than turning it off (recommended = true)
    concedeOnBadBoard = false; //concede if the enemy board is too good (recommended = false)
    //concedeOnBoardValue = -900 //concedeOnBadBoard will trigger if our best board is lower value than this (recommended = dont touch this)
    speed = false; //set this true to support sending multiple actions to bot (currently buggy so forced false)
    useNetwork = false; //use networking to communicate with silver.exe instead of a file (experimental, likely to fail after some time)
    netAddress = 127.0.0.1; //network address where silver.exe is running (127.0.0.1 = this computer)
    tcpPort = 14804; //tcp port to connect on

    2. When i change deck i need to change behavior in this line behave = control; //select the behavior of the ai: control, rush, face (new) or mana (very experimental, dont use that ) or just in hearthbuddy ?

    3. How to igrone GUI ??

    4. Where to find custom premade configs? Maybe you can send to mi your best config and deck ?? ;>

    5. I download Sepefeets Silverfish update (WOG, Kara, MSG) then delete old DefaultRoutine and paste new one. Then i make same DECK like in silverfish data deck folder , use same name for folder, Deck name in .txt files and deck in game. Then i start game using behavior control for midrange.

    Its right ? or i miss something ??
     
  6. sepefeet

    sepefeet New Member

    Joined:
    Jan 20, 2016
    Messages:
    122
    Likes Received:
    1
    Trophy Points:
    0
    I just add whatever configs other people have made that actually perform well. There's a thread on another forum with more info about the process... I'm still not sure how to handle bringing 2 bot communities together and duplicating everything is a lot of extra work...
     
  7. GeneLu

    GeneLu New Member

    Joined:
    Dec 9, 2016
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    0
    the Project Rank5 ?I've found that. thank u.
     
  8. Iso

    Iso Member

    Joined:
    Sep 30, 2014
    Messages:
    323
    Likes Received:
    5
    Trophy Points:
    18
    Sepe, any idea whats that?

    Code:
    [Tick] Exception during execution:Buddy.Coroutines.CoroutineUnhandledException: Exception was thrown by coroutine ---> System.InvalidOperationException: !IsInsideHook
       at Triton.Game.PerCachedValue`1.get_Value()
       at Triton.Game.TritonHs.get_GameState()
       at Triton.Game.TritonHs.GetCards(CardZone zone, Boolean localPlayer)
       at HREngine.Bots.DefaultRoutine.getallHandCards() in c:\Games\Hearthbuddy_Sepe\Routines\DefaultRoutine\DefaultRoutine_nH.cs:line 1426
       at HREngine.Bots.DefaultRoutine.getCardWithNumber(Int32 number) in c:\Games\Hearthbuddy_Sepe\Routines\DefaultRoutine\DefaultRoutine_nH.cs:line 1398
       at HREngine.Bots.DefaultRoutine.<OurTurnLogic>d__14.MoveNext() in c:\Games\Hearthbuddy_Sepe\Routines\DefaultRoutine\DefaultRoutine_nH.cs:line 994
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
       at HREngine.Bots.DefaultRoutine.<Logic>d__5.MoveNext() in c:\Games\Hearthbuddy_Sepe\Routines\DefaultRoutine\DefaultRoutine_nH.cs:line 549
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
       at Triton.Bot.Logic.Bots.DefaultBot.DefaultBot.N_6V0Dp\[V8B7Q`Y\]vR\,J$\*\*3#.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Triton.Bot.Logic.Bots.DefaultBot.DefaultBot.Y\&@x1PGlo!IOS\]\[qy01H`S`B%.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Triton.Bot.Logic.Bots.DefaultBot.DefaultBot.ebZ\&-H`jwy(_"<t\.L!kLoiVL.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
       at Triton.Bot.Logic.Bots.DefaultBot.DefaultBot.\,=:\\i?!|0H5lYuX(^PbfeAH:%.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Buddy.Coroutines.Coroutine.C4Y\*3MPrWmd`D!$kS{d-cp@8!.d6\*Q#\]J} 3<e\[I0?P(GUNS\,#.MoveNext()
       --- End of inner exception stack trace ---
       at Buddy.Coroutines.Coroutine.‫‏*‎*​**‎‬‏‬**‏*‫*‬*‏*‬**(Boolean )
       at Buddy.Coroutines.Coroutine.*‏*‎‫‪‎*‬‎‎​‬‪***​‫**‫‪‫‪***‎‏*(Boolean )
       at Buddy.Coroutines.Coroutine.Resume()
       at Triton.Bot.Logic.Bots.DefaultBot.DefaultBot.Tick()
       at Triton.Bot.BotManager.**‬‬*‎‏*‫*‏‏‎‎*‎****‏‪‎‪‬‪‫​*‏*(IBot )
    
     
  9. sepefeet

    sepefeet New Member

    Joined:
    Jan 20, 2016
    Messages:
    122
    Likes Received:
    1
    Trophy Points:
    0
    Not really, do you have a silverlog/crashlog when it happened? How often does it happen? It looks like HsB crashed while looking up the hand cards.
     
    Last edited: Jan 25, 2017
  10. sepefeet

    sepefeet New Member

    Joined:
    Jan 20, 2016
    Messages:
    122
    Likes Received:
    1
    Trophy Points:
    0
    V125.3SE released.

    [1460] fix heraldvolazj crash
    [1465.1][1465.2] fix barnes crash when it gets abnormal data (minions disappearing???)
    [1465.3][1465.4] fix a crash with rng target effects
    [1491] fix djinniofzephyrs crash
    read the turn deck into the .exe (not much use yet)
    [1539] reduce board value if hero attacked a minion without killing it
    [1415][1500.6][1523][1526][1563.1] don't play upgrade after attacking
    added penalties to discourage playing bloodsail cultist without a weapon/after attacking (didn't fix any logs though)
    penalize wasting hero temp attack spells (redundant?)
    [1181][1286][1293][1300][1522][1543] major hex/poly changes
    add penalty to overwrite weapons with jade claws to counter some of the jade golem value
     
  11. Dominowood

    Dominowood Member

    Joined:
    Dec 20, 2012
    Messages:
    643
    Likes Received:
    1
    Trophy Points:
    18
    Prompt still works perfectly?
     
  12. Vanistuff

    Vanistuff New Member

    Joined:
    Feb 9, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Hello my friend !

    Impossible for me to run the SF !

    [​IMG]

    Can you help me please ? What I have to do ? Thanks
     
  13. Iso

    Iso Member

    Joined:
    Sep 30, 2014
    Messages:
    323
    Likes Received:
    5
    Trophy Points:
    18
  14. Iso

    Iso Member

    Joined:
    Sep 30, 2014
    Messages:
    323
    Likes Received:
    5
    Trophy Points:
    18
  15. Iso

    Iso Member

    Joined:
    Sep 30, 2014
    Messages:
    323
    Likes Received:
    5
    Trophy Points:
    18
  16. SmartHand

    SmartHand New Member

    Joined:
    Nov 26, 2016
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
  17. spy

    spy New Member

    Joined:
    May 23, 2016
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    0
  18. sepefeet

    sepefeet New Member

    Joined:
    Jan 20, 2016
    Messages:
    122
    Likes Received:
    1
    Trophy Points:
    0
    That part of the UI doesn't do anything because botmaker copied it to make porting easier and I haven't removed it either... All the AI settings are in the various config files (settings.txt, _combo.txt, _discovery.txt).

    @Vanistuff - Make sure you remove the DefaultRoutine that comes with HsB before adding mine.
     
  19. Iso

    Iso Member

    Joined:
    Sep 30, 2014
    Messages:
    323
    Likes Received:
    5
    Trophy Points:
    18
    Bot attacks face while face is behind 3/3 Jade Golem with Taunt bot cant see.
    Silverfish\Data\Warrior\Face\settings.txt Silverfish\Data\Warrior\Face\_mulliga - Pastebin.com


    Line 2030. Bot plays Chillmaw (activated) and attacks 2 hp minion instead of 4 hp one.
    Silverfish\settings.txt Silverfish\_mulligan.txt Silverfish\_discovery.txt Si - Pastebin.com


    Bot reads all settings from /data/data/classname/deckname but not behave =.
    Silverfish\settings.txt Deck: OG_312,2;CFM_637;LOE_076;CFM_325,2;CS2_146, - Pastebin.com
     
  20. Iso

    Iso Member

    Joined:
    Sep 30, 2014
    Messages:
    323
    Likes Received:
    5
    Trophy Points:
    18

Share This Page