1. 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!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Addon Skungee - The proxy addon for Skript 2.0.0-BETA-4

A Skript addon that allows for full control over your proxy.

  1. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    227
    Can't wait for Network Variables , will save a lot of evaluate.
     
    • Like Like x 1
  2. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    227
    LimeGlass updated SkellettProxy with a new update entry:

    NETWORK VARIABLES!

    Read the rest of this update entry...
     
    • Winner Winner x 1
  3. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    227
    @LimeGlass You're just a god.
    --- Double Post Merged, Mar 24, 2017, Original Post Date: Mar 20, 2017 ---
    @LimeGlass I have done many test with the new update of skellet to find any bug.
    Seems that timespan in global variables doesn't work , it return as "none".
    Code:
    Code (Skript):
    1. set global variable {skunity} to now
     
    • Like Like x 1
  4. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    227
    Set it as a text.

    Code (Skript):
    1. set network variable {skunity} to "%now%"
    2.  
    3. #Then when getting it.
    4.  
    5. set {_time} to network variable {skunity}
    6. set {_time} to "%{_time}%" parsed as timeperiod
    Implanting Skript types into the database are very complex. Also it uses Google's json to convert objects. Google has no clue what this Skript type is.
     
    • Friendly Friendly x 1
  5. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    227
    @LimeGlass i come across to another problem , when i edit a global script , it is updated but get overwriting & loading , so it's like if i have more files of the same script in the network.
     
  6. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    227
    LimeGlass updated SkellettProxy with a new update entry:

    Bug fixes and added feature to reconnect

    Read the rest of this update entry...
    --- Double Post Merged, Mar 25, 2017, Original Post Date: Mar 24, 2017 ---
    That's the goal. SkellettProxy will write those scripts to every other server. Make sure the names are different if you don't want them to override.
     
  7. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    227
    @LimeGlass It's not the overwriting the problem , it's that the console get errors like "the command hub already exist in core.sk" and i have just one file core.sk in the scripts folder of bungeecord.
     
  8. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    227
    You may have multiple scripts in the spigot servers that contain the command.
     
  9. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    227
    Im sure that i got only one into the scripts folder of bungeecord.
    I got this "overwriting" problem only when i edit a script here but if i restart the bungeecord , the overwriting skript errors all disappear.
     
  10. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    227
  11. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    227
    Hello, is SkellettProxy anyway protected? Or if someone knows the port can connect to my proxy?
     
  12. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    227
    The SkellettProxy socket only accepts Skellett packets anything else will get nulled.

    The sockets aren't protected but I might add a password system. Only people with another Skellett can get data.
     
  13. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    227
    Thank you for reply, by the way I use Skellett at my server (1.11.2 with Protocol Support & Citizens) and event "on npc click" isn't working. How can I fix it? When I reload the script, there isn't any error.
     
  14. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    227
    Try

    Code (Skript):
    1. on npc rightclick
    2. #or
    3. on npc leftclick
    This is a citizen issue. You can also use this which will work. Report this clicking error to the Citizens devs

    Code (Skript):
    1. on rightclick on entity:
    2.     if clicked entity is a citizen:
    3.         set {_citizen} to npc from entity clicked entity
     
  15. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    227
    Hello, this options still aren't working. And I have one more issue.
    Code (Skript):
    1. on join:
    2.         # Create record if not exist
    3.         mysql update "INSERT IGNORE INTO points (player) VALUES ('%player%');"
    4.         wait 1 tick
    5.         # Replace points amount
    6.         set {_points.%player%} to mysql result of query "SELECT * FROM `points` WHERE `player` LIKE '%player%';"
    7.         set {_points} to mysql integer "points" from {_points.%player%}
    8.         send "%{_points}%"
    After reloading this script I have that error:
    Code (Skript):
    1. [10:51:56 ERROR]: {_points} can only be set to one object, not more (version.sk, line 29: set {_points} to mysql integer "points" from {_points.%player%}')
    And when I want to display {_points.%player%} server returns:
    Code (Skript):
    1. [10:53:30 INFO]: com.mysql.jdbc.JDBC42ResultSet@37beaeae
    Can I anyway fix it?
     
  16. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    227
    It returns as a list, because it can contain multiple values.

    Use this
    Code (Skript):
    1. set {_points::*} to mysql integer "points" from {_points.%player%}
    Or
    Code (Skript):
    1. set {_points} to the first element out of mysql integer "points" from {_points.%player%}
    Or

    Code (Skript):
    1. set {_points::*} to mysql integer "points" from {_points.%player%}
    2. set {_points} to {_points::1}
     
  17. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    227
    Code (Text):
    1.  
    2. [13:20:19 WARN]: java.io.EOFException
    3.  
    4. [13:20:19 WARN]:        at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2626)
    5.  
    6. [13:20:19 WARN]:        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1321)
    7.  
    8. [13:20:19 WARN]:        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:373)
    9.  
    10. [13:20:19 WARN]:        at com.gmail.thelimeglass.Sockets.send(Sockets.java:92)
    11.  
    12. [13:20:19 WARN]:        at com.gmail.thelimeglass.Sockets$2.run(Sockets.java:113)
    13.  
    14. [13:20:19 WARN]:        at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftTask.run(CraftTask.java:71)
    15.  
    16. [13:20:19 WARN]:        at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52)
    17.  
    18. [13:20:19 WARN]:        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    19.  
    20. [13:20:19 WARN]:        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    21.  
    22. [13:20:19 WARN]:        at java.lang.Thread.run(Thread.java:745)
    23.  
    24. [13:20:19 WARN]: [Skellett] Plugin Skellett v1.8.8a generated an exception while executing task 44
    25.  
    26. java.lang.NullPointerException
    27.  
    28.         at com.gmail.thelimeglass.Sockets$2.run(Sockets.java:113) ~[?:?]
    29.  
    30.         at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftTask.run(CraftTask.java:71) ~[skywars-lobby-0.jar:git-Spigot-625bc00-41a7d14]
    31.  
    32.         at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52) [skywars-lobby-0.jar:git-Spigot-625bc00-41a7d14]
    33.  
    34.         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_111]
    35.  
    36.         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_111]
    37.  
    38.         at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111]
    39.  
     
    #37 ShaneBee, Apr 4, 2017
    Last edited by a moderator: Apr 4, 2017
  18. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    227
    Is there an estimation on how long Redis support will take? Only feature that is needed for me to make this work perfectly with my network. Other than that, the plugin is overall great and has been working fine for me.
     
  19. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    227
    Hey, I'm writing again :emoji_stuck_out_tongue:
    Will it be possible to add event "on bungeecord command:" to the Skellett or SkellettProxy?
     
  20. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    227
    Caused from a server not being found a player not being found or your sockets aren't correct. If it's a 1 time thing that's fine.
    Next SkellettProxy update
    It's in the to-do list :emoji_grinning:
     
    • Like Like x 1

Share This Page

Loading...