lipitb Posted August 20, 2013 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 5 Reputation: 0 Joined: 06/14/13 Last Seen: October 2, 2013 Share 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 Link to comment Share on other sites More sharing options...
goddameit Posted August 22, 2013 Group: Members Topic Count: 60 Topics Per Day: 0.01 Content Count: 562 Reputation: 219 Joined: 11/22/11 Last Seen: August 3, 2024 Share Posted August 22, 2013 sd->message Quote Link to comment Share on other sites More sharing options...
lipitb Posted August 22, 2013 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 5 Reputation: 0 Joined: 06/14/13 Last Seen: October 2, 2013 Author Share Posted August 22, 2013 Hi! Who take the vending shop (shop name,item list, price, location x y,map) to database table? Thanks Quote Link to comment Share on other sites More sharing options...
lipitb Posted August 23, 2013 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 5 Reputation: 0 Joined: 06/14/13 Last Seen: October 2, 2013 Author Share Posted August 23, 2013 Hi! Who take the vending shop (shop name,item list, price, location x y,map) to database table? Thanks Quote Link to comment Share on other sites More sharing options...
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;
}
Link to comment
Share on other sites
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.