Skocz do zawartości

Dołącz do społeczności!

👋 Witaj na MPCForum!

Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

  • ✅ Pełny dostęp do działów i ukrytych treści
  • ✅ Możliwość pisania i odpowiadania w tematach
  • ✅ System prywatnych wiadomości
  • ✅ Zbieranie reputacji i rozwijanie swojego profilu
  • ✅ Członkostwo w jednej z największych społeczności graczy

👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

Zarejestruj się teraz

Rekomendowane odpowiedzi

Opublikowano

19 Teleporter NPC's Included:

Phil - Lith Harbor (104000000)

Regular Cab - Heneseys (100000000)

Regular Cab - Perion (102000000)

Regular Cab - Ellinia (101000000)

Regular Cab - Kerning City (103000000)

VIP Cab - Lith Harbor (104000000)

VIP Cab - Ellinia (101000000)

Pison - Florina Beach (110000000)

Pason - Lith Harbor (104000000)

NLC Taxi - New Leaf City (600000000) Phantom Forest (682000000)

Spinel - Amoria (680000000) Ellinia (101000000) Henesys (100000000) Kerning City (103000000) Leafre (240000000) Lith Harbor (104000000) Ludibrium (220000000) Mu Lung (250000000) Mushroom Shrine (800000000) Orbis (200000000) Perion (102000000)

Dolphin - The Pier near Sea (251000100)

Dolphin - Aquarium (230000000)

Bell - Kerning City (103000000) New Leaf City (600000000)

Agatha - Orbis Ticketing Booth (200000100)

Mue - Leafre Ticketing Booth (240000100)

Mel - Ludibrium Ticketing Place (220000100)

Joel - Ellinia Station (101000300)

Hak - Mu Lung (250000100)Herb Town (251000000)

Shanks - Southperry (60000)

Jeff - Ice Valley II (211040200)

 

 

To install: Create new .cpp in the NPCs folder, TeleportNPCs.cpp for example.

 

Paste this:

Code:

 

Code is here (To long for post): http://trix.labyrinthos.org/mscode/TeleportNPCs.cpp

 

Add this to NPCsScripts.h BELOW THIS LINE:

Code:

 

case 9900000: npc_9900000(npc); break;

 

Code:

 

// Teleporters

case 1002000: npc_1002000(npc); break; // Phil - Lith Harbor (104000000)

case 1012000: npc_1012000(npc); break; // Regular Cab - Heneseys (100000000)

case 1022001: npc_1022001(npc); break; // Regular Cab - Perion (102000000)

case 1032000: npc_1032000(npc); break; // Regular Cab - Ellinia (101000000)

case 1052016: npc_1052016(npc); break; // Regular Cab - Kerning City (103000000)

case 1002004: npc_1002004(npc); break; // VIP Cab - Lith Harbor (104000000)

case 1032005: npc_1032005(npc); break; // VIP Cab - Ellinia (101000000)

case 1081001: npc_1081001(npc); break; // Pison - Florina Beach (110000000)

case 1002002: npc_1002002(npc); break; // Pason - Lith Harbor (104000000)

case 9201056: npc_9201056(npc); break; // NLC Taxi - New Leaf City (600000000) Phantom Forest (682000000)

case 9000020: npc_9000020(npc); break;

// Spinel - Amoria (680000000) Ellinia (101000000)

// Henesys (100000000) Kerning City (103000000)

// Leafre (240000000) Lith Harbor (104000000)

// Ludibrium (220000000) Mu Lung (250000000)

// Mushroom Shrine (800000000) Orbis (200000000)

// Perion (102000000)

case 2093004: npc_2093004(npc); break; // Dolphin - The Pier near Sea (251000100)

case 2060009: npc_2060009(npc); break; // Dolphin - Aquarium (230000000)

case 9201057: npc_9201057(npc); break; // Bell - Kerning City (103000000) New Leaf City (600000000)

case 2012000: npc_2012000(npc); break; // Agatha - Orbis Ticketing Booth (200000100)

case 2082000: npc_2082000(npc); break; // Mue - Leafre Ticketing Booth (240000100)

case 2040000: npc_2040000(npc); break; // Mel - Ludibrium Ticketing Place (220000100)

case 1032007: npc_1032007(npc); break; // Joel - Ellinia Station (101000300)

case 2090005: npc_2090005(npc); break; // Hak - Mu Lung (250000100) Herb Town (251000000)

case 22000: npc_22000(npc); break; // Shanks - Southperry (60000)

case 2030000: npc_2030000(npc); break; // Jeff - Ice Valley II (211040200)

 

and this BELOW THIS LINE:

Code:

 

static void npc_9900000(NPC* npc);

 

Code:

 

// Teleporters

static void npc_1002000(NPC* npc);

static void npc_1012000(NPC* npc);

static void npc_1022001(NPC* npc);

static void npc_1032000(NPC* npc);

static void npc_1052016(NPC* npc);

static void npc_1002004(NPC* npc);

static void npc_1032005(NPC* npc);

static void npc_1081001(NPC* npc);

static void npc_1002002(NPC* npc);

static void npc_9201056(NPC* npc);

static void npc_9000020(NPC* npc);

static void npc_2093004(NPC* npc);

static void npc_2060009(NPC* npc);

static void npc_9201057(NPC* npc);

static void npc_2012000(NPC* npc);

static void npc_2082000(NPC* npc);

static void npc_2040000(NPC* npc);

static void npc_1032007(NPC* npc);

static void npc_2090005(NPC* npc);

static void npc_22000(NPC* npc);

static void npc_2030000(NPC* npc);

 

Add this to NPCs.cpp:

Code:

 

int NPC::checkhasItem(Player* player, int item){

return Inventory::hasItem(player, item);

}

int NPC::getItemAmount(int itemid){

return player->inv->getItemAmount(itemid);

}

 

And this to NPCs.h BELOW THIS LINE:

Code:

 

void giveEXP(int exp);

 

Code:

 

int checkhasItem(Player* player, int item);

int getItemAmount(int itemid);

 

Add this to Inventory.cpp:

Code:

 

int Inventory::hasItem(Player* player, int item) {

for(int i=0; i<player->inv->getItemNum(); i++) {

if(player->inv->getItem(i)->id == item){

return 1;

}

}

return 0;

}

 

And this to Inventory.h BELOW THIS LINE:

Code:

 

static void stopChair(Player* player, unsigned char* packet);

 

Code:

 

static int hasItem(Player* player, int item);

 

And thats it! Enjoy.

 

EDIT:

My files, rather than the code above: http://trix.labyrinthos.org/mscode/

 

 

Odrazu mówie ze nie jest mój;p

DELETE

Opublikowano

A testowałeś?

1>NPCs.obj : error LNK2001: unresolved external symbol "private: static void __cdecl NPCsScripts::npc_9100109(class NPC *)" (?npc_9100109@NPCsScripts@@CAXPAVNPC@@@Z)
1>NPCs.obj : error LNK2001: unresolved external symbol "private: static void __cdecl NPCsScripts::npc_9100106(class NPC *)" (?npc_9100106@NPCsScripts@@CAXPAVNPC@@@Z)
1>NPCs.obj : error LNK2001: unresolved external symbol "private: static void __cdecl NPCsScripts::npc_9100104(class NPC *)" (?npc_9100104@NPCsScripts@@CAXPAVNPC@@@Z)
1>NPCs.obj : error LNK2001: unresolved external symbol "private: static void __cdecl NPCsScripts::npc_9100103(class NPC *)" (?npc_9100103@NPCsScripts@@CAXPAVNPC@@@Z)
1>NPCs.obj : error LNK2001: unresolved external symbol "private: static void __cdecl NPCsScripts::npc_9100102(class NPC *)" (?npc_9100102@NPCsScripts@@CAXPAVNPC@@@Z)
1>NPCs.obj : error LNK2001: unresolved external symbol "private: static void __cdecl NPCsScripts::npc_9100101(class NPC *)" (?npc_9100101@NPCsScripts@@CAXPAVNPC@@@Z)
1>NPCs.obj : error LNK2001: unresolved external symbol "private: static void __cdecl NPCsScripts::npc_9100100(class NPC *)" (?npc_9100100@NPCsScripts@@CAXPAVNPC@@@Z)
1>NPCs.obj : error LNK2001: unresolved external symbol "private: static void __cdecl NPCsScripts::npc_2030000(class NPC *)" (?npc_2030000@NPCsScripts@@CAXPAVNPC@@@Z)
1>NPCs.obj : error LNK2001: unresolved external symbol "private: static void __cdecl NPCsScripts::npc_22000(class NPC *)" (?npc_22000@NPCsScripts@@CAXPAVNPC@@@Z)
1>NPCs.obj : error LNK2001: unresolved external symbol "private: static void __cdecl NPCsScripts::npc_2090005(class NPC *)" (?npc_2090005@NPCsScripts@@CAXPAVNPC@@@Z)
1>NPCs.obj : error LNK2001: unresolved external symbol "private: static void __cdecl NPCsScripts::npc_1032007(class NPC *)" (?npc_1032007@NPCsScripts@@CAXPAVNPC@@@Z)
1>NPCs.obj : error LNK2001: unresolved external symbol "private: static void __cdecl NPCsScripts::npc_2040000(class NPC *)" (?npc_2040000@NPCsScripts@@CAXPAVNPC@@@Z)
1>NPCs.obj : error LNK2001: unresolved external symbol "private: static void __cdecl NPCsScripts::npc_2082000(class NPC *)" (?npc_2082000@NPCsScripts@@CAXPAVNPC@@@Z)
1>NPCs.obj : error LNK2001: unresolved external symbol "private: static void __cdecl NPCsScripts::npc_2012000(class NPC *)" (?npc_2012000@NPCsScripts@@CAXPAVNPC@@@Z)
1>NPCs.obj : error LNK2001: unresolved external symbol "private: static void __cdecl NPCsScripts::npc_9201057(class NPC *)" (?npc_9201057@NPCsScripts@@CAXPAVNPC@@@Z)
1>NPCs.obj : error LNK2001: unresolved external symbol "private: static void __cdecl NPCsScripts::npc_2060009(class NPC *)" (?npc_2060009@NPCsScripts@@CAXPAVNPC@@@Z)
1>NPCs.obj : error LNK2001: unresolved external symbol "private: static void __cdecl NPCsScripts::npc_2093004(class NPC *)" (?npc_2093004@NPCsScripts@@CAXPAVNPC@@@Z)
1>NPCs.obj : error LNK2001: unresolved external symbol "private: static void __cdecl NPCsScripts::npc_9000020(class NPC *)" (?npc_9000020@NPCsScripts@@CAXPAVNPC@@@Z)
1>NPCs.obj : error LNK2001: unresolved external symbol "private: static void __cdecl NPCsScripts::npc_9201056(class NPC *)" (?npc_9201056@NPCsScripts@@CAXPAVNPC@@@Z)
1>NPCs.obj : error LNK2001: unresolved external symbol "private: static void __cdecl NPCsScripts::npc_1002002(class NPC *)" (?npc_1002002@NPCsScripts@@CAXPAVNPC@@@Z)
1>NPCs.obj : error LNK2001: unresolved external symbol "private: static void __cdecl NPCsScripts::npc_1081001(class NPC *)" (?npc_1081001@NPCsScripts@@CAXPAVNPC@@@Z)
1>NPCs.obj : error LNK2001: unresolved external symbol "private: static void __cdecl NPCsScripts::npc_1032005(class NPC *)" (?npc_1032005@NPCsScripts@@CAXPAVNPC@@@Z)
1>NPCs.obj : error LNK2001: unresolved external symbol "private: static void __cdecl NPCsScripts::npc_1002004(class NPC *)" (?npc_1002004@NPCsScripts@@CAXPAVNPC@@@Z)
1>NPCs.obj : error LNK2001: unresolved external symbol "private: static void __cdecl NPCsScripts::npc_1052016(class NPC *)" (?npc_1052016@NPCsScripts@@CAXPAVNPC@@@Z)
1>NPCs.obj : error LNK2001: unresolved external symbol "private: static void __cdecl NPCsScripts::npc_1032000(class NPC *)" (?npc_1032000@NPCsScripts@@CAXPAVNPC@@@Z)
1>NPCs.obj : error LNK2001: unresolved external symbol "private: static void __cdecl NPCsScripts::npc_1022001(class NPC *)" (?npc_1022001@NPCsScripts@@CAXPAVNPC@@@Z)
1>NPCs.obj : error LNK2001: unresolved external symbol "private: static void __cdecl NPCsScripts::npc_1012000(class NPC *)" (?npc_1012000@NPCsScripts@@CAXPAVNPC@@@Z)
1>NPCs.obj : error LNK2001: unresolved external symbol "private: static void __cdecl NPCsScripts::npc_1002000(class NPC *)" (?npc_1002000@NPCsScripts@@CAXPAVNPC@@@Z)
1>NPCs.obj : error LNK2001: unresolved external symbol "private: static void __cdecl NPCsScripts::npc_9900001(class NPC *)" (?npc_9900001@NPCsScripts@@CAXPAVNPC@@@Z)

Jak już dałeś, to powiedz, co zrobić. :P

exModerator MapleStory

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Ostatnio przeglądający 0

  • Brak zarejestrowanych użytkowników przeglądających tę stronę.

Konto

Nawigacja

Skonfiguruj powiadomienia push w przeglądarce

Chrome (Android)
  1. Stuknij ikonę kłódki obok paska adresu.
  2. Stuknij Uprawnienia → Powiadomienia.
  3. Dostosuj swoje ustawienie.
Chrome (Komputer)
  1. Kliknij ikonę kłódki na pasku adresu.
  2. Wybierz Ustawienia witryny.
  3. Znajdź Powiadomienia i dostosuj swoje ustawienie.