Çözüldü error: 's_upp_grid1' was not declared in this scope

Bu konu çözüme ulaştırılmıştır. Çözüm için konuya yazılan tüm yorumları okumayı unutmayın. Eğer konudaki yorumlar sorununuzu çözmediyse yeni bir konu açabilirsiniz.

karew1

MT Üye
MT Üye
Mesaj
150
Çözümler
1
Beğeni
92
Puan
689
Ticaret Puanı
0
Merhabalar,

Build işleminde hata alıyorum K Envanter Sistemini eklemeye çalışıyorum.

GameSrc_Build_Err::
Genişlet Daralt Kopyala
compile exchange.cpp
exchange.cpp: In member function 'bool CExchange::CheckSpace()':
exchange.cpp:474: warning: name lookup of 'i' changed
exchange.cpp:339: warning:   matches this 'i' under ISO standard rules
exchange.cpp:398: warning:   matches this 'i' under old rules
exchange.cpp:552: error: 's_upp_grid1' was not declared in this scope
exchange.cpp:557: error: 's_upp_grid2' was not declared in this scope
exchange.cpp:562: error: 's_upp_grid3' was not declared in this scope
exchange.cpp:567: error: 's_upp_grid4' was not declared in this scope
exchange.cpp:572: error: 's_upp_grid5' was not declared in this scope
exchange.cpp:581: error: 's_book_grid1' was not declared in this scope
exchange.cpp:586: error: 's_book_grid2' was not declared in this scope
exchange.cpp:591: error: 's_book_grid3' was not declared in this scope
exchange.cpp:596: error: 's_book_grid4' was not declared in this scope
exchange.cpp:601: error: 's_book_grid5' was not declared in this scope
exchange.cpp:610: error: 's_stone_grid1' was not declared in this scope
exchange.cpp:615: error: 's_stone_grid2' was not declared in this scope
exchange.cpp:620: error: 's_stone_grid3' was not declared in this scope
exchange.cpp:625: error: 's_stone_grid4' was not declared in this scope
exchange.cpp:630: error: 's_stone_grid5' was not declared in this scope
exchange.cpp: In member function 'bool CExchange::Done()':
exchange.cpp:772: warning: name lookup of 'i' changed
exchange.cpp:679: warning:   matches this 'i' under ISO standard rules
exchange.cpp:768: warning:   matches this 'i' under old rules
Makefile:136: recipe for target 'OBJDIR/exchange.o' failed
gmake[1]: *** [OBJDIR/exchange.o] Error 1
gmake[1]: Leaving directory '/home/ServerSource/Srcs/Server/game/src'
Makefile:53: recipe for target 'all' failed
gmake: *** [all] Error 2

Sanırım Tanımlama ile alakalı bir sorun indef/include ile ilgili olduğunu düşünüyorum ama siz daha iyi bilirsiniz.
Eklemeye çalıştığım sistemin dosyasını da paylaşıyorum.

Şu anda oyun içerisinde K envanter açılıyor işlevleri geçersiz Normal envanter açılıyor ve çalışıyor yani Client bölümü tamam sadece Src bölümleri kaldı.

Ayrıca s_stone_grid1, s_book_grid1, s_upp_grid1 gibi kodlar eklediğim dosyalardan exchange.cpp'de kullanılmış...

s_book_grid.webp


Şu anlık bu kadar bilgiye sahibim.

Yardımcı olabilecek var mı ?

Teşekkürler.
 

Dosya Eklentileri

Senin için dosyayı baya düzenledim kodları tek tek yeniden daha işlevli bir şekilde yazdım karmakarışıktı farkı görürsün zaten sorunun çözülcek diye düşünüyorum.
Linkleri görebilmek için giriş yap veya kayıt ol.
 
@Reached Maalesef bu sefer yenileri katıldı :)

GameSrc_Build_Err:
Genişlet Daralt Kopyala
compile exchange.cpp
exchange.cpp: In member function 'bool CExchange::CheckSpace()':
exchange.cpp:497: warning: name lookup of 'i' changed
exchange.cpp:339: warning:   matches this 'i' under ISO standard rules
exchange.cpp:399: warning:   matches this 'i' under old rules
exchange.cpp:365: warning: unused variable 'item2'
exchange.cpp:365: warning: unused variable 'item3'
exchange.cpp:575: error: 'upgrade_count' was not declared in this scope
exchange.cpp:578: error: 's_upp_grid1' was not declared in this scope
exchange.cpp:585: error: 's_upp_grid2' was not declared in this scope
exchange.cpp:592: error: 's_upp_grid3' was not declared in this scope
exchange.cpp:599: error: 's_upp_grid4' was not declared in this scope
exchange.cpp:605: error: 's_upp_grid5' was not declared in this scope
exchange.cpp:616: error: 'book_count' was not declared in this scope
exchange.cpp:619: error: 's_book_grid1' was not declared in this scope
exchange.cpp:626: error: 's_book_grid2' was not declared in this scope
exchange.cpp:633: error: 's_book_grid3' was not declared in this scope
exchange.cpp:640: error: 's_book_grid4' was not declared in this scope
exchange.cpp:647: error: 's_book_grid5' was not declared in this scope
exchange.cpp:658: error: 'stone_count' was not declared in this scope
exchange.cpp:661: error: 's_stone_grid1' was not declared in this scope
exchange.cpp:668: error: 's_stone_grid2' was not declared in this scope
exchange.cpp:675: error: 's_stone_grid3' was not declared in this scope
exchange.cpp:682: error: 's_stone_grid4' was not declared in this scope
exchange.cpp:689: error: 's_stone_grid5' was not declared in this scope
exchange.cpp: In member function 'bool CExchange::Done()':
exchange.cpp:833: warning: name lookup of 'i' changed
exchange.cpp:740: warning:   matches this 'i' under ISO standard rules
exchange.cpp:829: warning:   matches this 'i' under old rules
Makefile:136: recipe for target 'OBJDIR/exchange.o' failed
gmake[1]: *** [OBJDIR/exchange.o] Error 1
gmake[1]: Leaving directory '/home/ServerSource/Srcs/Server/game/src'
Makefile:53: recipe for target 'all' failed
gmake: *** [all] Error 2
 
Galiba sorunu buldum, book_gridler diğer kod bloğu tarafından erişilemiyor. Çünkü diğer s_book_grid'lerde bir sıkıntı yok sadece aşşağıya yazılanlarda problem çıkmış. Macro kontrollerini (#ifdef #endif'leri kaldırıp tekrar dener misin ?)
 
Ya da #define tanımladığınız dosyayı include edebilirsiniz.

C++:
Genişlet Daralt Kopyala
#include "../../common/service.h"
 
service.h:
Genişlet Daralt Kopyala
// Define the new macro to the last define
#define UK_ENABLE_SPECIAL_STORAGE//K_ENV_SISTEMI

length.h:
Genişlet Daralt Kopyala
#ifndef __INC_METIN_II_LENGTH_H__
#define __INC_METIN_II_LENGTH_H__
#include "../../common/service.h"

exchange.cpp:
Genişlet Daralt Kopyala
#include "stdafx.h"
#include "../../libgame/include/grid.h"
#include "utils.h"
#include "desc.h"
#include "desc_client.h"
#include "char.h"
#include "item.h"
#include "item_manager.h"
#include "packet.h"
#include "log.h"
#include "db.h"
#include "locale_service.h"
#include "../../common/length.h"
#include "exchange.h"
#include "DragonSoul.h"
#include "config.h"
#include "../../common/service.h"

GameSrc_Build_Err:
Genişlet Daralt Kopyala
compile exchange.cpp
exchange.cpp: In member function 'bool CExchange::CheckSpace()':
exchange.cpp:498: warning: name lookup of 'i' changed
exchange.cpp:340: warning:   matches this 'i' under ISO standard rules
exchange.cpp:400: warning:   matches this 'i' under old rules
exchange.cpp:366: warning: unused variable 'item2'
exchange.cpp:366: warning: unused variable 'item3'
exchange.cpp:576: error: 'upgrade_count' was not declared in this scope
exchange.cpp:579: error: 's_upp_grid1' was not declared in this scope
exchange.cpp:586: error: 's_upp_grid2' was not declared in this scope
exchange.cpp:593: error: 's_upp_grid3' was not declared in this scope
exchange.cpp:600: error: 's_upp_grid4' was not declared in this scope
exchange.cpp:606: error: 's_upp_grid5' was not declared in this scope
exchange.cpp:617: error: 'book_count' was not declared in this scope
exchange.cpp:620: error: 's_book_grid1' was not declared in this scope
exchange.cpp:627: error: 's_book_grid2' was not declared in this scope
exchange.cpp:634: error: 's_book_grid3' was not declared in this scope
exchange.cpp:641: error: 's_book_grid4' was not declared in this scope
exchange.cpp:648: error: 's_book_grid5' was not declared in this scope
exchange.cpp:659: error: 'stone_count' was not declared in this scope
exchange.cpp:662: error: 's_stone_grid1' was not declared in this scope
exchange.cpp:669: error: 's_stone_grid2' was not declared in this scope
exchange.cpp:676: error: 's_stone_grid3' was not declared in this scope
exchange.cpp:683: error: 's_stone_grid4' was not declared in this scope
exchange.cpp:690: error: 's_stone_grid5' was not declared in this scope
exchange.cpp: In member function 'bool CExchange::Done()':
exchange.cpp:834: warning: name lookup of 'i' changed
exchange.cpp:741: warning:   matches this 'i' under ISO standard rules
exchange.cpp:830: warning:   matches this 'i' under old rules
Makefile:136: recipe for target 'OBJDIR/exchange.o' failed
gmake[1]: *** [OBJDIR/exchange.o] Error 1
gmake[1]: Leaving directory '/home/ServerSource/Srcs/Server/game/src'
Makefile:53: recipe for target 'all' failed
gmake: *** [all] Error 2

Sizce hala sorun nasıl devam eder :( @Whistle @Reached
 
Galiba yapılan hata çok basit. Envanter slotları döngüsünün ortasına eklemişsiniz xd.
Linkleri görebilmek için giriş yap veya kayıt ol.
aynen bu şekilde değiştirdim dosyayı

lenght.h dosyasına şöyle ekleyin
C++:
Genişlet Daralt Kopyala
#include "service.h"
Aynen bu şekilde ekleme yaptım.

ve bu oldu :

GameSrc_Build_Err:
Genişlet Daralt Kopyala
exchange.cpp: In member function 'bool CExchange::CheckSpace()':
exchange.cpp:387: error: no matching function for call to 'CGrid::CGrid(int)'
../../libgame/include/grid.h:8: note: candidates are: CGrid::CGrid(CGrid*, int, int)
../../libgame/include/grid.h:7: note:                 CGrid::CGrid(int, int)
../../libgame/include/grid.h:5: note:                 CGrid::CGrid(const CGrid&)
exchange.cpp: In member function 'bool CExchange::Done()':
exchange.cpp:835: warning: name lookup of 'i' changed
exchange.cpp:742: warning:   matches this 'i' under ISO standard rules
exchange.cpp:831: warning:   matches this 'i' under old rules
Makefile:136: recipe for target 'OBJDIR/exchange.o' failed
gmake[1]: *** [OBJDIR/exchange.o] Error 1
gmake[1]: Leaving directory '/home/ServerSource/Srcs/Server/game/src'
Makefile:53: recipe for target 'all' failed
gmake: *** [all] Error 2

şimdi birde bu k envanter sisteminde ki gibi kodları ekleyip deneyeceğim exchange.cpp de
 
Yok ne yaparsak yapalım bir türlü build hatasız geçmiyor ...

GameSrc_Build_Err:
Genişlet Daralt Kopyala
compile exchange.cpp
exchange.cpp: In member function 'bool CExchange::CheckSpace()':
exchange.cpp:475: warning: name lookup of 'i' changed
exchange.cpp:340: warning:   matches this 'i' under ISO standard rules
exchange.cpp:399: warning:   matches this 'i' under old rules
exchange.cpp:553: error: 's_upp_grid1' was not declared in this scope
exchange.cpp:558: error: 's_upp_grid2' was not declared in this scope
exchange.cpp:563: error: 's_upp_grid3' was not declared in this scope
exchange.cpp:568: error: 's_upp_grid4' was not declared in this scope
exchange.cpp:573: error: 's_upp_grid5' was not declared in this scope
exchange.cpp:582: error: 's_book_grid1' was not declared in this scope
exchange.cpp:587: error: 's_book_grid2' was not declared in this scope
exchange.cpp:592: error: 's_book_grid3' was not declared in this scope
exchange.cpp:597: error: 's_book_grid4' was not declared in this scope
exchange.cpp:602: error: 's_book_grid5' was not declared in this scope
exchange.cpp:611: error: 's_stone_grid1' was not declared in this scope
exchange.cpp:616: error: 's_stone_grid2' was not declared in this scope
exchange.cpp:621: error: 's_stone_grid3' was not declared in this scope
exchange.cpp:626: error: 's_stone_grid4' was not declared in this scope
exchange.cpp:631: error: 's_stone_grid5' was not declared in this scope
exchange.cpp: In member function 'bool CExchange::Done()':
exchange.cpp:773: warning: name lookup of 'i' changed
exchange.cpp:680: warning:   matches this 'i' under ISO standard rules
exchange.cpp:769: warning:   matches this 'i' under old rules
Makefile:136: recipe for target 'OBJDIR/exchange.o' failed
gmake[1]: *** [OBJDIR/exchange.o] Error 1
gmake[1]: Leaving directory '/home/ServerSource/Srcs/Server/game/src'
Makefile:53: recipe for target 'all' failed
gmake: *** [all] Error 2

Paylaştığım rar içerisinde Length.h / Service.h ve Exchange.cpp var lütfen kontrol edermisiniz nerede hata yapıyorum bir anlasam :(
Ama bu hatalar bir yandanda iyi oluyor #include ve #ifdef konularını yavaş yavaş kavramaya başladım sanki buda iyi birşeydir diye düşünüyorum :) @Whistle @Reached
 

Dosya Eklentileri

Yok ne yaparsak yapalım bir türlü build hatasız geçmiyor ...

GameSrc_Build_Err:
Genişlet Daralt Kopyala
compile exchange.cpp
exchange.cpp: In member function 'bool CExchange::CheckSpace()':
exchange.cpp:475: warning: name lookup of 'i' changed
exchange.cpp:340: warning:   matches this 'i' under ISO standard rules
exchange.cpp:399: warning:   matches this 'i' under old rules
exchange.cpp:553: error: 's_upp_grid1' was not declared in this scope
exchange.cpp:558: error: 's_upp_grid2' was not declared in this scope
exchange.cpp:563: error: 's_upp_grid3' was not declared in this scope
exchange.cpp:568: error: 's_upp_grid4' was not declared in this scope
exchange.cpp:573: error: 's_upp_grid5' was not declared in this scope
exchange.cpp:582: error: 's_book_grid1' was not declared in this scope
exchange.cpp:587: error: 's_book_grid2' was not declared in this scope
exchange.cpp:592: error: 's_book_grid3' was not declared in this scope
exchange.cpp:597: error: 's_book_grid4' was not declared in this scope
exchange.cpp:602: error: 's_book_grid5' was not declared in this scope
exchange.cpp:611: error: 's_stone_grid1' was not declared in this scope
exchange.cpp:616: error: 's_stone_grid2' was not declared in this scope
exchange.cpp:621: error: 's_stone_grid3' was not declared in this scope
exchange.cpp:626: error: 's_stone_grid4' was not declared in this scope
exchange.cpp:631: error: 's_stone_grid5' was not declared in this scope
exchange.cpp: In member function 'bool CExchange::Done()':
exchange.cpp:773: warning: name lookup of 'i' changed
exchange.cpp:680: warning:   matches this 'i' under ISO standard rules
exchange.cpp:769: warning:   matches this 'i' under old rules
Makefile:136: recipe for target 'OBJDIR/exchange.o' failed
gmake[1]: *** [OBJDIR/exchange.o] Error 1
gmake[1]: Leaving directory '/home/ServerSource/Srcs/Server/game/src'
Makefile:53: recipe for target 'all' failed
gmake: *** [all] Error 2

Paylaştığım rar içerisinde Length.h / Service.h ve Exchange.cpp var lütfen kontrol edermisiniz nerede hata yapıyorum bir anlasam :(
Ama bu hatalar bir yandanda iyi oluyor #include ve #ifdef konularını yavaş yavaş kavramaya başladım sanki buda iyi birşeydir diye düşünüyorum :) @Whistle @Reached
üstteki yaptığın eklentide
C:
Genişlet Daralt Kopyala
//Arat
    static CGrid s_upp_grid4(59);
//Değiştir
    static CGrid s_upp_grid4(5,9);
 
üstteki yaptığın eklentide
C:
Genişlet Daralt Kopyala
//Arat
    static CGrid s_upp_grid4(59);
//Değiştir
    static CGrid s_upp_grid4(5,9);
Ah işte bunu senden aldığımda böyleydi gözden karıştır diye düzeltmiş tüm yine aynı dosyadan kopyalayınca demekki böyle oldu :) hemen deneyelim :)
 
Valla başarılı harikasınız :) @Whistle @Reached build işlemi tamamdır. Ama tabii ki warning'lerim çok bunları olmadı yeni bir konuda ele alırız. İncelemek istersiniz diye altta paylaşacağım build yazılarını. Evet şimdi oyuna girip herhangi bir eksiği var mı bakmak gerekiyor. İşe gideceğim gece saat 10-12 arası oyuna girer bakarım :) yardımlarınız için çok çok teşekkür ediyorum.

Build:
Genişlet Daralt Kopyala
shopEx.cpp item_manager_read_tables.cpp spamblock.cpp minilzo.c main.cpp t                                                                                        est.cpp 2> /dev/null > Depend
gmake[1]: Leaving directory '/home/ServerSource/Srcs/Server/game/src'
gmake -C game/src clean
gmake[1]: Entering directory '/home/ServerSource/Srcs/Server/game/src'
gmake[1]: Leaving directory '/home/ServerSource/Srcs/Server/game/src'
gmake -C game/src
gmake[1]: Entering directory '/home/ServerSource/Srcs/Server/game/src'
compile BattleArena.cpp
compile FSM.cpp
compile MarkConvert.cpp
compile MarkImage.cpp
compile MarkManager.cpp
compile OXEvent.cpp
compile TrafficProfiler.cpp
compile ani.cpp
compile arena.cpp
compile banword.cpp
compile battle.cpp
compile blend_item.cpp
compile block_country.cpp
compile buffer_manager.cpp
compile building.cpp
compile castle.cpp
compile char.cpp
char.cpp:7540:124: warning: trigraph ??) ignored, use -trigraphs to enable
char.cpp:7540:248: warning: trigraph ??) ignored, use -trigraphs to enable
char.cpp:7540:278: warning: trigraph ??) ignored, use -trigraphs to enable
compile char_affect.cpp
compile char_battle.cpp
compile char_change_empire.cpp
compile char_horse.cpp
compile char_item.cpp
char_item.cpp: In member function 'bool CHARACTER::MoveItem(TItemPos, TItemPos, BYTE)':
char_item.cpp:6354: warning: suggest explicit braces to avoid ambiguous 'else'
char_item.cpp:6360: warning: suggest explicit braces to avoid ambiguous 'else'
char_item.cpp:6366: warning: suggest explicit braces to avoid ambiguous 'else'
char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_ValueChange(BYTE, BYTE, BYTE)':
char_item.cpp:7266: warning: 'pBuff' may be used uninitialized in this function
compile char_manager.cpp
compile char_quickslot.cpp
compile char_resist.cpp
compile char_skill.cpp
compile char_state.cpp
compile PetSystem.cpp
PetSystem.cpp: In member function 'virtual bool CPetActor::_UpdateFollowAI()':
PetSystem.cpp:246: warning: unused variable 'bDoMoveAlone'
PetSystem.cpp: In member function 'CPetActor* CPetSystem::Summon(DWORD, CItem*, const char*, bool, DWORD)':
PetSystem.cpp:552: warning: unused variable 'petVID'
compile cmd.cpp
compile cmd_emotion.cpp
compile cmd_general.cpp
cmd_general.cpp: In function 'void do_biyolog(CHARACTER*, const char*, int, int)':
cmd_general.cpp:195: warning: comparison between signed and unsigned integer expressions
cmd_general.cpp:295: warning: comparison between signed and unsigned integer expressions
cmd_general.cpp:396: warning: comparison between signed and unsigned integer expressions
cmd_general.cpp:496: warning: comparison between signed and unsigned integer expressions
cmd_general.cpp:596: warning: comparison between signed and unsigned integer expressions
cmd_general.cpp:697: warning: comparison between signed and unsigned integer expressions
cmd_general.cpp:799: warning: comparison between signed and unsigned integer expressions
cmd_general.cpp:900: warning: comparison between signed and unsigned integer expressions
cmd_general.cpp:1063: warning: comparison between signed and unsigned integer expressions
cmd_general.cpp:81: warning: unused variable 'affectvnum4'
cmd_general.cpp:82: warning: unused variable 'affectvalue4'
compile cmd_gm.cpp
compile cmd_oxevent.cpp
compile config.cpp
compile constants.cpp
compile crc32.cpp
compile cube.cpp
compile db.cpp
db.cpp: In member function 'void DBManager::Query(const char*, ...)':
db.cpp:93: warning: comparison between signed and unsigned integer expressions
db.cpp: In member function 'SQLMsg* DBManager::DirectQuery(const char*, ...)':
db.cpp:106: warning: comparison between signed and unsigned integer expressions
compile desc.cpp
compile desc_client.cpp
compile desc_manager.cpp
compile desc_p2p.cpp
compile dev_log.cpp
compile dungeon.cpp
compile empire_text_convert.cpp
compile entity.cpp
compile entity_view.cpp
compile event.cpp
compile event_queue.cpp
compile exchange.cpp
exchange.cpp: In member function 'bool CExchange::Done()':
exchange.cpp:835: warning: name lookup of 'i' changed
exchange.cpp:742: warning:   matches this 'i' under ISO standard rules
exchange.cpp:831: warning:   matches this 'i' under old rules
compile file_loader.cpp
compile fishing.cpp
compile gm.cpp
compile GroupMatchManager.cpp
GroupMatchManager.cpp: In member function 'void CGroupMatchManager::AramayiDurdur(DWORD)':
GroupMatchManager.cpp:405: warning: unused variable 'arayan0'
GroupMatchManager.cpp:424: warning: unused variable 'arayan1'
GroupMatchManager.cpp:443: warning: unused variable 'arayan2'
GroupMatchManager.cpp:471: warning: unused variable 'arayan3'
GroupMatchManager.cpp:491: warning: unused variable 'arayan4'
GroupMatchManager.cpp:511: warning: unused variable 'arayan5'
GroupMatchManager.cpp: In member function 'void CGroupMatchManager::CheckPlayers(int)':
GroupMatchManager.cpp:545: warning: comparison between signed and unsigned integer expressions
GroupMatchManager.cpp:548: warning: unused variable 'arayan0'
GroupMatchManager.cpp:589: warning: comparison between signed and unsigned integer expressions
GroupMatchManager.cpp:592: warning: unused variable 'arayan1'
GroupMatchManager.cpp:638: warning: comparison between signed and unsigned integer expressions
GroupMatchManager.cpp:641: warning: unused variable 'arayan2'
GroupMatchManager.cpp:687: warning: comparison between signed and unsigned integer expressions
GroupMatchManager.cpp:690: warning: unused variable 'arayan3'
GroupMatchManager.cpp:731: warning: comparison between signed and unsigned integer expressions
GroupMatchManager.cpp:734: warning: unused variable 'arayan4'
GroupMatchManager.cpp:766: warning: comparison between signed and unsigned integer expressions
GroupMatchManager.cpp:769: warning: unused variable 'arayan5'
compile guild.cpp
compile guild_manager.cpp
compile guild_war.cpp
compile horse_rider.cpp
compile horsename_manager.cpp
compile input.cpp
compile input_auth.cpp
compile input_db.cpp
compile input_login.cpp
input_login.cpp: In member function 'void CInputLogin::Entergame(DESC*, const char*)':
input_login.cpp:814: warning: unused variable 'bioruhtasi'
input_login.cpp:828: warning: comparison between signed and unsigned integer expressions
compile input_main.cpp
compile input_p2p.cpp
compile input_teen.cpp
compile input_udp.cpp
compile ip_ban.cpp
compile item.cpp
compile item_addon.cpp
compile item_attribute.cpp
compile item_manager.cpp
compile item_manager_idrange.cpp
compile locale.cpp
compile locale_service.cpp
compile log.cpp
compile login_data.cpp
compile lzo_manager.cpp
compile marriage.cpp
compile matrix_card.cpp
compile messenger_manager.cpp
compile mining.cpp
compile mob_manager.cpp
compile monarch.cpp
compile motion.cpp
compile over9refine.cpp
compile p2p.cpp
compile packet_info.cpp
compile party.cpp
compile passpod.cpp
compile pcbang.cpp
compile polymorph.cpp
compile priv_manager.cpp
compile pvp.cpp
compile questevent.cpp
compile unique.cpp
compile questlua.cpp
compile questlua_affect.cpp
compile questlua_arena.cpp
compile questlua_ba.cpp
compile questlua_building.cpp
compile questlua_danceevent.cpp
compile questlua_dungeon.cpp
compile questlua_forked.cpp
compile questlua_mysql.cpp
compile questlua_game.cpp
compile questlua_global.cpp
compile questlua_guild.cpp
compile questlua_horse.cpp
compile questlua_pet.cpp
compile questlua_unique.cpp
compile questlua_item.cpp
questlua_item.cpp: In function 'int quest::item_equip_selected(lua_State*)':
questlua_item.cpp:652: warning: comparison is always false due to limited range of data type
questlua_item.cpp:666: warning: comparison is always true due to limited range of data type
compile questlua_marriage.cpp
compile questlua_mgmt.cpp
compile questlua_monarch.cpp
compile questlua_npc.cpp
questlua_npc.cpp: In function 'int quest::npc_get_vid_attack_mul(lua_State*)':
questlua_npc.cpp:379: warning: unused variable 'q'
questlua_npc.cpp: In function 'int quest::npc_set_vid_attack_mul(lua_State*)':
questlua_npc.cpp:395: warning: unused variable 'q'
questlua_npc.cpp: In function 'int quest::npc_get_vid_damage_mul(lua_State*)':
questlua_npc.cpp:410: warning: unused variable 'q'
questlua_npc.cpp: In function 'int quest::npc_set_vid_damage_mul(lua_State*)':
questlua_npc.cpp:426: warning: unused variable 'q'
compile questlua_oxevent.cpp
compile questlua_party.cpp
compile questlua_pc.cpp
compile questlua_quest.cpp
compile questlua_target.cpp
compile questmanager.cpp
compile questnpc.cpp
compile questpc.cpp
compile refine.cpp
compile regen.cpp
compile safebox.cpp
compile sectree.cpp
compile sectree_manager.cpp
compile sequence.cpp
compile shop.cpp
shop.cpp: In member function 'virtual int CShop::Buy(CHARACTER*, BYTE)':
shop.cpp:353: warning: format '%u' expects type 'unsigned int', but argument 7 has type 'long long int'
shop.cpp:353: warning: format '%u' expects type 'unsigned int', but argument 7 has type 'long long int'
shop.cpp:374: warning: format '%u' expects type 'unsigned int', but argument 7 has type 'long long int'
shop.cpp:374: warning: format '%u' expects type 'unsigned int', but argument 7 has type 'long long int'
shop.cpp:377: warning: format '%u' expects type 'unsigned int', but argument 7 has type 'long long int'
shop.cpp:377: warning: format '%u' expects type 'unsigned int', but argument 7 has type 'long long int'
compile skill.cpp
compile start_position.cpp
compile target.cpp
compile text_file_loader.cpp
compile trigger.cpp
compile utils.cpp
compile vector.cpp
compile war_map.cpp
compile wedding.cpp
compile xmas_event.cpp
compile version.cpp
compile panama.cpp
compile threeway_war.cpp
compile map_location.cpp
compile auth_brazil.cpp
compile BlueDragon.cpp
compile BlueDragon_Binder.cpp
compile DragonLair.cpp
compile questlua_dragonlair.cpp
compile HackShield.cpp
compile HackShield_Impl.cpp
compile char_hackshield.cpp
compile skill_power.cpp
compile affect.cpp
compile SpeedServer.cpp
compile questlua_speedserver.cpp
compile XTrapManager.cpp
compile auction_manager.cpp
compile FileMonitor_FreeBSD.cpp
compile ClientPackageCryptInfo.cpp
compile cipher.cpp
../../../Extern/include/cryptopp/algparam.h: In constructor 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter(const T&, bool) [with T = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]':
../../../Extern/include/cryptopp/filters.h:793:   instantiated from here
../../../Extern/include/cryptopp/algparam.h:26: warning: unused variable 'cryptopp_assert_26'
../../../Extern/include/cryptopp/algparam.h: In member function 'void CryptoPP::AlgorithmParametersTemplate<T>::MoveInto(void*) const [with T = CryptoPP::RandomNumberGenerator*]':
cipher.cpp:397:   instantiated from here
../../../Extern/include/cryptopp/algparam.h:322: warning: unused variable 'p'
../../../Extern/include/cryptopp/misc.h: At global scope:
../../../Extern/include/cryptopp/misc.h:548: warning: 'std::string CryptoPP::StringNarrow(const wchar_t*, bool)' defined but not used
compile buff_on_attributes.cpp
buff_on_attributes.cpp: In member function 'void CBuffOnAttributes::ChangeBuffValue(BYTE)':
buff_on_attributes.cpp:119: warning: unused variable 'old_value'
buff_on_attributes.cpp:120: warning: unused variable 'new_value'
compile dragon_soul_table.cpp
compile DragonSoul.cpp
DragonSoul.cpp: In member function 'bool DSManager::ExtractDragonHeart(CHARACTER*, CItem*, CItem*)':
DragonSoul.cpp:353: warning: unused variable 'sum'
DragonSoul.cpp: In member function 'bool DSManager::PullOut(CHARACTER*, TItemPos, CItem*&, CItem*)':
DragonSoul.cpp:438: warning: unused variable 'dwVnum'
DragonSoul.cpp: In member function 'bool DSManager::DoRefineGrade(CHARACTER*, TItemPos (&)[15])':
DragonSoul.cpp:558: warning: unused variable 'prob_sum'
DragonSoul.cpp: In member function 'bool DSManager::DoRefineStep(CHARACTER*, TItemPos (&)[15])':
DragonSoul.cpp:766: warning: unused variable 'sum'
compile group_text_parse_tree.cpp
compile char_dragonsoul.cpp
compile questlua_dragonsoul.cpp
compile shop_manager.cpp
compile shopEx.cpp
compile item_manager_read_tables.cpp
item_manager_read_tables.cpp: In member function 'bool ITEM_MANAGER::ReadMonsterDropItemGroup(const char*)':
item_manager_read_tables.cpp:637: warning: unused variable 'pkGroup'
item_manager_read_tables.cpp:627: warning: 'pkGroup' may be used uninitialized in this function
compile spamblock.cpp
compile minilzo.c
compile main.cpp
linking ../game_r50060 ....
gmake[1]: Leaving directory '/home/ServerSource/Srcs/Server/game/src'
gmake -C db/src dep
gmake[1]: Entering directory '/home/ServerSource/Srcs/Server/db/src'
makedepend -fDepend  -I../../../Extern/include/boost -I../../libmysql/5.x-5.1.35 -I../../../Extern/include -I/usr/include/c++/3.3 -I/usr/include/c++/4.2 -p.obj/ Config.cpp NetBase.cpp Peer.cpp PeerBase.cpp Main.cpp Lock.cpp DBManager.cpp Cache.cpp LoginData.cpp ClientManager.cpp ClientManagerPlayer.cpp ClientManagerLogin.cpp ClientManagerBoot.cpp ClientManagerParty.cpp ClientManagerGuild.cpp GuildManager.cpp HB.cpp PrivManager.cpp MoneyLog.cpp ItemAwardManager.cpp ClientManagerEventFlag.cpp Marriage.cpp Monarch.cpp BlockCountry.cpp ItemIDRangeManager.cpp ClientManagerHorseName.cpp version.cpp AuctionManager.cpp ProtoReader.cpp CsvReader.cpp  2> /dev/null
gmake[1]: Leaving directory '/home/ServerSource/Srcs/Server/db/src'
gmake -C db/src clean
gmake[1]: Entering directory '/home/ServerSource/Srcs/Server/db/src'
gmake[1]: Leaving directory '/home/ServerSource/Srcs/Server/db/src'
gmake -C db/src
gmake[1]: Entering directory '/home/ServerSource/Srcs/Server/db/src'
compile Config.cpp
compile NetBase.cpp
compile Peer.cpp
compile PeerBase.cpp
compile Main.cpp
compile Lock.cpp
compile DBManager.cpp
compile Cache.cpp
compile LoginData.cpp
compile ClientManager.cpp
compile ClientManagerPlayer.cpp
compile ClientManagerLogin.cpp
compile ClientManagerBoot.cpp
ClientManagerBoot.cpp: In member function 'bool CClientManager::InitializeMobTableTXT()':
ClientManagerBoot.cpp:430: warning: statement has no effect
ClientManagerBoot.cpp: In member function 'bool CClientManager::InitializeItemTableTXT()':
ClientManagerBoot.cpp:731: warning: unused variable 'testValue'
ClientManagerBoot.cpp: In member function 'bool CClientManager::MirrorItemTableIntoDB()':
ClientManagerBoot.cpp:1518: warning: format '%d' expects type 'int', but argument 25 has type 'long int'
ClientManagerBoot.cpp:1518: warning: format '%d' expects type 'int', but argument 27 has type 'long int'
ClientManagerBoot.cpp:1518: warning: format '%d' expects type 'int', but argument 29 has type 'long int'
ClientManagerBoot.cpp:1518: warning: format '%d' expects type 'int', but argument 31 has type 'long int'
ClientManagerBoot.cpp:1518: warning: format '%d' expects type 'int', but argument 33 has type 'long int'
ClientManagerBoot.cpp:1518: warning: format '%d' expects type 'int', but argument 34 has type 'long int'
ClientManagerBoot.cpp:1518: warning: format '%d' expects type 'int', but argument 35 has type 'long int'
ClientManagerBoot.cpp:1518: warning: format '%d' expects type 'int', but argument 36 has type 'long int'
ClientManagerBoot.cpp:1518: warning: format '%d' expects type 'int', but argument 37 has type 'long int'
ClientManagerBoot.cpp:1518: warning: format '%d' expects type 'int', but argument 38 has type 'long int'
ClientManagerBoot.cpp:1518: warning: format '%d' expects type 'int', but argument 39 has type 'long int'
ClientManagerBoot.cpp:1518: warning: format '%d' expects type 'int', but argument 25 has type 'long int'
ClientManagerBoot.cpp:1518: warning: format '%d' expects type 'int', but argument 27 has type 'long int'
ClientManagerBoot.cpp:1518: warning: format '%d' expects type 'int', but argument 29 has type 'long int'
ClientManagerBoot.cpp:1518: warning: format '%d' expects type 'int', but argument 31 has type 'long int'
ClientManagerBoot.cpp:1518: warning: format '%d' expects type 'int', but argument 33 has type 'long int'
ClientManagerBoot.cpp:1518: warning: format '%d' expects type 'int', but argument 34 has type 'long int'
ClientManagerBoot.cpp:1518: warning: format '%d' expects type 'int', but argument 35 has type 'long int'
ClientManagerBoot.cpp:1518: warning: format '%d' expects type 'int', but argument 36 has type 'long int'
ClientManagerBoot.cpp:1518: warning: format '%d' expects type 'int', but argument 37 has type 'long int'
ClientManagerBoot.cpp:1518: warning: format '%d' expects type 'int', but argument 38 has type 'long int'
ClientManagerBoot.cpp:1518: warning: format '%d' expects type 'int', but argument 39 has type 'long int'
ClientManagerBoot.cpp:1546: warning: format '%d' expects type 'int', but argument 23 has type 'long int'
ClientManagerBoot.cpp:1546: warning: format '%d' expects type 'int', but argument 25 has type 'long int'
ClientManagerBoot.cpp:1546: warning: format '%d' expects type 'int', but argument 27 has type 'long int'
ClientManagerBoot.cpp:1546: warning: format '%d' expects type 'int', but argument 29 has type 'long int'
ClientManagerBoot.cpp:1546: warning: format '%d' expects type 'int', but argument 31 has type 'long int'
ClientManagerBoot.cpp:1546: warning: format '%d' expects type 'int', but argument 32 has type 'long int'
ClientManagerBoot.cpp:1546: warning: format '%d' expects type 'int', but argument 33 has type 'long int'
ClientManagerBoot.cpp:1546: warning: format '%d' expects type 'int', but argument 34 has type 'long int'
ClientManagerBoot.cpp:1546: warning: format '%d' expects type 'int', but argument 35 has type 'long int'
ClientManagerBoot.cpp:1546: warning: format '%d' expects type 'int', but argument 36 has type 'long int'
ClientManagerBoot.cpp:1546: warning: format '%d' expects type 'int', but argument 37 has type 'long int'
ClientManagerBoot.cpp:1546: warning: format '%d' expects type 'int', but argument 23 has type 'long int'
ClientManagerBoot.cpp:1546: warning: format '%d' expects type 'int', but argument 25 has type 'long int'
ClientManagerBoot.cpp:1546: warning: format '%d' expects type 'int', but argument 27 has type 'long int'
ClientManagerBoot.cpp:1546: warning: format '%d' expects type 'int', but argument 29 has type 'long int'
ClientManagerBoot.cpp:1546: warning: format '%d' expects type 'int', but argument 31 has type 'long int'
ClientManagerBoot.cpp:1546: warning: format '%d' expects type 'int', but argument 32 has type 'long int'
ClientManagerBoot.cpp:1546: warning: format '%d' expects type 'int', but argument 33 has type 'long int'
ClientManagerBoot.cpp:1546: warning: format '%d' expects type 'int', but argument 34 has type 'long int'
ClientManagerBoot.cpp:1546: warning: format '%d' expects type 'int', but argument 35 has type 'long int'
ClientManagerBoot.cpp:1546: warning: format '%d' expects type 'int', but argument 36 has type 'long int'
ClientManagerBoot.cpp:1546: warning: format '%d' expects type 'int', but argument 37 has type 'long int'
compile ClientManagerParty.cpp
compile ClientManagerGuild.cpp
compile GuildManager.cpp
compile HB.cpp
compile PrivManager.cpp
compile MoneyLog.cpp
compile ItemAwardManager.cpp
compile ClientManagerEventFlag.cpp
compile Marriage.cpp
compile Monarch.cpp
compile BlockCountry.cpp
compile ItemIDRangeManager.cpp
compile ClientManagerHorseName.cpp
compile version.cpp
compile AuctionManager.cpp
compile ProtoReader.cpp
compile CsvReader.cpp
CsvReader.cpp: In member function 'const char* cCsvAlias::operator[](size_t) const':
CsvReader.cpp:72: warning: left-hand operand of comma has no effect
CsvReader.cpp: In member function 'size_t cCsvAlias::operator[](const char*) const':
CsvReader.cpp:91: warning: left-hand operand of comma has no effect
linking ../db_r50060...
gmake[1]: Leaving directory '/home/ServerSource/Srcs/Server/db/src'
--------------------------------------
Full Build End
--------------------------------------

Saygılarımla.
 
Geri
Üst