GithubHelp home page GithubHelp logo

xuerong / peonyframwork Goto Github PK

View Code? Open in Web Editor NEW
55.0 55.0 25.0 2.32 MB

一个优秀的java服务器框架 可应用于游戏服务器/应用服务器开发

License: Apache License 2.0

Shell 0.17% Python 22.21% Java 72.23% Batchfile 0.02% HTML 5.37%
gameserver java javaframework

peonyframwork's People

Contributors

xuerong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

peonyframwork's Issues

RequestNettyPBDecoder 类解析半包问题

RequestNettyPBDecoder 类的 decode() 在半包读取时出现 opcode 丢失问题。
问题原因是 ByteBuf#readableBytes() 满足 headSize 长度但不满足消息体时,也就是

if (size > readAble - headSize) {
    return;
}

代码段,在下次读取剩余半包时消息体正常读取,但 opcode 和 id 是局部变量而不是方法变量导致为 0,最后抛出 MMException

登陆显示没找到主键方法

按照README操作,本地环境可以连接,但是发送消息框中输入登录消息是提示没有找到主键方法是为什么?
21:51:00.326 [defaultEventExecutorGroup-4-1] ERROR com.peony.entrance.websocket_json.WebSocketEntrance - handler msg exception:
com.peony.common.exception.MMException: 没找到主键方法 com.peony.core.data.entity.account.Account
at com.peony.core.data.cache.KeyParser.parseKeyForObject(KeyParser.java:58)

启动框架报错

1、找不到build.gradle,只有build.gradle.old文件,将build.gradle.old修改为build.gradle,打开项目后报错 The Key=com.peony.demo.packet.Main-Class violates the Manifest spec!
2、找不到到启动类com.peony.engine.framework.server.Server

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.