#Please Help! Fixer Upper

1 messages · Page 1 of 1 (latest)

burnt peak
#

Disclaimer

What you are about to see is more than likely going to be the worst skript you have ever laid your eyes on.
If you know me by now, then you would know
Yes I know I'm ass at skripting
But before I send the monster, lets get down to the nitty gritty.

Intention
To control the messages sent by WorldGuard
Why?
I prefer having plenty of user customization if I am able to do it, or sometimes I get stubborn and come up with the most vile way imaginable to obtain my goal

What is it?
A on packet event that checks field 0 to do an initial check to see if it matches the beginning of a sample from a field sent by WorldGuard, then loops the list to determine which one it is exactly
Then it redirects to my notification setup.

#

On Packet Event

  • This is the monster,
  • I will also be cutting out some of the variables to keep the readbility to a standardish
    I know what I was getting myself into, it was my drive that made me keep going regardless of the downsides
    I know doing this is the most horrible way to do something like this
#

Downsides Found

  • When mass amount of "messages" is sent to player, such as if I were to reload all skripts, combined with the warn messages saying "Hey this is already a string, do this instead" and others, it ends up not sending all messages, the reload will be finished but it doesnt continue the logging to player/executor.
    The only way to "push" the messages is to do something else that would cause a message to be sent to the player, until it catches up with current time
burnt peak
#

Please Help! Fixer Upper

burnt peak
#

Ping me, if anyone is willing to help, im getting off my pc

burnt peak
#

@placid citrus So, I'm assuming no one wants to touch this mess, figured I'd ask you before I scrap the whole thing
If you would also not rather mess with this, its understandable, I do create horrible skripts

placid citrus
#

you're trying to do something with skript that would already be hard in java

#

not worth it at all

burnt peak
#

Yea, I assumed it would be like that.
I dont know why class police recommended doing this, if it was going to turn out to be this catastrophic.
Time to scrap it then

placid citrus
#

well the packet version is the easiest route

#

but there are no easy routes for this

burnt peak
#

I mean it wouldn't be too bad if there was a way to detect where the packet was coming from
The only problem I really have with it, is that any messages (not chat) likw reloading skripts or anything that could pertain multiple long text, gets delayed, and by delayed I mean it wont get sent to me unless I do something, like reloading skripts again to push out the old one but still delay the new one from when i reload the second one