i am dat asta si eu,citeste mesajele inainte[Reizo] scrie: ↑24 Mai 2020, 19:28 Încearcă aşa şi vezi dacă mai primeşti errori:
char chatbuf[CHAT_MAX_LEN + 1]; int len; std::auto_ptr<SQLMsg> pMsg(DBManager::instance().DirectQuery("SELECT ptagcolor, ptag FROM player.player WHERE id = '%d'", ch->GetPlayerID())); if (pMsg->Get()->uiNumRows == 0) return false; MYSQL_ROW row = mysql_fetch_row(pMsg->Get()->pSQLResult); char const* bTagColor = row[0]; char const* bTag = row[1]; if (strcmp(bTag, "")) len = snprintf(chatbuf, sizeof(chatbuf), "[|cFF%s%s|r] %s : %s", bTagColor, bTag, ch->GetName(), buf); else len = snprintf(chatbuf, sizeof(chatbuf), "%s : %s", ch->GetName(), buf);[ Postat de pe Linux Laptop ]![]()
Tag System
- Pentru acest mesaj, F. Laurentiu for the post:
- [OVA]Hermes
Mersi, i-am dat de cap[Reizo] scrie: ↑24 Mai 2020, 19:28 Încearcă aşa şi vezi dacă mai primeşti errori:
char chatbuf[CHAT_MAX_LEN + 1]; int len; std::auto_ptr<SQLMsg> pMsg(DBManager::instance().DirectQuery("SELECT ptagcolor, ptag FROM player.player WHERE id = '%d'", ch->GetPlayerID())); if (pMsg->Get()->uiNumRows == 0) return false; MYSQL_ROW row = mysql_fetch_row(pMsg->Get()->pSQLResult); char const* bTagColor = row[0]; char const* bTag = row[1]; if (strcmp(bTag, "")) len = snprintf(chatbuf, sizeof(chatbuf), "[|cFF%s%s|r] %s : %s", bTagColor, bTag, ch->GetName(), buf); else len = snprintf(chatbuf, sizeof(chatbuf), "%s : %s", ch->GetName(), buf);[ Postat de pe Linux Laptop ]![]()
l-am rezolvat boss, vă mulțumesc de ajutorF. Laurentiu scrie: ↑24 Mai 2020, 19:35i am dat asta si eu,citeste mesajele inainte[Reizo] scrie: ↑24 Mai 2020, 19:28 Încearcă aşa şi vezi dacă mai primeşti errori:
char chatbuf[CHAT_MAX_LEN + 1]; int len; std::auto_ptr<SQLMsg> pMsg(DBManager::instance().DirectQuery("SELECT ptagcolor, ptag FROM player.player WHERE id = '%d'", ch->GetPlayerID())); if (pMsg->Get()->uiNumRows == 0) return false; MYSQL_ROW row = mysql_fetch_row(pMsg->Get()->pSQLResult); char const* bTagColor = row[0]; char const* bTag = row[1]; if (strcmp(bTag, "")) len = snprintf(chatbuf, sizeof(chatbuf), "[|cFF%s%s|r] %s : %s", bTagColor, bTag, ch->GetName(), buf); else len = snprintf(chatbuf, sizeof(chatbuf), "%s : %s", ch->GetName(), buf);[ Postat de pe Linux Laptop ]![]()
- xSnappy
-

- Mesaje: 207
- Membru din: 20 Aug 2013, 08:23
- Server: Demera2
- Regat: Shinsoo
- Aprecieri: 3
- Mulţumiri: 1
- Discord: Copiază ID
- Contact:
MUtat la rezolvate
Răspunsuri
1 Vizualizări
323
1 Vizualizări
323
Răspunsuri
21 Vizualizări
3822
21 Vizualizări
3822
Răspunsuri
5 Vizualizări
1346
5 Vizualizări
1346
-
- Informaţie
-
Cine este conectat
Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 29 vizitatori



de