C++ error

hello.

i tried compile a custom system but i got some error.please help if u know how to solve them.

WorldDatabase.escape_string(itemName);

error C2039:‘escape_string’:is not a member of ‘databaseworkerpool’

… …

if(matchData->GetItemIdBy(pPlayer) == 0)

pPlayer->PlayerTalkClass->GetGossipMenu().AddMenuItem(ARENA_GAMBLER_ICON_BE T_ITEM, ARENA_GAMBLER_TEXT_BET_ITEM, ARENA_GAMBLER_MENU_BET_ITEM, GOSSIP_ACTION_INFO_DEF + 1, ARENA_GAMBLER_TEXT_BET_ITEM_CODE_TEXT, 0, true);

error C2660:‘GossipMenu::AddMenuItem’:function does not take 6 arguments

… …

sLog->outError(“GamblingSystem: Unable to load duel_config, result was not returned”);

error C2660: ‘log:http://www.ac-web.org/forum/venise/smilies/redface.gifuterror’: function does not take 1 arguments

… …

pPlayer->PlayerTalkClass->GetGossipMenu().AddMenuItem(1, “”, ARENA_GAMBLER_MENU_MAIN, GOSSIP_ACTION_INFO_DEF + 1, “”, 0, false);

error C2664:‘GossipMenu::AddMenuItem’:connot convert parameter 2 from 'const char [1]‘to’uniut8’

… …

You must post the full patch when requesting help for a custom patch. Any help request without full patch will be closed.

which system is that?