AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Music Menu Advance (https://forums.alliedmods.net/showthread.php?t=12106)

+ARUKARI- 12-03-2020 21:03

Re: Music Menu Advance
 
ArrayPushArray,ArrayGetArray does not exist in 1.8.2, so it is not supported after 3.04.

Kelso 12-04-2020 13:32

Re: Music Menu Advance
 
Ok now I have a problem when I try to start the server with the plugin

Quote:

L 12/04/2020 - 10:51:52: -------- Mapchange to 35hp_2 --------
FATAL ERROR (shutting down): Host_Error: PF_precache_generic_I: Bad string ''
L 04/12/2020 - 11:09:53: (map "35hp_2") TraceSphere: TraceSphere not yet implemented!
This is the version of amx mod that I use

AMX MOD X Version 1.9.0.5263 + rehlds +reapi, run on linux

this is my bgm.ini

HL-BGM 01;sound/bgm/mischief.mp3;04:54

I tried a space and the same, i even put the default .ini with the half life music in the media folder (Cstrike) but it doesn't work either : HL-BGM 01 ;sound/bgm/mischief.mp3;04:54



try older version 303a and it starts correctly but the music does not come out when I write /bgm ;(

+ARUKARI- 12-04-2020 21:00

Re: Music Menu Advance
 
Do not include a blank line in the middle for bgm.ini.
i have identified the error and will fix it later.

NOTE:
There is a bug in Metamod-R where passing an empty character to the file_exists function returns True.
If you are using Metamod-R, please switch to Metamod-P.

Kelso 12-05-2020 16:14

Re: Music Menu Advance
 
Quote:

Originally Posted by +ARUKARI- (Post 2727483)
Do not include a blank line in the middle for bgm.ini.
i have identified the error and will fix it later.

NOTE:
There is a bug in Metamod-R where passing an empty character to the file_exists function returns True.
If you are using Metamod-R, please switch to Metamod-P.


I download the metamod from github: https://github.com/Bots-United/metamod-p/releases

And the server does not start i get this :

Quote:

entrypoint.sh: line 25: 14 Segmentation fault (core dumped) ./hlds_run -console -game cstrike -port 27030 -sport 26900 -maxplayers 32 +map 35hp_2 -sys_ticrate 350 -pingboost 2 -timeout 10 +ip 0.0.0.0 -strictportbind -norestart -dll addons/metamod/metamod_i386.so
container@pterodactyl~ Server marked as offline...

[Pterodactyl Daemon]: ---------- Detected server process in a crashed state! ----------
[Pterodactyl Daemon]: Exit code: 139
[Pterodactyl Daemon]: Out of memory: false
[Pterodactyl Daemon]: Checking server disk space usage, this could take a few seconds...
[Pterodactyl Daemon]: Updating process configuration files...
[Pterodactyl Daemon]: Ensuring file permissions are set correctly, this could take a few seconds...
container@pterodactyl~ Server marked as starting...
[Pterodactyl Daemon]: Pulling Docker container image, this could take a few minutes to complete...
[Pterodactyl Daemon]: Finished pulling Docker container image
:/home/container$ ./hlds_run -console -game cstrike -port 27030 -sport 26900 -maxplayers 32 +map 35hp_2 -sys_ticrate 350 -pingboost 2 -timeout 10 +ip 0.0.0.0 -strictportbind -norestart -dll addons/metamod/metamod_i386.so

Console initialized.
Using breakpad crash handler
Setting breakpad minidump AppID = 10
Forcing breakpad minidump interfaces to load
dlopen failed trying to load:
/home/container/.steam/sdk32/steamclient.so
with error:
/home/container/.steam/sdk32/steamclient.so: cannot open shared object file: No such file or directory
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
Exe build: 18:20:58 Jan 28 2020 (2117)
STEAM Auth Server
Server IP address 0.0.0.0:27030

Metamod version 1.21p38 Copyright (c) 2001-2013 Will Day
Patch: Metamod-P (mm-p) v38 Copyright (c) 2004-2018 Jussi Kivilinna
Metamod comes with ABSOLUTELY NO WARRANTY; for details type `meta gpl'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `meta gpl' for details.

==================
Game DLL version mismatch
DLL version is 140, engine version is 140
The game DLL for cstrike appears to be outdated, check for updates
==================
Host_Error:

FATAL ERROR (shutting down): Host_Error:


/entrypoint.sh: line 25: 15 Segmentation fault (core dumped) ./hlds_run -console -game cstrike -port 27030 -sport 26900 -maxplayers 32 +map 35hp_2 -sys_ticrate 350 -pingboost 2 -timeout 10 +ip 0.0.0.0 -strictportbind -norestart -dll addons/metamod/metamod_i386.so
container@pterodactyl~ Server marked as offline...

[Pterodactyl Daemon]: ---------- Detected server process in a crashed state! ----------
[Pterodactyl Daemon]: Exit code: 139
[Pterodactyl Daemon]: Out of memory: false
[Pterodactyl Daemon]: Aborting automatic reboot: last crash occurred less than 60 seconds ago.
I tried the older versions but got the same :cry:

+ARUKARI- 12-05-2020 17:21

Re: Music Menu Advance
 
try this.
https://github.com/SamVanheer/Metamod-P-CMake
or
https://www.amxmodx.org/release/metamod-1.21.1-am.zip

Kelso 12-05-2020 19:16

Re: Music Menu Advance
 
Quote:

Originally Posted by +ARUKARI- (Post 2727626)

Start with this metamod : https://www.amxmodx.org/release/metamod-1.21.1-am.zip

But I get this when I put the plugin :

Quote:

ReGameDLL version: 5.14.0.456-dev
L 12/05/2020 - 17:08:51: -------- Mapchange to 35hp_2 --------
Server BGMs Loaded (2 BGMs)
Forced unload plugin 'Reunion'
Currently loaded plugins:
description stat pend file vers src load unlod
[ 2] VoiceTranscoder RUN - VoiceTranscoder. v2017RC5 ini ANY ANY
[ 3] Rechecker RUN - rechecker_mm_i38 v2.5 ini Chlvl ANY
[ 4] AMX Mod X RUN - amxmodx_mm_i386. v1.9.0.5 ini Start ANY
[ 5] ReAPI RUN - reapi_amxx_i386. v5.12.0. pl4 ANY Never
[ 6] MySQL RUN - mysql_amxx_i386. v1.9.0.5 pl4 ANY ANY
[ 7] Fun RUN - fun_amxx_i386.so v1.9.0.5 pl4 ANY ANY
[ 8] Ham Sandwich RUN - hamsandwich_amxx v1.9.0.5 pl4 ANY ANY
[ 9] CSX RUN - csx_amxx_i386.so v1.9.0.5 pl4 ANY ANY
[10] CStrike RUN - cstrike_amxx_i38 v1.9.0.5 pl4 ANY ANY
[11] FakeMeta RUN - fakemeta_amxx_i3 v1.9.0.5 pl4 ANY ANY
[12] Engine RUN - engine_amxx_i386 v1.9.0.5 pl4 ANY ANY
[13] CURL AMXX RUN - curl_amxx_i386.s v1.1.1 pl4 ANY ANY
12 plugins, 12 running
Executing ReGameDLL Configuration File
Executing AMX Mod X Configuration File
Scrolling message displaying frequency: 10:00 minutes
Executing AMX Mod X Configuration File
Scrolling message displaying frequency: 10:00 minutes
[AMXBans] is starting to execute amxbans.cfg
[AMXBans] amxbans.cfg is fully executed
[AMX Super] AMX_Super.cfg has been executed
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
CAppInfoCacheReadFromDiskThread took 0 milliseconds to initialize
CApplicationManagerPopulateThread took 0 milliseconds to initialize (will have waited on CAppInfoCacheReadFromDiskThread)
dlopen failed trying to load:
/home/container/.steam/sdk32/steamclient.so
with error:
/home/container/.steam/sdk32/steamclient.so: cannot open shared object file: No such file or directory
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit

/entrypoint.sh: line 25: 14 Segmentation fault (core dumped) ./hlds_run -console -game cstrike -port 27030 -sport 26900 -maxplayers 32 +map 35hp_2 -sys_ticrate 350 -pingboost 2 -timeout 10 +ip 0.0.0.0 -strictportbind -norestart -dll addons/metamod/metamod_i386.so
container@pterodactyl~ Server marked as offline...

[Pterodactyl Daemon]: ---------- Detected server process in a crashed state! ----------
[Pterodactyl Daemon]: Exit code: 139
[Pterodactyl Daemon]: Out of memory: false
[Pterodactyl Daemon]: Aborting automatic reboot: last crash occurred less than 60 seconds ago.
[Pterodactyl Daemon]: Checking server disk space usage, this could take a few seconds...
[Pterodactyl Daemon]: Updating process configuration files...
[Pterodactyl Daemon]: Ensuring file permissions are set correctly, this could take a few seconds...
container@pterodactyl~ Server marked as starting...
[Pterodactyl Daemon]: Pulling Docker container image, this could take a few minutes to complete...
[Pterodactyl Daemon]: Finished pulling Docker container image
:/home/container$ ./hlds_run -console -game cstrike -port 27030 -sport 26900 -maxplayers 32 +map 35hp_2 -sys_ticrate 350 -pingboost 2 -timeout 10 +ip 0.0.0.0 -strictportbind -norestart -dll addons/metamod/metamod_i386.so
And this was in the logs :

Quote:

L 05/12/2020 - 16:42:56: (map "35hp_2") TraceSphere: TraceSphere not yet implemented!

L 05/12/2020 - 17:02:20: (map "(null)") Host_Error: Couldn't get DLL API from ps’Àð”÷<zøÿAçX÷!

L 05/12/2020 - 17:02:25: (map "(null)") Host_Error: Couldn't get DLL API from pƒpÀЗ÷<D½ÿAÇ[÷!

L 05/12/2020 - 17:03:36: (map "(null)") Host_Error: Couldn't get DLL API from pcœÀ0‹÷<>*ÿA'O÷!

L 05/12/2020 - 17:03:41: (map "(null)") Host_Error: Couldn't get DLL API from pÓd ÀГ÷<;óÿAÇW÷!

L 05/12/2020 - 17:04:51: (map "(null)") Host_Error: Couldn't get DLL API from p# À*‹÷<Ÿ†ÿA—O÷!

L 05/12/2020 - 17:04:57: (map "(null)") Host_Error: Couldn't get DLL API from p³(À°”÷<ÉÑÿA§X÷!

+ARUKARI- 12-06-2020 22:48

Re: Music Menu Advance
 
Updeted: v3.07
Metamod-r bug fix wrapping.

Kelso 12-07-2020 13:24

Re: Music Menu Advance
 
Quote:

Originally Posted by +ARUKARI- (Post 2727851)
Updeted: v3.07
Metamod-r bug fix wrapping.

Thanks a lot, now it works perfectly :up: :lol:

I do not know why takes so long to download, I'll try to change the route to see.

Fix: Change folder path from cstrike/media to sounds/bgm and now download fast.

Marinovv327 07-03-2021 10:29

Re: Music Menu Advance
 
In itself, this plugin is unique! However, I don't think a music plugin like this has a place on every server. Think about whether you will not lose customers? Will people with a weaker Internet wait long for the songs to be downloaded? I do not think!
Nevertheless, I give the highest grade! The menu is more than colorful and cool, no downsides.

peaces 04-28-2023 21:15

Re: Music Menu Advance
 
Code:

register_concmd("amx_mma_play", "server_bgm", ADMIN_ADMIN, "amx_mma_play <BgmNumber> | server bgm starting");
Why can it be used without permission?
No permission limit
Code:

public server_bgm()
{



All times are GMT -4. The time now is 18:01.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.