This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Bindmenu (v1.30)


Post New Thread Reply   
 
Thread Tools Display Modes
krzyzak333
Junior Member
Join Date: Mar 2009
Location: Poland
Old 02-04-2010 , 14:38   Re: Bindmenu (v1.05)
Reply With Quote #21

Polish
Quote:
[pl]
BIND = Bind
PREFIX = [BIND]

INFO_KEY = Podaj klawisz, aby zbindowac do niego funkcje.
INFO_LOADED = Bindy zaladowane.
INFO_NOTSET = Bindy nie zostaly ustawione na tym serwerze.
INFO_SAVED = Twoje ustawienia bindow zostaly zapisane.
INFO_BIND = %a jest teraz zbindowane do %a.

MENU_AUTOBIND = Auto-Bind (\yPodczas polaczenia\w)
MENU_AUTOSAVE = Auto-Zapis (\yPodczas wyjscia\w)
MENU_BIND = Menu bindow
MENU_MULTI = Ustawienia Bindow
MENU_REBIND = Re-Binduj Wszystko (\yZ pliku Vault\w)
MENU_SAVE = Zapisz Bindy i ustawienia
MENU_SETTINGS = Menu ustawien

LOAD_ERROR_VAULT = Nie mozna otworzyc pliku bindow.
LOAD_ERROR_FILE = Nie mozna znalezc pliku %s.ini. Sprawdz katalog bindow w twoim folderze ustawien.
LOAD_SUCCESS = Plik konfiguracyjny bindow zostal zaladowany (%i funkcji).
@edit
Simivar I was first

Last edited by krzyzak333; 02-04-2010 at 14:52.
krzyzak333 is offline
simivar
Junior Member
Join Date: Jan 2010
Old 02-04-2010 , 14:49   Re: Bindmenu (v1.05)
Reply With Quote #22

Polish translation:
Code:
[pl]
BIND = Bind
PREFIX = [BIND]

INFO_KEY = Nacisnij klawiszy, do ktorego ma zostac przypisana funkcja.
INFO_LOADED = Bindy zostaly pomyslnie wczytane.
INFO_NOTSET = Aktualnie nie ma zadnych bindow ustawionych na tym serwerze.
INFO_SAVED = Twoje bindy i ustawienia zostaly zapisane.
INFO_BIND = %a zostal przypisany do klawisza %a.

MENU_AUTOBIND = Auto-Przypisywanie (\yTryb online\w)
MENU_AUTOSAVE = Auto-Zapisywanie (\yTryb offline\w)
MENU_BIND = Menu bindow
MENU_MULTI = Wiele konfiguracji bindow
MENU_REBIND = Przypisz ponownie wszystkie (\yZe skrytki\w)
MENU_SAVE = Zapisz bindy i ustawienia
MENU_SETTINGS = Menu ustawien

LOAD_ERROR_VAULT = Nie mozna otworzyc Skrytki Bindow.
LOAD_ERROR_FILE = Nie odnaleziono pliku %s.ini. Sprawdź katalog w Twoim konfiguracyjnym folderze.
LOAD_SUCCESS = Plik konfiguracyjny bindow zostal pomyslnie wczytany (%i funkcji).
simivar is offline
AirShot
Veteran Member
Join Date: Sep 2009
Location: Belgium
Old 02-04-2010 , 16:46   Re: Bindmenu (v1.05)
Reply With Quote #23

Code:
[fr]
BIND = Bind
PREFIX = [BIND]

INFO_KEY = Appuie sur une touche pour la binder
INFO_LOADED = Binds chargés avec succes
INFO_NOTSET = Il n'y actuellement aucun bind sur ce serveur.
INFO_SAVED = Tes binds et options ont ete sauvegarde.
INFO_BIND = %a est maintenant bind pour %a.

MENU_AUTOBIND = Auto-Bind (\yA la connexion\w)
MENU_AUTOSAVE = Auto-Sauvegarde (\yA la deconnexion\w)
MENU_BIND = Bind Menu
MENU_MULTI = Multiple Bind Configs
MENU_REBIND = Re-Bind Tout (\ydepuis Vault\w)
MENU_SAVE = Sauver les Binds & les Options
MENU_SETTINGS = Options Menu

LOAD_ERROR_VAULT = Impossible d'ouvrir les Binds depuis le module Vault.
LOAD_ERROR_FILE = Impossible de trouver le fichier %s.ini . Vérifie si le répertoire est bien dans le dossier configs. 
LOAD_SUCCESS = Bind fichier de configuration a été chargé avec succès (fonctions%).
French
__________________
AirShot is offline
epic .
Senior Member
Join Date: Oct 2009
Location: China
Old 02-05-2010 , 01:23   Re: Bindmenu (v1.05)
Reply With Quote #24

As always, my method to do this is : make the config.cfg file read-only.
__________________
Quote:
Destinies in my AWP sight are all alike;
Destinies out of my AWP sight in its own way.
epic . is offline
Send a message via ICQ to epic .
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 02-05-2010 , 17:50   Re: Bindmenu (v1.05)
Reply With Quote #25

Quote:
Originally Posted by epic . View Post
As always, my method to do this is : make the config.cfg file read-only.
I don't think you read the thread.
__________________
fysiks is offline
vilaemail
Member
Join Date: Jan 2009
Location: Tu i tamo, svuda pomalo
Old 02-06-2010 , 10:53   Re: Bindmenu (v1.05)
Reply With Quote #26

Serbian translation:

Code:
[sr]
BIND = Bind
PREFIX = [BIND]

INFO_KEY = Kliknite dugme na koje zelite da bind-ujete funkciju.
INFO_LOADED = Bind-ovi su uspesno ucitani.
INFO_NOTSET = Trenutno nisu podeseni bind-ovi na serveru.
INFO_SAVED = Vasi bind-ovi i podesavanja su sacuvani.
INFO_BIND = %a je sada bind-ovao %a.

MENU_AUTOBIND = Auto-Bind (\yNa konekciju\w)
MENU_AUTOSAVE = Auto-Sacuvavanje (\yNa diskonekciju\w)
MENU_BIND = Bind Meni
MENU_MULTI = Vise bind konfiga
MENU_REBIND = Ponovo binduj sve (\yIz trezora\w)
MENU_SAVE = Sacuvaj bind-ove & i podesavanja
MENU_SETTINGS = Meni za podesavanje

LOAD_ERROR_VAULT = Nemogu otvoriti bind trezor.
LOAD_ERROR_FILE = Nemogu naci %s.ini fajl. Proverite binds direktorijum u vasem config foderu.
LOAD_SUCCESS = Bind konfiguracioni fajl je uspesno ucitan (%i funkcija).
__________________
If you are putting me to credits of some kind please put "Filip Vilicic" instead of "vilaemail". Or put both. Thanks.
vilaemail is offline
shadow.hk
Senior Member
Join Date: Dec 2008
Location: WA, Australia
Old 02-07-2010 , 06:07   Re: Bindmenu (v1.05)
Reply With Quote #27

Quote:
Originally Posted by Exolent[jNr] View Post
1. You should auto-create the addons/amxmodx/configs/binds directory.
Easy enough...

Quote:
2.
Code:
/**  * Creates a handle that is passable to a format compliant routine for printing as a string (with the %a format option).    * It is suggested to pass the function directly as a parameter to the format routine.  * The array contents must be a null-terminated string!  *  * An example usage:  client_print(id, print_chat, "%a", ArrayGetStringHandle(MessageArray, i));  *  * @param which         The array the string is stored in.  * @param item          Which item to print the string value of.  * @return              Handle to the item directly.  Do not use or save stale handles.  */native DoNotUse:ArrayGetStringHandle(Array:which, item);
Well... it does work but if there is a 'safer' method then I will use that, so mine will have to do for now.

Quote:

3. I see a problem with this. If a player saves his settings and the .ini file changes, the settings will be wrong.
Example:
Code:
"Admin Menu" "amxmodmenu"
"XP Menu" "say /xp"
"Go Spectator" "say /spec"
Saves settings for those 3:
bind "\" "amxmodmenu"
bind ";" "say /xp"
bind "p" "say /spec"
Code:
\#;#p#
New binds:
Code:
"Admin Menu" "amxmodmenu"
"Teleport Menu" "amx_telemenu"
"XP Menu" "say /xp"
"Go Spectator" "say /spec"
Will turn into this:
bind "\" amxmodmenu"
bind ";" "amx_telemenu"
bind "p" "say /xp"
- no bind for /spec
I've been thinking about that one... there's most likely a work-around but it would be fairly big. There's another, simpler method but that won't reassign your keys, instead it'd notify you that the bind settings have been changed until it's been fixed by the user.

Quote:
4. I really don't see a reason to have the cvar for bind file.
Maybe I am missing something. Could you explain?
The cvar was in case someone had a multi-mod server which, for example, might have deathrun, hide'n'seek, surf, and warcraft3FT - most of which could use their own bind files. If you set the bind cvar when the server changes between different types of mods then it'd load the bind file for that particular mod. That way you can have it switch between 4 seperate bind files, depending on what is running at the time (i.e. 1 for deathrun, 1 for surf, 1 for warcraft3FT, 1 for hide'n'seek), then it would bind their keys to the binds specific to that mod.

As for the translations, I'll get round to updating that as well. However, I'm rather busy so it'll be done within the next week or so.
shadow.hk is offline
Send a message via MSN to shadow.hk
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 03-31-2010 , 19:25   Re: Bindmenu (v1.05)
Reply With Quote #28

There are a few mistakes and optimizations that can be made, however it is acceptable.

If you would like any information regarding possible adjustments you could make or things you could do to make this better, please feel free to post here or PM me.

Approved.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
supergreg
Senior Member
Join Date: Jul 2007
Location: Oslo, Norway
Old 04-22-2010 , 21:15   Re: Bindmenu (v1.05)
Reply With Quote #29

I am trying to get this to work with Polymorph.
Once an .ini file is loaded it acts like expected and works well.
However it always seems to load the bind_file from the previously played mod, not the currently playing one.

Not sure if you're familiar with Polymorph, you have the possibility of adding/altering cvars for each specific mod, so I would instruct Polymorph to set cvar: bind_file "test" whenever my test-mod is voted through. I have tried to load bindmenu.amxx both prior to this change of bind_file and also after (by loading bindmenu in plugins.ini or Polymorph's mod-specific config respectively - the latter loads plugins right after setting cvars) but bindmenu seems to always work on the bind_file value which was set last map.

Is this problem tied to the known bug about map specific configs, i.e. that bind_file cannot be overriden once set, or rather that bindmenu reads the bind_file cvar "too early" on each mapload and later changes to this cvar won't have effect until next mapchange?
supergreg is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-22-2010 , 22:18   Re: Bindmenu (v1.05)
Reply With Quote #30

Quote:
Originally Posted by supergreg View Post
I am trying to get this to work with Polymorph.
Once an .ini file is loaded it acts like expected and works well.
However it always seems to load the bind_file from the previously played mod, not the currently playing one.

Not sure if you're familiar with Polymorph, you have the possibility of adding/altering cvars for each specific mod, so I would instruct Polymorph to set cvar: bind_file "test" whenever my test-mod is voted through. I have tried to load bindmenu.amxx both prior to this change of bind_file and also after (by loading bindmenu in plugins.ini or Polymorph's mod-specific config respectively - the latter loads plugins right after setting cvars) but bindmenu seems to always work on the bind_file value which was set last map.

Is this problem tied to the known bug about map specific configs, i.e. that bind_file cannot be overriden once set, or rather that bindmenu reads the bind_file cvar "too early" on each mapload and later changes to this cvar won't have effect until next mapchange?
It's because Polymorph doesn't set the cvars before this plugin reads the cvar. You can try to either edit this plugin to load later or edit Polymorph to execute sooner. However, there was a reason, that I can't think of right now, that I didn't execute the cvars sooner. It's worth a try.

Try changing line 71 to 5.0 instead of 3.0. (In Polymorph it is set to 4.0)
__________________
fysiks is offline
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 15:43.


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