RocketBot icon indicating copy to clipboard operation
RocketBot copied to clipboard

NULL REFERENCE-RESTARTING

Open omurik opened this issue 10 years ago • 9 comments

When i start bot,it always say that Null reference error.What is the solution?

omurik avatar Aug 13 '16 21:08 omurik

You have most likely been permanantly banned.

DetectiveCode avatar Aug 13 '16 21:08 DetectiveCode

somebody says that it is about ip

omurik avatar Aug 13 '16 21:08 omurik

If I see "null reference-restarting" in the bot and "unable to download game data from server" in the app, am I probably permabanned?!

IlGalvo avatar Aug 14 '16 16:08 IlGalvo

I get "null reference-restarting" too, every time. In the debugger it does login, but this code fails:

 var pokemons =
                inventory.InventoryDelta.InventoryItems.Select(i => i.InventoryItemData?.PokemonData)
                    .Where(p => p != null && p?.PokemonId > 0);

InventoryDelta is null.

BillOatman avatar Aug 14 '16 17:08 BillOatman

@BillOatman Yea, I saw myself too now, so this would probably be an hard ban, right?

IlGalvo avatar Aug 14 '16 23:08 IlGalvo

@Terminators24 I would expect a hard ban to be in effect when you try and login, not when getting inventory. But I'm not sure.

BillOatman avatar Aug 15 '16 22:08 BillOatman

@BillOatman Dunno, but it crashes when it is trying to getting the inventory to me, exatly in GetPokemon() call. It has passed already 3 days and nothing is changed, so I'm really thinking that this is the hard permanent ban, actually. You have some news about?

IlGalvo avatar Aug 15 '16 22:08 IlGalvo

Fixed. Closing

RonnieNine avatar Aug 17 '16 13:08 RonnieNine

Great! What branch? I don't see anything checked in or a pull request. Thanks!

BillOatman avatar Aug 17 '16 22:08 BillOatman