Yeah, I've looked at that before. The problem is that not only does it not include a lot of food items, but it prioritizes based on hunger, which I'm not sure I really want.
I'm wondering if anyone knows a way to check your hotbar from left to right for certain item ids. I want to make an auto-eater script, but if I have multiple food items on my hotbar, then I want it to choose one based on its position on the hotbar, versus some priority list that I put in the script.
If anyone can help out, then I would really appreciate it. If I could get it working, then it would pretty much kill my need to keep using ControlPack.
That's even easier, but you'll need to physically scan through it
and fill foods.txt with the ID numbers of foods in the following format
(1|2|21|512|1024)
The inner do() may have the wrong number.., if it doesn't eat, increase it
if it eats too much, lower it
I'm thinking that I've tried this before and the scroll through inventory slots was pretty slow, but I may have been using a for loop with SLOT. Not sure if it would make a difference though.
I'm thinking that I've tried this before and the scroll through inventory slots was pretty slow, but I may have been using a for loop with SLOT. Not sure if it would make a difference though.
I don't think it would.., but i don't think it should be slow either.., i can see this running in about 0.3 seconds if there is no food to be found
Added support for using expressions in progressbar min and max fields
Fixed auto-craft for recipes with wildcard block types in the recipe
Modified auto-crafting status GUI to display failure reasons when auto-crafting fails
Auto-crafting now returns NORECIPE if a recipe is not found (previously returned NOTSTARTED). NOTSTARTED now indicates a recipe was found but sufficient items to craft the recipe were not.
Here I have a problem with both execution time and not being able to get the ID of an item that's not in my current slot and you seem to have addressed both in that update. Cool stuff.
Hmm, there is a BungeePortals plugin that allows for going through a portal to change servers. I was trying to use the new SERVERNAME variable to change ChatFilter configs based on what server you join, but sadly they are all recognized as the main server.
Is there by chance another method of determining what server you're on? I've tried maxplayers, but of the fours servers, only three of the four have different limits. For now I've been using /kit and detecting what kits are available, since all four have different available kits. I'd love to see a method that will allow for configs based on the server you're on without relying on things like /kit
Edit: The MAXPLAYERS variable is not detecting anything over 60 players and just reads out an actual limit of 200 as 60.
Mumfrey, great update, I was wondering if anyone knows how to set up a button or event to display an image on your screen?
When you press the button, or the event happens, an image or gui comes up over top of your screen, such as http://image.noelsha...sniperscope.png
And still be able to see the people and things behide it.
I know I already posted this, but I heard about the new GUI feature and was wondering if it could work.
Also in the $${GUI([name])}$$ could you show a different GUI that you added into the GUI folder in your .jar?
Been trying to figure this out for a while, could you possibly provide an example of how one would make a ScriptedIterator with a module? I've gotten VariableProviders and ScriptActions to work flawlessly, but when I try to create an iterator, the whole module simply fails to load on startup. I hate asking for help with things like this, but I tried everything I could think of.
Also, hate to add on to the list of bugs, but I think onJoinGame is broken.
I'm using the one he just uploaded, I think that just fixed the problems with variables passed into events.
I have a working join script running at the moment. The events occur and the text works.
Can you describe the issue that you are having in more detail?Oh your talkin about something different ... when u log into the server not when the player joins the game?OnJoinedGame works okay. Just tested it by using Logto(textarea,TEST)
Yeah, I've looked at that before. The problem is that not only does it not include a lot of food items, but it prioritizes based on hunger, which I'm not sure I really want.
That's even easier, but you'll need to physically scan through it
$${
UnSet(eaten)
do(9)
IF(!eaten)
IFMATCHES(ITEM,$$<foods.txt>)
Do(20)
Key(use)
Loop
Set(eaten)
ENDIF
InventoryUp()
ELSE
InventoryUp()
ENDIF
Loop
}$$
and fill foods.txt with the ID numbers of foods in the following format
(1|2|21|512|1024)
The inner do() may have the wrong number.., if it doesn't eat, increase it
if it eats too much, lower it
'Cause tomorrow spring is here
I'm thinking that I've tried this before and the scroll through inventory slots was pretty slow, but I may have been using a for loop with SLOT. Not sure if it would make a difference though.
is that slow to you or was yours slower?
'Cause tomorrow spring is here
Mine was slow as in I could physically see it scroll through the inventory slots. So yeah, it was pretty useless.
Download Link
Changes in 0.9.9 (yes okay anyone who tried the beta has seen most of this :D)
Calling UNSAFE with no arguments allows unlimited instructions to run (subject to a maximum execution time of 100ms)
For property names see .gui.xml
As ever, report any errors/bugs in this thread.
Awesome, was really looking forward to more documentation on the API for the module I made for myself, thanks!
Appreciate the effort you put into macros mod, Mumfrey <3
Silly pollo
it appears %CHAT% = "CHAT" now for example
SETLABEL() also working differently... i'll find out exactly how it's working differently and post that.Is there by chance another method of determining what server you're on? I've tried maxplayers, but of the fours servers, only three of the four have different limits. For now I've been using /kit and detecting what kits are available, since all four have different available kits. I'd love to see a method that will allow for configs based on the server you're on without relying on things like /kit
Edit: The MAXPLAYERS variable is not detecting anything over 60 players and just reads out an actual limit of 200 as 60.
Ah oops, minor compile issue there, try downloading again. It shouldn't affect all environment variables though, just context variables in events.
Excellent.
When you press the button, or the event happens, an image or gui comes up over top of your screen, such as http://image.noelsha...sniperscope.png
And still be able to see the people and things behide it.
I know I already posted this, but I heard about the new GUI feature and was wondering if it could work.
Also in the $${GUI([name])}$$ could you show a different GUI that you added into the GUI folder in your .jar?
Also, hate to add on to the list of bugs, but I think onJoinGame is broken.
This was just fixed i believe..
I'm using the one he just uploaded, I think that just fixed the problems with variables passed into events.
I have a working join script running at the moment. The events occur and the text works.
Can you describe the issue that you are having in more detail?Oh your talkin about something different ... when u log into the server not when the player joins the game?OnJoinedGame works okay. Just tested it by using Logto(textarea,TEST)