[C++/Source] Gildenlager

06/16/2015 16:51 redryan#196
Quote:
Originally Posted by TiRez View Post
@redryan:
You have to remove the "is_gm_owner" from alle querys and also in the arguments (just a few lines below the querys). Then it should work.

You have to do that
06/16/2015 18:50 Sphinx²#197
Wäre der Meinung man passt das Release an und entfernt die Extras die für den Server Spezifisch umgesetzt wurden bsp. "is_gm_owner".

Dann wird hier auch nicht mehr rumgeheult.

Gruss
Sphinx
06/18/2015 11:56 garofolo#198
input_auth.cpp: In member function 'int CInputAuth::auth_OpenID(const char*, const char*, char*)':
input_auth.cpp:395: warning: unused variable 'last'
compile input_db.cpp
In file included from input_db.cpp:13:
shop_manager.h:40:7: warning: no newline at end of file
input_db.cpp:2926:13: warning: no newline at end of file
input_db.cpp: In member function 'void CInputDB::GuildSafebox(BYTE, DWORD, const char*)':
input_db.cpp:2843: warning: format '%u' expects type 'unsigned int', but argument 8 has type 'long int'
input_db.cpp:2843: warning: format '%u' expects type 'unsigned int', but argument 9 has type 'long int'
input_db.cpp:2843: warning: format '%u' expects type 'unsigned int', but argument 10 has type 'long int'
input_db.cpp:2843: warning: too few arguments for format
input_db.cpp:2843: warning: format '%u' expects type 'unsigned int', but argument 8 has type 'long int'
input_db.cpp:2843: warning: format '%u' expects type 'unsigned int', but argument 9 has type 'long int'
input_db.cpp:2843: warning: format '%u' expects type 'unsigned int', but argument 10 has type 'long int'
input_db.cpp:2843: warning: too few arguments for format
compile input_login.cpp
compile input_main.cpp
In file included from input_main.cpp:16:
shop_manager.h:40:7: warning: no newline at end of file
input_main.cpp: In member function 'int CInputMain::Chat(CHARACTER*, const char*, size_t)':
input_main.cpp:766: warning: unused variable 'len_global'
input_main.cpp: In member function 'void CInputMain::GuildSafebox(CHARACTER*, BYTE, const char*)':
input_main.cpp:3088: error: 'HEADER_CG_GUILD_SAFEBOX_OPEN' was not declared in this scope
input_main.cpp:3092: error: 'HEADER_CG_GUILD_SAFEBOX_CHECKIN' was not declared in this scope
input_main.cpp:3101: error: 'HEADER_CG_GUILD_SAFEBOX_CHECKOUT' was not declared in this scope
input_main.cpp:3106: error: 'HEADER_CG_GUILD_SAFEBOX_ITEM_MOVE' was not declared in this scope
input_main.cpp:3111: error: 'HEADER_CG_GUILD_SAFEBOX_GIVE_GOLD' was not declared in this scope
input_main.cpp:3116: error: 'HEADER_CG_GUILD_SAFEBOX_GET_GOLD' was not declared in this scope
input_main.cpp: In member function 'virtual int CInputMain::Analyze(DESC*, BYTE, const char*)':
input_main.cpp:3406: error: 'HEADER_CG_GUILD_SAFEBOX_OPEN' was not declared in this scope
input_main.cpp:3407: error: 'HEADER_CG_GUILD_SAFEBOX_CHECKIN' was not declared in this scope
input_main.cpp:3408: error: 'HEADER_CG_GUILD_SAFEBOX_CHECKOUT' was not declared in this scope
input_main.cpp:3409: error: 'HEADER_CG_GUILD_SAFEBOX_ITEM_MOVE' was not declared in this scope
input_main.cpp:3410: error: 'HEADER_CG_GUILD_SAFEBOX_GIVE_GOLD' was not declared in this scope
input_main.cpp:3411: error: 'HEADER_CG_GUILD_SAFEBOX_GET_GOLD' was not declared in this scope
gmake: *** [OBJDIR/input_main.o] Error 1
07/07/2015 12:38 XartSkc#199
I have a problem:

[Only registered and activated users can see links. Click Here To Register...] -> SS
07/08/2015 12:02 Chris9090909090#200
Kann mir da einer helfen beim einfügen
07/21/2015 17:41 TheSLZ#201
After reboot, the items in the storage is disappear.
The items is exist in item table wih GUILD_SAFEBOX window, so not that's the problem.

db syserr:
Code:
Jul 18 04:18:14.338901 :: CGuildSafeboxManager::FlushItems: flush 0
Jul 18 04:18:14.339081 :: CGuildSafeboxManager::FlushSafeboxes: flush 0
Code:
Jul 22 13:13:01.674322 :: CGuildSafebox::LoadItems [0] for channel 1 127.0.0.1
[Only registered and activated users can see links. Click Here To Register...]

How can i solve this?
08/22/2015 18:28 kimameixede#202
when a open guild safebox my game crash, my skills disappear and i have to restart the game.

i dont have erros in client, server and my source´s they compiled well.
08/22/2015 18:56 TiRez#203
Please, just read the damn Thread. If you do it like i said there shouldnt be problems.
08/23/2015 02:56 kimameixede#204
i fixed but now i have this error in the client
i dont know wats happen
i do every thing right

error
--------------------------------------------------------------------
when i click in npc to open guild safe box.
[Only registered and activated users can see links. Click Here To Register...]
08/25/2015 19:22 kimameixede#205
bump

BUG FIXED.

but now when i put itens in guild safebox and reboot server the itens disappear.
09/14/2015 12:33 garofolo#206
Quote:
Originally Posted by Sєηтιηαℓz View Post
Heyho,
Ich fange zurzeit an mit dem Source zu arbeiten und habe nun auch dein Tutorial befolgt - bekomme aber folgende Fehler:

DB:
PHP Code:
In file included from Main.cpp:20:
GuildSafeboxManager.h:67error'GUILD_SAFEBOX_PASSWORD_MAX_LEN' was not declared in this scope
GuildSafeboxManager
.h:70error'GUILD_SAFEBOX_MAX_NUM' was not declared in this scope
GuildSafeboxManager
.h:71error'GUILD_SAFEBOX_MAX_NUM' was not declared in this scope
GuildSafeboxManager
.hIn member function 'void CGuildSafebox::SetPassword(const char*)':
GuildSafeboxManager.h:36error'm_szPassword' was not declared in this scope
GuildSafeboxManager
.hIn member function 'const char* CGuildSafebox::GetPassword()':
GuildSafeboxManager.h:37error'm_szPassword' was not declared in this scope
GuildSafeboxManager
.hIn member function 'bool CGuildSafebox::CheckPassword(const char*) const':
GuildSafeboxManager.h:38error'm_szPassword' was not declared in this scope
GuildSafeboxManager
.hIn member function 'const TPlayerItem* CGuildSafebox::GetItem(BYTE) const':
GuildSafeboxManager.h:59error'm_pItems' was not declared in this scope
Makefile
:58recipe for target '.obj/Main.o' failed
gmake
: *** [.obj/Main.oError 1 
Kind regards
Senti

HELP PLZ?

My

../db/src/stdafx.h

\/

10/11/2015 15:43 filipw1#207
I've got problem.
Game syserr:
Code:
SYSERR: Oct 10 23:18:34 :: HandleEvent: QUEST There's suspended quest state, can't run new quest state (quest: QUEST_CHAT_TEMP_QUEST pc: Ninja)
SYSERR: Oct 10 23:18:35 :: HandleEvent: QUEST There's suspended quest state, can't run new quest state (quest: QUEST_CHAT_TEMP_QUEST pc: Ninja)
SYSERR: Oct 10 23:18:35 :: HandleEvent: QUEST There's suspended quest state, can't run new quest state (quest: QUEST_CHAT_TEMP_QUEST pc: Ninja)
SYSERR: Oct 10 23:18:39 :: HandleEvent: QUEST There's suspended quest state, can't run new quest state (quest: QUEST_CHAT_TEMP_QUEST pc: Ninja)
SYSERR: Oct 10 23:18:39 :: HandleEvent: QUEST There's suspended quest state, can't run new quest state (quest: QUEST_CHAT_TEMP_QUEST pc: Ninja)
SYSERR: Oct 10 23:18:44 :: HandleEvent: QUEST There's suspended quest state, can't run new quest state (quest: QUEST_CHAT_TEMP_QUEST pc: Ninja)
SYSERR: Oct 10 23:18:44 :: HandleEvent: QUEST There's suspended quest state, can't run new quest state (quest: QUEST_CHAT_TEMP_QUEST pc: Ninja)
SYSERR: Oct 10 23:18:45 :: HandleEvent: QUEST There's suspended quest state, can't run new quest state (quest: QUEST_CHAT_TEMP_QUEST pc: Ninja)
SYSERR: Oct 10 23:18:46 :: HandleEvent: QUEST There's suspended quest state, can't run new quest state (quest: QUEST_CHAT_TEMP_QUEST pc: Ninja)
SYSERR: Oct 10 23:18:46 :: HandleEvent: QUEST There's suspended quest state, can't run new quest state (quest: QUEST_CHAT_TEMP_QUEST pc: Ninja)
SYSERR: Oct 10 23:18:47 :: HandleEvent: QUEST There's suspended quest state, can't run new quest state (quest: QUEST_CHAT_TEMP_QUEST pc: Ninja)
SYSERR: Oct 10 23:18:47 :: HandleEvent: QUEST There's suspended quest state, can't run new quest state (quest: QUEST_CHAT_TEMP_QUEST pc: Ninja)
SYSERR: Oct 10 23:18:48 :: HandleEvent: QUEST There's suspended quest state, can't run new quest state (quest: QUEST_CHAT_TEMP_QUEST pc: Ninja)
SYSERR: Oct 10 23:18:48 :: HandleEvent: QUEST There's suspended quest state, can't run new quest state (quest: QUEST_CHAT_TEMP_QUEST pc: Ninja)
SYSERR: Oct 10 23:18:49 :: HandleEvent: QUEST There's suspended quest state, can't run new quest state (quest: QUEST_CHAT_TEMP_QUEST pc: Ninja)
SYSERR: Oct 10 23:18:49 :: HandleEvent: QUEST There's suspended quest state, can't run new quest state (quest: QUEST_CHAT_TEMP_QUEST pc: Ninja)
SYSERR: Oct 10 23:18:50 :: HandleEvent: QUEST There's suspended quest state, can't run new quest state (quest: QUEST_CHAT_TEMP_QUEST pc: Ninja)
SYSERR: Oct 10 23:18:50 :: HandleEvent: QUEST There's suspended quest state, can't run new quest state (quest: QUEST_CHAT_TEMP_QUEST pc: Ninja)
SYSERR: Oct 10 23:18:51 :: HandleEvent: QUEST There's suspended quest state, can't run new quest state (quest: QUEST_CHAT_TEMP_QUEST pc: Ninja)
SYSERR: Oct 10 23:18:51 :: HandleEvent: QUEST There's suspended quest state, can't run new quest state (quest: QUEST_CHAT_TEMP_QUEST pc: Ninja)
Syslog
Code:
Oct 10 23:18:38 :: Click Quest : MatchingQuest
Oct 10 23:18:38 :: QUEST Setting flag QUEST_CHAT_TEMP_QUEST.__status 0
Oct 10 23:18:38 :: [QUESTION 1;GM: Ogranicz|2;GM: Check|3;Rozwiąż gildię |4;Stworz Gildie|5;Ranking mojej gildii|6;Ranking ogólny|7;Moja gildia|8;GM: Priv Emp|9;GM:Daj bonus gildii|10;Gildenlager öffnen|11;Zamknij]
Oct 10 23:18:38 :: m_strScript [QUESTION 1;GM: Ogranicz|2;GM: Check|3;Rozwiąż gildię |4;Stworz Gildie|5;Ranking mojej gildii|6;Ranking ogólny|7;Moja gildia|8;GM: Priv Emp|9;GM:Daj bonus gildii|10;Gildenlager öffnen|11;Zamknij] size 201
SYSERR: Oct 10 23:18:39 :: HandleEvent: QUEST There's suspended quest state, can't run new quest state (quest: QUEST_CHAT_TEMP_QUEST pc: Ninja)
SYSERR: Oct 10 23:18:39 :: HandleEvent: QUEST There's suspended quest state, can't run new quest state (quest: QUEST_CHAT_TEMP_QUEST pc: Ninja)
Oct 10 23:18:40 :: Packet Analyze [Header 29][bufferLeft 3] 
Oct 10 23:18:40 :: CInputMain::Analyze() ==> Header [29] 
Oct 10 23:18:40 :: QUEST ScriptAnswer pid 922 answer 9
Oct 10 23:18:40 :: QUEST Setting flag guild_safebox.__status 0
Oct 10 23:18:40 :: CGuildSafeBox::OpenSafebox: Request loading from DB
Oct 10 23:18:40 :: m_strScript [COLOR r;1|g;0.90196078431373|b;0.72941176470588]Strażnik Wsi:[COLOR r;0.76862745098039|g;0.76862745098039|b;0.76862745098039][ENTER]Gerne doch, hier ist das Lager.[ENTER]Wünsche einen schönen Tag![ENTER][ENTER][DONE] size 223
10/22/2015 02:47 naosou#208
Code:
compile guild_safebox.cpp
guild_safebox.cpp: In member function 'void CGuildSafeBox::LoadItem(TPlayerItem*, DWORD)':
guild_safebox.cpp:55: warning: comparison between signed and unsigned integer expressions
guild_safebox.cpp: In member function 'void CGuildSafeBox::GiveGold(CHARACTER*, DWORD)':
guild_safebox.cpp:330: warning: comparison between signed and unsigned integer expressions
guild_safebox.cpp: In member function 'void CGuildSafeBox::__ClientPacket(BYTE, const void*, size_t, CHARACTER*)':
guild_safebox.cpp:488: error: 'HEADER_GC_GUILD_SAFEBOX' was not declared in this scope
10/22/2015 12:40 TheSLZ#209
Quote:
Originally Posted by kimameixede View Post
bump

BUG FIXED.

but now when i put itens in guild safebox and reboot server the itens disappear.
Me too. This system's load function doesn't work at server start.
Just use this: [Only registered and activated users can see links. Click Here To Register...]
Coded with Python, but works as well this. (Or better.)
10/22/2015 21:01 °Ace°#210
Hey, mal eine Frage..
Und zwar, sobald man das Gildenlager öffnet funktioniert auch alles. Jedoch wenn ich auf die Logs gehe, wird der Gildenlagerboard im Vordergrund verschoben und der Logboard ist hinter dem Gildenlagerboard (wo man die Items rein tut). Kann mir da einer helfen es so umzustellen, dass wenn man auf die Logs geht, das das Fenster vor dem Board ist ?