Author Topic: Togleable buttons  (Read 4308 times)

0 Members and 1 Guest are viewing this topic.

Killers

  • Guest
Togleable buttons
« on: October 29, 2007, 05:22:26 PM »
I would like to see the buttons as toggle's instead of them being separate e.g Blind and Unblind when you went on one use and blinded him the button would change to unblind and go to another user and the button would still say blind. I do not mean a button that says Blind/Unblind i mean so it actually changes so Blind then it deletes unblind and adds Unblind if you know what i mean

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Togleable buttons
« Reply #1 on: October 29, 2007, 07:27:32 PM »
Too confusing to end users, and more difficult to code.
Experiencing God's grace one day at a time.

Killers

  • Guest
Re: Togleable buttons
« Reply #2 on: October 31, 2007, 09:19:49 AM »
I dont get how it would be more confusing. I spend ages trying to find each little un command e.g unblind. be so much easier and look better with a toggle button.
I only really know web based coding. coudnt you do something like a if <name> blinded show button unblind or something like that.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Togleable buttons
« Reply #3 on: October 31, 2007, 09:40:03 AM »
I believe we attempted something like this before, and it was only with the 'god/player damage' toggles.
That was difficult enough to figure out when looking at the interface.
Trust me. It's not pretty.

As for the coding, Megiddo is right. We try to keep it simple.
The way we have it now, no dynamic menu update is necessary. This would/could greatly complicate the code.
With the way you're suggesting, an update would need to be done for each individual client.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Togleable buttons
« Reply #4 on: October 31, 2007, 11:05:00 AM »
I dont get how it would be more confusing. I spend ages trying to find each little un command e.g unblind. be so much easier and look better with a toggle button.
I only really know web based coding. coudnt you do something like a if <name> blinded show button unblind or something like that.

It's confusing to end users because they won't know what they player's current state is (or if the menu updates they'll have to look through the dynamically changing buttons to see the current state). With it placed as it is, it's not hard to find what you want since it's all alphabetically placed. When I click unblind, I don't have to worry about accidentally hitting it twice, messing it up if another admin tries to do the same thing at the same time, or wondering what state they started out in.
Experiencing God's grace one day at a time.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Togleable buttons
« Reply #5 on: October 31, 2007, 12:41:11 PM »
I don't mean this to be rude by any stretch... but...

Take a few minutes and learn the commands.. then just use the chat equivalents.


Player = |G4P|Mr.President


!blind pres
!unblind pres

i got both of those commands off in the amount of time it would have taken me to...


!menu
<click client menu>
<search and click Mr.President>
<Search and click Blind>


and then repeat for Unblind.


also.. when someone is being a retard and you need to kick or ban him in a matter of seconds to save your server from crashing...

!ban pres

is WAY faster than doing the menu.

just my $0.02

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Togleable buttons
« Reply #6 on: October 31, 2007, 07:32:52 PM »
The commands are even quicker from the game console...autocomplete,  ;D

ulx bl (down arrow to choose blind)
space, start typing first few characters of name, or, just start hitting down arrow to cycle through list of names.
Hit enter
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Togleable buttons
« Reply #7 on: October 31, 2007, 07:54:33 PM »
The commands are even quicker from the game console...autocomplete,  ;D

ulx bl (down arrow to choose blind)
space, start typing first few characters of name, or, just start hitting down arrow to cycle through list of names.
Hit enter

Agreed. This is why I don't see why people like the menus so much in the first place. :)

I'd take console and even chat commands over a menu any day of the week.
Experiencing God's grace one day at a time.

Offline blacksythe

  • Newbie
  • *
  • Posts: 38
  • Karma: -1
Re: Togleable buttons
« Reply #8 on: November 24, 2007, 10:01:21 AM »

I'd take console and even chat commands over a menu any day of the week.

Probably because your a developer I would take command prompt/dos lol over windows anyday but i need compatibility so i dont