Agora Metin2 1
Agora Metin2
raderde 1
raderde
Cannn6161 1
Cannn6161
noisiv 1
noisiv
Manwe Work 1
Manwe Work
Mt2Hizmet 1
Mt2Hizmet
melankolıa18 1
melankolıa18
romegames 1
romegames
Krutzo 1
Krutzo
shrpnl 1
shrpnl
Hikaye Ekle
Reklam vermek için turkmmo@gmail.com

Cevaplanmadı İkarus Offline Shop Hakkında

  • Konuyu başlatan Konuyu başlatan kralhamsi
  • Başlangıç tarihi Başlangıç tarihi
  • Cevaplar Cevaplar 0
  • Görüntüleme Görüntüleme 268

kralhamsi

Level 1
Üye
Katılım
21 Haz 2009
Konular
2
Mesajlar
9
Online süresi
8d 9h
Reaksiyon Skoru
0
Altın Konu
0
TM Yaşı
16 Yıl 11 Ay 22 Gün
Başarım Puanı
87
MmoLira
696
DevLira
0
Ticaret - 0%
0   0   0

ROHAN2 WORLD 1-120 TR TİPİ OFFICIAL YOHARA, BALATHOR VE AMON! 80. GÜNÜNDE! +10.000 ONLİNE! HİLE VE BOT %100 ENGELLİ HEMEN TIKLA!

Kod:
OfflineshopCache.cpp: In function 'std::string offlineshop::CreateShopCacheInsertShopQuery(DWORD, DWORD, const char*, offlineshop::TShopPosition)':
OfflineshopCache.cpp:1336:177: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'long int' [-Wformat=]
 1336 |   snprintf(szQuery, sizeof(szQuery), "INSERT INTO `player`.`offlineshop_shops` (`owner_id`, `duration`, `name`, `pos_x`, `pos_y`, `map_index`, `ch                                                                                   annel`) VALUES(%u, %u, '%s', %u, %u, %d, %d);",
      |                                                                                                                                                                                                                                                                   ~^
      |                                                                                                                                                                                                                                                                    |
      |                                                                                                                                                                                                                                                                    unsigned int
      |                                                                                                                                                                                                                                                                   %lu
 1337 |    dwOwnerID, dwDuration, szEscapeString, pos.x, pos.y, pos.lMapIndex, pos.bChannel
      |                                           ~~~~~                                                                                                                                                                                     
      |                                               |
      |                                               long int
OfflineshopCache.cpp:1336:181: warning: format '%u' expects argument of type 'unsigned int', but argument 8 has type 'long int' [-Wformat=]
 1336 |   snprintf(szQuery, sizeof(szQuery), "INSERT INTO `player`.`offlineshop_shops` (`owner_id`, `duration`, `name`, `pos_x`, `pos_y`, `map_index`, `ch                                                                                   annel`) VALUES(%u, %u, '%s', %u, %u, %d, %d);",
      |                                                                                                                                                                                                                                                                       ~^
      |                                                                                                                                                                                                                                                                        |
      |                                                                                                                                                                                                                                                                        unsigned int
      |                                                                                                                                                                                                                                                                       %lu
 1337 |    dwOwnerID, dwDuration, szEscapeString, pos.x, pos.y, pos.lMapIndex, pos.bChannel
      |                                                  ~~~~~                                                                                                                                                                               
      |                                                      |
      |                                                      long int
OfflineshopCache.cpp:1336:185: warning: format '%d' expects argument of type 'int', but argument 9 has type 'long int' [-Wformat=]
 1336 |   snprintf(szQuery, sizeof(szQuery), "INSERT INTO `player`.`offlineshop_shops` (`owner_id`, `duration`, `name`, `pos_x`, `pos_y`, `map_index`, `ch                                                                                   annel`) VALUES(%u, %u, '%s', %u, %u, %d, %d);",
      |                                                                                                                                                                                                                                                                           ~^
      |                                                                                                                                                                                                                                                                            |
      |                                                                                                                                                                                                                                                                            int
      |                                                                                                                                                                                                                                                                           %ld
 1337 |    dwOwnerID, dwDuration, szEscapeString, pos.x, pos.y, pos.lMapIndex, pos.bChannel
      |                                                         ~~~~~~~~~~~~~                                                                                                                                                               
      |                                                             |
      |                                                             long int
OfflineshopCache.cpp: In member function 'bool offlineshop::CShopCache::ChangeShopName(DWORD, const char*)':
OfflineshopCache.cpp:287:10: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 65 equals destination size [-Wstringop-truncation]
  287 |   strncpy(rShop.szName, szName, sizeof(rShop.szName));
      |   ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
OfflineshopCache.cpp: In member function 'bool offlineshop::CShopCache::CreateShop(DWORD, DWORD, const char*, std::vector<offlineshop::CShopCache::SShopCa                                                                                   cheItemInfo>&, offlineshop::TShopPosition)':
OfflineshopCache.cpp:252:10: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 65 equals destination size [-Wstringop-truncation]
  252 |   strncpy(qi->szName, szName, sizeof(qi->szName));
      |   ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
OfflineshopCache.cpp: In member function 'bool offlineshop::CShopCache::PutShop(DWORD, DWORD, const char*, offlineshop::TShopPosition)':
OfflineshopCache.cpp:323:10: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 65 equals destination size [-Wstringop-truncation]
  323 |   strncpy(sShop.szName, szName, sizeof(sShop.szName));
      |   ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compiling ClientManagerOfflineshop.cpp
ClientManagerOfflineshop.cpp: In member function 'bool CClientManager::InitializeOfflineshopTable()':
ClientManagerOfflineshop.cpp:52:10: warning: unused variable 'dwOwner' [-Wunused-variable]
   52 |    DWORD dwOwner =0, dwDuration=0;
      |          ^~~~~~~
ClientManagerOfflineshop.cpp:52:22: warning: unused variable 'dwDuration' [-Wunused-variable]
   52 |    DWORD dwOwner =0, dwDuration=0;
      |                      ^~~~~~~~~~
ClientManagerOfflineshop.cpp: In member function 'bool CClientManager::SendOfflineShopChangeName(DWORD, const char*)':
ClientManagerOfflineshop.cpp:1151:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 65 equals destination size [-Wstringop-truncatio                                                                                   n]
 1151 |  strncpy(subpack.szName, szName, sizeof(subpack.szName));
      |  ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ClientManagerOfflineshop.cpp: In member function 'bool CClientManager::InitializeOfflineshopTable()':
ClientManagerOfflineshop.cpp:187:12: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 65 equals destination size [-Wstringop-truncatio                                                                                   n]
  187 |     strncpy(offer.szBuyerName, row[col++], sizeof(offer.szBuyerName));
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ClientManagerOfflineshop.cpp:225:12: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 65 equals destination size [-Wstringop-truncatio                                                                                   n]
  225 |     strncpy(info.szOwnerName,    row[col++], sizeof(info.szOwnerName));
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ClientManagerOfflineshop.cpp:282:12: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 65 equals destination size [-Wstringop-truncatio                                                                                   n]
  282 |     strncpy(offer.szBuyerName,   row[col++], sizeof(offer.szBuyerName));
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
linking ../db_r41024
root@Light5:/usr/src/Server/db/src #


Merhaba İkarus Offline Shop Eklerken Böyle bir hata ile karşılaşmaktayım,
eklemelerimi gözden çok kez geçirdim ama sorunu çözemedim yardım ederseniz sevinirim :/
 

Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)

Geri
Üst