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

Notification

Icon
Error

error: Object reference not set to an instance of an object?
heretician
#1 Posted : Wednesday, December 2, 2015 3:08:53 PM(UTC)
heretician

Rank: Administration

Groups: HSModerator, Registered
Posts: 93

Thanks: 21 times
Was thanked: 18 time(s) in 12 post(s)
http://i.imgur.com/Hj9LPem.jpg

Using silverfish AI w/ Oak's mulligans/combos

No idea what is going on here or if it is Silverfish or HR causing it. When it happens I believe it is only for that match but for the entire rest of the match it looks like the bot just hovers over cards/portraits but does not select anything or end turn so each turn just drags out until I get a loss. I think after that it works again but I am going to have to do some more testing when it happens because it is sporadic.

Any suggestions?

EDIT:
It is happening VERY often. I just turned my bot back on after it happened before, enemy played Jeweled Scarab (1 cost 1/1 with a Battlecry to discover a 3 cost card) this is a LoE card; could this be why? I wonder.

more info in the HR Log:
http://i.imgur.com/YdsRR3Z.jpg

Also, in the Silver.exe window all I see is the Waiting for next board from the previous turn so I am pretty sure it is not Silver.exe or anything to do with it.

EDIT 2:
After about 3 games, it happened again:

http://i.imgur.com/4O0Dy0m.jpg

Still no idea what exactly is causing it but I am trying to watch the bot as much as possible.
HearthRanger Administration Team & Lead Forum Admin
JoyAdmin
#2 Posted : Thursday, December 3, 2015 12:33:09 AM(UTC)
Rank: Administration

Groups: Administrators
Posts: 4,848

Thanks: 805 times
Was thanked: 4539 time(s) in 1637 post(s)
When this issue happens again, can you capture a screenshot and post it ?
heretician
#3 Posted : Friday, December 4, 2015 1:59:43 PM(UTC)
heretician

Rank: Administration

Groups: HSModerator, Registered
Posts: 93

Thanks: 21 times
Was thanked: 18 time(s) in 12 post(s)
A screenshot of Hearthstone? I posted 3 screenshots of HearthRanger already. Next time it happens I'll post a screenshot of everything.
HearthRanger Administration Team & Lead Forum Admin
heretician
#4 Posted : Friday, December 4, 2015 11:33:15 PM(UTC)
heretician

Rank: Administration

Groups: HSModerator, Registered
Posts: 93

Thanks: 21 times
Was thanked: 18 time(s) in 12 post(s)
Similar problem, this happens just as much is GetSimAction() and there is no GetSimAction() in the silverfish code so it has to be hearthranger; the last time this happened the bot was attempting to play the Armor Plating card. It is a Spare Parts card from a Battlecry by a Tinkertown Technician. Atleast I believe this particular one was. http://hearthstone.gamepedia.com/Armor_Plating

I also included a picture of

[REDACTED]

Here is a folder with silverfish logs and 4 pictures. It happened. The obj_reference.jpg picture is what I believe you are wanting Joy. I don't know how this will help. I looked at the HR logs and all it is, is spamming of this:


2:14:23 PM:ERROR::e9d4142d-0fa2-4cfc-b2e5-047a16bb7f29 - Object reference not set to an instance of an object.
2:14:23 PM:ERROR::e9d4142d-0fa2-4cfc-b2e5-047a16bb7f29 - Object reference not set to an instance of an object.

Every log in the HR logs file shows .log files with this. Please help me Joy, just bought the unlimited/infinite HR code and now this happens as soon as I do it.
HearthRanger Administration Team & Lead Forum Admin
heretician
#5 Posted : Saturday, December 5, 2015 12:11:01 AM(UTC)
heretician

Rank: Administration

Groups: HSModerator, Registered
Posts: 93

Thanks: 21 times
Was thanked: 18 time(s) in 12 post(s)
As for the Armor Plating error, I checked out the _carddb.txt in a fresh install of Hearthranger (Silverfish comes with a fresh install download and update of HR? Did not know that)

Code:

<Entity version="2" CardID="PART_001">
<MasterPower>818e1c57-df7b-40cb-b01a-9b33d2724de5</MasterPower>
<Tag enumID="185" type="String">Armor Plating</Tag>
<Tag enumID="183" type="" value="13" />
<Tag enumID="48" type="" value="1" />
<Tag enumID="202" type="" value="5" />
<Tag enumID="184" type="String">Give a minion +1 Health.</Tag>
<Tag enumID="330" type="" value="0" />
<Tag enumID="331" type="" value="0" />
<Tag enumID="342" type="String">Nutchapol Thitinunthakorn</Tag>
<Power definition="818e1c57-df7b-40cb-b01a-9b33d2724de5">
<PlayRequirement reqID="11" param="" />
<PlayRequirement reqID="1" param="" />
</Power>
</Entity>
<Entity version="2" CardID="PART_001e">
<Tag enumID="185" type="String">Armor Plating</Tag>
<Tag enumID="183" type="" value="13" />
<Tag enumID="184" type="String">+1 Health.</Tag>
<Tag enumID="202" type="" value="6" />
<Tag enumID="330" type="" value="1" />
<Tag enumID="331" type="" value="1" />
<Power definition="f0373320-976d-42b6-9e12-17054cc4759c" />
</Entity>


Why is Armor Plating listed twice? I don't think there is a PART_001e of Armor Plating and that may be what my HR is reading and getting an error from; although this seems to happen even when I don't have the plating.

http://hearthstone.gamepedia.com/Armor_Plating

Check it out, there is no +1 Health string for any version Armor Plating gold or normal. I don't want to do it because it may screw things up, but would removing the second Armor Plating from carddb help? Maybe there needs to be an update for this or something? I'm going to look for other Spare Parts with the same 'issue' if it is even an issue.

EDIT:

Okay after looking at every Spare Part card, none of them except Armor Plating and Whirling Blades have this 'e' version of the card (Part_001 and Part_001e for Armor Plating and Part_007 and Part_007e for Whirling Blades)

Code:

</Entity>
<Entity version="2" CardID="PART_007">
<MasterPower>19305184-cd49-4e13-92aa-0261507b98fd</MasterPower>
<Tag enumID="185" type="String">Whirling Blades</Tag>
<Tag enumID="183" type="" value="13" />
<Tag enumID="48" type="" value="1" />
<Tag enumID="202" type="" value="5" />
<Tag enumID="184" type="String">Give a minion +1 Attack.</Tag>
<Tag enumID="330" type="" value="0" />
<Tag enumID="331" type="" value="0" />
<Tag enumID="342" type="String">Nutchapol Thitinunthakorn</Tag>
<Power definition="19305184-cd49-4e13-92aa-0261507b98fd">
<PlayRequirement reqID="11" param="" />
<PlayRequirement reqID="1" param="" />
</Power>
</Entity>
<Entity version="2" CardID="PART_007e">
<Tag enumID="185" type="String">Whirling Blades</Tag>
<Tag enumID="183" type="" value="13" />
<Tag enumID="330" type="" value="1" />
<Tag enumID="331" type="" value="1" />
<Tag enumID="202" type="" value="6" />
<Tag enumID="184" type="String">+1 Attack.</Tag>
<Power definition="6171e7c5-e02e-4e30-86ad-a4213947dd77" />
</Entity>


I was thinking maybe this was the EFFECT, that the minion will be given one Attack but this is just a card database, nothing in this is about calculating buffs and/or debuffs to minions and/or the character.

These are two ghost cards that do not exist. I am going to take my chances in a little while, take both PART_001e and PART_007e out and see if it will at least take care of 1 of my two issues, which I believe is the GetSimAction() correct me if I am wrong anybody.
HearthRanger Administration Team & Lead Forum Admin
botmaker
#6 Posted : Saturday, December 5, 2015 5:38:49 PM(UTC)

Rank: Advanced Member

Groups: Registered
Posts: 177

Thanks: 2 times
Was thanked: 196 time(s) in 75 post(s)
@here dont change the database :D
for your information: the "cards" with an "e" at the end are enchantments:
if you play whirlwind (part_007) on a minion, the card will go to the graveyard, and a new "card" (part_007e) is placed on/attached to the minion to show the client that it has the buff from whirlwind.
heretician
#7 Posted : Saturday, December 5, 2015 8:10:07 PM(UTC)
heretician

Rank: Administration

Groups: HSModerator, Registered
Posts: 93

Thanks: 21 times
Was thanked: 18 time(s) in 12 post(s)
botmaker;33522 wrote:
@here dont change the database :D
for your information: the "cards" with an "e" at the end are enchantments:
if you play whirlwind (part_007) on a minion, the card will go to the graveyard, and a new "card" (part_007e) is placed on/attached to the minion to show the client that it has the buff from whirlwind.


Yeah I was just guessing. Never ended up editing anything ;) I'm no programmer.

Get to work on them logs botmaker! Hehe. Thanks for everything :) Both you and Joy
HearthRanger Administration Team & Lead Forum Admin
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.093 seconds.