kbengine / kbengine Goto Github PK
View Code? Open in Web Editor NEWA MMOG engine of server.
Home Page: https://kbengine.github.io
License: Other
A MMOG engine of server.
Home Page: https://kbengine.github.io
License: Other
或者ORGE的那个API可以在其他C++引擎里用么?谢谢!
ERROR cellapp [0x7f645a62c720] [2014-07-19 16:26:43,245] - Cellapp::reqBackupEntityCellData: not found entity 1230.
Components::checkComponentUsable: packet invalid(recvsize(0) != ctype_cid_len(13).
往kbe_accountinfos写pending账号时dbid都为0造成索引重复, 出错后会写失败造成注册失败。
在onClientGetCell回调时获取cellmailbox是None
Core was generated by `./dbmgr --cid=401 --grouporder=1 --globalorder=401'.
Program terminated with signal 11, Segmentation fault.
#0 ?? () at /home/daikeliang/kbengine/kbe/src/lib/dependencies/boost/optional/optional.hpp:442
442 unspecified_bool_type safe_bool() const { return m_initialized ? &this_type::is_initialized : 0 ; }
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.132.el6.x86_64 keyutils-libs-1.4-4.el6.x86_64 krb5-libs-1.10.3-15.el6_5.1.x86_64 libcom_err-1.41.12-18.el6.x86_64 libgcc-4.4.7-4.el6.x86_64 libselinux-2.0.94-5.3.el6_4.1.x86_64 libstdc++-4.4.7-4.el6.x86_64 mysql-libs-5.1.73-3.el6_5.x86_64 nss-softokn-freebl-3.14.3-9.el6.x86_64 openssl-1.0.1e-16.el6_5.7.x86_64 zlib-1.2.3-29.el6.x86_64
(gdb) where
#0 ?? () at /home/daikeliang/kbengine/kbe/src/lib/dependencies/boost/optional/optional.hpp:442
#1 0x0000000000713097 in reclaimObject (this=0xe54240, destroy=false) at /home/daikeliang/kbengine/kbe/src/lib/cstdkbe/objectpool.hpp:181
#2 KBEngine::DebugHelper::clearBufferedLog (this=0xe54240, destroy=false) at debug_helper.cpp:271
#3 0x000000000071392d in KBEngine::DebugHelper::onMessage (this=0xe54240, logType=, str=0x7f8bdcf99158 "Buffered_DBTasks::onFiniTask: Playing buffered task for entityID=1, dbid=0\n", length=)
at debug_helper.cpp:397
#4 0x00000000007147f0 in KBEngine::DebugHelper::info_msg (this=0xe54240, s="Buffered_DBTasks::onFiniTask: Playing buffered task for entityID=1, dbid=0\n") at debug_helper.cpp:496
#5 0x0000000000714924 in KBEngine::DebugHelper::info_msg (this=0xe54240, fmt=) at debug_helper.cpp:482
#6 0x0000000000626fa4 in KBEngine::Buffered_DBTasks::tryGetNextTask (this=0x7fffc16b1e90, pTask=) at buffered_dbtasks.cpp:160
#7 0x00000000006ea3fe in KBEngine::DBThread::tryGetTask (this=0x13ef4d0) at db_threadpool.cpp:68
#8 0x00000000006e3edc in KBEngine::thread::TPThread::threadFunc (arg=) at threadpool.cpp:617
#9 0x00000033168079d1 in start_thread () from /lib64/libpthread.so.0
#10 0x00000033164e8b6d in clone () from /lib64/libc.so.6
如果达到测试预期则默认linux中使用, 用户可以调整编译选项来关闭。
检查所有的list有无类似操作且频繁的。
onClientGetCell
I would like to point out that identifiers like "__BASEAPP_H__
" and "__BOTS_H__
" do not fit to the expected naming convention of the C++ language standard.
Would you like to adjust your selection for unique names?
大项目初始化可能比较慢, 如果多线程分布开来初始化就好很多
多谢。
在第一台baseapp启动时创建SpaceMgr entity,且在init中注册SpaceMgr到globalData,会在KBEngine.onGlobalData接收到两次,而如果延迟10s注册到globalData就没有问题。
<ITEM> FIXED_DICT
<Properties>
<uid> <Type> INT32 </Type> </uid>
<id> <Type> INT32 </Type> </id>
<amount> <Type> INT32 </Type> </amount>
<order> <Type> INT16 </Type> </order>
<extra>
<Type> BLOB </Type>
<DatabaseLength> 1024 </DatabaseLength>
</extra>
<tmpExtra>
<Type> BLOB </Type>
<Persistent>false</Persistent>
</tmpExtra>
</Properties>
</ITEM>
<ITEMS> ARRAY <of> ITEM </of></ITEMS>
可能还在组网过程中逻辑已经开始了, 这时候可能会访问一些全局共享数据但数据未同步过来
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.