AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Mapchooser4 (https://forums.alliedmods.net/showthread.php?t=46104)

James 01-08-2007 04:59

Re: Mapchooser4
 
When I running 2 hlds (with different maplists) from one directory, will be both server's historys (maphist.ini) different? I read a code a little and i dont think so. If I wrong I apologize, if not I suggest

Code:

format(g_maphistFile, 63, "%s/maphist.ini", g_maphistFile)
change to
Code:

new hostname[63]
get_cvar_string("hostname",hostname,63)
...
format(g_maphistFile, 63, "%s/%s/maphist.ini", g_maphistFile,hostname)


James 01-08-2007 05:07

Re: Mapchooser4
 
1 Attachment(s)
And here I post finnished CZ translation ;)

jowy77 01-08-2007 06:37

Re: Mapchooser4
 
Spanish complete translation...



[es]
CHO_FIN_EXT_T = Seleccion finalizada. El mapa actual se ha extendido por %.0f minutos mas
CHO_FIN_EXT_R = Seleccion finalizada. El mapa actual se ha extendido por %.0f rondas mas
CHO_FIN_EXT_W = Seleccion finalizada. El mapa actual se ha extendido por %.0f victorias mas
CHO_FIN_EXT_HMT = Seleccion: Mapa %s sera ejecutado en %.0f time
CHO_FIN_NEXT = Seleccion finalizada. El siguiente mapa sera %s
CHOSE_EXT = %s Seleccion prolongada.
X_CHOSE_X = %s elegir %s
CHOOSE_NEXTM = AMX Elegir Mapa
EXTED_MAP = Extender mapa %s
TIME_CHOOSE = Es hora de elegir el proximo mapa...
ALEADY_VOTING = Votando mapa...
VOT_NOT_ALLOWED = Votacion no permitida en este momento
VOTING_STARTED = Comienza la votacion. esperar un momento...




Only 1 KARMA please .., thx

sorry my English

KWo 01-08-2007 10:01

Re: Mapchooser4
 
Thank You, guys, for help with translations. It will be included for the next version (I need to fix one bug it was in default mapchooser - it may affect also mpachooser4) and someone asked me to add some features from AMX ' default mapchooser. I hope during 3 weeks I'll find some time to work on it and finish.
About that thing with 2 or more hostnames - sometimes hostname contains some illegal characters (they cannot be placed in the filename or folder name), so You may need to look in my Record Demo plugin (somewhere in Approved) how it's solved the problem with some strange characters contained by user's name. If You do it so - and You will post the correct way to solve the problem - I can include that Your patch.

James 01-08-2007 15:24

Re: correct patch?
 
1 Attachment(s)
Patch for more HLDS's from one Directory (I hope this will be correct way ;) )


Search
Code:

new Float:amx_ext_count = 0.0
After add
Code:

new hostname[64]
Search
Code:

get_configsdir(g_maphistFile,63)
After add
Code:

get_cvar_string("hostname",hostname,63)
replace_all(hostname,63,"/","-")
replace_all(hostname,63,"\","-")
replace_all(hostname,63,":","-")
replace_all(hostname,63,"*","-")
replace_all(hostname,63,"?","-")
replace_all(hostname,63,">","-")
replace_all(hostname,63,"<","-")
replace_all(hostname,63,"|","-")

Search
Code:

format(g_maphistFile, 63, "%s/maphist.ini", g_maphistFile)
Replace with:
Code:

format(g_maphistFile, 63, "%s/mapchooser/%s",g_maphistFile,hostname)
  if (!dir_exists(g_maphistFile))
    mkdir(g_maphistFile)
       
format(g_maphistFile, 63, "%s/maphist.ini", g_maphistFile)


James 01-28-2007 07:37

Re: Mapchooser4
 
Quote:

2. It "remembers" the history of the last 5 played maps to prevent get them to the map vote menu again.
This option doesnt seems work to me :(

I use standart CVARS except amx_use_mapcycle, i set up amx_use_mapcycle 1. maps.ini is fine, played maps are written to file.

But still if I play for example awp_shapa, then i play 2 other maps, and then awp_shapa is in the votemap menu :( Dont know where is the catch..

KWo 01-29-2007 02:48

Re: Mapchooser4
 
The first item in the menu is the nextmap from Your mapcycle. Probably that's the reason why it appears sometimes for You. It may happen also if the mapcycle is too short (less than 10 maps).

James 01-29-2007 03:52

Re: Mapchooser4
 
I have 23 maps in mapcycle, maybe it is the first thing.. I will watch if repeately map is 1st in map menu...

Seehank 02-17-2007 21:02

Slovak Translation
 
Slovak Translation:

[sk]
CHO_FIN_EXT_T = = Volba ukoncena. Tato mapa zostane dalsich %.0f minut
CHO_FIN_EXT_R = = Volba ukoncena. Tato mapa zostane dalsich %.0f kol
CHO_FIN_EXT_W = = Volba ukoncena. Tato mapa zostane dalsich %.0f vyhier
CHO_FIN_EXT_HMT = Vote: Map %s bude pokracovat dalsich %.0f minut
CHO_FIN_NEXT = Volba ukoncena. Dalsia mapa bude %s
CHOSE_EXT = %s volil predlzenie sucasnej mapy
X_CHOSE_X = %s volil %s
CHOOSE_NEXTM = Zvol si dalsi mapu
EXTED_MAP = Predluzuje mapu %s
TIME_CHOOSE = Je cas volit dalsiu mapy...
ALEADY_VOTING = Uz prebieha ina volba...
VOT_NOT_ALLOWED = Volba teraz nie je mozna
VOTING_STARTED = Volba zacala. Cakajte prosim...

KWo 03-19-2007 15:35

Re: Mapchooser4
 
I've updated the plugin. The people at this forum asked me to include some functions the default AMX 2006.3 mapchooser had, so I've just translated it into AMX X. Because in that version there were some my ideas KRoT@L included into it, I think it's fair it's exactly me - I translated it for AMX X (I haven't had any chance to ask him personally about that - he stays offline since long time).
So - I believe also AMX users they migrated to AMX X they will like this version of mapchooser. Please try it and tell me about bugs You can find here.


All times are GMT -4. The time now is 19:41.

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