Team BlueWater Game Online Tutorial's
Bine ati venit la Team-BlueWater!!Tutorial's 4 all Games!

[RuneScape] Cum dai ban IP / Adress din fisiere

View previous topic View next topic Go down

[RuneScape] Cum dai ban IP / Adress din fisiere

Post  Karma on Sun Aug 14, 2011 6:06 am


RuneScape - Ban IP / Adress

Este destul de simplu , editam niste chestii si voila.

Prima data deschidem server.java si cautam:
Code:
    String connectingHost = s.getInetAddress().getHostName();
Sub aia , ar trebui sa vedeti:
Code:
        if(clientListener != null) {
Si , sub aceea se poate sa vedeti ceva de genul:
Code:
    if (connectingHost.startsWith("some.host.address.here") || connectingHost.startsWith("O.Adresa.IP.") ]
Dupa aceea adaugati:
Code:
    connectingHost.startsWith("ip/address") ||
Inlocuiti ip/address cu adresa IP sau Host.

Adresa IP o puteti afla din /Adresa.Server/characters/user's.txt cautand:
Code:
    character-lastconnection =

_________________
[You must be registered and logged in to see this image.]
avatar
Karma
Admin
Admin

Mesaje : 1092
Data de inscriere : 2011-04-22
Varsta : 26
Localizare : Craiova

View user profile http://team-bluewater.forumz.ro

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum