new errors
shop.cpp: In member function 'virtual bool CShop::AddGuest(LPCHARACTER, DWORD, bool)':
shop.cpp:420:33: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'TPacketGCShopStart' {aka 'struct packet_shop_start'}; use assignment or value-initialization instead [-Wclass-memaccess]
420 | memset(&pack2, 0, sizeof(pack2));
| ^
In file included from packet_info.h:4,
from input.h:4,
from desc.h:5,
from shop.cpp:7:
packet.h:1273:16: note: 'TPacketGCShopStart' {aka 'struct packet_shop_start'} declared here
1273 | typedef struct packet_shop_start
====================================================================================
ClientManagerBoot.cpp: In member function 'bool CClientManager::InitializeShopEXTable()':
ClientManagerBoot.cpp:391:49: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'TShopTable' {aka 'struct SShopTable'}; use assignment or value-initialization instead [-Wclass-memaccess]
391 | std::memset(shop_table, 0, sizeof(TShopTable));
| ^
In file included from stdafx.h:14,
from ClientManagerBoot.cpp:2:
../../common/tables.h:624:16: note: 'TShopTable' {aka 'struct SShopTable'} declared here
624 | typedef struct SShopTable
| ^~~~~~~~~~
ClientManagerBoot.cpp:398:27: error: 'TShopTable' {aka 'struct SShopTable'} has no member named 'szShopName'
398 | std::memcpy(shop_table->szShopName, data[col++], sizeof(shop_table->szShopName));
| ^~~~~~~~~~
ClientManagerBoot.cpp:398:71: error: 'TShopTable' {aka 'struct SShopTable'} has no member named 'szShopName'
398 | std::memcpy(shop_table->szShopName, data[col++], sizeof(shop_table->szShopName));
| ^~~~~~~~~~
ClientManagerBoot.cpp:406:24: error: 'TShopItemTable' {aka 'struct SShopItemTable'} has no member named 'price_vnum'
406 | str_to_number(pItem->price_vnum, data[col++]);
| ^~~~~~~~~~
ClientManagerBoot.cpp:407:24: error: 'TShopItemTable' {aka 'struct SShopItemTable'} has no member named 'price_type'
407 | str_to_number(pItem->price_type, data[col++]);
| ^~~~~~~~~~
ClientManagerBoot.cpp:410:25: error: 'TShopItemTable' {aka 'struct SShopItemTable'} has no member named 'alSockets'
410 | str_to_number(pItem->alSockets[i], data[col++]);
| ^~~~~~~~~
ClientManagerBoot.cpp:412:25: error: 'TShopItemTable' {aka 'struct SShopItemTable'} has no member named 'aAttr'
412 | str_to_number(pItem->aAttr[i].bType, data[col++]);
| ^~~~~
ClientManagerBoot.cpp:413:25: error: 'TShopItemTable' {aka 'struct SShopItemTable'} has no member named 'aAttr'
413 | str_to_number(pItem->aAttr[i].sValue, data[col++]);
| ^~~~~