✅ speedrun.com app creating issue
https://pastebin.com/ZE2UWkgx
Hi, I have issue with SpeedrunComSharp API. I can't to add all categories in combo box by searching the game, 'cause this variable is null. Anyone help me!
Pastebin
game variable issue - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

23 Replies
Run it in the debugger, see exactly what line it's throwing an exception at
I don't see anything in your pastebin which could throw that
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
I'm running in debugger and still throwing an exception


Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
for game variable or what?
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
LMAO I just check this example from github on console and it does work by same exception

Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
It'll be somewhere in here: https://github.com/LiveSplit/SpeedrunComSharp/blob/1a7f8dd7c8ae1f4c15f160d26fe98d6e7427fff7/src/SpeedrunComSharp/SpeedrunComClient.cs#L292
That's doing a bunch of stuff with
dynamic
, and that exception is thrown by the dynamic
machinery
It looks like it's making a request against some API, but the response it's getting doesn't have the same shape as what it's expecting. Presumably the API changed what it returns at some point
Raise an issue on that github issue trackerThis is an older version of the speedrun com api from 2015. There is a newer version under the name "SpeedrunDotComAPI" which is from 2022
GitHub
GitHub - mirrorcult/SpeedrunDotComAPI: A full .NET wrapper over the...
A full .NET wrapper over the speedrun.com API, available on NuGet - mirrorcult/SpeedrunDotComAPI
yes
Where Can I get token for SRCApiClient object
i think you can leave it empty
The categories are added in combo box after find button click. It's awesome : 3

The GameModel object is meaning as search filter? How to use it correctly?
@Async I can't to create leaderboard for display in label world record player
What?
https://pastebin.com/6CSsRF6x
I'm trying all ways to fix this bug and I dunno how to fix it
Pastebin
System.ArgumentException problem - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

How does the stacktrace look like?
wdym stacktrace?
In the exception details should be a stacktrace that shows exactly where the error occured
In the bottom of your exception is the button "Show Call Stack"
That should be it
Like this one?

this seems like something in the library and not something you can control. You might want to make an issue on github