[CPP92]Character Reborn

Status
Not open for further replies.
Re: [Release][CPP92]Character Reborn

Anyone knows why i get these errors? I am using Krytical's Final. Please help out :/

Code:
1>Rebirth.cpp
1>.\Rebirth.cpp(17) : error C2065: 'inv' : undeclared identifier
1>.\Rebirth.cpp(17) : error C2227: left of '->getMesos' must point to class/struct/union/generic type
1>        type is ''unknown-type''
1>.\Rebirth.cpp(75) : error C2065: 'cexp' : undeclared identifier
1>.\Rebirth.cpp(76) : error C2143: syntax error : missing ')' before 'constant'
1>.\Rebirth.cpp(76) : error C2059: syntax error : ')'
1>Build log was saved at "file://c:\Documents and Settings\maree\My Documents\My Pictures\My Logitech Pictures\KPackv11Final\MapleStoryServer\Release\BuildLog.htm"
1>MapleStoryServer - 5 error(s), 2 warning(s)
========== Build: 0 succeeded, 1 failed, 2 up-to-date, 0 skipped ==========

Thankyou if you help (:
 
Re: [Release][CPP92]Character Reborn

eror
Code:
3>NPCs.obj : error LNK2019: unresolved external symbol "private: static void __cdecl NPCsScripts::npc_2032002(class NPC *)" (?npc_2032002@NPCsScripts@@CAXPAVNPC@@@Z) referenced in function "public: static void __cdecl NPCsScripts::handle(int,class NPC *)" (?handle@NPCsScripts@@SAXHPAVNPC@@@Z)
3>C:\MapleStoryServer2\Debug\MapleStoryServer.exe : fatal error LNK1120: 1 unresolved externals
 
Re: [Release][CPP92]Character Reborn

Can anyone tell me if this works for Rev007? Or if not, does anyone have a script SIMILAR to this, but for Rev007?
 
Re: [Release][CPP92]Character Reborn

Hmm, I tried using this and I got these errors:

Linking...
NPCs.obj : error LNK2019: unresolved external symbol "private: static void __cdecl NPCsScripts::npc_1032104(class NPC *)" (?npc_1032104@NPCsScripts@@CAXPAVNPC@@@Z) referenced in function "public: static void __cdecl NPCsScripts::handle(int,class NPC *)" (?handle@NPCsScripts@@SAXHPAVNPC@@@Z)
C:\Documents and Settings\home\Desktop\MS\Debug\MapleStoryServer.exe : fatal error LNK1120: 1 unresolved externals
Build log was saved at "file://c:\Documents and Settings\home\Desktop\MS\MapleStoryServer\Debug\BuildLog.htm"
MapleStoryServer - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 2 up-to-date, 0 skipped ==========

Not just for this but for any custom NPC I try to make. Can anyone please help me with this, please?
 
Re: [Release][CPP92]Character Reborn

Hmm, I tried using this and I got these errors:

Linking...
NPCs.obj : error LNK2019: unresolved external symbol "private: static void __cdecl NPCsScripts::npc_1032104(class NPC *)" (?npc_1032104@NPCsScripts@@CAXPAVNPC@@@Z) referenced in function "public: static void __cdecl NPCsScripts::handle(int,class NPC *)" (?handle@NPCsScripts@@SAXHPAVNPC@@@Z)
C:\Documents and Settings\home\Desktop\MS\Debug\MapleStoryServer.exe : fatal error LNK1120: 1 unresolved externals
Build log was saved at "file://c:\Documents and Settings\home\Desktop\MS\MapleStoryServer\Debug\BuildLog.htm"
MapleStoryServer - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 2 up-to-date, 0 skipped ==========

Not just for this but for any custom NPC I try to make. Can anyone please help me with this, please?

yes u didnt add the case and static void in ur NPCsScripts.h
add
case 1022000: npc_1032104(npc); break;
to ur NPCsScripts.h with the others
also add
static void npc_1032104(NPC* npc);
to ur NPCsScripts.h with the others

for the other NPC's, replace the 1032104 with ur custom NPC ID.
 
Status
Not open for further replies.
Back