Don't send me a link just a code that shows on packet event and packet receiving and sending
[doublepost=1570947831,1570909648][/doublepost]Bump!
[doublepost=1570947831,1570909648][/doublepost]Bump!
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!
You can always check out skUnity Downloads for downloads and any other information about Skript!
Take a look hereHmm how can i get an event for this packet
[doublepost=1570967179,1570965708][/doublepost]how to use packet fileds
I tried using this expression: string [packet] field [%number%] [of %packet%] but it returns an error when i reloadTake a look here
Send the errorI tried using this expression: string [packet] field [%number%] [of %packet%] but it returns an error when i reload
Does the plugin load correctly. Also, send a screenshot of the error pleaseIt said that his can't understand the expression
Take a look at the syntax, and contruct the expression from that.Hmm, Skellet does an error as (DEV_BUILD) i think an update will fix it,
[doublepost=1570984159,1570984123][/doublepost]And MundoSK also i don't think after i installed the addon, but it still running normally
[doublepost=1570985028][/doublepost]Bump
Send your new code + errorCould you make it for me please?
on packet event play_client_update_sign:
set {_a} to string packet 1 field
send "%{_a}%" to event-player
[doublepost=1570986038,1570985799][/doublepost]I fixed it, i think
[doublepost=1570986100][/doublepost]Nah i didn't
Try 0 instead of 1command /yo:
trigger:
set {_lol} to new play_server_open_sign_editor packet
send player packet {_lol}
on packet event play_client_update_sign:
set {_a} to string field 1
send "%{_a}%" to event-player
Returns <none> (No error)
Also try 2.I tried using 0 before, xD
Okay goodThanks, I fixed it my self, After reading The packet class it was an arraylist
[doublepost=1570986680,1570986638][/doublepost]https://github.com/dmulloy2/PacketW...twrapper/WrapperPlayClientUpdateSign.java#L66 For more info
Also, Thanks for trying to help me, I really appreciate itOkay good
Yo, I got an other problem, replace all method doesn't workOkay good
Where exactly is there error?Also, Thanks for trying to help me, I really appreciate it
[doublepost=1570987937,1570986848][/doublepost]
Yo, I got an other problem, replace all method doesn't work
on packet event play_client_update_sign:
set {_a::*} to string array field 0
replace all "," in {_a::*} with ""
replace all "and" in {_a::*} with ""
replace all " " in {_a::*} with ""
replace all "0" in {_a::*} with ""
send "%length of {_a::*}%"
if length of {_a::*} is bigger than or equal to 7, 0, 0 and 0:
send "&cYour nickname is bigger than 7 letters!" to event-player