Проблема со мной, ошибка

Статус
В этой теме нельзя размещать новые ответы.
Сообщения
35
Реакции
0
Предупреждения
5
Неверный раздел форума
Здравствуйте, я хотел бы спросить вас, может ли кто-нибудь помочь мне решить эту проблему, на сервере появляется эта ошибка. И иногда сервер вылетает при смене карты.
Код:
L 12/19/2023 - 00:00:44: Start of error session.
L 12/19/2023 - 00:00:44: Info (map "de_westwood_winter") (file "addons/amxmodx/logs/error_20231219.log")
L 12/19/2023 - 00:00:44: [AMXX] Displaying debug trace (plugin "nomore-shit.amxx", version "3.2")
L 12/19/2023 - 00:00:44: [AMXX] Run time error 5: memory access 
L 12/19/2023 - 00:00:44: [AMXX]    [0] nomore-shit.sma::string_cleaner (line 531)
L 12/19/2023 - 00:00:44: [AMXX]    [1] nomore-shit.sma::client_putinserver (line 420)
L 12/19/2023 - 00:00:46: [AMXX] Displaying debug trace (plugin "nomore-shit.amxx", version "3.2")
L 12/19/2023 - 00:00:46: [AMXX] Run time error 5: memory access 
L 12/19/2023 - 00:00:46: [AMXX]    [0] nomore-shit.sma::string_cleaner (line 531)
L 12/19/2023 - 00:00:46: [AMXX]    [1] nomore-shit.sma::client_putinserver (line 420)
L 12/19/2023 - 00:19:34: Start of error session.
L 12/19/2023 - 00:19:34: Info (map "de_dust2_snow") (file "addons/amxmodx/logs/error_20231219.log")
L 12/19/2023 - 00:19:34: [AMXX] Displaying debug trace (plugin "nomore-shit.amxx", version "3.2")
L 12/19/2023 - 00:19:34: [AMXX] Run time error 5: memory access 
L 12/19/2023 - 00:19:34: [AMXX]    [0] nomore-shit.sma::string_cleaner (line 531)
L 12/19/2023 - 00:19:34: [AMXX]    [1] nomore-shit.sma::client_putinserver (line 420)
L 12/19/2023 - 00:19:35: [AMXX] Displaying debug trace (plugin "nomore-shit.amxx", version "3.2")
L 12/19/2023 - 00:19:35: [AMXX] Run time error 5: memory access 
L 12/19/2023 - 00:19:35: [AMXX]    [0] nomore-shit.sma::string_cleaner (line 531)
L 12/19/2023 - 00:19:35: [AMXX]    [1] nomore-shit.sma::client_putinserver (line 420)
L 12/19/2023 - 00:55:20: Start of error session.
L 12/19/2023 - 00:55:20: Info (map "de_inferno_winter") (file "addons/amxmodx/logs/error_20231219.log")
L 12/19/2023 - 00:55:20: [AMXX] Displaying debug trace (plugin "nomore-shit.amxx", version "3.2")
L 12/19/2023 - 00:55:20: [AMXX] Run time error 5: memory access 
L 12/19/2023 - 00:55:20: [AMXX]    [0] nomore-shit.sma::string_cleaner (line 531)
L 12/19/2023 - 00:55:20: [AMXX]    [1] nomore-shit.sma::client_putinserver (line 420)
L 12/19/2023 - 00:55:21: [AMXX] Displaying debug trace (plugin "nomore-shit.amxx", version "3.2")
L 12/19/2023 - 00:55:21: [AMXX] Run time error 5: memory access 
L 12/19/2023 - 00:55:21: [AMXX]    [0] nomore-shit.sma::string_cleaner (line 531)
L 12/19/2023 - 00:55:21: [AMXX]    [1] nomore-shit.sma::client_putinserver (line 420)
L 12/19/2023 - 01:31:05: Start of error session.
L 12/19/2023 - 01:31:05: Info (map "de_nuke_winter") (file "addons/amxmodx/logs/error_20231219.log")
L 12/19/2023 - 01:31:05: [AMXX] Displaying debug trace (plugin "nomore-shit.amxx", version "3.2")
L 12/19/2023 - 01:31:05: [AMXX] Run time error 5: memory access 
L 12/19/2023 - 01:31:05: [AMXX]    [0] nomore-shit.sma::string_cleaner (line 531)
L 12/19/2023 - 01:31:05: [AMXX]    [1] nomore-shit.sma::client_putinserver (line 420)
L 12/19/2023 - 01:31:07: [AMXX] Displaying debug trace (plugin "nomore-shit.amxx", version "3.2")
L 12/19/2023 - 01:31:07: [AMXX] Run time error 5: memory access 
L 12/19/2023 - 01:31:07: [AMXX]    [0] nomore-shit.sma::string_cleaner (line 531)
L 12/19/2023 - 01:31:07: [AMXX]    [1] nomore-shit.sma::client_putinserver (line 420)
L 12/19/2023 - 02:06:51: Start of error session.
 

Вложения

Сообщения
988
Реакции
53
Помог
10 раз(а)
trendafili, добавь это server_print("********** %s %i", name, len); 419 строкой. И покажи какое значение покажет в консоле.

У тебя len будет равно 164. Если бы была замена символа через цикл в функции client_putinserver, то была бы ошибка - Run time error 4: index out of bounds, а так как передаются аргументы в другую функцию, то получается ошибка - Run time error 5: memory access

Пробуй
 

Вложения

Последнее редактирование:
Сообщения
35
Реакции
0
Предупреждения
5
trendafili, add this server_print("********** %s %i", name, len); 419 line. And show what value it will show in the console.

Your len will be equal to 164. If there was a symbol replacement through a loop in the client_putinserver function, then there would be an error - Run time error 4: index out of bounds, and since arguments are passed to another function, then I get an error - Run time error 5: memory access

Try it
419 = RegexCheck(id, name, len, ppcvar, true);
Should I remove and put the line you showed or put it at the end of this one?
 
Статус
В этой теме нельзя размещать новые ответы.

Пользователи, просматривающие эту тему

Сейчас на форуме нет ни одного пользователя.
Сверху Снизу