Newbie Spellweaver
- Joined
- Nov 28, 2007
- Messages
- 55
- Reaction score
- 0
I didn't add 4th job because it doesn't work...
So here are step by step instructions.
Download these files and place them with all your other files.
In Visual C++ thing have your solution open then open the two files.
Click 1stJob.ccthen click File-> Move 1stJob.cc to then click MapleStoryServer
Click 3rdJob.cpp then click File-> Move 3rdJob.cpp to then click MapleStoryServer
Add this to your NPCScripts.h
and this as well
Go into NPCs.cpp and add this anywhere IF YOU DO NOT ALREADY HAVE IT
Go into NPCs.h and add this anywhere IF YOU DO NOT ALREADY HAVE IT
Put it under void giveEXP(int exp); or something.
There you go, if you get errors you didnt follow this right.
So here are step by step instructions.
Download these files and place them with all your other files.
You must be registered to see links
In Visual C++ thing have your solution open then open the two files.
Click 1stJob.ccthen click File-> Move 1stJob.cc to then click MapleStoryServer
Click 3rdJob.cpp then click File-> Move 3rdJob.cpp to then click MapleStoryServer
Add this to your NPCScripts.h
Code:
case 1012100: npc_1012100(npc); break; //Athena Pierce
case 1032001: npc_1032001(npc); break; //Grendel the Really Old
case 1022000: npc_1022000(npc); break; //Dances with Balrog
case 1052001: npc_1052001(npc); break; //Dark Lord
case 2020008: npc_2020008(npc); break; //Tylus - 3rd Job Warrior
case 2020010: npc_2020010(npc); break; //Rene - 3rd Job Archer
case 2020011: npc_2020011(npc); break; //Arec - 3rd Job Thief
case 2020009: npc_2020009(npc); break; //Robeira - 3rd Job Wizard
and this as well
Code:
static void npc_1012100(NPC* npc); //Athena Pierce
static void npc_1032001(NPC* npc); //Grendel the Really Old
static void npc_1022000(NPC* npc); //Dances with Balrog
static void npc_1052001(NPC* npc); //Dark Lord
static void npc_2020008(NPC* npc); //Tylus - 3rd Job Warrior
static void npc_2020010(NPC* npc); //Rene - 3rd Job Archer
static void npc_2020011(NPC* npc); //Arec - 3rd Job Thief
static void npc_2020009(NPC* npc); //Robeira - 3rd Job
Go into NPCs.cpp and add this anywhere IF YOU DO NOT ALREADY HAVE IT
Code:
void NPC::setAP(short ap)
{
player->setAp(ap);
}
void NPC::setSP(short sp)
{
player->setSp(sp);
}
Go into NPCs.h and add this anywhere IF YOU DO NOT ALREADY HAVE IT
Code:
void setAP(short ap);
void setSP(short sp);
There you go, if you get errors you didnt follow this right.
Last edited: