Jump to content

Recommended Posts

Posted (edited)

What I intend to do is create a mod to "facilitate" an interesting fishing system on a Skyblock server, which means that when the animation of fishing a fish comes out, a progress bar appears (the bar is represented by this character █ and repeats about 30 times horizontally, normal cells are green and "pickup" cells are orange ~this falls on the fish's "level" of rarity, common is a band of 8-9 █, rare is a 6 █ stripe and legendary is a 4 █ stripe~; while from left to right and from right to left ~return~, each cell changes color to red as representing where to right click to pick up the fish, if you click on the in the orange area, you get the fish but if you click outside, you get a message that the fish was not caught), then I intuited that there will be a plugin (a plugin that seems to be designed by the owner of the server and is exclusive to that server) where it takes a random number between 1 to 30 where it is chosen the range of the orange stripe and then the range from 1 to 30 is iterated and that when you click the iterated number is obtained and compared with the range of numbers of the orange stripe (I think that is the logic of the functionality of the plugin).

So my question is, how can I detect the /title text that appears on the screen of that progress bar, if I don't know the variable that causes a fish to be caught when I click, how can I "check" between each and each character if a character change color and right click automatically accordingly?

 

PS: I made an external program that does that recognition and it runs perfectly but if there is a way to generate a mod that would be great.

PS 2: This bar does not appear as Minecraft usually shows it, it appears exactly centered both vertically and horizontally, additionally it does not appear with a shadow, it is only those characters mentioned above.

Edited by RAdoNeron
miscopy of p tags
Posted

@diesieben07 I'm sorry you consider it cheating but I don't consider making it automatic to be totally cheating; I work creating automations and my job is to make people's lives easier with their manual processes, so I wanted to "facilitate" or "automate" that curious way of fishing on that server, it's as if a human were really "fishing" without being but if they don't help with this, that's fine, I'll find another way to do it, thanks.

  • Guest locked this topic
Guest
This topic is now closed to further replies.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Forge only supports Java Edition, you'll need to ask elsewhere for Pocket Edition support. Also, don't post in unrelated topics. I've split your post into its own topic.
    • How do I download mods for minecraft pe
    • I've tried multiple ways to get the chunk coordinates and none of them have worked, so I'm guessing it may be getChunk().  Is there another way to forcibly load a chunk on that same tick? If all else fails I guess I can just delay my action by a tick, but that's a pain in the butt and makes it more complex to provide appropriate feedback... Also welcome, Zander.  If you're searching for a similar solution, I hope this (eventually) helps you too 😅
    • My guess would be that you are not getting the chunk coordinates right, or getChunk dosnt work.
    • Hello, Recently I have been hosting an RLcraft server on Minecraft Forge Version 1.12.2 - 14.23.5.2860 I originally had lag issues and I chalked it up to playing on less than perfect hardware so I moved the server to better hardware(i9-9900k with 64GB of RAM for 1 player.) After lots of troubleshooting I discovered a couple of things. World saving was causing the MSPT to spike to over 2000Miliseconds and was happening every minute. This kind of makes sense as the world was pre-generated and is over 100GB. I learned that I could turn off world saving and just schedule that and that resolved that issue. After that issue was resolved I discovered another issue. It appears that when exploring chunks, any chunks explored stay loaded. They persist. I was originally thinking that this had to be a mod issue, but it didn't seem like anyone was talking about it. This isn't really a problem on packs with few worldgen mods or just few mods in general, but on beefier packs it becomes a problem. I went through forge changelogs and found this line. Build: 1.12.2-14.23.5.2841 - Thu Aug 29 01:58:50 GMT 2019 bs2609: Improve performance of persistent chunk checks (#5706) Is this a related item to what I am dealing with or just something else?   I went ahead and created a new dedicated server with Just Forge 14.23.5.2860, spark reforged, and it's core mods. I was able to replicate the issue and log it with spark. Hopefully you're able to see this spark profile. It basically shows that as I explored the chunk loading persisted(2000 chunks loaded over 10 minutes with one player)The view distance is set to 10 so that should be 200 chunks per player. If I don't move the loaded chunks are 200. I was however able to fix the persistent chunk issue if I save the world more frequently. My question is, is this intended function of the game or is this a bug? Everywhere I read seems to indicate Minecraft servers save every 5 minutes and not every minute. Can chunks not unload if the world does not autosave. Additionally. Autosave specifically appears to fix this issue. Manually running save-all does not resolve the issue.   I realize this is kind of a log one, sorry. Please let me know if you require further information. Thanks in advance for your time. https://spark.lucko.me/NvlMtC39Yt https://imgur.com/a/K0oyukx https://pastebin.com/z0qGu1Vh  
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.