Raised This Month: $51 Target: $400
 12% 

Music Menu Advance


Post New Thread Reply   
 
Thread Tools Display Modes
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 04-10-2020 , 04:34   Re: Music Menu Advance
Reply With Quote #61

precache is the first one to be executed. You read the config file and fill g_bgm_path array in plugin_cfg, which happens AFTER plugin_precache, so it is too late.

In case it's not clear.
1. plugin_precache: you try to precache everything from g_bgm_path , but IT IS EMPTY.
2. plugin_cfg: you read the config file and fill g_bgm_path. This is too late, precache already executed and precached nothing.

Simply read the config file in plugin_precache.
__________________

Last edited by HamletEagle; 04-10-2020 at 04:35.
HamletEagle is offline
+ARUKARI-
AlliedModders Donor
Join Date: Jul 2004
Location: Japan
Old 04-10-2020 , 10:35   Re: Music Menu Advance
Reply With Quote #62

Updated.

Quote:
Fixed precache bug.
Using fopen/fgets/fclose.
Remove maximum song limit.
Change separator to semicolon. (can use space character.)
__________________
GitHub
SteamWishlist

六四天安門事件
+ARUKARI- is offline
maxedrom
Junior Member
Join Date: Apr 2020
Location: Argentina
Old 05-05-2020 , 22:29   Re: Music Menu Advance
Reply With Quote #63

Quote:
Originally Posted by +ARUKARI- View Post
Updated.
Love this.

Can you add posibility to allow players to select a song spending some money.. and the song will put at back of the song or songs that is plaing?' like a rockcola....


Me encanta este Plugin.. Existe la posibilidad de que el jugador pueda seleccionar un mp3 de un listado y ese tema se ponga en la cola para ser reproducido?, O que se pueda iniciar una votacion para el siguiente tema.
Tambien la posibilidad de que el tema de musica se pueda configurar el volumen.

Un saludo.
maxedrom is offline
Send a message via AIM to maxedrom
Alber9091
Veteran Member
Join Date: Jun 2014
Location: Karachi, Pakistan
Old 05-07-2020 , 02:10   Re: Music Menu Advance
Reply With Quote #64

WoW !! Plugin being supported since last 15 years.
2005-2020
Alber9091 is offline
+ARUKARI-
AlliedModders Donor
Join Date: Jul 2004
Location: Japan
Old 05-07-2020 , 02:47   Re: Music Menu Advance
Reply With Quote #65

Quote:
Originally Posted by maxedrom View Post
Love this.

Can you add posibility to allow players to select a song spending some money.. and the song will put at back of the song or songs that is plaing?' like a rockcola....


Me encanta este Plugin.. Existe la posibilidad de que el jugador pueda seleccionar un mp3 de un listado y ese tema se ponga en la cola para ser reproducido?, O que se pueda iniciar una votacion para el siguiente tema.
Tambien la posibilidad de que el tema de musica se pueda configurar el volumen.

Un saludo.
I mainly fix bugs.
At this point, I'm not thinking of adding new features.
__________________
GitHub
SteamWishlist

六四天安門事件
+ARUKARI- is offline
+ARUKARI-
AlliedModders Donor
Join Date: Jul 2004
Location: Japan
Old 05-07-2020 , 02:52   Re: Music Menu Advance
Reply With Quote #66

Quote:
Originally Posted by Alber9091 View Post
WoW !! Plugin being supported since last 15 years.
2005-2020
I be back this year.
__________________
GitHub
SteamWishlist

六四天安門事件
+ARUKARI- is offline
Alber9091
Veteran Member
Join Date: Jun 2014
Location: Karachi, Pakistan
Old 05-07-2020 , 12:18   Re: Music Menu Advance
Reply With Quote #67

Quote:
Originally Posted by +ARUKARI- View Post
I be back this year.
Welcome Back !!
Alber9091 is offline
lexantis
Senior Member
Join Date: Jun 2009
Location: CZ
Old 05-14-2020 , 23:19   Re: Music Menu Advance
Reply With Quote #68

Quote:
//AMXXPC compile.exe
// by the AMX Mod X Dev Team

//// mma301.sma
// \cstrike\addons\amxmodx\scripting\mma301.sma( 13) : error 017:
undefined symbol "MAX_NAME_LENGTH"
// \cstrike\addons\amxmodx\scripting\mma301.sma( 63) : error 017:
undefined symbol "MAX_RESOURCE_PATH_LENGTH"
// \cstrike\addons\amxmodx\scripting\mma301.sma( 63) : error 009:
invalid array size (negative or zero)
// \cstrike\addons\amxmodx\scripting\mma301.sma( 63) : error 036:
empty statement
// \cstrike\addons\amxmodx\scripting\mma301.sma( 63) : fatal error
107: too many error messages on one line
//
// Compilation aborted.
// 5 Errors.
Wonder why it can't be compiled
The one grabbed from the OP freezes the game during pre-caching for good

Last edited by lexantis; 05-14-2020 at 23:21.
lexantis is offline
Send a message via ICQ to lexantis
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 05-15-2020 , 07:54   Re: Music Menu Advance
Reply With Quote #69

Quote:
Originally Posted by lexantis View Post
Wonder why it can't be compiled
The one grabbed from the OP freezes the game during pre-caching for good
Read the requirements. You must have AMXX 1.10 in order to use this plugin.

PS: I don't think a few constants and colorchat are a valid reason to limit the plugin to 1.10. You can easily use a check to define them and use a colorchat stock if the version is lower.
__________________

Last edited by OciXCrom; 05-15-2020 at 07:55.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
lexantis
Senior Member
Join Date: Jun 2009
Location: CZ
Old 05-15-2020 , 15:55   Re: Music Menu Advance
Reply With Quote #70

Quote:
Originally Posted by OciXCrom View Post
Read the requirements. You must have AMXX 1.10 in order to use this plugin.

PS: I don't think a few constants and colorchat are a valid reason to limit the plugin to 1.10. You can easily use a check to define them and use a colorchat stock if the version is lower.
Yeah, not much of a fan of Unstable dev builds really

Last edited by lexantis; 05-15-2020 at 15:55.
lexantis is offline
Send a message via ICQ to lexantis
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:48.


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