Cerere fisiere Insotitori /rezolvare warning

Închis
Avatar utilizator
marsavu123
Nou Venit

Nou Venit
Mesaje: 36
Membru din: 07 Sep 2016, 15:36
Server: OldKings
Regat: Jinno
Aprecieri: 49  
Mulţumiri: 0
Medalii

Buna ziua J4m am si eu nevoie daca aveti de fisierele de la sistemul cu animalute
- questlua_newpet.cpp
- New_PetSystem.cpp ( Am inteles ca nu sunt crise corect)
In caz ca gresesc pentru ca nu sunt vreun pro in C++ as dorii daca se poate o rezolvare la aceste warninguri

Folosesc Sf clean de pe J4m : svf-pentru-resurse/serverfiles-clean-src-t67971.html

Tin sa precizez ca nu am adaugat pe acest sf nici un alt sistem


New_PetSystem.cpp: In member function 'void CNewPetActor::SetExp(DWORD, int)':
New_PetSystem.cpp:321: warning: comparison between signed and unsigned integer expressions
New_PetSystem.cpp:321: warning: comparison between signed and unsigned integer expressions
New_PetSystem.cpp:330: warning: comparison between signed and unsigned integer expressions
New_PetSystem.cpp:330: warning: comparison between signed and unsigned integer expressions
New_PetSystem.cpp:340: warning: comparison between signed and unsigned integer expressions
New_PetSystem.cpp:341: warning: comparison between signed and unsigned integer expressions
New_PetSystem.cpp:361: warning: comparison between signed and unsigned integer expressions
New_PetSystem.cpp:364: warning: comparison between signed and unsigned integer expressions
New_PetSystem.cpp:367: warning: comparison between signed and unsigned integer expressions
New_PetSystem.cpp:373: warning: comparison between signed and unsigned integer expressions
New_PetSystem.cpp:374: warning: comparison between signed and unsigned integer expressions
New_PetSystem.cpp:385: warning: comparison between signed and unsigned integer expressions
New_PetSystem.cpp: In member function 'DWORD CNewPetActor::Summon(const char*, CItem*, bool)':
New_PetSystem.cpp:529: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'DWORD'
New_PetSystem.cpp:529: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'DWORD'
New_PetSystem.cpp: In member function 'virtual bool CNewPetActor::_UpdateFollowAI()':
New_PetSystem.cpp:645: warning: unused variable 'bDoMoveAlone'
New_PetSystem.cpp: In member function 'CNewPetActor* CNewPetSystem::Summon(DWORD, CItem*, const char*, bool, DWO RD)':
New_PetSystem.cpp:1229: warning: unused variable 'petVID'
questlua_petnew.cpp: In function 'int quest::newpet_increaseskill(lua_State*)':
questlua_petnew.cpp:135: warning: NULL used in arithmetic
questlua_petnew.cpp: In function 'int quest::newpet_increaseevolution(lua_State*)':
questlua_petnew.cpp:155: warning: NULL used in arithmetic
questlua_petnew.cpp: In function 'int quest::newpet_get_level(lua_State*)':
questlua_petnew.cpp:174: warning: NULL used in arithmetic
questlua_petnew.cpp: In function 'int quest::newpet_get_evo(lua_State*)':
questlua_petnew.cpp:194: warning: NULL used in arithmetic
questlua_petnew.cpp: In function 'int quest::newpet_restore_pet(lua_State*)':
questlua_petnew.cpp:213: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'DWORD'
questlua_petnew.cpp:213: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'DWORD'

Mutumesc anticipat
Avatar utilizator
darkallience3
Nivel 6

Nivel 6
Mesaje: 952
Membru din: 17 Dec 2013, 15:03
Server: Metin2Andromeda
Regat: Jinno
Aprecieri: 294  
Mulţumiri: 183  
Medalii

marsavu123 scrie: ↑29 Dec 2019, 15:33 Buna ziua J4m am si eu nevoie daca aveti de fisierele de la sistemul cu animalute
- questlua_newpet.cpp
- New_PetSystem.cpp ( Am inteles ca nu sunt crise corect)
In caz ca gresesc pentru ca nu sunt vreun pro in C++ as dorii daca se poate o rezolvare la aceste warninguri

Folosesc Sf clean de pe J4m : svf-pentru-resurse/serverfiles-clean-src-t67971.html

Tin sa precizez ca nu am adaugat pe acest sf nici un alt sistem


New_PetSystem.cpp: In member function 'void CNewPetActor::SetExp(DWORD, int)':
New_PetSystem.cpp:321: warning: comparison between signed and unsigned integer expressions
New_PetSystem.cpp:321: warning: comparison between signed and unsigned integer expressions
New_PetSystem.cpp:330: warning: comparison between signed and unsigned integer expressions
New_PetSystem.cpp:330: warning: comparison between signed and unsigned integer expressions
New_PetSystem.cpp:340: warning: comparison between signed and unsigned integer expressions
New_PetSystem.cpp:341: warning: comparison between signed and unsigned integer expressions
New_PetSystem.cpp:361: warning: comparison between signed and unsigned integer expressions
New_PetSystem.cpp:364: warning: comparison between signed and unsigned integer expressions
New_PetSystem.cpp:367: warning: comparison between signed and unsigned integer expressions
New_PetSystem.cpp:373: warning: comparison between signed and unsigned integer expressions
New_PetSystem.cpp:374: warning: comparison between signed and unsigned integer expressions
New_PetSystem.cpp:385: warning: comparison between signed and unsigned integer expressions
New_PetSystem.cpp: In member function 'DWORD CNewPetActor::Summon(const char*, CItem*, bool)':
New_PetSystem.cpp:529: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'DWORD'
New_PetSystem.cpp:529: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'DWORD'
New_PetSystem.cpp: In member function 'virtual bool CNewPetActor::_UpdateFollowAI()':
New_PetSystem.cpp:645: warning: unused variable 'bDoMoveAlone'
New_PetSystem.cpp: In member function 'CNewPetActor* CNewPetSystem::Summon(DWORD, CItem*, const char*, bool, DWO RD)':
New_PetSystem.cpp:1229: warning: unused variable 'petVID'
questlua_petnew.cpp: In function 'int quest::newpet_increaseskill(lua_State*)':
questlua_petnew.cpp:135: warning: NULL used in arithmetic
questlua_petnew.cpp: In function 'int quest::newpet_increaseevolution(lua_State*)':
questlua_petnew.cpp:155: warning: NULL used in arithmetic
questlua_petnew.cpp: In function 'int quest::newpet_get_level(lua_State*)':
questlua_petnew.cpp:174: warning: NULL used in arithmetic
questlua_petnew.cpp: In function 'int quest::newpet_get_evo(lua_State*)':
questlua_petnew.cpp:194: warning: NULL used in arithmetic
questlua_petnew.cpp: In function 'int quest::newpet_restore_pet(lua_State*)':
questlua_petnew.cpp:213: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'DWORD'
questlua_petnew.cpp:213: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'DWORD'

Mutumesc anticipat
incearca sa bagi astea in sursa ta daca nu merge , reia de la capat sau schimba numele la acel fisier questlua_petnew.cpp in questlua_newpet.cpp sa ai
https://mega.nz/#!GZ5lRQaY!F-6EtNvihDn_ ... 1qz9K7Gvd0 (dar intai incearca sa bagi astea , poate te ajuta)
Pentru acest mesaj, darkallience3 for the post:
marsavu123
Afișează semnătura
Avatar utilizator
marsavu123
Nou Venit

Nou Venit
Mesaje: 36
Membru din: 07 Sep 2016, 15:36
Server: OldKings
Regat: Jinno
Aprecieri: 49  
Mulţumiri: 0
Medalii

Mersi ai un THX Puteti da T/C
Avatar utilizator
Heartless
Fost Ad Moderator

Fost Ad Moderator
Mesaje: 684
Membru din: 31 Iul 2019, 20:13
Regat: Jinno
Aprecieri: 136  
Mulţumiri: 1182  
Discord: Copiază ID
Medalii

Subiect mutat in cereri rezolvate

[ Postat de pe iPhone ] Imagine
𝘊𝘩𝘢𝘴𝘦 𝘢 𝘤𝘩𝘦𝘤𝘬, 𝘯𝘦𝘷𝘦𝘳 𝘤𝘩𝘢𝘴𝘦 𝘢 𝘣𝘪𝘵𝘤𝘩.
Afișează semnătura
Închis
Răspunsuri
12
Vizualizări
2686
Răspunsuri
1
Vizualizări
209
Răspunsuri
4
Vizualizări
783

Înapoi la “Cereri Rezolvate”

  • Informaţie