Das hier ist doch die Definition
DWORD dwRes = GetTransmutation() != 0 ? GetTransmutation() : GetVnum();
Allerdings ist es so geschrieben das es anscheinend für meine C++ Version nicht geeignet ist die Definition
Vergleiche das gerade mit einem Source wo dieses System bereits verbaut ist und funktioniert, dort gibt es auch nur an den Stellen wo ich es reingemacht habe dieses "dwRes"
This has nothing todo with your c++ version, dwRes is declared just 1 line above, you may forgot to add the line?
Also can you show the logs of the compiler (like 10 above the error)
- DWORD dwRes = GetTransmutation() != 0 ? GetTransmutation() : GetVnum();
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
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
item.cpp: In member function 'void CItem::ModifyPoints(bool)':
item.cpp:967:38: error: 'dwRes' was not declared in this scope
m_pOwner->SetPart(PART_WEAPON, dwRes);
^
gmake: *** [OBJDIR/item.o] Error 1
gmake: *** Waiting for unfinished jobs....
Here the compile log with more then 10 lines..
i guess its because of the declare ...
because of my other source where is working