It looks like you're new here. If you want to get involved, click one of these buttons!
One of the symptoms of an approaching nervous breakdown is the belief that one's work is terribly important
Results of disembowel testing | Knight limb counter | GMCP AB files
No, the html5 puts everything inside the function because the script -is- the function. @Mishgul, try this:
Hey folks: I've tested the HTML5 client a bit and I'm here to offer some constructive criticism. I'm hoping these comments will be of help to Crom or others working on the client. I want to like the HTML client. Really, I do. But I can't, and here's why (testing done with Firefox v 28.0 for Ubuntu and Chrome 32.0.1700.107 (might need updating; I barely use it), also on Ubuntu):
I am curious I would like to set a variable in a function equal to the output of a system command
so var whoAwake = (client.send_direct("who");
but that doesn't seem to work. Any suggestions on what I need to do
I am wanting to set up a system that tracks my voice balance.
For example, if I use epic, it would take note that my voice is off balance, and then when I regain balance, it updates that I have balance again. I know I would need to make it check for every skill I have, that doesn't really daunt me, but I have no idea how to go about doing it.
It is quite ambitious, as I am not great with programming, but I have figured a several things out so far with relative ease.
I have SVO on Mudlet, so I can look at that and see how it goes about tracking voice balance, but I can't really understand it just yet.
You can make it a lot simpler by just putting voice balance in the prompt (look at HELP PROMPT to see how to set up a custom prompt), and then having a prompt trigger to track whether or not you currently have voice balance. I don't remember if GMCP includes class-specific balances (I think it does), but if it does that would be even easier than the prompt. Either way, there's no need to match every voicecraft ability.
so I am curious how do I know the format of objects like gmcp.char.items? I'd like to see to the info stored in the object but not sure how I access it.
Is it possible to call GMCP directly outside of the onGMCP fucntion and does someone have a sample of it?
or can I call onGMCP for a specific call? and how do you do that
Might be a very... very silly though. This might actually be impossible, but I have no idea, so I am going to ask anyway.
Lots of people -really- like the html5 client, but it is not ideal because of how it is integrated into a browser which has it's own features that might mess with the features of the client or the features you want. As a quick example, my hunting attack is ctrl+2, but if I am not giving it my full attention my finger slips and I hit ctrl+W, which attempts to close the whole browser.
I know it's not the best example, but it is there. What I would like to know, is if it is possible to code a very simple browser which has the only purpose of accessing the html5 client.
Feel free to thwap me if this is really easy, or really hard.
If you're on a Mac, you could use something like Fluid (fluidapp.com) to turn the HTML5 client into its own application. I'm not sure if a windows equivalent exists. The only downside of doing that is you may not be using the most current version, so you'd want to redo it every so often so you're up-to-date.