Git Product home page Git Product logo

block7's People

Watchers

 avatar  avatar  avatar

block7's Issues

I got an error.

github.com/zhs007/block7.(*UserDB).UserStats(0xc0002e28e0, 0xda71f0, 0xc0000a4010, 0x477, 0x40, 0x7f93419f8108, 0x40)
	/src/block7serv/userdb.go:861 +0x49b
github.com/zhs007/block7/httpserv.(*BasicServ).UserStats(0xc000033470, 0xc005440060, 0x23, 0xc003e92100, 0x1)
	/src/block7serv/httpserv/basicserv.go:556 +0x526
github.com/zhs007/block7/httpserv.NewServ.func7(0xc0000d0000, 0xc0000334d0)
	/src/block7serv/httpserv/serv.go:382 +0x51b
github.com/zhs007/block7/http.(*Serv).HandleFastHTTP(0xc0000334d0, 0xc0000d0000)
	/src/block7serv/http/serv.go:47 +0xc8
github.com/valyala/fasthttp.(*Server).serveConn(0xc00010c480, 0xdacf50, 0xc00423e008, 0x0, 0x0)
	/go/pkg/mod/github.com/valyala/[email protected]/server.go:2219 +0x14a2
github.com/valyala/fasthttp.(*workerPool).workerFunc(0xc0001406e0, 0xc00016a000)
	/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:223 +0xba
github.com/valyala/fasthttp.(*workerPool).getCh.func1(0xc0001406e0, 0xc00016a000, 0xb79d00, 0xc00016a000)
	/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:195 +0x35
created by github.com/valyala/fasthttp.(*workerPool).getCh
	/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:194 +0x11f

I got an error

goroutine 65 [running]:
github.com/zhs007/block7/game.NewScene2(0xe37f20, 0x1408278, 0xc0013e9da0, 0xc00504a380, 0x5, 0x8, 0x7, 0xc000249480, 0xe4cc78, 0xc000202138, ...)
	/src/block7serv/game/genscene2.go:202 +0x2636
github.com/zhs007/block7/httpserv.(*BasicServ).Mission(0xc000305780, 0xc0015971a0, 0x21, 0xc00173ee00, 0x1)
	/src/block7serv/httpserv/basicserv.go:308 +0x178e
github.com/zhs007/block7/httpserv.NewServ.func2(0xc0000ac000, 0xc0000ef3e0)
	/src/block7serv/httpserv/serv.go:153 +0x271
github.com/zhs007/block7/http.(*Serv).HandleFastHTTP(0xc0000ef3e0, 0xc0000ac000)
	/src/block7serv/http/serv.go:47 +0xc8
github.com/valyala/fasthttp.(*Server).serveConn(0xc0000e2b40, 0xe4c690, 0xc0016049b0, 0x0, 0x0)
	/go/pkg/mod/github.com/valyala/[email protected]/server.go:2219 +0x14a2
github.com/valyala/fasthttp.(*workerPool).workerFunc(0xc000114fa0, 0xc002a6e9c0)
	/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:223 +0xba
github.com/valyala/fasthttp.(*workerPool).getCh.func1(0xc000114fa0, 0xc002a6e9c0, 0xbf0540, 0xc002a6e9c0)
	/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:195 +0x35
created by github.com/valyala/fasthttp.(*workerPool).getCh
	/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:194 +0x11f

I got an error!

panic: runtime error: index out of range [1] with length 1

goroutine 37 [running]:
github.com/zhs007/block7/game.NewScene2(0xe38100, 0x1408298, 0xc00032e900, 0xc0003c2480, 0x5, 0x8, 0x7, 0xc000215580, 0xd3d400, 0x7, ...)
	/src/block7serv/game/genscene2.go:202 +0x2636
github.com/zhs007/block7/httpserv.(*BasicServ).Mission(0xc00039b8c0, 0xc000619350, 0x21, 0xc000504f40, 0x1)
	/src/block7serv/httpserv/basicserv.go:308 +0x178e
github.com/zhs007/block7/httpserv.NewServ.func2(0xc0000d0000, 0xc000119b30)
	/src/block7serv/httpserv/serv.go:153 +0x271
github.com/zhs007/block7/http.(*Serv).HandleFastHTTP(0xc000119b30, 0xc0000d0000)
	/src/block7serv/http/serv.go:47 +0xc8
github.com/valyala/fasthttp.(*Server).serveConn(0xc00010cb40, 0xe4c870, 0xc0005da250, 0x0, 0x0)
	/go/pkg/mod/github.com/valyala/[email protected]/server.go:2219 +0x14a2
github.com/valyala/fasthttp.(*workerPool).workerFunc(0xc000143040, 0xc000581e80)
	/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:223 +0xba
github.com/valyala/fasthttp.(*workerPool).getCh.func1(0xc000143040, 0xc000581e80, 0xbf0560, 0xc000581e80)
	/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:195 +0x35
created by github.com/valyala/fasthttp.(*workerPool).getCh
	/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:194 +0x11f

I got an error!

panic: runtime error: index out of range [0] with length 0

goroutine 279 [running]:
github.com/zhs007/block7/game.NewSceneFromData(0x0, 0x0, 0x0, 0x140d2b8, 0x0, 0x0, 0x1f9d, 0x8, 0x8)
	/src/block7serv/game/scene.go:177 +0x859
github.com/zhs007/block7/httpserv.MissionDataParams2SceneEx(0xc003a64d20, 0xe4a3f0)
	/src/block7serv/httpserv/utils.go:25 +0x7d
github.com/zhs007/block7/httpserv.(*BasicServ).MissionData(0xc000e3c980, 0xc003a64d20, 0x25, 0xc00370dc80, 0x1)
	/src/block7serv/httpserv/basicserv.go:433 +0x18eb
github.com/zhs007/block7/httpserv.NewServ.func3(0xc0000ac000, 0xc000dfc030)
	/src/block7serv/httpserv/serv.go:203 +0x43e
github.com/zhs007/block7/http.(*Serv).HandleFastHTTP(0xc000dfc030, 0xc0000ac000)
	/src/block7serv/http/serv.go:47 +0xc8
github.com/valyala/fasthttp.(*Server).serveConn(0xc0000e2240, 0xe50770, 0xc0005b42b0, 0x0, 0x0)
	/go/pkg/mod/github.com/valyala/[email protected]/server.go:2219 +0x14a2
github.com/valyala/fasthttp.(*workerPool).workerFunc(0xc000118140, 0xc000e42c20)
	/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:223 +0xba
github.com/valyala/fasthttp.(*workerPool).getCh.func1(0xc000118140, 0xc000e42c20, 0xbf36c0, 0xc000e42c20)
	/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:195 +0x35
created by github.com/valyala/fasthttp.(*workerPool).getCh
	/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:194 +0x11f

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.