MundoSK Packets

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Thanks for the update. I think this broke some things... Here's a couple photos
gH6O9op.png

yA1ffXl.png

The last error also happens with this code:
code_language.skript:
on packet event play_server_spawn_entity_living:
  broadcast "%""uuid"" pinfo 1 of event-packet%"
Can you check using /ver MundoSK that your version is 1.7.5-BETA.7.154? All of that worked when I tested it and I've had similar issues with GitHub in the past, you can try this link instead if it turns out that was a different version: https://github.com/MundoSK/MundoSK/blob/temp/MundoSK.jar.
 
Can you check using /ver MundoSK that your version is 1.7.5-BETA.7.154? All of that worked when I tested it and I've had similar issues with GitHub in the past, you can try this link instead if it turns out that was a different version: https://github.com/MundoSK/MundoSK/blob/temp/MundoSK.jar.
Well, I was on the wrong version but the new one has issues too... Here's the errors:
https://gist.github.com/anonymous/d01b566d004b1b1f548dfe92730c3975
and the code:
code_language.skript:
on packet event play_server_spawn_entity_living:
  broadcast "%""uuid"" pinfo 1 of event-packet%"
 
Well, I was on the wrong version but the new one has issues too... Here's the errors:
https://gist.github.com/anonymous/d01b566d004b1b1f548dfe92730c3975
and the code:
code_language.skript:
on packet event play_server_spawn_entity_living:
  broadcast "%""uuid"" pinfo 1 of event-packet%"
It seems the cause is that there is no UUID pinfo 1 in the packet (maybe you meant pinfo 0?), so it throws an error when trying to get a string representation. I'll add a fix, but the error shouldn't occur normally.
 
It seems the cause is that there is no UUID pinfo 1 in the packet (maybe you meant pinfo 0?), so it throws an error when trying to get a string representation. I'll add a fix, but the error shouldn't occur normally.
Same error occurs with 0, even though there is one (at least, I think there is from the image before)
code_language.skript:
on packet event play_server_spawn_entity_living:
  broadcast "%""uuid"" pinfo 0 of event-packet%"
https://hastebin.com/ovumopevuz.vbs
http://wiki.vg/Protocol#Spawn_Mob
 
Same error occurs with 0, even though there is one (at least, I think there is from the image before)
code_language.skript:
on packet event play_server_spawn_entity_living:
  broadcast "%""uuid"" pinfo 0 of event-packet%"
https://hastebin.com/ovumopevuz.vbs
http://wiki.vg/Protocol#Spawn_Mob
Both versions BETA.7.154 and BETA.7.155 are broadcasting normal UUIDs on my test server. Which Bukkit/Spigot version are you running? Maybe you are running an older version that doesn't have the UUID.
 
Both versions BETA.7.154 and BETA.7.155 are broadcasting normal UUIDs on my test server. Which Bukkit/Spigot version are you running? Maybe you are running an older version that doesn't have the UUID.
Here you go:

code_language.skript:
[18:55:03] [Server thread/ERROR]: #!#! Version Information:
[18:55:03] [Server thread/ERROR]: #!#!   Skript: 2.2-dev25
[18:55:03] [Server thread/ERROR]: #!#!   Bukkit: 1.8.8-R0.1-SNAPSHOT
[18:55:03] [Server thread/ERROR]: #!#!   Minecraft: 1.8.8
[18:55:03] [Server thread/ERROR]: #!#!   Java: 1.8.0_111 (Java HotSpot(TM) 64-Bit Server VM 25.111-b14)
[18:55:03] [Server thread/ERROR]: #!#!   OS: Windows 10 amd64 10.0
 
Here you go:

code_language.skript:
[18:55:03] [Server thread/ERROR]: #!#! Version Information:
[18:55:03] [Server thread/ERROR]: #!#!   Skript: 2.2-dev25
[18:55:03] [Server thread/ERROR]: #!#!   Bukkit: 1.8.8-R0.1-SNAPSHOT
[18:55:03] [Server thread/ERROR]: #!#!   Minecraft: 1.8.8
[18:55:03] [Server thread/ERROR]: #!#!   Java: 1.8.0_111 (Java HotSpot(TM) 64-Bit Server VM 25.111-b14)
[18:55:03] [Server thread/ERROR]: #!#!   OS: Windows 10 amd64 10.0
Yeah, so I'm guessing 1.8 doesn't have the UUID in the packet.
 
Yeah, so I'm guessing 1.8 doesn't have the UUID in the packet.
I should've thought of that. Still, thanks for implementing it, I'm sure some other people will use it and its used in other packets.
[doublepost=1494711839,1494634436][/doublepost]
Yeah, so I'm guessing 1.8 doesn't have the UUID in the packet.
Cool! I've got it working... now I can have fleets of fake mobs!
g2Dtr1p.png
 
  • Like
Reactions: Tlatoani
@Tlatoani How do you use the event status_server_server_info packet?

I'm trying to make it so if I'm vanished in my server (Custom Script) it'll -1 the player from the Player Counter in the MOTD, so it will look like i actually left the server.
 
@Tlatoani How do you use the event status_server_server_info packet?

I'm trying to make it so if I'm vanished in my server (Custom Script) it'll -1 the player from the Player Counter in the MOTD, so it will look like i actually left the server.
I gave you some info for this in the other thread, if you need more about for example how the packet looks, you can use http://wiki.vg/Server_List_Ping
 
@Tlatoani How do you use the event status_server_server_info packet?

I'm trying to make it so if I'm vanished in my server (Custom Script) it'll -1 the player from the Player Counter in the MOTD, so it will look like i actually left the server.
First, make sure you have one of the MundoSK 1.7.5 beta versions. The way you can see and modify the info from this packet is using the "serverping" pjson, whose syntax is
code_language.skript:
"serverping" pjson %index% of %packet%
with index 0. This is a jsonobject value, so you can extract the information into a list variable using this effect (https://www.skunity.com/search?search=json+put) and get a new jsonobject from your list variable using this expression (https://www.skunity.com/search?search=json+of+listvar). So, example code:
code_language.skript:
on packet event status_server_server_info:
    set {_oldjson} to "serverping" pjson 0 of event-packet
    put json {_oldjson} in listvar {_server info::*}
    #modify {_server info::*}
    set {_newjson} to json of listvar {_server info::*}
    set "serverping" pjson 0 of event-packet to {_newjson}
 
@Tlatoani Thanks.
Modify {_server info::*} to what? Lol
Where do i get the MundoSK beta from
The MundoSK beta is available on the MundoSK overview page, there is a paragraph about downloading the beta version. As for what to set the server info to, I don't know much about the specifics of server ping information, so it would probably be a good idea to just broadcast {_oldjson} once to see what's inside and find what you need to change.