Çö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
91
Puan
689
Ticaret Puanı
0
Merhabalar,

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

GameSrc_Build_Err::
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.png


Şu anlık bu kadar bilgiye sahibim.

Yardımcı olabilecek var mı ?

Teşekkürler.
 

Dosya Eklentileri

  • Özel Depo Sistemi BkV.s.rar
    32 KB · Gösterim: 25
İnternet ile tanıştığımdan bu yana forumlar ile hep içli dışlı oldum. Bir sürü güzel içerikler okudum bir sürü de çirkin mesajlar okudum. Özellikle Youtube içeriklerinden sonra bu bölümler aktifleşti. Yardım bölümünde açılan konular, konulara verilen cevapları gördükçe hep şunu düşünüyorum. Böyle bi dayanışmanın eşi benzeri yok. Bir çoğumuz zamanımızı ayırarak insanların sorunlarını çözmeye odaklanıyor. Tanımadığımız insanlar için fedakarlıklar yapıyoruz. Bu dayanışma taktiri hak ediyor.
Bu yüzden geçmiş tüm konularda dahil olmak üzere sorunları için yardım talep edenden çözümü için yanıt veren tüm herkese teşekkür ederim. :)

Bitiş konuşmamı yaptığıma göre konuyu kilitleyebilirim. :D
 
Geri
Üst