Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

SilverFish_HearthRanger.csproj that compiles
BongoBengt
#1 Posted : Wednesday, December 30, 2015 4:46:15 PM(UTC)

Rank: Advanced Member

Groups: Registered
Posts: 89
Location: Nada

Thanks: 12 times
Was thanked: 23 time(s) in 20 post(s)
Would be good if you can submit a new version of the src_silverfish_hearthranger.zip
The one included does not compile if you follow the instructrions.

Want to do my own mulligan code for specific decks using SilverFish as AI

Thanks
JoyAdmin
#2 Posted : Wednesday, December 30, 2015 10:05:17 PM(UTC)
Rank: Administration

Groups: Administrators
Posts: 4,847

Thanks: 805 times
Was thanked: 4539 time(s) in 1637 post(s)
All source code now is available in the following url:

https://github.com/noHero123/silverfish

Get the latest code, and follow the instructions under HR, you can get it compiled.
sepefeets
#4 Posted : Thursday, December 31, 2015 1:04:46 AM(UTC)

Rank: Advanced Member

Groups: Registered
Posts: 899

Thanks: 1028 times
Was thanked: 584 time(s) in 238 post(s)
BongoBengt;34152 wrote:
Want to do my own mulligan code for specific decks using SilverFish as AI

I'm curious, is there anything that you want to do but can't with the _mulligant.txt file?
BongoBengt
#3 Posted : Thursday, December 31, 2015 6:42:04 AM(UTC)

Rank: Advanced Member

Groups: Registered
Posts: 89
Location: Nada

Thanks: 12 times
Was thanked: 23 time(s) in 20 post(s)
JoyAdmin;34159 wrote:
All source code now is available in the following url:

https://github.com/noHero123/silverfish

Get the latest code, and follow the instructions under HR, you can get it compiled.



No it does not compile.
For example:

The project file includes
penalties/Pen_Ex_016t.cs, same goes for Pen_NEW1_006.cs

Also there are loads of cards in the /cards folder that is not a part of the project.
All Sim_* files are not included, so CardDB.cs does not compile.

Helperfunction.cs is not located in the ai folder...

Seems like Handmanager.setHandcards now takes 4 arguments and not 3
Same goes for setBestMoves, which now takes 3 instead of two


I can fix all this.
But I'm not 100% sure I did it all correctly, for example should I create a Pen_Ex_016t.cs or should it be removed?
And if I create it, what values should be returned?

I mean I belive you have a project that compiles, so it shouldn't be that hard to update the files within the ZIP file so it compiles.

The other option ofcourse is that I don't get the instructions.
But it's like 3 lines of instructions so I have to read between the lines.

Thanks
JoyAdmin
#5 Posted : Friday, January 1, 2016 12:13:16 AM(UTC)
Rank: Administration

Groups: Administrators
Posts: 4,847

Thanks: 805 times
Was thanked: 4539 time(s) in 1637 post(s)
Remove any Pen_ file if it doesn't exist on github.

'Seems like Handmanager.setHandcards now takes 4 arguments and not 3'

- I'm pretty sure you're not using latest source code if you see this, remember you need to compile [program.cs] under [HR]'s folder, if you have another one in your project, you need to overwrite it.


BongoBengt
#6 Posted : Friday, January 1, 2016 11:59:08 AM(UTC)

Rank: Advanced Member

Groups: Registered
Posts: 89
Location: Nada

Thanks: 12 times
Was thanked: 23 time(s) in 20 post(s)
Got it to work now.

Ill summarize later what I did because it's not complicated, but the guides are not correct so they don't really help that much.
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.049 seconds.