Skocz do zawartości

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

Zmiana IP


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
4 odpowiedzi w tym temacie

#1 Tweak456

    Profesjonalista

  • Użytkownik

Reputacja: -2
Nowy

  • Postów:170
  • Imię:Patryk
  • Lokalizacja:Wieluń
Offline

Napisano 07.02.2012 16:59

Witam

Jestem zmuszony niedługo zmienić IP swojego serwera. Znacie jakieś sposoby, aby większość graczy zapisała nowe IP ?
  • +
  • -
  • 0

#2 Freaky

    Życzliwy

  • Użytkownik

Reputacja: 9
Nowy

  • Postów:24
  • GG:
  • Imię:Bartek
  • Lokalizacja:Częstochowa
Offline

Napisano 07.02.2012 17:11

Daj informację na forum jeżeli masz, a jeśli posiadasz tylko serwer to zrób wiadomość poprzez advertisments.ini ( chyba tak to się pisze ).

Pozdrawiam
  • +
  • -
  • 0

CS-FPG.PL [CoD] @ GameSol.pl


Dołączona grafika


Polecam! Serwer wart każdej sekundy gry!

CpmProfit.com - Zarabiaj na swojej stronie WWW


#3 QuahodronN

    Godlike

  • Power User

Reputacja: 230
Wszechwidzący

  • Postów:1 262
  • GG:
  • Steam:steam
  • Imię:Olo
  • Lokalizacja:Śląsk
Offline

Napisano 07.02.2012 19:22

jeśli posiadasz już środki na kupienie tego 2 serwera to na tym 1 serwerze mozesz ustawic przekierowanie na ten 2
poprzez ten plugin
/*
* Ya, Another Server Redirect Plugin
*
* This redirect plugin is designed solely for those who are changing server IPs. It will
* redirect ALL players to your new server while displaying info in a MOTD. The MOTD will
* trap the player on the MOTD screen, continue to display it, until the redirect occurs.
* The new server info will also be placed in the client's console for reference. The MOTD
* stay code is based on 'MOTD Repeater/Holder' by Ven.
*
* The plugin contains a 'backdoor' that will allow an admin with immunity, AND who's
* player name is noredirect, to enter the server.
*
* The plugin will autofail if...
*  No motd.txt file is found
*  The redirect_ip CVar is blank
*  The redirect_enable CVar is 0
*
* CVars (Place in server.cfg or amxx.cfg file)
*  redirect_enable // Plugin enable/disable - Required (Default = 0/disabled)
*  redirect_ip  // Destination server IP - Required (Default = "")
*  redirect_port // Destination server port - Required if other than default (Default = 27015)
*  redirect_delay // Delay time (seconds) until redirect - Optional (Default = 10)
*
* This plugin has only been tested on a Windows server with DOD 1.3 and CS 1.6
*
* Version History:
* 1.7 - Fixed issue of not redirecting after another Steam update.
* 1.6 - Fixed issue of not redirecting after Steam update.
* 1.5 - Fix connect issue with Steam update
*/
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "Redirect_All"
#define VERSION "1.7"
#define AUTHOR "Vet(3TT3V)"
new g_enabled
new g_IP
new g_port
new g_delay
new g_ipcvar[32]
new g_portcvar
public plugin_init()
{
g_enabled = register_cvar("redirect_enable", "0")
g_IP = register_cvar("redirect_ip", "")
g_port = register_cvar("redirect_port", "27015")
g_delay = register_cvar("redirect_delay", "10.0")
register_plugin(PLUGIN, VERSION, AUTHOR)
if (!file_exists("motd.txt"))
  set_fail_state("motd.txt file not found")
if (!get_pcvar_num(g_enabled))
  set_fail_state("Plugin disabled by CVar")
get_pcvar_string(g_IP, g_ipcvar, 31)
if (equal(g_ipcvar, ""))
  set_fail_state("Invalid server IP CVar")
g_portcvar = get_pcvar_num(g_port)
register_event("InitHUD", "event_InitHUD", "bd")
register_message(get_user_msgid("VGUIMenu"), "show_vgui")
log_message("[AMXX] Redirect All - Plugin Initialized")
return PLUGIN_CONTINUE
}
public event_InitHUD(id)
{
if (!is_user_bot(id) && !is_user_hltv(id) && !is_user_immune(id)) {
  set_task(0.1, "task_show_motd", id, "", 0, "b")
  console_print(id, "^n****************************")
  console_print(id, "*  Redirecting to our new server IP^n*")
  console_print(id, "*	  %s:%d^n*", g_ipcvar, g_portcvar)
  console_print(id, "*  Be sure to update your Favorites")
  console_print(id, "****************************^n")
  set_task(Float:get_pcvar_float(g_delay), "task_redirect", 100 + id)
}
return PLUGIN_CONTINUE
}
public client_disconnect(id)
{
remove_task(id)
remove_task(100 + id)
}
public task_show_motd(id)
{
if (is_user_connected(id))
  show_motd(id, "motd.txt")
else {
  remove_task(id)
  remove_task(100 + id)
}
}
public task_redirect(tid)
{
new id = tid - 100
new info1[32], info2[32]
if (is_user_connected(id)) {
  get_user_name(id, info1, 31)
  get_user_authid(id, info2, 31)
  log_message("[Redirect] Sent %s <%s> to new server", info1, info2)
  client_cmd(id, "echo ^"Redirecting^";Connect %s:%d", g_ipcvar, g_portcvar)
}
}
public show_vgui(msgid, dest, id)
{
if (is_user_immune(id))
  return PLUGIN_CONTINUE
return PLUGIN_HANDLED
}
public is_user_immune(id)
{
new uname[32]
get_user_name(id, uname, 31)
if (get_user_flags(id) & ADMIN_IMMUNITY && equal(uname, "noredirect"))
  return 1
return 0
}

  • +
  • -
  • 0

| CPU: I7-6700K @4.7GHz | Cooling: Corsair H110 | GPU: MSI GTX 1080 Gaming X | MOBO: Asus Maximus VIII Hero | RAM: Kingston Savage 16GB DDR4 @2800MHz |

| SSD: Samsung 840 Pro 128GB | SSD2: Samsung 840 Pro 256GB  |  PSU: Be Quiet L8 630W | Case: Gladius M40 | Mouse: Gigabyte M6980X | Keyboard: Sharkoon SHARK ZONE K20 Headphones: HyperX HX Cloud Black Display: Triple LG 24MP67VQ-P |

 

TS3: ts.kreedzmania.pl - 512 Slotów - Darmowe Kanały ;)


#4 Tweak456

    Profesjonalista

  • Autor tematu
  • Użytkownik

Reputacja: -2
Nowy

  • Postów:170
  • Imię:Patryk
  • Lokalizacja:Wieluń
Offline

Napisano 07.02.2012 19:52

No tak , dzięki przekierowaniu na poczatku bedzie spoko, ale gracze IP nie zapisuja:x
  • +
  • -
  • 0

#5 DarkGL

    Nie oddam ciasteczka !

  • Administrator

Reputacja: 6 553
Godlike

  • Postów:11 976
  • GG:
  • Steam:steam
  • Imię:Rafał
  • Lokalizacja:Warszawa
Offline

Napisano 26.02.2012 14:13

Automatyczna wiadomość


Ten temat został przeniesiony z forum:
Counter-Strike > Ogólne
do
AMX Mod X > Szukam pluginu


  • +
  • -
  • 0




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych