←  Pytania

AMXX.pl: Support AMX Mod X i SourceMod

»

GmAMXBans
AMXBans ( nie łączy mimo że wszystko dobrz...

  • +
  • -
Shot97 - zdjęcie Shot97 04.12.2014

Mam dodane ip serwera z cs bez portu co tu pokazywac

Odpowiedz

  • +
  • -
KochamFootball - zdjęcie KochamFootball 04.12.2014

Pokaż ;) Tak samo - czy dodałeś użytkownika do bazy danych?

Odpowiedz

  • +
  • -
Shot97 - zdjęcie Shot97 04.12.2014

Mam stowrzona baze danych uzytkownika prawa wszystkie nadane

Odpowiedz

  • +
  • -
Shot97 - zdjęcie Shot97 04.12.2014

mam dodane ip serwer bez portu i glowne z proserver 127.0.0.1

Odpowiedz

^Szeregowy^ - zdjęcie ^Szeregowy^ 04.12.2014

W pliku
addons/amxmodx/configs/plugins.ini

Wstaw średnik przed:
admin.amxx ; admin base (required for any admin-related)

I dopisz na samej górze
amxbans_core.amxx ; amxbansamxbans_main.amxx debug ; amxbans


Użytkownik ^Szeregowy^ edytował ten post 04.12.2014 10:57
Odpowiedz

  • +
  • -
Shot97 - zdjęcie Shot97 04.12.2014

; dodalem juz dawno modules ini tez odblokowane  amxbans core i main tez dawno dodany

Odpowiedz

^Szeregowy^ - zdjęcie ^Szeregowy^ 04.12.2014

pokaz plugin.ini i modules .ini oraz amxbans.cfg sql.cfg ja zaraz sam ci to ustawie ;)

Odpowiedz

  • +
  • -
KochamFootball - zdjęcie KochamFootball 04.12.2014

Przecież ja już mu to powiedziałem. :)
Wina leży po stronie ustawień w CPanelu.

Odpowiedz

  • +
  • -
Shot97 - zdjęcie Shot97 04.12.2014

Panowie pisze z telefonu gdyz jestem w szkole gdziej po 15 będę na kompie to dam dokladniesze dane

Odpowiedz

  • +
  • -
IsRiN - zdjęcie IsRiN 04.12.2014

dobra wracając do mnie , wszystko w sql.cfg jest dobrze ponieważ w logach nie ma że serwer się nie łączy, mam problem z tym że admina mi nie czyta.

 

takie mam logi.

[AMXBans] No Reasons found
L 12/04/2014 - 11:49:31: [amxbans_main.amxx] [AMXBans] No Reasons found in Database. Static reasons were loaded instead.
[AMXBans] Loaded 1 admin from database
L 12/04/2014 - 11:49:31: [amxbans_main.amxx] [AMXBans] AMXBans Gm 1.6 is online, date: 14:25 26.04.2011
Menu item 17 added to Menus Front-End: "AMXBans: Player-Flagging" from plugin "AMXBans: Main"
Menu item 18 added to Menus Front-End: "AMXBans: Disconnected Players" from plugin "AMXBans: Main"
Menu item 19 added to Menus Front-End: "AMXBans: Banhistory" from plugin "AMXBans: Main"
Menu item 20 added to Menus Front-End: "AMXBans: Screens" from plugin "AMXBans: Screens"

to jest mój 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) ( gdy było bez średnika wywalało dodatkowy log. )

; 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

to jest moje sql.cfg

amx_sql_host	"fire-head.xaa.pl"
amx_sql_user	"firehead_xxx"
amx_sql_pass	"xxxxxx"
amx_sql_db	"firehead_xxx"
amx_sql_table	"admins"
amx_sql_type	"mysql"

To jest mój modules.ini

mysql
sqlite

Gdy miałem 

mysql
;sqlite

Cały czas wywalało te same logi co wyżej czyli to sqlite chyba nic nie daje :/

w Cpanelu

127.0.0.1

91.185.189.21    <-- To mi pokazywało w konsoli gdy wpisałem hosta . "mojanazwa.xaa.pl"


amxbans.cfg


 // Wczytywanie adminów
 // 0 z bazy SQL, 1 = z pliku users.ini, 2 = nie ładuje adminów
 amxbans_use_admins_file 0

// AMXBans próbuje pobierać Ip automatycznie (Tak, widać ;/)
 // Możesz ustawić inne iP -np. "<ip>:<port>"
 amxbans_server_address "31.186.83.188:27041"      <-- to IP to IP mojego serwera Cs

Coś mam wam jeszcze pokazać ??

 

Odpowiedz

  • +
  • -
KochamFootball - zdjęcie KochamFootball 04.12.2014

Ustaw amx_sql_host na IP: 91.185.189.21.
A potem zamiast tego hosta w zewnętrznych wpisz: 31.186.83.188

Odpowiedz

  • +
  • -
IsRiN - zdjęcie IsRiN 04.12.2014

[AMXBans] SQL error: can't connect: 'Can't connect to MySQL server on '91.185.189.21' (111)'
[AMXBans] SQL error: can't connect: 'Can't connect to MySQL server on '91.185.189.21' (111)'

Nie łączy się z bazą danych chyba.

 

 

jeszcze tam było coś że amxbans_main nie łączy się ale nie dało  się skopiować bug konsoli :/


Użytkownik SiN edytował ten post 04.12.2014 12:26
Odpowiedz

  • +
  • -
IsRiN - zdjęcie IsRiN 04.12.2014

[AMXBans] No Reasons found
L 12/04/2014 - 13:06:38: [amxbans_main.amxx] [AMXBans] No Reasons found in Database. Static reasons were loaded instead.
[AMXBans] Loaded 1 admin from database
L 12/04/2014 - 13:06:39: [amxbans_main.amxx] [AMXBans] AMXBans Gm 1.6 is online, date: 14:25 26.04.2011

Logi mam takie / nie czyta mi adminów co mam zrobić ?? 

 

Odpowiedz

^Szeregowy^ - zdjęcie ^Szeregowy^ 04.12.2014

usun ; z przed admins_sql.amxx bo nie ma z czego czytac xD wylaczyles nawet admins.amxx

 

Odpowiedz

  • +
  • -
KochamFootball - zdjęcie KochamFootball 04.12.2014

Bo do amxbans trzeba wyłączyć admin_sql.amxx "znawco" amxbans ;)

Przede wszystkim:

[AMXBans] Loaded 1 admin from database
L 12/04/2014 - 13:06:39: [amxbans_main.amxx] [AMXBans] AMXBans Gm 1.6 is online, date: 14:25 26.04.2011

Wygląda na to, że odczytało 1 admina. Wejdź na serwer i w konsoli hostingu wpisz amx_who.

Odpowiedz

  • +
  • -
IsRiN - zdjęcie IsRiN 04.12.2014

wpisałem to amx_who i 

Clients on server:
 #  nick             authid               userid   imm  res  access
 1  Carlos           STEAM_0:1:30302254   2        No     Yes    bcdefghijklmnopqrst
Total 1
L 12/04/2014 - 14:08:01: [admincmd.amxx] Cmd: "Fire-Head.pl [Only_DD2] @pukawk<0><><>" ask for players list

I co dalej ??
 

sprawdziłem czy mam adma i go nadal nie ma :/

 


Użytkownik SiN edytował ten post 04.12.2014 14:10
Odpowiedz

  • +
  • -
WeBsteR - zdjęcie WeBsteR 04.12.2014

OMG człowieku masz admina tylko nie dodałeś sobie flagi "u" czyli amxmodmenu, więc nie masz prawa z tego menu korzystać, ale np. przez konsole możesz zbanować.

 

Odpowiedz

  • +
  • -
Shot97 - zdjęcie Shot97 04.12.2014

Wracając do mnie macie wycinki

sql.cfg

amx_sql_host "power-shot.pl"
amx_sql_user "powersho_bany"
amx_sql_pass "************"
amx_sql_db "powersho_bany"
amx_sql_table "admins"
amx_sql_type "mysql" 

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

modules.ini

mysql
;sqlite
-----------------------------------
 // Prefix bazy
 // Nota: Prefiks wpisany w sql.cfg nie jest ju┐ u┐ywany przez AMXBans
 amx_sql_prefix "amx"
 
 //U┐ywanie oznacze˝ gracza na tym serwerze czy na wszystkich?
 amxbans_flagged_all_server 1
 
 // Wczytywanie adminˇw
 // 0 z bazy SQL, 1 = z pliku users.ini, 2 = nie │aduje adminˇw
 amxbans_use_admins_file 0
---------------------------------------------------
plugins.ini
amxbans_core.amxx
amxbans_main.amxx
 
; AMX Mod X plugins
 
; Admin Base - Always one has to be activated;
;admin.amxx ; admin base (required for any admin-related)
admin_sql.amxx ; admin base - SQL version (comment admin.amxx)
 

 


Użytkownik Shot97 edytował ten post 04.12.2014 15:00
Odpowiedz

  • +
  • -
IsRiN - zdjęcie IsRiN 04.12.2014

Dzięki nie widziałem myślałem że dodałem wszystkie :)

A wiesz może dlaczego jak naciskam przy dodawaniu admina 

 

w rubryce Uprawnienia ( tam gdzie daje się flagi ) taki przycisk że mogę dodać wszystkie flagi naraz to wywala mi taki błąd.

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

i też w logach ( error ) mam takie coś , jak to naprawić ?

L 12/03/2014 - 16:13:01: Start of error session.

L 12/03/2014 - 16:13:01: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20141203.log")

L 12/03/2014 - 16:13:01: [AMXX] Plugin file open error (plugin "amxbans_core.amxx")

L 12/03/2014 - 16:13:01: [AMXX] Plugin file open error (plugin "amxbans_main.amxx")

L 12/03/2014 - 16:13:01: [AMXX] Plugin file open error (plugin "amxbans_freeze.amxx")

L 12/03/2014 - 16:13:01: [AMXX] Plugin file open error (plugin "amxbans_flagged.amxx")

L 12/03/2014 - 16:13:01: [AMXX] Plugin file open error (plugin "amxbans_ssban.amxx")

L 12/03/2014 - 16:13:01: [AMXX] Plugin file open error (plugin "adb.amxx")


Użytkownik SiN edytował ten post 04.12.2014 15:04
Odpowiedz

  • +
  • -
WeBsteR - zdjęcie WeBsteR 04.12.2014

Wystarczy poszukać:

zrób kopie zapasową i wywal .htacces na web

A dokładnie to tutaj masz odpowiedzi:

  http://amxx.pl/topic...l-server-error/

  http://amxx.pl/topic...l-server-error/

 

Odpowiedz