lipitb Posted August 20, 2013 Posted August 20, 2013 HI please Who return a shop vending title? trunk/src/map/vending.c if( SQL_ERROR == SQL->Query(mmysql_handle, "INSERT INTO `vending_list` " "(`char_id`,`shopname`,`item_id`,`amount`,`price`,`timestamp`) " "VALUES ('%d', '%s', '%d', '%d', '%d', 'CURRENT_TIMESTAMP')", sd->status.char_id, <RETURN A SHOP TITLE>, sd->status.cart[index], sd->vending.amount, sd->vending.value)) { Sql_ShowDebug(mmysql_handle); continue; } Quote
lipitb Posted August 22, 2013 Author Posted August 22, 2013 Hi! Who take the vending shop (shop name,item list, price, location x y,map) to database table? Thanks Quote
lipitb Posted August 23, 2013 Author Posted August 23, 2013 Hi! Who take the vending shop (shop name,item list, price, location x y,map) to database table? Thanks Quote
Question
lipitb
HI
please
Who return a shop vending title?
trunk/src/map/vending.c
if( SQL_ERROR == SQL->Query(mmysql_handle, "INSERT INTO `vending_list` "
"(`char_id`,`shopname`,`item_id`,`amount`,`price`,`timestamp`) "
"VALUES ('%d', '%s', '%d', '%d', '%d', 'CURRENT_TIMESTAMP')",
sd->status.char_id, <RETURN A SHOP TITLE>, sd->status.cart[index], sd->vending.amount, sd->vending.value))
{
Sql_ShowDebug(mmysql_handle);
continue;
}
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.