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 Vixio - The best Discord addon on the Market 2.0.3

Vixio, The Discord addon made for Skript to fit all of your Discord in Skript needs.

  1. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,049
    Likes Received:
    145
    @Blitz Rip Vixio 2017-2017

    Code (Skript):
    1. [19:42:01 ERROR]: #!#!
    2. [19:42:01 ERROR]: #!#! [Skript] Severe Error:
    3. [19:42:01 ERROR]: #!#!
    4. [19:42:01 ERROR]: #!#! If you're developing an add-on for Skript this likely means that you have done something wrong.
    5. [19:42:01 ERROR]: #!#! If you're a server admin however please go to https://github.com/bensku/Skript/issues/
    6. [19:42:01 ERROR]: #!#! and check whether this error has already been reported.
    7. [19:42:01 ERROR]: #!#! If not please create a new ticket with a meaningful title, copy & paste this whole error into it (or use paste service),
    8. [19:42:01 ERROR]: #!#! and describe what you did before it happened and/or what you think caused the error.
    9. [19:42:01 ERROR]: #!#! If you think that it's a trigger that's causing the error please post the trigger as well.
    10. [19:42:01 ERROR]: #!#! By following this guide fixing the error should be easy and done fast.
    11. [19:42:01 ERROR]: #!#!
    12. [19:42:01 ERROR]: #!#! Stack trace:
    13. [19:42:01 ERROR]: #!#! java.lang.NullPointerException
    14. [19:42:01 ERROR]: #!#!     at me.iblitzkriegi.vixio.effects.EffSendMessage.execute(EffSendMessage.java:32)
    15. [19:42:01 ERROR]: #!#!     at ch.njol.skript.lang.Effect.run(Effect.java:52)
    16. [19:42:01 ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:61)
    17. [19:42:01 ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:89)
    18. [19:42:01 ERROR]: #!#!     at ch.njol.skript.lang.Trigger.execute(Trigger.java:55)
    19. [19:42:01 ERROR]: #!#!     at ch.njol.skript.SkriptEventHandler.check(SkriptEventHandler.java:151)
    20. [19:42:01 ERROR]: #!#!     at ch.njol.skript.SkriptEventHandler$1.execute(SkriptEventHandler.java:109)
    21. [19:42:01 ERROR]: #!#!     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    22. [19:42:01 ERROR]: #!#!     at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502)
    23. [19:42:01 ERROR]: #!#!     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487)
    24. [19:42:01 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.DedicatedServer.aO(DedicatedServer.java:407)
    25. [19:42:01 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:375)
    26. [19:42:01 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654)
    27. [19:42:01 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557)
    28. [19:42:01 ERROR]: #!#!     at java.lang.Thread.run(Unknown Source)
    29. [19:42:01 ERROR]: #!#!
    30. [19:42:01 ERROR]: #!#! Version Information:
    31. [19:42:01 ERROR]: #!#!   Skript: 2.2-dev27
    32. [19:42:01 ERROR]: #!#!   Bukkit: 1.8.8-R0.1-SNAPSHOT
    33. [19:42:01 ERROR]: #!#!   Minecraft: 1.8.8
    34. [19:42:01 ERROR]: #!#!   Java: 1.8.0_131 (Java HotSpot(TM) 64-Bit Server VM 25.131-b11)
    35. [19:42:01 ERROR]: #!#!   OS: Windows 8.1 amd64 6.3
    36. [19:42:01 ERROR]: #!#!
    37. [19:42:01 ERROR]: #!#! Running CraftBukkit: false
    38. [19:42:01 ERROR]: #!#!
    39. [19:42:01 ERROR]: #!#! Current node: null
    40. [19:42:01 ERROR]: #!#! Current item: me.iblitzkriegi.vixio.effects.EffSendMessage
    41. [19:42:01 ERROR]: #!#!
    42. [19:42:01 ERROR]: #!#! Thread: Server thread
    43. [19:42:01 ERROR]: #!#!
    44. [19:42:01 ERROR]: #!#! End of Error.
    45. [19:42:01 ERROR]: #!#!
    46. >
    47.  
    48.  
     
  2. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,049
    Likes Received:
    145
    Well i stated multiple times I changed the audio player stuff so check the docs for the new syntaxes...
     
  3. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,049
    Likes Received:
    145
    @Blitz What about my error?
     
  4. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,049
    Likes Received:
    145
    Well, as said in the Changelog..... Name of is a Skript syntax, skript has a name of %itemstack% expression so now you have to use "discord name of" for Vixio...
     
  5. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,049
    Likes Received:
    145
    i fixed the 2nd error @Blitz

    update: oh ok... thanks
     
  6. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,049
    Likes Received:
    145
    Well I can't guess what code you used so I can help you! Show me the codeeeeee. Somethings null.
     
  7. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,049
    Likes Received:
    145
    @Blitz I like your profile pic! xD
     
  8. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,049
    Likes Received:
    145
    The syntax is
    Code (Text):
    1. discord ]send message %string% to channel [with id] %string% as [bot] %string%
    so either the message is null, the channel is null, or the bot is null. And thanks, I like cats :emoji_grinning:
     
  9. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,049
    Likes Received:
    145
    @Blitz

    Code (Skript):
    1.     discord name of "test":
    not working . Can you give me example?
     
  10. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,049
    Likes Received:
    145
    Say you wanted the name of the event-channel in a GuildMessageReceived event, you'd do:
    Code (Text):
    1. discord name of event-channel
    or, say you wanted the name of a user, you could use
    Code (Text):
    1. discord name of event-user
    or
    Code (Text):
    1. discord name of "ID"
    and this "id" could be that of a specific user/role/guild/textchannel/voicechannel you name it I'll get its name for you!
     
    • Like Like x 1
  11. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,049
    Likes Received:
    145
    Audio player finally works :O
    However, I've found a little error. I would say around 70% of the time, when you insert a youtube link so the bot can play audio, it returns an error in console.
    I mainly use SoundCloud, and that works fine. But the YouTube link error could be an issue for some users.

    Console error:
    Code (Skript):
    1. 30.05 15:47:31 [Server] WARN Exception in thread "lava-daemon-pool-playback-1-thread-1"
    2. 30.05 15:47:31 [Server] WARN java.lang.NoSuchMethodError: org.apache.commons.io.IOUtils.readFully(Ljava/nio/channels/ReadableByteChannel;Ljava/nio/ByteBuffer;)V
    3. 30.05 15:47:31 [Server] WARN at com.sedmelluq.discord.lavaplayer.container.mpeg.MpegAacTrackConsumer.consume(MpegAacTrackConsumer.java:84)
    4. 30.05 15:47:31 [Server] WARN at com.sedmelluq.discord.lavaplayer.container.mpeg.reader.fragmented.MpegFragmentedFileTrackProvider.provideFrames(MpegFragmentedFileTrackProvider.java:68)
    5. 30.05 15:47:31 [Server] WARN at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.executeProcessingLoop(LocalAudioTrackExecutor.java:248)
    6. 30.05 15:47:31 [Server] WARN at com.sedmelluq.discord.lavaplayer.container.mpeg.MpegAudioTrack.process(MpegAudioTrack.java:52)
    7. 30.05 15:47:31 [Server] WARN at com.sedmelluq.discord.lavaplayer.track.DelegatedAudioTrack.processDelegate(DelegatedAudioTrack.java:27)
    8. 30.05 15:47:31 [Server] WARN at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioTrack.processStatic(YoutubeAudioTrack.java:77)
    9. 30.05 15:47:31 [Server] WARN at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioTrack.process(YoutubeAudioTrack.java:67)
    10. 30.05 15:47:31 [Server] WARN at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:90)
    11. 30.05 15:47:31 [Server] WARN at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$executeTrack$1(DefaultAudioPlayerManager.java:348)
    12. 30.05 15:47:31 [Server] WARN at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    13. 30.05 15:47:31 [Server] WARN at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    14. 30.05 15:47:31 [Server] WARN at java.lang.Thread.run(Thread.java:745)
    If that error does not show, it's this:
    Code (Skript):
    1. 30.05 15:49:49 [Server] WARN [Skript] Noting found by that Audio link.

    The code I used:
    Code (Skript):
    1. on guild message receive seen by "Famalam":
    2.     set {_args::*} to event-string split at " "
    3.     set {_command} to {_args::1}
    4.     remove {_args::1} from {_args::*}
    5.     if {_command} starts with ".play":
    6.         if {_args::2} is set:
    7.             set {_Famalam} to event-string
    8.             set {playing} to {_args::2}
    9.             replace all ".play " with "" in {_Famalam}
    10.             play audio {_Famalam} with player "Famalam" in guild "ID"
    11.  
     
  12. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,049
    Likes Received:
    145
    @Blitz The error message (https://pastebin.com/raw/Ky9eLRhL) only Appears when I start the server, and after the scripts have been started. So I don't know which Script is causing it. If I reload all of the scripts, it won't show the error anymore.


    update: fixed it
     
    #32 ShaneBee, May 30, 2017
    Last edited by a moderator: May 30, 2017
  13. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,049
    Likes Received:
    145
    Hello,
    There is a problem if you disconnect the bot and reconnect it, the token is no longer valid :/
    There is also a problem with the logout the name of the bot remains in memory
     
  14. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,049
    Likes Received:
    145
    Hey, I have a bit of a problem... Certain expressions break if you have more than one bot on more than one different server.
    It's taken forever for me to figure out what the problem was, but it works like this:
    server A has bot X in it. This bot is loaded before bot Y, and is largely more important than bot Y (which is why I didn't bother looking too deep into this before).
    server B has bot Y in it. Neither bot is in the same server as one another.

    Presumably because bot X loads & is parsed before bot Y, bot X takes priority in many expressions- even if you specify which guild to check data from, (i.e. nickname of event-user in event-guild), the expression still checks that using the permissions of bot X, even if the event it's called from is explicitly from bot Y (on guild message received by "bot Y").

    I haven't looked into every expression that is affected by this issue, but event-user seems to be a really crucial one that's affected. Stuff like event-guild and event-channel are fine, though.

    tl;dr, people that aren't also in server A where bot X resides return null (<none>) when bot Y in server B tries to set a variable to event-user or something.
    --- Double Post Merged, Sep 23, 2017, Original Post Date: Aug 16, 2017 ---
    Latest discord update totally broke this addon as far as I can tell. (also broke discordSRV but that plugin updated quickly.)

    uuhhhhh..... anyone there? :emoji_thinking:
     
  15. Blitz

    Moderator Supporter Addon Developer

    Joined:
    Jan 7, 2017
    Messages:
    29
    Likes Received:
    20
    https://github.com/iBlitzkriegi/Vixio/releases/tag/v1.1.5 I released a fixed version the day after the discord breaking change update.
    --- Double Post Merged, Sep 23, 2017 ---
    Also I am aware of the issue you reported and it will be fixed in the rewrite that is happening for Vixio currently
     
  16. ceruleanReverie

    ceruleanReverie Active Member

    Joined:
    Jan 31, 2017
    Messages:
    25
    Likes Received:
    0
    Oh, okay, thanks! That is some good news. Will try this in a little bit :emoji_smile:
     
  17. DJMax

    DJMax Member

    Joined:
    Feb 15, 2017
    Messages:
    1
    Likes Received:
    0
    Hello @Blitz !

    I have a problem with the audio player, when I try to play a youtube video with the audio player, it don't work.
    And I don't need to put a link in the command because that's an unique link already point out in the code.

    I get this console error each time: [Skript] Could not find anything with that ID.

    Code:

    Code (Skript):
    1. on guild message receive seen by "AdminBot":
    2.     set {_msg} to event-string
    3.     set {_channel} to event-channel
    4.     set {_voice} to voice channel of event-user
    5.     set {_tag} to discord mention tag of event-user
    6.     if {_msg} is "!testputain":
    7.         join voice channel {_voice} with "AdminBot"
    8.         play audio "ID" with audio player "AdminBot" in guild "341698408504885258"
    I also tried to do:

    Code (Skript):
    1. on guild message receive seen by "AdminBot":
    2.     set {_msg} to event-string
    3.     set {_channel} to event-channel
    4.     set {_voice} to voice channel of event-user
    5.     set {_tag} to discord mention tag of event-user
    6.     if {_msg} is "!testputain":
    7.         join voice channel {_voice} with "AdminBot"
    8.         play audio "https://www.youtube.com/watch?v=ID" with audio player "AdminBot" in guild "341698408504885258"
    But nothing is working... :x
     
    #37 DJMax, Oct 28, 2017
    Last edited: Oct 28, 2017
Loading...