Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

client res error #31

Closed
marklove5102 opened this issue May 31, 2022 · 9 comments
Closed

client res error #31

marklove5102 opened this issue May 31, 2022 · 9 comments

Comments

@marklove5102
Copy link

marklove5102 commented May 31, 2022

client

		g3log created log at: Tue May 31 11:43:07 2022
		LOG format: [YYYY/MM/DD hh:mm:ss uuu* LEVEL FILE->FUNCTION:LINE] message

		(uuu*: microseconds fractions of the seconds value)

2022/05/31 11:43:07 638619	INFO [initview.cpp->void InitView::addIVLog(int, const char*, ...):203]	[000%]Loading root/texture/itemDB
2022/05/31 11:43:07 638609	INFO [initview.cpp->void InitView::addIVLog(int, const char*, ...):203]	[000%]Loading root/texture/progUseDB
2022/05/31 11:43:07 638726	INFO [initview.cpp->void InitView::addIVLog(int, const char*, ...):203]	[000%]Loading root/texture/mapDB

server

		g3log created log at: Tue May 31 11:49:23 2022
		LOG format: [YYYY/MM/DD hh:mm:ss uuu* LEVEL FILE->FUNCTION:LINE] message

		(uuu*: microseconds fractions of the seconds value)

2022/05/31 11:49:23 939640	INFO [actorpool.cpp->ActorPool::ActorPool(int, int):78]	Server FPS: 10
2022/05/31 11:49:48 447546	INFO [monoserver.cpp->void MonoServer::CreateDBConnection():371]	Connect to database mir2x.db3 successfully
2022/05/31 11:49:48 448267	WARNING [main.cpp->int main(int, char**):125]	Exception in main thread: std::bad_alloc
@etorth
Copy link
Owner

etorth commented May 31, 2022

You need to install git-lfs to pull the res files.

@marklove5102
Copy link
Author

好的正在做。。。

@marklove5102
Copy link
Author

当我丢弃 购买的金币时
monoserver 挂了。

		g3log created log at: Tue May 31 13:15:34 2022
		LOG format: [YYYY/MM/DD hh:mm:ss uuu* LEVEL FILE->FUNCTION:LINE] message

		(uuu*: microseconds fractions of the seconds value)

2022/05/31 13:15:34 899196	INFO [actorpool.cpp->ActorPool::ActorPool(int, int):78]	Server FPS: 10
2022/05/31 13:15:43 348268	INFO [monoserver.cpp->void MonoServer::CreateDBConnection():371]	Connect to database mir2x.db3 successfully
2022/05/31 13:15:43 352328	INFO [actorpool.cpp->void ActorPool::launchPool():848]	Actor thread 0 launched
2022/05/31 13:15:43 352967	INFO [actorpool.cpp->void ActorPool::launchPool():848]	Actor thread 1 launched
2022/05/31 13:15:43 353241	INFO [actorpool.cpp->void ActorPool::launchPool():848]	Actor thread 2 launched
2022/05/31 13:15:43 356040	INFO [actorpool.cpp->void ActorPool::launchPool():848]	Actor thread 3 launched
2022/05/31 13:15:57 802351	INFO [netdriver.cpp->NetDriver::acceptNewConnection()::<lambda(std::error_code)>:100]	Channel 1 has been established for endpoint (127.0.0.1:57006).
2022/05/31 13:16:11 445746	WARNING [serverluamodule.cpp->virtual void ServerLuaModule::addLogString(int, const char8_t*):146]	NPC 道馆_1.士官_1: processNPCEvent is not defined
2022/05/31 13:16:11 447278	WARNING [serverluamodule.cpp->virtual void ServerLuaModule::addLogString(int, const char8_t*):146]	NPC 道馆_1.书堂玄震_1: processNPCEvent is not defined
2022/05/31 13:16:11 577791	WARNING [serverluamodule.cpp->virtual void ServerLuaModule::addLogString(int, const char8_t*):146]	NPC 道馆_1.大悲善僧_1: processNPCEvent is not defined
2022/05/31 13:16:11 587567	WARNING [serverluamodule.cpp->virtual void ServerLuaModule::addLogString(int, const char8_t*):146]	NPC 道馆_1.华玉_1: processNPCEvent is not defined
2022/05/31 13:16:11 600641	WARNING [serverluamodule.cpp->virtual void ServerLuaModule::addLogString(int, const char8_t*):146]	NPC 道馆_1.小老板_1: processNPCEvent is not defined
2022/05/31 13:16:11 602091	WARNING [serverluamodule.cpp->virtual void ServerLuaModule::addLogString(int, const char8_t*):146]	NPC 道馆_1.钱老板_1: processNPCEvent is not defined
2022/05/31 13:17:31 689917	WARNING [monoserver.cpp->void MonoServer::logException(const std::exception&, std::string*):436]	In file: monoserver.cpp:417, function: void MonoServer::propagateException(): rethrow in MonoServer::propagateException()
2022/05/31 13:17:31 689983	WARNING [monoserver.cpp->void MonoServer::logException(const std::exception&, std::string*):436]	In file: serdesmsg.cpp:329, function: const SDItem& SDInventory::find(uint32_t, uint32_t) const: assertion failed: !ir.isGold()

@etorth
Copy link
Owner

etorth commented May 31, 2022

程序没写完,金币不是物品,不应该被购买。
买点其他的就好了。现在你的database里面有金币,你把server/mir2x.db 删了重来。

@marklove5102
Copy link
Author

marklove5102 commented May 31, 2022

截图_2022-05-31_13-26-13
正购物弹这个 。。。monoserver再次挂了。。
好吧 。。一会看代码得了。

@etorth
Copy link
Owner

etorth commented May 31, 2022

好的,自己研究吧。游戏未完成,bug一大堆。

@etorth etorth closed this as completed May 31, 2022
@etorth
Copy link
Owner

etorth commented Jun 4, 2022

上面那个应该已经fix了。我之前在lua中用string做uid,后来切换成integer,但是该改的地方没改完。

@shadowbanewuha
Copy link

兄弟你是在哪个平台编译过的?

@etorth
Copy link
Owner

etorth commented Oct 31, 2022

windows wsl + gcc-11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants