- Mesaj
- 39
- Beğeni
- 2
- Puan
- 436
- Ticaret Puanı
- 0
Max yang sistemini ekledim fakat shop kısmı çalışmıyor marketten eşya alırken 2T147M483K647 gözüküyor aklınıza gelebilecek herşeyi yaptım, no txt olarak çekiyor, navicat item_protoda gold ve shop_buy_price kısmını hiçbir şekilde 2147483647 üstüne çıkmıyor
#ifdef ENABLE_YANG_LIMIT_SYSTEM
"%d, %d, %d, \"%s\", \"%s\", %lld, %lld, %d, %d, "
#else
"%d, %d, %d, \"%s\", \"%s\", %d, %d, %d, %d, "
#endif
#ifdef ENABLE_YANG_LIMIT_SYSTEM
t.dwVnum, t.bType, t.bSubType, t.szName, t.szLocaleName, t.llGold, t.llShopBuyPrice, t.bWeight, t.bSize,
#else
t.dwVnum, t.bType, t.bSubType, t.szName, t.szLocaleName, t.dwGold, t.dwShopBuyPrice, t.bWeight, t.bSize,
#endif
#ifdef ENABLE_YANG_LIMIT_SYSTEM
"%d, %d, %d, \"%s\", %lld, %lld, %d, %d, "
#else
"%d, %d, %d, \"%s\", %d, %d, %d, %d, "
#endif
#ifdef ENABLE_YANG_LIMIT_SYSTEM
t.dwVnum, t.bType, t.bSubType, t.szName, t.llGold, t.llShopBuyPrice, t.bWeight, t.bSize,
#else
t.dwVnum, t.bType, t.bSubType, t.szName, t.dwGold, t.dwShopBuyPrice, t.bWeight, t.bSize,
#endif
#ifdef ENABLE_YANG_LIMIT_SYSTEM
item_table->llGold = tempTable->llGold;
item_table->llShopBuyPrice = tempTable->llShopBuyPrice;
#else
item_table->dwGold = tempTable->dwGold;
item_table->dwShopBuyPrice = tempTable->dwShopBuyPrice;
#endif
yukarısı clientmanagerboot.cpp
aşağısı tables.h
#ifdef ENABLE_YANG_LIMIT_SYSTEM
long long llGold;
long long llShopBuyPrice;
#else
DWORD dwGold;
DWORD dwShopBuyPrice;
#endif
aşağısı protoreader.cpp
#ifdef ENABLE_YANG_LIMIT_SYSTEM
itemTable->llGold = dataArray[9];
itemTable->llShopBuyPrice = dataArray[10];
#else
itemTable->dwGold = dataArray[9];
itemTable->dwShopBuyPrice = dataArray[10];
#endif
#ifdef ENABLE_YANG_LIMIT_SYSTEM
"%d, %d, %d, \"%s\", \"%s\", %lld, %lld, %d, %d, "
#else
"%d, %d, %d, \"%s\", \"%s\", %d, %d, %d, %d, "
#endif
#ifdef ENABLE_YANG_LIMIT_SYSTEM
t.dwVnum, t.bType, t.bSubType, t.szName, t.szLocaleName, t.llGold, t.llShopBuyPrice, t.bWeight, t.bSize,
#else
t.dwVnum, t.bType, t.bSubType, t.szName, t.szLocaleName, t.dwGold, t.dwShopBuyPrice, t.bWeight, t.bSize,
#endif
#ifdef ENABLE_YANG_LIMIT_SYSTEM
"%d, %d, %d, \"%s\", %lld, %lld, %d, %d, "
#else
"%d, %d, %d, \"%s\", %d, %d, %d, %d, "
#endif
#ifdef ENABLE_YANG_LIMIT_SYSTEM
t.dwVnum, t.bType, t.bSubType, t.szName, t.llGold, t.llShopBuyPrice, t.bWeight, t.bSize,
#else
t.dwVnum, t.bType, t.bSubType, t.szName, t.dwGold, t.dwShopBuyPrice, t.bWeight, t.bSize,
#endif
#ifdef ENABLE_YANG_LIMIT_SYSTEM
item_table->llGold = tempTable->llGold;
item_table->llShopBuyPrice = tempTable->llShopBuyPrice;
#else
item_table->dwGold = tempTable->dwGold;
item_table->dwShopBuyPrice = tempTable->dwShopBuyPrice;
#endif
yukarısı clientmanagerboot.cpp
aşağısı tables.h
#ifdef ENABLE_YANG_LIMIT_SYSTEM
long long llGold;
long long llShopBuyPrice;
#else
DWORD dwGold;
DWORD dwShopBuyPrice;
#endif
aşağısı protoreader.cpp
#ifdef ENABLE_YANG_LIMIT_SYSTEM
itemTable->llGold = dataArray[9];
itemTable->llShopBuyPrice = dataArray[10];
#else
itemTable->dwGold = dataArray[9];
itemTable->dwShopBuyPrice = dataArray[10];
#endif
Son düzenleme: