PDA

View Full Version : Jak zacit hostovat.



Mitsuki
4th February 2010, 12:10 PM
Hostovani her

Kdyz se odhodlate k hostvani her, nebo jste nuceni protoze pri stavacce 1v1 souper taky nemuze hostovat a vas to vyhazuje ze hry, meli byjste vedet, ze ne kazdy muze hostovat. Zalezi od vaseho providera. Zavolejte mu a zjistete jestli sluzby ktery si od neho kupujete vam dovoluji hosting.

Takze prejdeme k seznamu veci ktere potrebujete pro uspesne hostovani her:

1. Windows Firewall je prednastaven na blokovani vseho. Takze ho musite nastavit tak, aby neblokoval port warcraftu - 6112 (pokud jste to nezmenili v nastaveni hry), nebo v pripade ze pouzivate ghost, tak bot_hostport nebo admingame port. Taky nezapomente na war3.exe, ghost.exe.


Zmacknete Start > Ovladaci panely > Brana firewall systemu windows nebo Muj pocitac > Ovladaci panely > Brana firewall systemu windows.

Neoznacujte "Nepovolovat vyjimky"

Prejdete na zalozku "Vyjimky", Zmacknete "pridat program" > prochazet > najdete war3.exe > zmacknete tlacitko "zmenit obor" a vyberte "kterykoliv pocitac" > ok > ok

Prejdete na zalozku "Vyjimky", Zmacknete "pridat port" > do nazvu zadejte cokoliv, ale tak abyjste to pak poznali > cislo portu je 6112 > protokol UDP > zmacknete tlacitko "zmenit obor" a vyberte "kterykoliv pocitac" > ok > ok

Prejdete na zalozku "Vyjimky", Zmacknete "pridat port" > do nazvu zadejte cokoliv, ale tak abyjste to pak poznali > cislo portu je 6112 > protokol TCP > zmacknete tlacitko "zmenit obor" a vyberte "kterykoliv pocitac" > ok > ok


V pripade ghosta: opakujte tyto kroky a zadejte ghost.exe a cislo bot_hostportu ktere najdete v configu ghosta. Port warcraftu a hostovaci porty ghosta nesmi byt stejne.

2. Modem/router musi byt nastaven na povolovani pripojeni k vasemu pocitaci.


Zmacknete Start > run > cmd napiste ipconfig jako vysledej byjste meli videt neco podobneho (Hodnoty jsou jenom nazorne):
Adresa IP ...... 192.168.1.151
Maska podsite ...... 255.255.255.0
Vychozi brana ...... 192.168.1.254
Otevrte prohlizec internetu, do adresy zadejte hodnotu vychozi brany, cimz se dostanete na stranky sveho routeru. Zadejte login a heslo (jestli nevite jake, prectete si manual modemu/routeru ktery musite mit).

Jelikoz kazdy router se od sebe lisi, doporucil bych vam zajit na stranku www.portforward.com, vybrat ze seznamu svuj modem/router, preskocit reklamu! kliknutim vpravo nahore na "click to skip this advertesiment", vybrat warcraft III, a postupovat podle kroku tam napsanych. (Doporucena znalost anglistiny - zaklady)

Ted musite povolit a vytvorit virtual server.


Nazev: cokoliv
Protocol: UDP a TCP (jestli nemate moznost vybrat oba naraz, pak vyberte UDP a vytvorte dalsi s TCP)
Private port: 6112 ( v pripade ghosta, zadejte cislo ktere mate jako bot_hostport )
Public port: 6112 ( v pripade ghosta, zadejte cislo ktere mate jako bot_hostport )
Lan server: 192.168.1.151 ( zadate hodnotu kterou jste zjistili v prvnim kroce )

A ted to nejdulezitejsi: Ulozit, OK, Ano, Povolit, Udelat ze me superubermega hosta


Nazorne obrazky a videa najdete pod spoilerem.

http://img520.imageshack.us/img520/3590/controlpanelba6.png

http://img169.imageshack.us/img169/7175/windowsfirewallqu8.jpg

http://www.eurobattle.net/attachment.php?attachmentid=94497&d=1217368209

http://img205.imageshack.us/img205/5313/portii6.jpg

http://img524.imageshack.us/img524/6734/hosterjr4.jpg

C_i-s80S7Ms

Mitsuki
31st March 2010, 06:38 PM
Nastaveni staticke interni IP

Reseni na bazi nastaveni routeru (English, Advanced, Pouze text)

* How to choose a Static IP address * *thanks to BobR from PortFoward site :)


A -VERY- important part of setting up a Static IP address on your computer is CHOOSING an appropriate number to assign to the computer as its permanent, “static” IP address.

There’s more to it than just picking any old number at random, and the number your computer has been using up until now may NOT be an appropriate choice.

This is because some routers may have trouble forwarding ports to IP addresses which conflict with their DHCP server address range. That is, if the IP address on the computer is the same as one which the DHCP server might assign, the Port Forwarding may FAIL.



So the FIRST step in setting up a Static IP address is to find out what range the DHCP server is set up for, and choosing a number that will NOT conflict with that range.



Log into your router and look for a page that tells what the DHCP Server configuration is. This is usually found under “Advanced Configuration” and then “LAN” (or similar wording).

Once you’ve found the DHCP Server page there should be one of two different ways of displaying the RANGE of addresses in the server.


The first is the simplest. It gives the “Starting Address” and the “Ending Address” (or “Low” and “High”)

Thus for example if you see:

Starting Address 192.168.0.100
Ending Address 192.168.0.150

The “Range” of the DHCP server is FROM 192.168.0.100 TO 192.168.0.150


The second way the DHCP Server range can be displayed is to give the “Starting Address” and the “Number of Clients” (or “Number of Addresses”)

Thus for example if you see:

Starting Address 192.168.0.10
Number of Clients: 50

The “Range” of the DHCP server is FROM 192.168.0.10 TO 192.168.0.60 (50 addresses, starting at 10)



You must choose a number from 2 through 254 which does NOT fall within the DHCP server range, and which does NOT duplicate the address already being used by the router (the IP address you type to log into the router)..


So in the first example you would be safe choosing a Static IP Address for your computer of 192.168.0.151

And in the second example you could safely choose 192.168.0.61, because these numbers are OUTSIDE of the DHCP Server range.



NOTE- This is important!

The "Range" of the DHCP server is INCLUSIVE.

That means when we say (just for example, your router will probably be different) :

Start address 192.168.0.100
End address 192.168.0.150

It means you CAN'T USE .100 OR .150 OR ANY of the numbers between them.





In most cases, all you’ll need to do is check the “range” of the DHCP server and pick a safe IP address outside that range for your computer.

BUT- there IS one situation which will require you to make a change to the ROUTER setup BEFORE you can go on.


If you discover the DHCP server is set to use ALL possible IP addresses, then that leaves NO safe addresses for YOU to use.

Starting Address 192.168.0.2
Ending Address 192.168.0.254 <-- This leaves NO addresses free for YOU to use.


If the DHCP server is set to use the entire range, from .2 through .254 then you will have to CHANGE the higher figure to something lower in order to free up some addresses that will be safe for YOU to use.


On the DHCP server page, CHANGE the “Ending Address” from .254 to something like .200

Starting Address 192.168.0.2
Ending Address 192.168.0.200 <-- This leaves 54 addresses free for YOU to choose.


That will make the “range” of the DHCP server from .2 through 200 then you can choose any address higher than .200, in this example, 192.168.0.205

Click the “Apply” or “OK” button, then if necessary, REBOOT the router to make the change take effect.



NOTE: VERY IMPORTANT!! We are picking the LAST set of digits in the IP address ONLY..!

The FIRST THREE sets of digits MUST be the SAME as the ones the router and the DHCP server uses.

Thus, if YOUR router uses 192.168.2.1, then you MUST pick a Static IP address that begins with 192.168.2

If YOUR router uses 10.0.0.1, then you MUST pick a Static IP address that begins with 10.0.0

Again- we’re ONLY changing the LAST set of digits.





Now that you’ve decided on a compatible Static IP address to use for your computer, follow this link for a guide to setting up the IP address on your computer-

However- SKIP the first few steps that tell you to look in IPCONFIG for the IP address, and just use the compatible IP address you've chosen with this guide.

Skip ahead to the step (#5 in the Windows XP guide) that tells you to open the Control Panel and follow the instructions from there.

http://portforward.com/networking/staticip.htm (http://portforward.com/networking/staticip.htm)



Once you've finished this procedure, the address you decided on, and configured in Windows TCP/IP Network Properties will be your "Static IP Address".

Whenever anything asks for your computer's Static IP Address, this number is what it's asking for.





NOTE- If your Internet connection stops working when you change Windows to a Static IP address, the reason usually is that you need to find out what your "DNS Server" addresses are.

If you have this problem, read THIS guide for help on that:

http://forum.portforward.com/YaBB.cgi?board=Knowledge;action=display;num =1116580819 (http://forum.portforward.com/YaBB.cgi?board=Knowledge;action=display;num=111658 0819)



Jednoduche reseni na bazi Windows (Pro zacatecniky i s Obrazky)

Pred zahajenim velice slozite operaci nastaveni staicke IP, musite nasbirat dulezite informaci:
Krok 1. Click Start, Click Run....

Objevi se male okno. Zadate cmd a zmacknete enter. Objevise strasidelne cerne okno v kterem napisete ipconfig /all a zmacknete enter. Ted si budete pripadat jako v Matrici. Ne vsechno co uvidite je to cim se zda byt. Nasledujici obrazky vam nazorne ukazou kterou informaci poterbujete (tohle je jenom priklad):

http://j.imagehost.org/0985/Untitled_1.gif

Pamatujte, nebo raci nekam zapiste IP Address (Adresa IP), Default Gateway (Vychozi Brana) a Subnet Mask (Maska Podsiti).

V pripade ze mate WiFi, jako nazev siti bude neco ve smyslu "Bezdratove pripojeni k siti" nebo "WiFi"

-------------------------------

Zacatek:

Krok 2. Dvojkliknete na ikonu pripojeni k siti a pak na "Properties" neboli "Vlastnosti". Jestli tu ikonu nemate, pak Start > Ovladaci Panely> Sitova pripojeni > vyberte vase pripojeni a kliknete na neho pravym tlacitkem > "properties" neboli "vlastnosti"

http://j.imagehost.org/0218/ip1.gif

Krok3. TCP/IP Protocol -> "Properties" neboli "Vlastnosti"
http://j.imagehost.org/0780/tcpipprop.gif

Krok 4. Oznacte Use the following IP address ("Pouzit nasledujici adresu IP") a Use the following DNS server addresses ("Pouzit nasledujici adresy serveru DNS"). Najdete ten papirek kam jste zapisovali udajze z Kroku 1 a vyplnte udaje. Do pole DNS zadejte Default Gateway (Maska Podsiti)

http://j.imagehost.org/0067/manualipdns.gif

Poznamka: V pripade, ze Default Gateway (Vychozi Brana) neni funkcni jako DNS server (nebezi vam internet), budete muset zajit do ovladacich panelu routeru (zadate Default Gateway (vychozi brana) do vaseho internet prohlizece; login a heslo najdete v dokumentaci od routeru nebo muzete zkusit admin/admin nebo login admin a heslo nechat prazdne; Pak najdete nejake informaci ohledne DNS nekde v zalozce DHCP.


Ted byste meli mit staticke interni IP

Mitsuki
28th February 2011, 04:19 PM
Kdyz nejde pripojeni do vlastni hry. Instalace Loopback Adapteru


Jak nainstalovat Loopback adapter.
1) Control Panel (Ovladaci panel) > Add Hardware (Pridat Zarizeni).

Windows XP:
http://img172.imageshack.us/img172/2277/25142908my8.jpg


Windows Vista:
http://img136.imageshack.us/img136/5322/21770266mv3.jpg
http://img262.imageshack.us/img262/1971/39284513uq8.jpg

Windows 7: Pouze ENG (http://www.windowsreference.com/windows-7/how-to-install-a-loopback-adapter-in-windows-7/)

2) Click Next
3) Vyberte Yes, I have already connected the hardware (Zarizeni je jizpripojene)
http://img169.imageshack.us/img169/3262/30132379ah9.jpg

4) Uplne na spodku seznamu vyberte Add a new hardware device (Pridat nove zarizeni)
http://img47.imageshack.us/img47/9089/23025452pz9.jpg

5) Vyberte Install the hardware that I manually select from a list (Nainstalovat hardware ktere vyberu ze seznamu)
http://img172.imageshack.us/img172/4632/78733242pd1.jpg

6) Vyberte Network adapters
http://img182.imageshack.us/img182/5479/81690845oc7.jpg
7) Vyberte Microsoft v seznamu po leve strane. Pak vyberte Microsoft Loopback Adapter
http://img47.imageshack.us/img47/4237/31367493ez2.jpg

8) Click Next. Uspesne jste nainstalovali Loopback Adapter.
9) Find the appropriate IP Address you need.


Nastavte IP loopback adapteru na svoji globalni IP (na strankach whatismyip.com (http://whatismyip.com/) najdete vasi aktualni vnejsi IP) a prejmenujte mistni pripojeni vytvorene adapterem na "Loopback".

V pripade ze mate dynamicke IP, potrebujete prenastavit IP Loopback adapteru pokazde kdyz se znovu pripojite k internetu.


10) Najdete nove vytvorene pripojeni Loopback Adapter, right click a vyberte Properties (Vlastnosti).
Kdyz nevite kde se to pripojeni nachazi, pak zalezte do sitovych pripojeni z ovladaciho panelu windows)
http://img399.imageshack.us/img399/4391/48024046ag8.jpg

11) Vyberte Internet Protocol (TCP/IP) a jdete do Properties (Vlastnosti).
http://img399.imageshack.us/img399/1563/53002777ln2.jpg

12) Vyberte nasledujici Use the following IP address, zadejte IP kterou jste zjistili v kroku 9 tohoto navodu.
Poznamka: Subnet Mask (Maska Podsite) zjistite zadanim prikazu ipconfig v CMD (Start>run>cmd zmacknout enter)
Vypada takto: 255.0.0.0 nebo 255.255.255.0
http://img399.imageshack.us/img399/7340/10hg7.jpg

13) Click Ok dvakrat.