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
 

kelo - zdjęcie

kelo

Rejestracja: 20.01.2011
Aktualnie: Nieaktywny
Poza forum Ostatnio: 27.11.2011 11:10
-----

Moje tematy

Cały czas crashe

14.11.2011 16:28

Witam, posiadam serwer CoD i cały czas występują na nim crashe. Jakieś 3-4 dni temu kolega coś robił i nie było crashów aż do dzisiaj. na razie dam logi jak podać coś jeszcze to proszę napisać.

Jeśli zły temat to proszę przenieść.

[ROZWIĄZANE] Maksymalnie 10 graczy na druzyne...

21.10.2011 17:38

Mam ciekawy problem. Chociaż nie mam PTB, jest ograniczenie na drużyny (Druzya Terrorystów jest pełna, czy jakoś tak). Żaden gracz nie może dołączyć jeśli w CT i TT jest po 10 playerów, muszą wtedy siedzieć na spectcie

Często pisze też "Automatyczny balans drużyn w następnej rundzie"

plugins.ini


; AMX Mod X plugins

; Admin Base - Always one has to be activated
amxbans_core.amxx
amxbans_main.amxx
;admin.amxx ; admin base (required for any admin-related)
;admin_sql.amxx ; admin base - SQL version (comment admin.amxx)

; Basic
admincmd.amxx ; basic admin console commands
adminhelp.amxx ; help command for admin console commands
adminslots.amxx ; slot reservation
multilingual.amxx ; Multi-Lingual management

; Menus
menufront.amxx ; front-end for admin menus
cmdmenu.amxx ; command menu (speech, settings)
plmenu.amxx ; players menu (kick, ban, client cmds.)
;telemenu.amxx ; teleport menu (Fun Module required!)
mapsmenu.amxx ; maps menu (vote, changelevel)
pluginmenu.amxx ; Menus for commands/cvars organized by plugin

; Chat / Messages
adminchat.amxx ; console chat commands
antiflood.amxx ; prevent clients from chat-flooding the server
scrollmsg.amxx ; displays a scrolling message
imessage.amxx ; displays information messages
adminvote.amxx ; vote commands

; Map related
nextmap.amxx ; displays next map in mapcycle
mapchooser.amxx ; allows to vote for next map
timeleft.amxx ; displays time left on map

; Configuration
pausecfg.amxx ; allows to pause and unpause some plugins
statscfg.amxx ; allows to manage stats plugins via menu and commands

; Counter-Strike
;restmenu.amxx ; restrict weapons menu
statsx.amxx ; stats on death or round end (CSX Module required!)
;miscstats.amxx ; bunch of events announcement for Counter-Strike
;stats_logging.amxx ; weapons stats logging (CSX Module required!)

; Enable to use AMX Mod plugins
;amxmod_compat.amxx ; AMX Mod backwards compatibility layer


; TUTAJ dopisuj samodzielnie zainstalowane pluginy:



; +---------------------------------------------------------------------------+
; | W Panelu Administracyjnym mozesz zainstalowac dodatkowe pluginy.   -==-   |
; | Prosimy aby zainstalowane "recznie" pluginy dopisywac powyzej tej tabeli! |
; +---------------------------------------------------------------------------+

; Pluginy zainstalowane z poziomu panelu:


afkkicker2.amxx
admin_spec_esp.amxx
autobuyfix.amxx
galileo.amxx
polski_cs.amxx
poprawne_rate.amxx
prometheus.amxx
xredirect.amxx
c4timer.amxx
extreme_bancfg2.amxx
abd.amxx

amxx.cfg


// AMX Mod X Configuration File
echo Executing AMX Mod X Configuration File

// Default access for all non admin players (see users.ini for access details)
//
// Default value: "z"
amx_default_access "z"

// Name of setinfo which should store a password on a client (you should change this)
// Note: Always prefix the field with an underscore (aka: "_")
// (Example: setinfo _pw "password")
//
// Default value: "_pw"
amx_password_field "_pw"

// Mode of logging to a server
// 0 - disable logging, players won't be checked (and access won't be set)
// 1 - normal mode which obey flags set in accounts
// 2 - kick all players not on list
//
// Default value: 1
amx_mode 1

// Show admins activity
// 0 - disabled
// 1 - show without admin name
// 2 - show with name
//
// Default value: 2
amx_show_activity 2

// Frequency in seconds and text of scrolling message
//
// Default value: "Welcome to %hostname% -- This server is using AMX Mod X" 600
amx_scrollmsg "Welcome to %hostname% -- This server is using AMX Mod X" 600

// Center typed colored messages (last parameter is a color in RRRGGGBBB format)
//
// Default values: "Welcome to %hostname%" "000255100"
//				 "This server is using AMX ModX\nVisit http://www.amxmodx.org" "000100255"
amx_imessage "Welcome to %hostname%" "000255100"
amx_imessage "This server is using AMX Mod X\nVisit http://www.amxmodx.org" "000100255"

// Frequency in seconds of colored messages
//
// Default value: 180
amx_freq_imessage 180

// Ban times for the main ban menu (amx_banmenu)
// Use 0 for permanent ban
// Default values: 0 5 10 15 30 45 60
amx_plmenu_bantimes 0 5 10 15 30 45 60

// Slap damage amounts for the main slap menu (amx_slapmenu)
// Slay is automaticall inserted as the first option
// Default values: 0 1 5
amx_plmenu_slapdmg 0 1 5

// Set in seconds how fast players can chat (chat-flood protection)
//
// Default value: 0.75
amx_flood_time 0.75

// Amount of slots to reserve.
//
// Default value: 0
amx_reservation 0

// If you set this to 1, you can hide slots on your server.
// If server "full" of public slots and slots hidden, you must manually connect with connect console command
//
// Default value: 0
amx_hideslots 0

// Displaying of time remaining
// a - display white text on bottom
// b - use voice
// c - don't add "remaining" (only in voice)
// d - don't add "hours/minutes/seconds" (only in voice)
// e - show/speak if current time is less than this set in parameter
//
// Default value: "ab 1200" "ab 600" "ab 300" "ab 180" "ab 60" "bcde 11"
amx_time_display "ab 1200" "ab 600" "ab 300" "ab 180" "ab 60" "bcde 11"

// Announce "say thetime" and "say timeleft" with voice, set to 0 to disable.
//
// Default value: 1
amx_time_voice 1

// Minimum delay in seconds between two voting sessions
//
// Default value: 10
amx_vote_delay 10

// How long voting session goes on
//
// Default value: 10
amx_vote_time 10

// Display who votes for what option, set to 0 to disable, 1 to enable.
//
// Default value: 1
amx_vote_answers 1

// Some ratios for voting success

// Default value: 0.40
amx_votekick_ratio 0.40

// Default value: 0.40
amx_voteban_ratio 0.40

// Default value: 0.40
amx_votemap_ratio 0.40

// Default value: 0.02
amx_vote_ratio 0.02

// Max. time to which map can be extended
//
// Default value: 90
amx_extendmap_max 90

// Step for each extending
//
// Default value: 15
amx_extendmap_step 15

// If you set this to 0, clients cannot chose their language, instead they use
// whatever language the server is configured to use.
//
// Default value: 1
amx_client_languages 1

// Plugin Debug mode
// 0 - No debugging (garbage line numbers)
// 1 - Plugins with "debug" option in plugins.ini are put into debug mode
// 2 - All plugins are put in debug mode
// Note - debug mode will affect JIT performance
//
// Default value: 1
amx_debug 1

// Plugin MultiLingual Debug
// To debug a language put its 2 letter code between quotes ("en", "de", etc)
// "" means disabled
//
// Default value: ""
amx_mldebug ""

//
// Beginning of Counter-Strike package specific configurations.
//

// Rank mode
// 0 - by nick
// 1 - by authid
// 2 - by ip
//
// Default value: 1
csstats_rank 0

// Max size of the stats file
//
// Default value: 3500
csstats_maxsize 999999

// Whether or not to rank bots with csstats - set to 1 to rank bots, 0 otherwise.
//
// Default value: 0
csstats_rankbots 0

// Duration of HUD-statistics
//
// Default value: 12.0
amx_statsx_duration 12.0

// HUD-statistics display limit relative round freeze end
// Negative time will clear the HUD-statstics before the round freeze time has ended
//
// Default value: -2.0
amx_statsx_freeze -2.0

/////////////////////////////////////////////////////////////////////////////////////
///
// Poniżej tej tabelki możesz dodawać cvary/ustawienia pluginów dodatkowych
///
/////////////////////////////////////////////////////////////////////////////////////




/////////////////////
// Call of Duty: MW

cod_killxp 10  // - Doswiadczenie za zabojstwo.
cod_winxp 50  // - Doswiadczenie za wygrana.
cod_damagexp 1  // - Doswiadczenie za 20 obrazen.
cod_savetype 1  // - Typ zapisu 1- Nick 2-SteamID 3-IP.
cod_maxlevel 200  // - Maksymalny poziom.
cod_levelratio 35  // - Ustawia ile doswiadczenia potrzebne do zdobycia 1 poziomu.
cod_weaponsblocking 1  // - blokowanie podnoszenia broni

////////////////////


amx_ss_max 5 //ile można maksymalnie zrobić sreenów graczowi
amx_ss_interval 1.0 //czas jaki musi min±c aby wykonać następny sreen
amx_ss_design 3 //display options
amx_ss_site http://www.CS-CPG.pl

//xredirect
redirect_active 1
redirect_auto 2
redirect_manual 1
redirect_check_method 3
redirect_announce 60
redirect_announce_mode 3

//bancfg

amx_bancfg_delay 3.5
amx_bancfg_logs 1
amx_bancfg_show_hudmsg 1
amx_bancfg_auth 1


//bullet damage
amx_bulletdamage_recieved "1" // 1 - włącza, 0 - wyłacza pokazywanie otrzymanych obrażeń.
amx_bulletdamage "1" // 0 - plugin wyłączony, 1 - pokazuje zadane obrażenia, 2 - pokazuje zadane obrażenia, ale nie przez ściane

modules.ini



;;;
; To enable a module, remove the semi-colon (<img src='https://amxx.pl/public/style_emoticons/<#EMO_DIR#>/wink.png' class='bbc_emoticon' alt=';)' /> in front of its name.
; If it's not here, simply add it its name, one per line.
; You don't need to write the _amxx part or the file extension.
;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; SQL Modules usually need to be enabled manually ;;
;; You can have any number on at a time.  Use	  ;;
;;  amx_sql_type in sql.cfg to specify the default ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

mysql
;sqlite

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Put third party modules below here.			  ;;
;; You can just list their names, without the _amxx ;;
;;  or file extension.							  ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;



;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; These modules will be auto-detected and loaded   ;;
;;  as needed.  You do not need to enable them here ;;
;;  unless you have problems.					   ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

fun
engine
fakemeta
geoip
sockets
regex
nvault
cstrike
csx
hamsandwich

xredirect serwer caly czas down

21.10.2011 16:58

Witam. Mam problem z pluginem xredirect. Caly plugin dziala tylko pokazuje mi caly czas FFA jako (down)

Amxx.cfg]


//xredirect
redirect_active 1
redirect_auto 2
redirect_manual 1
redirect_check_method 3
redirect_announce 60
redirect_announce_mode 3

serverlist.ini:


[FFA]
address=91.204.161.71
port=27024
cmdbackup=5
noauto=0
nomanual=0
nodisplay=0

proszę o pomoc

refresh

Klasa premium cod- nie chce sie skompilować

02.10.2011 13:43

Próbuje zrobić klase na CoD moda.

Korzystam z generatora by Fili:P http://filip-apitest...l/vPHP/indx.php

Kod wygląda następująco:

#include <amxmodx>
#include <codmod>

new const nazwa[] = "Osama Bin Laden";
new const opis[] = "Dostaje AK-47, HE i szybko chodzi";
new const bronie = 1<<CSW_AK47 | CSW_HEGRENADE;
new const zdrowie = 30;
new const kondycja = 20;
new const inteligencja = 40;
new const wytrzymalosc = 10;

public plugin_init() {
register_plugin(nazwa, "1.0", "QTM_Peyote");

cod_register_class(nazwa, opis, bronie, zdrowie, kondycja, inteligencja, wytrzymalosc);
}

    public cod_class_enabled(id)
    {
	    ma_klase[id] = true;
	    if(!(get_user_flags(id) & ADMIN_LEVEL_A))
	    {
	    client_print(id, print_chat, "[%s] Nie masz uprawnien, aby uzywac tej klasy.", nazwa)
	    return COD_STOP;
	    }
    }

    public cod_class_disabled(id)
    {
	    ma_klase[id] = false;
    }

Jednak wyrzuca mi błąd w tym miejscu:

ma_klase[id] = true;

Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team

Error: Undefined symbol "ma_klase" on line 20
Warning: Expression has no effect on line 20
Error: Expected token: ";", but found "]" on line 20
Error: Invalid expression, assumed zero on line 20
Error: Too many error messages on one line on line 20

Compilation aborted.
4 Errors.
Could not locate output file C:\Documents and Settings\kjiadhja\Pulpit\kompilacje\Untitled.amx (compile failed).


Co robię źle?

Problem ze sklepem

01.10.2011 18:28

Witam. Wyłączyłem w .sma money moda i edytowałem ceny w sklepie:

new szSklepikMenu[][]={
    "Flesh",
    "Smoke",
    "He",
    "Dodatkowy Exp - (1000 XP)",
    "Losowa bron",
    "Naboje",
    "Respawn",
    "Ketonal \r[Leczy 20 HP]",
    "Flegamina \r[Leczy 50 HP]",
    "Aspirina \r[Leczy 100 HP]",
    "RedBull \r[Wysoki Skok + Szybkie Chodzenie]"
}

new iSklepikKoszt[]={
    300,
    350,
    400,
    10000,
    2000,
    150,
    600,
    300,
    600,
    1200,
    500,
}

Problem w tym że przy wyborze danego "towaru" nie zabiera mi pieniędzy za niego. Cały czas mam przykładowo 10k po kupieniu expa. Nie wiem jak to naprawić, proszę o pomoc.