Just if you use SQLMsg* pkMsg then it's called a raw pointer and you've to delete it manually, but for std::unique_ptr<SQLMsg>, you don't have to do it, has no effects the reset method in this case.
The benefit of using smart pointers like unique_prt || shared_ptr is that they automatically delete the pointed object when no longer needed (i.e. out of scope).
I try This and have this error:
char.cpp: In member function 'void CHARACTER::OpenShop(DWORD, const char*, bool)':
char.cpp:8086: error: request for member 'reset' in 'pkMsg', which is of non-class type 'SQLMsg*'
char.cpp:8086: error: 'nullptr' was not declared in this scope
Thank you for your feedback, but i have an issue..
I have changed only the line below (as you pointed) in input_main.cpp and here is the Outcome:
int len = snprintf(chatbuf, sizeof(chatbuf), "%s : %s", ch->GetName(), buf);
The guild chat Layout is the same as normal chat layout... The Guild char % is copying the normal chat layout...
Is there a way to modify only GUILD CHAT ?
I want to see only the guild chat with that layout, normal chat being default as usual..