mk8
-
Posts
11 -
Joined
-
Last visited
-
Days Won
1 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by mk8
-
-
As the title already says I am looking for a way to speed up the text in quests, e.g. when you talk to an NPC or open a quest which gives you information...
Any solutions for this?
Thanks in advance!
-
So I re-compiled my source and uploaded to my server, but afterwards the server won't start - it may not find the cube nor connect to the database. May anybody help me out?
This is the error from my database syserr:
SYSERR: Dec 17 18:50:22 :: socket_connect: HOST localhost:15001, could not connect. SYSERR: Dec 17 18:55:04 :: pid_init: Start of pid: 1171 SYSERR: Dec 17 18:55:04 :: ChildLoop: AsyncSQL: query failed: Unknown column 'name' in 'field list' (query: SELECT name, text FROM string errno: 1054) SYSERR: Dec 17 18:55:04 :: socket_connect: HOST localhost:15001, could not connect. SYSERR: Dec 17 20:07:34 :: pid_init: Start of pid: 1428
and thats my auth syserr:
Dec 17 20:07:34 :: CLIENT_DESC [db_clientdesc] trying DBPacket() while not connected Dec 17 20:07:34 :: Cube_Init locale/germany/cube.txt
Thanks in advance!
When I only run ./database I get these errors:
Could not load mob_names.txt Could not load mob_proto.txt.
-
48 minutes ago, 127.0.0.1 said:
Damn, I forgot that they were added when it was implemented in C ++ 11.
Then, make files as they were before. and run only gmake dep command.
To work as I told you above, you compiler need to support C ++ 11.
Fixed it myself, I had to upload the include folder to /usr/include.
Well, after I compiled everything my server won't start... syslog says:
SYSERR: Dec 16 19:28:02 :: Start: TABLE_POSTFIX not configured use default
SYSERR: Dec 16 19:28:07 :: socket_connect: HOST localhost:15001, could not connect.- 1
-
10 minutes ago, 127.0.0.1 said:
Open db/src/stdafx.h and add :
#include <unordered_map> #include <unordered_set>
Then open ClientManager.h and replace all
boost::unordered_map boost::unordered_set
with
std::unordered_map std::unordered_set
Then go to db/src directory and run this command
gmake dep
Then compile again
Back intro the past , STL was too immature and bloated. But that was >10 years ago. Now we should use STL where is possile , also STL is now much faster than boost
Thanks for the info! kinda weird, that the one who created the source didn't changed that much tbh.
Now I get this error:
Compile Database...
compile Config.cpp
In file included from Config.cpp:1:
stdafx.h:19:25: error: unordered_map: No such file or directory
stdafx.h:20:25: error: unordered_set: No such file or directory
Makefile:56: recipe for target '.obj/Config.o' failed
gmake: *** [.obj/Config.o] Error 1
-
1 minute ago, 127.0.0.1 said:
Add full log, that does not help me at all.
Compile Database... compile Config.cpp compile NetBase.cpp In file included from NetBase.cpp:4: ClientManager.h:5:35: error: boost/unordered_map.hpp: No such file or directory ClientManager.h:6:35: error: boost/unordered_set.hpp: No such file or directory In file included from NetBase.cpp:4: ClientManager.h:35: error: 'boost' has not been declared ClientManager.h:35: error: ISO C++ forbids declaration of 'unordered_map' with no type ClientManager.h:35: error: typedef name may not be a nested-name-specifier ClientManager.h:35: error: expected ';' before '<' token ClientManager.h:36: error: 'boost' has not been declared ClientManager.h:36: error: ISO C++ forbids declaration of 'unordered_map' with no type ClientManager.h:36: error: typedef name may not be a nested-name-specifier ClientManager.h:36: error: expected ';' before '<' token ClientManager.h:37: error: 'boost' has not been declared ClientManager.h:37: error: ISO C++ forbids declaration of 'unordered_set' with no type ClientManager.h:37: error: typedef name may not be a nested-name-specifier ClientManager.h:37: error: expected ';' before '<' token ClientManager.h:38: error: 'boost' has not been declared ClientManager.h:38: error: ISO C++ forbids declaration of 'unordered_map' with no type ClientManager.h:38: error: typedef name may not be a nested-name-specifier ClientManager.h:38: error: expected ';' before '<' token ClientManager.h:39: error: 'boost' has not been declared ClientManager.h:39: error: ISO C++ forbids declaration of 'unordered_map' with no type ClientManager.h:39: error: typedef name may not be a nested-name-specifier ClientManager.h:39: error: expected ';' before '<' token ClientManager.h:40: error: 'boost' has not been declared ClientManager.h:40: error: ISO C++ forbids declaration of 'unordered_map' with no type ClientManager.h:40: error: typedef name may not be a nested-name-specifier ClientManager.h:40: error: expected ';' before '<' token ClientManager.h:120: error: ISO C++ forbids declaration of 'TItemCacheSet' with no type ClientManager.h:120: error: expected ';' before '*' token ClientManager.h:397: error: 'boost' has not been declared ClientManager.h:397: error: ISO C++ forbids declaration of 'unordered_map' with no type ClientManager.h:397: error: typedef name may not be a nested-name-specifier ClientManager.h:397: error: expected ';' before '<' token ClientManager.h:398: error: 'TLoginDataByLoginKey' does not name a type ClientManager.h:401: error: 'boost' has not been declared ClientManager.h:401: error: ISO C++ forbids declaration of 'unordered_map' with no type ClientManager.h:401: error: typedef name may not be a nested-name-specifier ClientManager.h:401: error: expected ';' before '<' token ClientManager.h:402: error: 'TLoginDataByLogin' does not name a type ClientManager.h:405: error: 'boost' has not been declared ClientManager.h:405: error: ISO C++ forbids declaration of 'unordered_map' with no type ClientManager.h:405: error: typedef name may not be a nested-name-specifier ClientManager.h:405: error: expected ';' before '<' token ClientManager.h:406: error: 'TLoginDataByAID' does not name a type ClientManager.h:409: error: 'boost' has not been declared ClientManager.h:409: error: ISO C++ forbids declaration of 'unordered_map' with no type ClientManager.h:409: error: typedef name may not be a nested-name-specifier ClientManager.h:409: error: expected ';' before '<' token ClientManager.h:410: error: 'TLogonAccountMap' does not name a type ClientManager.h:440: error: 'TPlayerTableCacheMap' does not name a type ClientManager.h:442: error: 'TItemCacheMap' does not name a type ClientManager.h:443: error: 'TItemCacheSetPtrMap' does not name a type ClientManager.h:447: error: 'TItemPriceListCacheMap' does not name a type ClientManager.h:450: error: 'TChannelStatusMap' does not name a type ClientManager.h:519: error: 'boost' has not been declared ClientManager.h:519: error: ISO C++ forbids declaration of 'unordered_map' with no type ClientManager.h:519: error: typedef name may not be a nested-name-specifier ClientManager.h:519: error: expected ';' before '<' token ClientManager.h:520: error: 'TLogoutPlayerMap' does not name a type Makefile:56: recipe for target '.obj/NetBase.o' failed gmake: *** [.obj/NetBase.o] Error 1 Build Done.
-
13 minutes ago, 127.0.0.1 said:
You were sent by angels, this fixed my error compiling game. But if I want to compile db I get another error - thanks for your help btw!
Makefile:56: recipe for target '.obj/NetBase.o' failed gmake: *** [.obj/NetBase.o] Error 1
- 2
-
Yea, I've figured this out, but it's not there. I just downloaded another source and there's also no libary in libhackshield/lib. Any suggestions?
-
Now I get:
linking ../game__KoriDev_r_1115189.... /usr/bin/ld: cannot find -lanticpxsvr Makefile:138: recipe for target '../game__KoriDev_r_1115189' failed gmake: *** [../game__KoriDev_r_1115189] Error 1 Build Done.
lol, I hate this.
-
whatsup. so I just tried to compile the server source (with no changes or similiar) from Koris 1.4 files but it doesn't work at all. All I get are a few errors. May one of you help me, please?
linking ../game__KoriDev_r_1115189.... /usr/bin/ld: cannot find -lIL gmake: *** [Makefile:139: ../game__KoriDev_r_1115189] Error 1
Thanks in advance
Questing; a few question
in Community Support - Questions & Answers
Posted
Sup everybody!
I am kinda new to questing and I have a few question and I'd glad if you can help me out!
Thanks for your help!