Skocz do zawartoś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

[TuT] Jak zrobic priv serva + Rozne Komendy


lolek124

Rekomendowane odpowiedzi

Opublikowano

Skoro to nie jest tylko twoje do na dużej ilości stronach pojawia się identyczny topic to ja go przekopiuje i dodam inny podobny sposób:

 

1. Najpierw Sciagniemy potrzebne rzeczy.

Microsoft Visual C++ 2008 Express Edition

Microsoft Net Framework 3.5

Windows Installer 3.1 (Program do instaloawnia rzeczy od Microsoftu) - Zjezdzamy na dol i wybieramy

WindowsInstaller-KB893803-v2-x86.exe

TitanMS Source Rev005

Pliki fix'ujace- wklejamy je do MapleStoryServer np. jak macie TitanMS Source na pulpicie to C:/document and settings/nazwa/pulpit/MapleStoryServer/MapleStoryServer

2. Instalcja

Najpierw rozpakuj TitanMS Source i wklej Pliki fix'ujace to folderu MapleStoryServer (patrz wyzej)

Teraz instaluj pokolei: Windows Installer, Net Framerwork 3.5, Microsoft Visual C++, NaviCat, Wamp Server

 

3. Tworzenie BazyDanych

create table users(ID int auto_increment primary key, username varchar(20), password varchar(20), pin int, gender int);

create table characters(ID int auto_increment primary key, name varchar(12), userid int, level tinyint default 1, job smallint default 0, str smallint, dex smallint, intt smallint, luk smallint, chp smallint default 50, mhp smallint default 50, cmp smallint default 50, mmp smallint default 50, ap smallint default 0, sp smallint default 0, exp smallint default 0, fame smallint default 0, map int default 0, pos smallint default 0, gender tinyint, skin tinyint, eyes int, hair int, mesos int default 0);

create table equip(equipid int, type tinyint, charid int, pos smallint default 0, slots tinyint default 7, scrolls smallint default 0, istr smallint default 0, idex smallint default 0, iint smallint default 0, iluk smallint default 0, ihp smallint default 0, imp smallint default 0, iwatk smallint default 0, imatk smallint default 0, iwdef smallint default 0, imdef smallint default 0, iacc smallint default 0, iavo smallint default 0, ihand smallint default 0, ispeed smallint default 0, ijump smallint default 0);

create table items(itemid int, charid int, inv tinyint, pos smallint, amount smallint);

create table keymap(charid int, pos0 int default 0, pos1 int default 0, pos2 int default 2564, pos3 int default 3076, pos4 int default 3332, pos5 int default 4612, pos6 int default 5380, pos7 int default 0, pos8 int default 0, pos9 int default 0, pos10 int default 0, pos11 int default 0, pos12 int default 0, pos13 int default 0, pos14 int default 0, pos15 int default 0, pos16 int default 2052, pos17 int default 1284, pos18 int default 4, pos19 int default 1028, pos20 int default 0, pos21 int default 0, pos22 int default 0, pos23 int default 260, pos24 int default 0, pos25 int default 4868, pos26 int default 3588, pos27 int default 3844, pos28 int default 0, pos29 int default 13317, pos30 int default 0, pos31 int default 516, pos32 int default 0, pos33 int default 0, pos34 int default 3456, pos35 int default 2820, pos36 int default 0, pos37 int default 772, pos38 int default 0, pos39 int default 5124, pos40 int default 4100, pos41 int default 0, pos42 int default 0, pos43 int default 2308, pos44 int default 12805, pos45 int default 13061, pos46 int default 1540, pos47 int default 0, pos48 int default 0, pos49 int default 0, pos50 int default 1796, pos51 int default 0, pos52 int default 0, pos53 int default 0, pos54 int default 0, pos55 int default 0, pos56 int default 13573, pos57 int default 0, pos58 int default 0, pos59 int default 25606, pos60 int default 25862, pos61 int default 26118, pos62 int default 26374, pos63 int default 26630, pos64 int default 26886, pos65 int default 27142, pos66 int default 0, pos67 int default 0, pos68 int default 0, pos69 int default 0, pos70 int default 0, pos71 int default 0, pos72 int default 0, pos73 int default 0, pos74 int default 0, pos75 int default 0, pos76 int default 0, pos77 int default 0, pos78 int default 0, pos79 int default 0, pos80 int default 0, pos81 int default 0, pos82 int default 0, pos83 int default 0, pos84 int default 0, pos85 int default 0, pos86 int default 0, pos87 int default 0, pos88 int default 0, pos89 int default 0);

 

Odpalamy Wamp'a czekamy az pokaze sie w trayu i bedzie taki zolto bialy smile.gif Teraz Odpalamy NaviCata. Klikamy Connection i zostawiamy tak jak jest i klikamy OK. Klikamy na localhost prawym przyciskiem myszy

i wybieramy New Datebase. Wpisujemy maplestory (koniecznie maplestory i z malych liter, bo inaczej nie bedzie dzialac!!). Teraz klikamy prawym na ta baze danych maplestory i wybieramy Execute Batch File. W file wybieramy ten plik co utworzylismy na pulpicie (ten textowy) i klikamy Start, gdy pojawi sie komunikat ze wsyzstko poszlo pomyslnie klikamy Close. Teraz klikamy prawym na maplestory i klikamy Close Database, a nastepnie Open Database, zeby sie zapisalo.

 

4. Odpalanie Serwera.

Wlaczamy Microsoft Visual C++. Klikamy Open -> Project i wybieramy MapleStoryServer.sln z pierwszego folderu MapleStoryServer. Nastepnie klikamy Zielony Trojkacik w C++ na gorze programu. Czekamy az sie skompiluje i wlaczy Server. Gdy w okienku servera wszystko bedzie na [DONE] odpalamy klienta smile.gif

 

5. Tworzenie konta i postaci

Konto

Odpalamy NaviCata i klikamy na stworzone polaczenie (nr 1 na zdjeciu), pozniej na maplestory(nr 2 na zdjeciu). Gdy otworzy nam sie zawartosc bazydanych maplestory klikamy na + kolo tables i klikamy 2x na users(nr 3 na zdjeciu)

 

170099e32de15b5ea8f151691031b18fd18e8f128744.jpg

 

Otworzy nam sie panel do robienia konta.

ID - tutaj wpisujemy 1 (gdy robimy nastepne konto to 2, gdy jeszcze nastepne to 3 itd.)

USERNAME - nasz login

PASSWORD - nasze haslo

PIN - tu wpisz 0

GENDER - tak jak PIN

 

Postac

Postac chyba kazdy umie zrobic.:):P

 

6. Komendy GM'a

 

 

7. Edycja pliku

Oworzcie plik LoginPacket.cpp, zjedzcie na sam dol i znajdzcie linijki:

 

	packet.addByte(xxx); // IP
packet.addByte(x);
packet.addByte(x);
packet.addByte(x);

 

Zamiencie to na:

	packet.addByte(127); // IP
packet.addByte(0);
packet.addByte(0);
packet.addByte(1);

 

 

 

Mini FAQ:

P: Omfg pozóje mi sie błont 'localhost'

O: Niemasz Wampa w trayu lub jest on OnLine. Powinno to wygladac tak:

1700608b4581ffc3edad89176b445daeae60eb127906.jpg

 

P: Gdy w silnikó pokarze mi sie Map [DONE] wyloncza sie

O: Nie jestes polaczony z MySQL, wejdz w NaviCata i sie polacz klikajac 2x na (domyslnie) localhost, a pozniej

na maplestory

 

 

 

Filmik:Klik!

 

Oto 2gi sposobik:

 

Przetłumaczone ale mogą być błedy =/

 

* Microsoft Visual C++ 2008 Express

 

* Maple Story .52 Client

 

* MySQL Server 5.0

 

* MySQL Query Browser

 

* Naprawione Pliki Serwerowe

 

Krok 1

 

1. Zainstaluj VC++ 2008 Express (Możesz potrzebować .NET Framework 3.5)

2. Zainstaluj klient MapleStory. (Jeżeli masz zainstalowaną wersje 0.52 MapleGlobal używaj jej)

3. Zainstaluj MySQL Server. Zostaw wszystko domyślnie. (Jak wiesz w MySQL można zmieniać opcje)

4. Zainstaluj MySQL Query Browser.

5. Otwórz Query Browser i zaloguj się do bazy danych. Kliknij PPM na drzewo które jest z prawej i nacisnij na 'Create New Schema'.

6. Nazwij to maplestory.

7. W okienku do pisania na górze, wpisz

create table users(ID int auto_increment primary key, username varchar(20), password varchar(20), pin int, gender int);

i nacisnij 'Execute'.

8. Powtórz krok 7 a następnie wpisz:

create table characters(ID int auto_increment primary key, name varchar(12), userid int, level tinyint default 1, job smallint default 0, str smallint, dex smallint, intt smallint, luk smallint, chp smallint default 50, mhp smallint default 50, cmp smallint default 50, mmp smallint default 50, ap smallint default 0, sp smallint default 0, exp smallint default 0, fame smallint default 0, map int default 0, pos smallint default 0, gender tinyint, skin tinyint, eyes int, hair int, mesos int default 0);
create table equip(equipid int, type tinyint, charid int, pos smallint default 0, slots tinyint default 7, scrolls smallint default 0, istr smallint default 0, idex smallint default 0, iint smallint default 0, iluk smallint default 0, ihp smallint default 0, imp smallint default 0, iwatk smallint default 0, imatk smallint default 0, iwdef smallint default 0, imdef smallint default 0, iacc smallint default 0, iavo smallint default 0, ihand smallint default 0, ispeed smallint default 0, ijump smallint default 0);
create table items(itemid int, charid int, inv tinyint, pos smallint, amount smallint);
i
create table keymap(charid int, pos0 int default 0, pos1 int default 0, pos2 int default 2564, pos3 int default 3076, pos4 int default 3332, pos5 int default 4612, pos6 int default 5380, pos7 int default 0, pos8 int default 0, pos9 int default 0, pos10 int default 0, pos11 int default 0, pos12 int default 0, pos13 int default 0, pos14 int default 0, pos15 int default 0, pos16 int default 2052, pos17 int default 1284, pos18 int default 4, pos19 int default 1028, pos20 int default 0, pos21 int default 0, pos22 int default 0, pos23 int default 260, pos24 int default 0, pos25 int default 4868, pos26 int default 3588, pos27 int default 3844, pos28 int default 0, pos29 int default 13317, pos30 int default 0, pos31 int default 516, pos32 int default 0, pos33 int default 0, pos34 int default 3456, pos35 int default 2820, pos36 int default 0, pos37 int default 772, pos38 int default 0, pos39 int default 5124, pos40 int default 4100, pos41 int default 0, pos42 int default 0, pos43 int default 2308, pos44 int default 12805, pos45 int default 13061, pos46 int default 1540, pos47 int default 0, pos48 int default 0, pos49 int default 0, pos50 int default 1796, pos51 int default 0, pos52 int default 0, pos53 int default 0, pos54 int default 0, pos55 int default 0, pos56 int default 13573, pos57 int default 0, pos58 int default 0, pos59 int default 25606, pos60 int default 25862, pos61 int default 26118, pos62 int default 26374, pos63 int default 26630, pos64 int default 26886, pos65 int default 27142, pos66 int default 0, pos67 int default 0, pos68 int default 0, pos69 int default 0, pos70 int default 0, pos71 int default 0, pos72 int default 0, pos73 int default 0, pos74 int default 0, pos75 int default 0, pos76 int default 0, pos77 int default 0, pos78 int default 0, pos79 int default 0, pos80 int default 0, pos81 int default 0, pos82 int default 0, pos83 int default 0, pos84 int default 0, pos85 int default 0, pos86 int default 0, pos87 int default 0, pos88 int default 0, pos89 int default 0);

9. Teraz,żeby zrobić konto. Nacisnij 2 razy na tabelke 'users' w drzewku. Potem, nacisnij na 'Execute'. Kliknij na 'Edit' który jest na dole. Kliknij 2 razy na pole Username, wpisz do niego swój username. Zrób to ponownie z polem Password. Wpisz '0' bez cytatów w PID i Gender. Kiedy skończysz kliknij na 'Apply Changes' .

10. Zamknij MySQL Query Browser.

11. Wypakuj pliki serwerowe (pobrałeś je z listy u góry).

12. Znajdź MapleStoryServer.sln i nacisnij na nim 2 razy. otworzy on VC++ 2008 Express. Jeżeli VC++ się nie otworzy , włącz je i załaduj ten plik.

13. W menu nacisnij na Build -> Build Solution.

14. Teraz poczekaj.

15. Kiedy pojawi się w lewym dolnym rogu 'Build succeeded' nacisnij na zieloną strzałkę.

16. Czekaj aż serwer będzie przygotowany ;).

17. Ta-da!

Żeby zdobyć twojego klienta którym połączysz się z serwerem zrób tak:

 

Wariant 1(Łatwy)

 

* Ściągnij zmodyfikowanego klienta

* Otwórz Notatnik.

* Wpisz start OdinMS 127.0.0.1

* Zapisz jako Launcher.bat (Upewnij się że zaznaczyłeś 'Wszystkie Pliki' a nie 'Pliki Tekstowe')

* Naciśnij 2 razy na plik.

 

2 Wariant (Dla tych którzy nie mogą zrobić pierwszego)

 

* Ściągnij zmodyfikowanego klienta

* Otwórz "c:\windows\system32\drivers\etc\hosts" w notatniku.

* Dodaj na dole:

 

127.0.0.1 login.odinms.de

 

 

Dla tych którzy mają kłopoty z połączeniem sie z Bazą Danych w Query Browserze:

Server Host: localhost

Server Port: 3306

Username: root

Password: bez hasła

 

Dla tych którzy mają kłopoty z połączeniem sie z Bazą Danych (error serwera) niech zrobią tak:

 

* Otwórz VC++.

* Idź do MapleStoryServer -> Source Files -> DataBaseManager -> MySQLM.cpp

* Znajdź:

 

if(!mysql_real_connect(&maple_db, "localhost", "root", "", "maplestory", 3306, NULL, 0)){

 

* Zmień po tym jakikolwiek info w Bazie Danych. (Puste "" po "root" jest hasłem).

* Po zmianie naciśnij File -> Save.

* Potem , odbuduj

Opublikowano

Wszystko robie tak jak w tutorialu, normalnie sie loguje mam okno do wybierania postaci ale gdy probuję wejść na serwer wyskakuje komunikat : Cannot Log blablabla... Proszę o jakąś pomoc.

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...