matt1484 / bl3_auto_vip

Borderlands3 Auto VIP/Shift Code Redemption System
Apache License 2.0
81 stars 19 forks source link

Null pointer at "Getting previously redeemed SHIFT codes" step #24

Open ventod opened 5 years ago

ventod commented 5 years ago

Probably caused by firewall at my work nuking that specific connection... Later I'll ask permission to get some kind of net analysis tool to see exactly what goes wrong...

Setting up . . . . . success!
Logging in as '###################' . . . . . success!
Getting SHIFT platforms . . . . . success!
Getting previously redeemed SHIFT codes . . . . . not found.
Getting new SHIFT codes . . . . . panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0x690b96]

goroutine 1 [running]:
github.com/matt1484/bl3_auto_vip.getResponse(...)
        /go/src/github.com/matt1484/bl3_auto_vip/client.go:69
github.com/matt1484/bl3_auto_vip.(*HttpClient).Do(0xc0000fc9c0, 0xc0001da200, 0xc000108270, 0x2a, 0x0)
        /go/src/github.com/matt1484/bl3_auto_vip/client.go:83 +0x276
github.com/matt1484/bl3_auto_vip.(*HttpClient).Get(0xc0000fc9c0, 0xc000108270, 0x2a, 0xa, 0xc00019b3c8, 0xc00011ac60)
        /go/src/github.com/matt1484/bl3_auto_vip/client.go:91 +0xa4
github.com/matt1484/bl3_auto_vip.(*Bl3Client).GetFullShiftCodeList(0xc00019a160, 0xc000006018, 0xc00006fbe0, 0x1)
        /go/src/github.com/matt1484/bl3_auto_vip/shift.go:152 +0x19c
main.doShift(0xc00019a160)
        /go/src/github.com/matt1484/bl3_auto_vip/cmd/main.go:170 +0x427
main.main()
        /go/src/github.com/matt1484/bl3_auto_vip/cmd/main.go:258 +0x7ab