Jump to content


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

Posted Image Posted Image

Guest Message by DevFuse
 

AMXBANS - Problem


Best Answer Rivit , 24.12.2020 11:26

Zwiększyć bufory trzeba po prostu.

Tekst po replace przekracza romiar bufora, co jest całkiem normalne jeśli się nie poduma wcześniej i nie ustawi większego bufora.

 

 

Go to the full post


  • You cannot start a new topic
  • You cannot reply to this topic
6 replies to this topic

#1 _.-*`PaniQ*-._

    Zaawansowany

  • Użytkownik

  • Reputacja: 2
    Nowy

  • Postów:134
Offline

Posted 11.12.2020 15:10

Witam, kiedy dodałem amxbans na serwer, wyskakuje mi taki oto log:

 

L 12/11/2020 - 14:59:46: replace() buffer not big enough (60>=59)
L 12/11/2020 - 14:59:46: [AMXX] Run time error 10 (plugin "amxbans_main.amxx") (native "replace") - debug not enabled!
L 12/11/2020 - 14:59:46: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).

 


Edited by Blaaq, 11.12.2020 15:11.

  • +
  • -
  • 0

#2 dredek

    Wszechobecny

  • Użytkownik

  • Reputacja: 162
    Profesjonalista

  • Postów:476
  • GG:
  • Imię:Dawid
  • Lokalizacja:OLK
Offline

Posted 11.12.2020 17:43

Dopisz debug po amxbans_main.amxx i wtedy wyślij logi, przy okazji załącz .sma.


  • +
  • -
  • 0

#3 _.-*`PaniQ*-._

    Zaawansowany

  • Autor tematu
  • Użytkownik

  • Reputacja: 2
    Nowy

  • Postów:134
Offline

Posted 11.12.2020 17:47

L 12/11/2020 - 17:44:14: replace() buffer not big enough (60>=59)
L 12/11/2020 - 17:44:14: [AMXX] Displaying debug trace (plugin "amxbans_main.amxx", version "Gm 1.5.1")
L 12/11/2020 - 17:44:14: [AMXX] Run time error 10: native error (native "replace")
L 12/11/2020 - 17:44:14: [AMXX]    [0] string.inc::replace_all (line 239)
L 12/11/2020 - 17:44:14: [AMXX]    [1] amxbans_main.sma::mysql_escape_string (line 360)
L 12/11/2020 - 17:44:14: [AMXX]    [2] amxbans_main.sma::mysql_get_servername_safe (line 371)
L 12/11/2020 - 17:44:14: [AMXX]    [3] init_functions.inl::banmod_online_ (line 50)

https://www45.zippys...t7tzA/file.html


  • +
  • -
  • 0

#4 dredek

    Wszechobecny

  • Użytkownik

  • Reputacja: 162
    Profesjonalista

  • Postów:476
  • GG:
  • Imię:Dawid
  • Lokalizacja:OLK
Offline

Posted 12.12.2020 14:27

Wrzuć sobie tego amxbans_main

Attached Files


  • +
  • -
  • 0

#5 _.-*`PaniQ*-._

    Zaawansowany

  • Autor tematu
  • Użytkownik

  • Reputacja: 2
    Nowy

  • Postów:134
Offline

Posted 12.12.2020 17:35

Nie pomogło, nadal wyświetla się error

L 12/12/2020 - 17:31:04: replace() buffer not big enough (60>=59)
L 12/12/2020 - 17:31:04: [AMXX] Run time error 10 (plugin "amxbans_main.amxx") (native "replace") - debug not enabled!
L 12/12/2020 - 17:31:04: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).

po debugowaniu

L 12/12/2020 - 17:33:09: replace() buffer not big enough (60>=59)
L 12/12/2020 - 17:33:09: [AMXX] Displaying debug trace (plugin "amxbans_main.amxx", version "Gm 1.6")
L 12/12/2020 - 17:33:09: [AMXX] Run time error 10: native error (native "replace")
L 12/12/2020 - 17:33:09: [AMXX]    [0] string_stocks.inc::replace_all (line 215)
L 12/12/2020 - 17:33:09: [AMXX]    [1] amxbans_main_4054721.sma::mysql_escape_string (line 526)
L 12/12/2020 - 17:33:09: [AMXX]    [2] amxbans_main_4054721.sma::mysql_get_servername_safe (line 541)
L 12/12/2020 - 17:33:09: [AMXX]    [3] init_functions.inl::banmod_online_ (line 41)

 


Edited by Blaaq, 12.12.2020 17:36.

  • +
  • -
  • 0

#6 l3szcz

    Just Leszcz :>

  • Użytkownik

  • Reputacja: 52
    Pomocny

  • Postów:374
  • GG:
  • Imię:Tomek
  • Lokalizacja:Pomorze
Offline

Posted 23.12.2020 22:52

 

Nie pomogło, nadal wyświetla się error

L 12/12/2020 - 17:31:04: replace() buffer not big enough (60>=59)
L 12/12/2020 - 17:31:04: [AMXX] Run time error 10 (plugin "amxbans_main.amxx") (native "replace") - debug not enabled!
L 12/12/2020 - 17:31:04: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).

po debugowaniu

L 12/12/2020 - 17:33:09: replace() buffer not big enough (60>=59)
L 12/12/2020 - 17:33:09: [AMXX] Displaying debug trace (plugin "amxbans_main.amxx", version "Gm 1.6")
L 12/12/2020 - 17:33:09: [AMXX] Run time error 10: native error (native "replace")
L 12/12/2020 - 17:33:09: [AMXX]    [0] string_stocks.inc::replace_all (line 215)
L 12/12/2020 - 17:33:09: [AMXX]    [1] amxbans_main_4054721.sma::mysql_escape_string (line 526)
L 12/12/2020 - 17:33:09: [AMXX]    [2] amxbans_main_4054721.sma::mysql_get_servername_safe (line 541)
L 12/12/2020 - 17:33:09: [AMXX]    [3] init_functions.inl::banmod_online_ (line 41)

Coś przekracza rozmiar bufora. Pytanie co i dlaczego? :) 


  • +
  • -
  • 0

@DarkGL - daj mi ciacho!  :crazy:


#7 Rivit

    Godlike

  • Support Team

  • Reputacja: 1,319
    Godlike

  • Postów:4,381
Offline

Posted 24.12.2020 11:26   Best Answer

Zwiększyć bufory trzeba po prostu.

Tekst po replace przekracza romiar bufora, co jest całkiem normalne jeśli się nie poduma wcześniej i nie ustawi większego bufora.

 

 


  • +
  • -
  • 2




  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

Coinsy CSGOPolygon Za SMS, PSC , Przelew - CoinSell.pro
Skiny do CS:GO za SMS, PSC, Przelew - CSGOPaka.com
Automatyczny Bot Levelowania Steam - LVLUPSteam.com
CSGO Gambling Sites and Free Betting Codes - DreamCodes.gg

Sign In