Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OnConfigsExecuted() is broken in AMXX #238

Closed
UnrealKaraulov opened this issue Dec 3, 2021 · 10 comments · Fixed by #239
Closed

OnConfigsExecuted() is broken in AMXX #238

UnrealKaraulov opened this issue Dec 3, 2021 · 10 comments · Fixed by #239
Assignees
Labels
bug Something isn't working 💾 Storage
Projects

Comments

@UnrealKaraulov
Copy link

UnrealKaraulov commented Dec 3, 2021

@wopox1337 Введи в plugin_precache или в plugin_init команду server_cmd("add_amxx.cfg")

Команда не так важна,, главное что бы в команде присутствовала строка amxx.cfg , и OnConfigsExecuted никогда не вызовется.

@UnrealKaraulov
Copy link
Author

Думаю сломано в версии 1.9 и 1.10

@UnrealKaraulov
Copy link
Author

image
Хотя кому я это говорю он же сам лайкнул пост с этой ошибкой))

Любой админ менеджер и бан менеджер выполняет amxx.cfg при запуске, и после чего ChatAdditions ломается)

@wopox1337
Copy link
Collaborator

ты ничего не перепутал?

команду server_cmd("add_amxx.cfg")

@wopox1337
Copy link
Collaborator

не подтверждаю.
image

Как ещё убедиться, в том, что ты описал правильный путь к воспроизведению ошибки?

@UnrealKaraulov
Copy link
Author

UnrealKaraulov commented Dec 3, 2021

@wopox1337 версия amxmodx выше 2015 года? Это добавлено в 2015 году, если server_cmd содержит amxx.cfg или /maps то форвард OnConfigsExecuted не выполнится.

Вероятно у тебя модифицированная версия amxmodx или старше 2015 года.

@wopox1337
Copy link
Collaborator

> version
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
ReHLDS version: 3.11.0.767-dev
Build date: 03:13:55 Oct 25 2021 (2753)
Build from: https://github.com/dreamstalker/rehlds/commit/471158b

> game version
ReGameDLL version: 5.21.0.540-dev
Build date: 17:33:16 Oct 25 2021
Build from: https://github.com/s1lentq/ReGameDLL_CS/commit/b9cccc6

> meta version
Metamod-r v1.3.0.128, API (5:13)
Metamod-r build: 17:47:54 Aug 24 2018
Metamod-r from: https://github.com/theAsmodai/metamod-r/commit/0cf2f70

> meta list
Currently loaded plugins:
      description  stat pend  file                 vers             src  load  unload
 [ 1] AMX Mod X    RUN   -    amxmodx_mm_i386.so   v1.10.0.5412     ini  Start ANY
 [ 2] Reunion      RUN   -    reunion_mm_i386.so   v0.1.0.92        ini  Start Never
 [ 3] ReAPI        RUN   -    reapi_amxx_i386.so   v5.21.0.248-dev  pl1  ANY   Never
 [ 4] MySQL        RUN   -    mysql_amxx_i386.so   v1.10.0.5412     pl1  ANY   ANY
 [ 5] SQLite       RUN   -    sqlite_amxx_i386.so  v1.10.0.5412     pl1  ANY   ANY
5 plugins, 5 running

> amxx modules
Currently loaded modules:
      name                    version     author               status
 [ 1] ReAPI                   5.21.0.248  Asmodai & s1lent     running
 [ 2] MySQL                   1.10.0.541  AMX Mod X Dev Team   running
 [ 3] SQLite                  1.10.0.541  AMX Mod X Dev Team   running
3 modules, 3 correct

> amxx version
AMX Mod X 1.10.0.5412 (http://www.amxmodx.org)
Authors:
        David "BAILOPAN" Anderson, Pavol "PM OnoTo" Marko
        Felix "SniperBeamer" Geyer, Jonny "Got His Gun" Bergstrom
        Lukasz "SidLuke" Wlasinski, Christian "Basic-Master" Hammacher
        Borja "faluco" Ferrer, Scott "DS" Ehlert
Compiled: Dec  6 2020 12:11:05
Built from: https://github.com/alliedmodders/amxmodx/commit/a4e929e
Build ID: 5412:a4e929e
Core mode: JIT+ASM32

@UnrealKaraulov
Copy link
Author

@wopox1337 Возможно требуется полный путь к amxx.cfg с выполнением, а не частичное совпадение, хотя судя по коду именно частичное ищет.

@UnrealKaraulov
Copy link
Author

Написано что только в таком случае блокируется

image
alliedmodders/amxmodx#728 (comment)

@wopox1337 wopox1337 changed the title OnConfigsExecuted сломан у 50% и вот доказательства OnConfigsExecuted() is broken in AMXX Dec 3, 2021
@wopox1337 wopox1337 self-assigned this Dec 3, 2021
@wopox1337 wopox1337 added bug Something isn't working 💾 Storage labels Dec 3, 2021
@wopox1337 wopox1337 added this to To do in Bugfixes via automation Dec 3, 2021
@wopox1337 wopox1337 reopened this Dec 3, 2021
Bugfixes automation moved this from To do to In progress Dec 3, 2021
Bugfixes automation moved this from In progress to Done Dec 3, 2021
@wopox1337
Copy link
Collaborator

@UnrealKaraulov благодарю за бдительность! Исправлено в релизе v1.8.1

@UnrealKaraulov
Copy link
Author

Thanks! I tried to fix it in this pull request : alliedmodders/amxmodx#1022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 💾 Storage
Projects
Bugfixes
  
Done
Development

Successfully merging a pull request may close this issue.

2 participants