Gumps and GF_SCRIPT_BTN
Moderator: POL Developer
-
- Grandmaster Poster
- Posts: 120
- Joined: Thu Jan 18, 2007 2:34 am
Gumps and GF_SCRIPT_BTN
I know its limited to what you guys can do concerning gumps as it's mostly client side. I don't suppose it would be possible to add something like GF_SCRIPT_BTN to start a selected script without closing the gump.
-
- Grandmaster Poster
- Posts: 120
- Joined: Thu Jan 18, 2007 2:34 am
-
- Distro Developer
- Posts: 2825
- Joined: Thu Feb 02, 2006 1:41 pm
- Location: San Antonio, Texas
- Contact:
From gumps.html in \pol\docs
Button [x] [y] [released-id] [pressed-id] [quit] [page-id] [return-value]
...
[quit] : This parameter is only to be found in buttons. It determines whether you want to exit the gump after clicking the button or not.
and some people research and post solutions for those who need them, and do it tactfully even if not perfectly.
Button [x] [y] [released-id] [pressed-id] [quit] [page-id] [return-value]
...
[quit] : This parameter is only to be found in buttons. It determines whether you want to exit the gump after clicking the button or not.
and some people research and post solutions for those who need them, and do it tactfully even if not perfectly.
-
- Grandmaster Poster
- Posts: 120
- Joined: Thu Jan 18, 2007 2:34 am
-
- Grandmaster Poster
- Posts: 120
- Joined: Thu Jan 18, 2007 2:34 am
sadly, Yukiko is wrong in the assumption about the function of [quit].
if [quit] is 0 and the button is pressed, it stays on screen,m only it switches to page [page-id]. Nothing is sent to the server, [return-value] is unused.
This is how the UO client works, nothing you can do about it from the side of the server. True story.
if the [quit] is 1 and the button is pressed, the gump is closed, and response sent to the server with the [return-value] as the pressed button id. [page-id] is unused.Yukiko wrote:Button... [quit] [page-id] [return-value]
if [quit] is 0 and the button is pressed, it stays on screen,m only it switches to page [page-id]. Nothing is sent to the server, [return-value] is unused.
This is how the UO client works, nothing you can do about it from the side of the server. True story.
Emphasis mine. It's often useful to have factually correct information. I would rather get correct information from an a$$hole than get erroneous information from a sweet grandmotherly type. The latter might make me feel all warm and fuzzy inside, but the former will actually, you know - be useful.Yukiko wrote:...even if not perfectly.
Different strokes for different blokes, though!
-
- Grandmaster Poster
- Posts: 120
- Joined: Thu Jan 18, 2007 2:34 am
If asking you if you know how gumps work makes you feel like crap, then you're bound to feel like crap an awful lot in life, as people ask what your prior knowledge is before diving into an explanation.mr bubbles wrote:Well i'd rather get accidental wrong info from someone who tries to help without making me feel crap :/
How about this, consider yourself banned.Barbeirosa wrote:If asking you if you know how gumps work makes you feel like crap, then you're bound to feel like crap an awful lot in life, as people ask what your prior knowledge is before diving into an explanation.mr bubbles wrote:Well i'd rather get accidental wrong info from someone who tries to help without making me feel crap :/
If that makes you feel like crap and or you need to come back with a new account and say you've been wronged or that POL is all doomed without you or.. maybe you just feel you need to teach us some lesson, maybe your accusations against other users are coming from strong introspection.
Sorry to disappoint you in oh-so-many ways.Austin wrote: How about this, consider yourself banned.
If that makes you feel like crap and or you need to come back with a new account and say you've been wronged or that POL is all doomed without you or.. maybe you just feel you need to teach us some lesson, maybe your accusations against other users are coming from strong introspection.
First; it's an old account, not a new one. Feel free to ban this one, too, as it's probably best for everyone if I don't post here again, ever.
Second; Not sure why you would think I would believe I have been wronged. I mean, think about it; What benefit do I get from posting here, aside from venting some steam at people who couldn't care less? My time is better spent doing things important to me and those I do actually care about. You've done me a huge favor, for which I thank you sincerely.
Third; I have no clue where you get the idea that I would think POL is doomed without me. I hope none of these other earnest 'community participants' think that POL's future relies on them, either. I think Muad said it best:
But then again, I realized that long, long ago, back when I did care, and made a couple lame efforts around here to actually help. No one else cared, so I stopped caring, too. At that point, I should have simply realized then that being here was a waste of time, and just reverted back to lurking to download the most recent Cores and keeping up with what bugs were introduced in each new core.I fail to remember the last time I personally, or Austin for that matter, listened to anyone period... I don't care one way, or the other. About you, or any other person who posts on this forum. If you think I might care, you are sadly mistaken.
It took you banning me for me to realize I need to go ahead and do that now; save myself a lot of time that I can use to devote to people who actually give a rat's ass what I do or say, and save all the nice people here the trouble of having to listen to a word I say. POL will go along its destined path perfectly fine with or without me, so the only person who has been done a favor here is me, really. So as a very rare occurrence, I agree with Yukiko:
So long... and thanks for all the fish. Please delete this account, as I can't find the link to do so myself.Thank you Austin!!!!