2. Instalacja
Krok 1 - Instalujemy SQL 2000
1- Otwórz SQLEVAL.exe.
2- Otworz folder w ktorym zapisales instalacje.
3- Uruchom AutoRun.exe.
4- Wybierz: SQL Server 2000 Components.
5- Zainstaluj 'Database Server':
- Po kilku sekundach powinno pokazac sie okienko. Nacisnij Next.
- Wybierz local computer i nacisnij Next.
- Wybierz:Create a new instance of SQL Server, oraz install Client Tools (oba maja byc zaznaczone...), i nacisnij Next.
- Wpisz praktycznie co kolwiek, to tylko rejstracja produktu w sieci, malo istotne.
- Poprostu wcisnij Yes.
- Upewnij sie ze zaznaczylesServer and Client Tools i nacisnij Next.
- Wybierz Default i nacisnij Next.
- Wybierz Typical i wcisnij next Next (mozesz zmienic, lokalizacje instalacji docelowej).
- Wybierz Use the same account for each service, Auto start SQL Server Service. a potem Use the Local System accountand (?) i nacisnij Next.
- Wybierz Mixed Mode (Windows Authentication and SQL Server Authentication) napisz haslo w obu polach (najlepiej, zapisz sobie je gdzies, moze sie przydac) i wcisnij Next
- Nacisnij next. Instalacja sie rozpocznie
- Nacisnij finish i zrestartuj komputer.
6- To tyle, Microsoft SQL Server 2000 zainstalowany.
Krok 2 - Konfigurujemy pliki.
Folder z plikami powinien wygladac mniej wiecej tak:
[img]priv1[/img]
Nastepnie otwieramy po kolei pliki .cfg
zacznijmy od accountserver.cfg .
//AccountServer [net] listen_port = 2321 listen_ip = 127.0.0.1 //(YOUR IP HERE) [db] dbserver = (local) // IP Address Of Server Database db = accountserver // Database Name userid = // SQL Security Login passwd = // <-(dont change this password)(pass in MSSQL-->Y87dc#$98) // [bill] enable_bill = 0 enable_passport= 0 // ÊÇ·ñÆôÓÃbillingϵͳµÄpassport enable_kickuser = 0 bill_server1 = 127.0.0.1 :7243 // bill_server2 = 127.0.0.1 :7243 // [tom] enable_tom = 0 // [gs] GroupServerAndor = GroupServerAndor // ×¢²áµÄGroupServerÕ˺ţ¨¸ñʽΪ£º·°Õ˺ÅÃû·± = ·°ÃÜÂë·±£ˆ GroupServerAndor1 = GroupServerAndor1 // ×¢²áµÄGroupServerÕ˺ţ¨¸ñʽΪ£º·°Õ˺ÅÃû·± = ·°ÃÜÂë·±£ˆ GroupServerAndor2 = GroupServerAndor2 // ×¢²áµÄGroupServerÕ˺ţ¨¸ñʽΪ£º·°Õ˺ÅÃû·± = ·°ÃÜÂë·±£ˆ GroupServerAndor5 = GroupServerAndor5 // ×¢²áµÄGroupServerÕ˺ţ¨¸ñʽΪ£º·°Õ˺ÅÃû·± = ·°ÃÜÂë·±£ˆ GroupServerAndor6 = GroupServerAndor6 // ×¢²áµÄGroupServerÕ˺ţ¨¸ñʽΪ£º·°Õ˺ÅÃû·± = ·°ÃÜÂë·±£ˆ enable_ping = 1 // ÓëGroupServerÊÇ·ñÆôÓà "Keep Alive"
gotowy plik powinien wygladac tak:
[img]priv2[/img]
gateserver.cfg
;GateServer³õÊ¥»¯ÐÅÏ¢ÎÄ¥þ [Main] Name = PrivateServer // ±µGateServerµÇÂ¥µ½GroupServerÉϵÄΨһÃû×Ö Version =136 // ±µGateServerÑéÖ¤¿Í»§ËµÄ°æ±µºÅ£¬Èç1.01°æ£½£½101 [GroupServer] IP = 127.0.0.1 // IP Address Of GroupServer Port = 2322 // Á¬½ÓµÄGroupServerÕìÌýGateServerÁ¬½ÓµÄÕìÌýTCPË¿Ú EnablePing = 180 // GateServerµ½GroupServerµÄSocketÁ¬½ÓµÄKeepAliveÖµ [ToClient] //IP = 192.168.1.1 // GateServerÕìÌýÓÎÏ·¿Í»§ËÁ¬½ÓµÄÕìÌýIPµØÖ· IP = 0.0.0.0 // change the ip to 0.0.0.0 to accept gameservers from different IPs //IP = 5.48.180.118 // GateServerÕìÌýÓÎÏ·¿Í»§ËÁ¬½ÓµÄÕìÌýIPµØÖ· Port = 1973 // GateServerÕìÌýÓÎÏ·¿Í»§ËÁ¬½ÓµÄÕìÌýTCPË¿Ú CommEncrypt = 1 // µ½¿Í»§ËµÄSocketÁ¬½ÓÊÇ·ñ´ò¿ª¥ÓÃÜͨÐÅ EnablePing = 60 // GateServerµ½ÓÎÏ·¿Í»§ËµÄSocketÁ¬½ÓµÄKeepAliveÖµ MaxConection =1500 // The largest initial connection [ToGameServer] IP = 127.0.0.1 // IP Address Of GameServer Port = 2320 // GateServerÕìÌýGameServerÁ¬½ÓµÄÕìÌýTCPË¿Ú EnablePing = 180 // GateServerµ½GameServerµÄSocketÁ¬½ÓµÄKeepAliveÖµ [ShowRange] ShowMin = 500 // зÓÚµÈÓÚShowMinʱÏÔʵÕý³£ ShowMax = 800 // ´óÓÚShowMin²¢ÇÒзÓÚµÈÓÚShowMaxÏÔʵ·±Ã¦£¬´óÓÚShowMaxÏÔʵÂú IsUse=0 // ÊÇ·ñÆôÓøººÉ״̬ÏÔʵ±¦ÄÜ£¬1ʱÓã¬0²»Ê±ÓÃ
[img]priv3[/img]
groupserver.cfg:
;GroupServer [Main] Name =GroupServerAndor1 // ±µGroupServerµÇÂ¥AccountServerµÄΨһÃû³Æ Listen_Port =2322 // The TCP Port Gateserver will connect to GroupServer Listen_IP =127.0.0.1 // The IP GateServer will connect to GroupServer KeepAlive =1800 // Èç±ûSocketºÜµÃûÓÐÊýµÝ´«Ê䣬GroupServerÈÏΪSocket´¦ÓÚ»î¯×´Ì¬µÄʱ¥ä£¬³¬±ý´Ëʱ¥äûÓÐÊýµÝ¥´ÈÏΪSocketÒÑËÀ Version =103 // ¿ØÖÆÁ¬½ÓGateServer°æ±µµÄ°æ±µºÅ£¬Ö»Óа汵ºÅÊôÓÚ´ËÊý×ÖµÄGateServer.exe²ÅÄÜÁ¬½Ó±µGroupServer [AccountServer] AcctEnable =1 // 0: close the connection // 1: Open the connection Password =GroupServerAndor1 // AccountServer Password IP =127.0.0.1 // The IP GroupServer will connect to AccountServer Port =2321 // The TCP Port GroupServer will connect to AccountServer [Database] IP =(local) // IP Address Of Server Database DB =GameDB // Database Name Login = // SQL Security Login Password = // Password = Y87dc#$98 MaxVal =2000000000 // Ò»¸öÊôÐÔ³£Á¿£¬ÊôÐÔ´óÓڴ˲»¿ÉÄÜÖµ»á±»×èÖ±½øÈëÓÎÏ·µØÍ¥£¬ÉèΪ´Ë±Ì¨Öµ [½ÇÉ«] MaxCharactPerAcc =3 // Max Number of Characters that can be created per account ChaImgLogoMaxValue =30 // ¸öÐÔ»¯Í¥±êµÄ×î´óÖµ£¬ÊÓÓÎÏ·°æ±µø¨£¬´ËÖµÊÇ·þÎñÆ÷¥ì²éÍæ¥ÒÔÚÉèÖÃʱºòµÄ·Î§¥ì²éÖµ MaxLognCount =200 // Max Number of Logins [ºÃÓÑ] // Friend System MaxInvtation =5 // Max Possible Characters Invitation At Same Time InvitTimeOut =30 // Invitation Time Out (In Seconds) MaxFriendPerChar =50 // Max Number of Friends a Character Can Have EveryCharFrndListGroup =10 // (Max value = 10) [×éÓ] // Party System MaxInvtation =5 // Max Possible Characters Invitation At Same Time InvitTimeOut =30 // Invitation Time Out (In Seconds) PlayersInsdParty =5 // Max Players Inside A Party [ÁÄÌì] // Chat System MaxMsngPerPlayer =30 // Max Number of Messenger a Player can Join (Max value = 30) MaxPlayerPerMsng =30 // Max Number of players Inside a Messenger (Max value = 100) WrldChanSayInter =20 // World Channel Say Interval (In Seconds) TrdeChanSayInter =20 // Trade Channel Say Interval (In Seconds) WhprChanSayInter =2 // Whisper Channel Say Interval (In Seconds) [³öÉúµØ] //Birthplace configuration Argent City =garner Shaitan City =magicsea Icicle Castle =darkblue
I na dzis tyle bo jade pod palac prezydencki zapalic znicz. Pozdrawiam.
Gameserver.cfg
w gameserver, wybieramy jakie mapy maj± zostaæ odpalone. Pamietajmy, by nie odpaliæ 2 du¿ych map na 1 gameserverze (tzn., argent/shaitan/icicle osobno). Mapy dodajemy, dopisuj±c linijkê w czê¶ci [Map], a usuwamy, kasuj±c liniê b±d¼ zamieniaj±c j± w komentarz (poprzez dodanie // na pocz±tku)
[ID] name = GameServer00 equment = ÊØ»¤Éñ1 [Gate] gate = 127.0.0.1 , 2320 // IP, Port (IP Address Of GameServer) //gate = 192.168.0.170, 1971 // IP, Port (IP Address Of GameServer) [original] [Map] map = garner // Ascaron //map = garner2 // Chaos Argent //map = binglang2 // Icicle Mirage //map = shalan2 // Shaitan Mirage //map = leiting2 // Thundoria Mirage //map = teampk // PvP Arena //map = puzzleworld // Demonic World Map 1 //map = puzzleworld2 // Demonic World Map //map = eastgoaf // Under Water Tunnel, BD Lair, Silver Mine, Abandon Mine //map = jialebi // Treasure Gulf, Naval Base, Skeletar Island, Abaddon 1-4 //map = hell // Abaddon 5-8 //map = hell2 // Abaddon 9 //map = hell3 // Abaddon 10-11 //map = hell4 // Abaddon 12 //map = hell5 // Eternal Abaddon //map = secretgarden // Guild War //map = guildwar // Sacred War //map = guildwar2 // Mini Sacred War //map = yschurch //map = prisonisland //map = 07xmas //map = 07xmas2 //map = sdBoss [DB] db_ip = (local) db_usr = //<-(type the login name u made in here) db_pass = // <-(dont change this password) (pass in MSSQL-->Y87dc#$98) [Socket] keep_alive = 120 [BaseID] // No Idea what this BaseID = 0x50000000 [Entity] // Impact of memory occupation max_ply = 1000 // The number of players max_cha = 16000 // The number of monsters max_item = 20000 // The number of items max_tnpc = 2000 // The number of NPC dialogue [Guild] guild_num = 80 // Max people inside a Guild guild_try_num = 80 // Max people on Guild apply list [Item] item_show_time = 120 // Time for item to desapear (In Seconds) item_prot_time = 30 // Time for item to be looted for another person (In Seconds) [Interval] say_interval = 1 // Ãë //save_db = 1 // ¨Ê±´æÅÌ¥ä¸ô£¨·ÖÖÓ£ˆ [LOG] log_cha = 0 log_cal = 0 log_ai = 0 log_mission = 0 log_dir = log\log1 db_mapmask = 1 // ÊÇ·ñ±£´æ´óµØÍ¥ [Debug] // µ÷ÊÔÓÃ, ·ÇGMÖ¸Áî gmcmd = 1,2,3,4,5,6,7 supercmd = 1 [Res] res_dir = resource //info = 127.0.0.1, 1985, 123456, 12
========CONFIG SQL========== (TBD)
========CONFIG SQL========== (TBD)
Offline
3. Odpalamy!
Wchodzi w folder z serverem, nastêpnie otwieramy program 'Server Launcher.exe'
Odpalamy po kolei, Account Server, GroupServer, GateServer i GameServery. Przy GameServerach, po lewej stronie musi byæ odpowiadaj±cy .cfg. Odpalaj±c 1wszy Gameserver, odpalimy np. argent - to co ustalone w gameserver.cfg. Odpalaj±c 2gi guzik, odpalimy to co w gameserver1.cfg itd.
Offline
4. Konfiguracja klienta
Po 1, pobieramy http://www.sendspace.com/file/bpjv92.
Wypakowujemy do folderu. U mnie bedzie to folder bin_compile.
Offline
Lepszy poradnik ni¿ ten od Proboszcza. Co prawda nieskoñczony, ale jak skoñczysz to na pewno bêdzie OK. Dziêki tobie ten je... MSS2000 mi dzia³a. Có¿, dziêki ci za to. Co prawda ca³y silnik nie dzia³a... W GroupServer mam b³±d... Ale pewnie jak skoñczysz to poprawie i zadzia³a ^_^
@edit
by³a jedna ma³a ró¿nica, ale nie pamiêtam jakaxd
Ostatnio edytowany przez Szaki (2010-04-16 17:14:30)
Offline
szczerze powiedziawszy to robilem to na pamiec, bo nie odpalalem sam tych plikow jeszcze, bo nie mialem czasu, jak skoncze wszystko bedzie git ;]
tzn. mam nadzieje, bo moga byc rozbieznosci miedzy sql 2005 a 2000 =s
Offline
mhmm....jak juz mowilem i nie wielu z was przeczytalo ze poradnik robilem bez mozliwosci przegladania i edytowania plikow cfg gdyz obecnie pracuje na podsystemie Linuxa Slitaz(z dodatkiem OPRH_CRACK ) wiec jesli ktos sie zna to wie ze linux nie obsluguje txt,exe,bat i innych potrzebnych do edycji plikow formatow...jak bede mial Windows to moze nakrece filmik i wstawie link tu do youtube...
z tego co pamietam to link do MSSQL 2000 Jest w moim poradniku pozwalam na jego uzycie..
Po 2 Mszust nei napisales o Hamachi bo nie wszyscy maja mozliwosc robienia servera non hamachi bo maja router.
ale poczatek lepszy od mojego musze przyznac.
Offline
Mszust kiedy skoñczysz poradnik >?<
Offline
Wszystko ³adnie jak na razie ale dokoñcz poradnik ? :>
Offline
Hahs ja dodalem zdjecia i wszystko awy ty tlyko...
smutam x.x tyle sie nameczylem zeby z linuxa foty dac potem doipero bylem na lapku ;(...zajelo mi to az 30 minut xD..nie no dobra jak tam chcecie
Offline
jeszcze mozna by bylo autorowi podziekowac co mszust ?
Offline