Thread: Discord Bot help server sided

Results 1 to 5 of 5
  1. #1 Discord Bot help server sided 
    Registered Member
    Join Date
    Oct 2016
    Posts
    87
    Thanks given
    51
    Thanks received
    34
    Rep Power
    45
    I added my discord bot, but I get these types of areas everywhere on my vps running the source. any help?


    Spoiler for errors sorta big:
    Code:
    Jul 09, 2019 10:56:13 PM com.ruse.GameServer main
    INFO: Initiating Discord Bot...
    Jul 09, 2019 10:56:15 PM de.btobastian.javacord.utils.JavacordLogger info
    INFO: No SLF4J compatible logger was found. Using default javacord implementation!
    Jul 09, 2019 10:56:16 PM com.ruse.GameServer main
    INFO: Initializing the loader...
    Jul 09, 2019 10:56:16 PM de.btobastian.javacord.utils.JavacordLogger warn
    WARNING: Couldn't handle packet of type READY. Please contact the developer! (packet: {"user_settings":{},"relationships":[],"_trace":["[\"gateway-prd-main-006d\",{\"micros\":45976,\"calls\":[\"discord-sessions-prd-1-19\",{\"micros\":42027,\"calls\":[\"start_session\",{\"micros\":40732,\"calls\":[\"api-prd-main-qqbb\",{\"micros\":33567,\"calls\":[\"get_user\",{\"micros\":2192},\"add_authorized_ip\",{\"micros\":6},\"get_guilds\",{\"micros\":2197},\"coros_wait\",{\"micros\":1}]}]},\"guilds_connect\",{\"micros\":2,\"calls\":[]},\"presence_connect\",{\"micros\":1,\"calls\":[]}]}]}]"],"presences":[],"guilds":[{"unavailable":true,"id":"594774714807877643"}],"v":6,"session_id":"12e386197e68fb989e7cacc35a70d7e8","private_channels":[],"user":{"bot":true,"verified":true,"mfa_enabled":false,"id":"598082205331226664","avatar":null,"email":null,"username":"Saevio Bot","discriminator":"6079"}})
    org.json.JSONException: JSONObject["heartbeat_interval"] not found.
    	at org.json.JSONObject.get(JSONObject.java:473)
    	at org.json.JSONObject.getLong(JSONObject.java:592)
    	at de.btobastian.javacord.utils.handler.ReadyHandler.handle(ReadyHandler.java:45)
    	at de.btobastian.javacord.utils.PacketHandler.handlePacket(PacketHandler.java:80)
    	at de.btobastian.javacord.utils.DiscordWebsocketAdapter.onTextMessage(DiscordWebsocketAdapter.java:233)
    	at de.btobastian.javacord.utils.DiscordWebsocketAdapter.onBinaryMessage(DiscordWebsocketAdapter.java:285)
    	at com.neovisionaries.ws.client.ListenerManager.callOnBinaryMessage(ListenerManager.java:368)
    	at com.neovisionaries.ws.client.ReadingThread.callOnBinaryMessage(ReadingThread.java:243)
    	at com.neovisionaries.ws.client.ReadingThread.handleBinaryFrame(ReadingThread.java:937)
    	at com.neovisionaries.ws.client.ReadingThread.handleFrame(ReadingThread.java:696)
    	at com.neovisionaries.ws.client.ReadingThread.main(ReadingThread.java:102)
    	at com.neovisionaries.ws.client.ReadingThread.run(ReadingThread.java:61)
    
    Jul 09, 2019 10:56:17 PM de.btobastian.javacord.utils.JavacordLogger warn
    WARNING: Couldn't handle packet of type GUILD_CREATE. Please contact the developer! (packet: {"preferred_locale":"en-US","default_message_notifications":0,"unavailable":false,"lazy":true,"owner_id":"258333037018873856","roles":[{"color":0,"permissions":104324673,"managed":false,"name":"@everyone","mentionable":false,"position":0,"id":"594774714807877643","hoist":false},{"color":15844367,"permissions":1610088415,"managed":false,"name":"Moderator","mentionable":true,"position":1,"id":"596071749922062367","hoist":true},{"color":0,"permissions":8,"managed":true,"name":"Saevio","mentionable":false,"position":1,"id":"598089108442578944","hoist":false}],"icon":"01ea804d1260ff4f87addbba0439b1d6","description":null,"system_channel_id":"596061318910443531","afk_timeout":300,"features":[],"presences":[{"game":null,"client_status":{"web":"online"},"activities":[],"user":{"id":"598082205331226664"},"status":"online"}],"afk_channel_id":null,"members":[{"joined_at":"2019-07-03T19:31:53.030000+00:00","roles":[],"deaf":false,"mute":false,"user":{"id":"228578608631775233","avatar":"d0c0cba28e21a457a1ef68f98441ed0a","username":"nick","discriminator":"6645"}},{"joined_at":"2019-06-30T06:22:22.393000+00:00","roles":["596071749922062367"],"deaf":false,"mute":false,"user":{"id":"258333037018873856","avatar":null,"username":"jikkirsrage","discriminator":"2211"}},{"nick":"Dimkiler45","joined_at":"2019-07-04T14:34:19.917000+00:00","roles":["596071749922062367"],"deaf":false,"mute":false,"user":{"id":"292926509285638144","avatar":"7f78268fd34139b68ad0b6c2cea67888","username":"Lucivar Yaslana","discriminator":"5584"}},{"joined_at":"2019-07-03T20:14:18.348000+00:00","roles":[],"deaf":false,"mute":false,"user":{"id":"587713902779957261","avatar":null,"username":"Rage","discriminator":"6864"}},{"joined_at":"2019-07-09T09:48:48.896000+00:00","roles":["598089108442578944"],"deaf":false,"mute":false,"user":{"bot":true,"id":"598082205331226664","avatar":null,"username":"Saevio Bot","discriminator":"6079"}}],"voice_states":[],"id":"594774714807877643","member_count":5,"emojis":[],"large":false,"vanity_url_code":null,"system_channel_flags":0,"banner":null,"premium_subscription_count":0,"application_id":null,"joined_at":"2019-07-09T09:48:48.896000+00:00","verification_level":0,"channels":[{"permission_overwrites":[],"name":"Text Channels","bitrate":64000,"position":0,"id":"594774714807877645","user_limit":0,"type":4},{"permission_overwrites":[],"last_message_id":"597053250893774848","rate_limit_per_user":0,"parent_id":"594774714807877645","name":"general","topic":null,"position":1,"id":"594774714807877647","type":0},{"permission_overwrites":[],"name":"Voice Channels","bitrate":64000,"position":0,"id":"594774714807877649","user_limit":0,"type":4},{"permission_overwrites":[],"parent_id":"594774714807877649","name":"General","bitrate":64000,"position":0,"id":"594774714807877651","user_limit":0,"type":2},{"permission_overwrites":[{"allow":1024,"deny":6144,"id":"594774714807877643","type":"role"},{"allow":268958801,"deny":536870912,"id":"596071749922062367","type":"role"}],"last_message_id":"598385801881190467","rate_limit_per_user":0,"parent_id":"594774714807877645","name":"announcements","topic":null,"position":2,"id":"596061318910443531","type":0},{"permission_overwrites":[{"allow":0,"deny":805829713,"id":"594774714807877643","type":"role"},{"allow":523328,"deny":0,"id":"596071749922062367","type":"role"}],"last_message_id":"598305194282844160","rate_limit_per_user":0,"parent_id":"596352180672397328","name":"staff","topic":null,"position":7,"id":"596061376926187530","type":0},{"permission_overwrites":[],"last_message_id":null,"rate_limit_per_user":0,"parent_id":"594774714807877645","name":"ingame","topic":null,"position":3,"id":"596061432794054667","type":0},{"permission_overwrites":[],"last_message_id":null,"rate_limit_per_user":0,"parent_id":"594774714807877645","name":"trade-comm","topic":null,"position":4,"id":"596073606404898817","type":0},{"permission_overwrites":[],"parent_id":"594774714807877649","name":"Trade Comm Voice","bitrate":64000,"position":1,"id":"596073831714652161","user_limit":0,"type":2},{"permission_overwrites":[],"last_message_id":"596667829491597312","rate_limit_per_user":0,"parent_id":"594774714807877645","name":"saevio-suggestions","topic":"Client side changes you'd like to see.","position":5,"id":"596350963368067072","type":0},{"permission_overwrites":[{"allow":0,"deny":1049600,"id":"594774714807877643","type":"role"},{"allow":1049600,"deny":0,"id":"596071749922062367","type":"role"}],"name":"Staff","bitrate":64000,"position":1,"id":"596352180672397328","user_limit":0,"type":4},{"permission_overwrites":[{"allow":0,"deny":1049600,"id":"594774714807877643","type":"role"},{"allow":1049600,"deny":0,"id":"596071749922062367","type":"role"}],"parent_id":"596352180672397328","name":"Staff Voice","bitrate":64000,"position":2,"id":"596352248221532161","user_limit":0,"type":2},{"permission_overwrites":[],"last_message_id":null,"rate_limit_per_user":0,"parent_id":"594774714807877645","name":"clan-recruitment","topic":"Recruiting to your own personal Clan!","position":6,"id":"596352520402632734","type":0},{"permission_overwrites":[{"allow":66560,"deny":805763153,"id":"594774714807877643","type":"role"},{"allow":0,"deny":0,"id":"596071749922062367","type":"role"}],"last_message_id":null,"rate_limit_per_user":0,"parent_id":"594774714807877645","name":"rules","topic":null,"position":0,"id":"596353861606703135","type":0},{"permission_overwrites":[],"last_message_id":"596569621554003978","rate_limit_per_user":0,"parent_id":"594774714807877645","name":"errors","topic":null,"position":8,"id":"596529124898766858","type":0},{"permission_overwrites":[],"last_message_id":null,"nsfw":false,"rate_limit_per_user":0,"parent_id":"594774714807877645","name":"yell","topic":null,"position":9,"id":"598364004657659946","type":0}],"explicit_content_filter":0,"name":"Saevio","premium_tier":0,"mfa_level":0,"region":"us-west","splash":null})
    org.json.JSONException: JSONObject["type"] not a string.
    	at org.json.JSONObject.getString(JSONObject.java:658)
    	at de.btobastian.javacord.entities.impl.ImplServer.<init>(ImplServer.java:101)
    	at de.btobastian.javacord.utils.handler.server.GuildCreateHandler.handle(GuildCreateHandler.java:66)
    	at de.btobastian.javacord.utils.PacketHandler$1.run(PacketHandler.java:71)
    	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    	at java.util.concurrent.FutureTask.run(Unknown Source)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    	at java.lang.Thread.run(Unknown Source)
    
    Jul 09, 2019 10:56:17 PM de.btobastian.javacord.utils.JavacordLogger info
    INFO: Websocket closed with reason Unknown opcode. and code 4001 by server
    Jul 09, 2019 10:56:17 PM de.btobastian.javacord.utils.JavacordLogger info
    INFO: Trying to auto-reconnect...
    Set "Necrotic.json" to Read Only. (Anti-corruption)
    Jul 09, 2019 10:56:26 PM com.ruse.GameServer main
    INFO: The loader has finished loading utility tasks.
    Jul 09, 2019 10:56:26 PM com.ruse.GameServer main
    INFO: Saevio is now online on port 43594!
    java.lang.NullPointerException
    	at com.ruse.world.World.sendMessage(World.java:97)
    	at com.ruse.world.content.randomevents.ShootingStar.sequence(ShootingStar.java:90)
    	at com.ruse.world.World.sequence(World.java:188)
    	at com.ruse.engine.GameEngine.run(GameEngine.java:48)
    	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    	at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
    	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
    	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    	at java.lang.Thread.run(Unknown Source)
    java.io.FileNotFoundException: .\data\saves\clans\Necrotic.json (Access is denied)
    java.lang.NullPointerException
    	at com.ruse.world.World.sendMessage(World.java:97)
    	at com.ruse.world.content.randomevents.EvilTree.sequence(EvilTree.java:275)
    	at com.ruse.world.World.sequence(World.java:189)
    	at com.ruse.engine.GameEngine.run(GameEngine.java:48)
    	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    	at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
    	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
    	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    	at java.lang.Thread.run(Unknown Source)
    java.io.FileNotFoundException: .\data\saves\clans\Necrotic.json (Access is denied)
    java.lang.NullPointerException
    	at com.ruse.world.World.sendMessage(World.java:97)
    	at com.ruse.world.content.Wildywyrm.spawn(Wildywyrm.java:114)
    	at com.ruse.world.content.Wildywyrm.initialize(Wildywyrm.java:76)
    	at com.ruse.world.World.sequence(World.java:190)
    	at com.ruse.engine.GameEngine.run(GameEngine.java:48)
    	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    	at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
    	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
    	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    	at java.lang.Thread.run(Unknown Source)
    java.io.FileNotFoundException: .\data\saves\clans\Necrotic.json (Access is denied)
    Error loading regionId: 6980
    Error loading regionId: 14389
    Error loading regionId: 14644
    Jul 09, 2019 10:57:13 PM de.btobastian.javacord.utils.JavacordLogger info
    INFO: Websocket closed with reason null and code 1000 by server
    Jul 09, 2019 10:57:13 PM de.btobastian.javacord.utils.JavacordLogger info
    INFO: Trying to auto-reconnect...
    Jul 09, 2019 10:57:14 PM de.btobastian.javacord.utils.JavacordLogger warn
    WARNING: Couldn't handle packet of type READY_RECONNECT. Please contact the developer! (packet: {"user_settings":{},"relationships":[],"_trace":["[\"gateway-prd-main-1blv\",{\"micros\":616688,\"calls\":[\"discord-sessions-prd-1-6\",{\"micros\":610352,\"calls\":[\"start_session\",{\"micros\":17990,\"calls\":[\"api-prd-main-rg79\",{\"micros\":14919,\"calls\":[\"get_user\",{\"micros\":1827},\"add_authorized_ip\",{\"micros\":7},\"get_guilds\",{\"micros\":1767},\"coros_wait\",{\"micros\":0}]}]},\"guilds_connect\",{\"micros\":2,\"calls\":[]},\"presence_connect\",{\"micros\":218553,\"calls\":[]}]}]}]"],"presences":[],"guilds":[{"unavailable":true,"id":"594774714807877643"}],"v":6,"session_id":"3d78687bae5acc074c58074ad27e47ef","private_channels":[],"user":{"bot":true,"verified":true,"mfa_enabled":false,"id":"598082205331226664","avatar":null,"email":null,"username":"Saevio Bot","discriminator":"6079"}})
    org.json.JSONException: JSONObject["heartbeat_interval"] not found.
    	at org.json.JSONObject.get(JSONObject.java:473)
    	at org.json.JSONObject.getLong(JSONObject.java:592)
    	at de.btobastian.javacord.utils.handler.ReadyReconnectHandler.handle(ReadyReconnectHandler.java:53)
    	at de.btobastian.javacord.utils.PacketHandler.handlePacket(PacketHandler.java:80)
    	at de.btobastian.javacord.utils.DiscordWebsocketAdapter.onTextMessage(DiscordWebsocketAdapter.java:218)
    	at de.btobastian.javacord.utils.DiscordWebsocketAdapter.onBinaryMessage(DiscordWebsocketAdapter.java:285)
    	at com.neovisionaries.ws.client.ListenerManager.callOnBinaryMessage(ListenerManager.java:368)
    	at com.neovisionaries.ws.client.ReadingThread.callOnBinaryMessage(ReadingThread.java:243)
    	at com.neovisionaries.ws.client.ReadingThread.handleBinaryFrame(ReadingThread.java:937)
    	at com.neovisionaries.ws.client.ReadingThread.handleFrame(ReadingThread.java:696)
    	at com.neovisionaries.ws.client.ReadingThread.main(ReadingThread.java:102)
    	at com.neovisionaries.ws.client.ReadingThread.run(ReadingThread.java:61)
    
    Jul 09, 2019 10:57:14 PM de.btobastian.javacord.utils.JavacordLogger info
    INFO: Reconnected!
    Jul 09, 2019 10:57:14 PM de.btobastian.javacord.utils.JavacordLogger warn
    WARNING: Couldn't handle packet of type GUILD_CREATE. Please contact the developer! (packet: {"preferred_locale":"en-US","default_message_notifications":0,"unavailable":false,"lazy":true,"owner_id":"258333037018873856","roles":[{"color":0,"permissions":104324673,"managed":false,"name":"@everyone","mentionable":false,"position":0,"id":"594774714807877643","hoist":false},{"color":15844367,"permissions":1610088415,"managed":false,"name":"Moderator","mentionable":true,"position":1,"id":"596071749922062367","hoist":true},{"color":0,"permissions":8,"managed":true,"name":"Saevio","mentionable":false,"position":1,"id":"598089108442578944","hoist":false}],"icon":"01ea804d1260ff4f87addbba0439b1d6","description":null,"system_channel_id":"596061318910443531","afk_timeout":300,"features":[],"presences":[{"game":null,"client_status":{"web":"online"},"activities":[],"user":{"id":"598082205331226664"},"status":"online"}],"afk_channel_id":null,"members":[{"joined_at":"2019-07-03T19:31:53.030000+00:00","roles":[],"deaf":false,"mute":false,"user":{"id":"228578608631775233","avatar":"d0c0cba28e21a457a1ef68f98441ed0a","username":"nick","discriminator":"6645"}},{"joined_at":"2019-06-30T06:22:22.393000+00:00","roles":["596071749922062367"],"deaf":false,"mute":false,"user":{"id":"258333037018873856","avatar":null,"username":"jikkirsrage","discriminator":"2211"}},{"nick":"Dimkiler45","joined_at":"2019-07-04T14:34:19.917000+00:00","roles":["596071749922062367"],"deaf":false,"mute":false,"user":{"id":"292926509285638144","avatar":"7f78268fd34139b68ad0b6c2cea67888","username":"Lucivar Yaslana","discriminator":"5584"}},{"joined_at":"2019-07-03T20:14:18.348000+00:00","roles":[],"deaf":false,"mute":false,"user":{"id":"587713902779957261","avatar":null,"username":"Rage","discriminator":"6864"}},{"joined_at":"2019-07-09T09:48:48.896000+00:00","roles":["598089108442578944"],"deaf":false,"mute":false,"user":{"bot":true,"id":"598082205331226664","avatar":null,"username":"Saevio Bot","discriminator":"6079"}}],"voice_states":[],"id":"594774714807877643","member_count":5,"emojis":[],"large":false,"vanity_url_code":null,"system_channel_flags":0,"banner":null,"premium_subscription_count":0,"application_id":null,"joined_at":"2019-07-09T09:48:48.896000+00:00","verification_level":0,"explicit_content_filter":0,"channels":[{"permission_overwrites":[],"name":"Text Channels","bitrate":64000,"position":0,"id":"594774714807877645","user_limit":0,"type":4},{"permission_overwrites":[],"last_message_id":"597053250893774848","rate_limit_per_user":0,"parent_id":"594774714807877645","name":"general","topic":null,"position":1,"id":"594774714807877647","type":0},{"permission_overwrites":[],"name":"Voice Channels","bitrate":64000,"position":0,"id":"594774714807877649","user_limit":0,"type":4},{"permission_overwrites":[],"parent_id":"594774714807877649","name":"General","bitrate":64000,"position":0,"id":"594774714807877651","user_limit":0,"type":2},{"permission_overwrites":[{"allow":1024,"deny":6144,"id":"594774714807877643","type":"role"},{"allow":268958801,"deny":536870912,"id":"596071749922062367","type":"role"}],"last_message_id":"598385801881190467","rate_limit_per_user":0,"parent_id":"594774714807877645","name":"announcements","topic":null,"position":2,"id":"596061318910443531","type":0},{"permission_overwrites":[{"allow":0,"deny":805829713,"id":"594774714807877643","type":"role"},{"allow":523328,"deny":0,"id":"596071749922062367","type":"role"}],"last_message_id":"598305194282844160","rate_limit_per_user":0,"parent_id":"596352180672397328","name":"staff","topic":null,"position":7,"id":"596061376926187530","type":0},{"permission_overwrites":[],"last_message_id":null,"rate_limit_per_user":0,"parent_id":"594774714807877645","name":"ingame","topic":null,"position":3,"id":"596061432794054667","type":0},{"permission_overwrites":[],"last_message_id":null,"rate_limit_per_user":0,"parent_id":"594774714807877645","name":"trade-comm","topic":null,"position":4,"id":"596073606404898817","type":0},{"permission_overwrites":[],"parent_id":"594774714807877649","name":"Trade Comm Voice","bitrate":64000,"position":1,"id":"596073831714652161","user_limit":0,"type":2},{"permission_overwrites":[],"last_message_id":"596667829491597312","rate_limit_per_user":0,"parent_id":"594774714807877645","name":"saevio-suggestions","topic":"Client side changes you'd like to see.","position":5,"id":"596350963368067072","type":0},{"permission_overwrites":[{"allow":0,"deny":1049600,"id":"594774714807877643","type":"role"},{"allow":1049600,"deny":0,"id":"596071749922062367","type":"role"}],"name":"Staff","bitrate":64000,"position":1,"id":"596352180672397328","user_limit":0,"type":4},{"permission_overwrites":[{"allow":0,"deny":1049600,"id":"594774714807877643","type":"role"},{"allow":1049600,"deny":0,"id":"596071749922062367","type":"role"}],"parent_id":"596352180672397328","name":"Staff Voice","bitrate":64000,"position":2,"id":"596352248221532161","user_limit":0,"type":2},{"permission_overwrites":[],"last_message_id":null,"rate_limit_per_user":0,"parent_id":"594774714807877645","name":"clan-recruitment","topic":"Recruiting to your own personal Clan!","position":6,"id":"596352520402632734","type":0},{"permission_overwrites":[{"allow":66560,"deny":805763153,"id":"594774714807877643","type":"role"},{"allow":0,"deny":0,"id":"596071749922062367","type":"role"}],"last_message_id":null,"rate_limit_per_user":0,"parent_id":"594774714807877645","name":"rules","topic":null,"position":0,"id":"596353861606703135","type":0},{"permission_overwrites":[],"last_message_id":"596569621554003978","rate_limit_per_user":0,"parent_id":"594774714807877645","name":"errors","topic":null,"position":8,"id":"596529124898766858","type":0},{"permission_overwrites":[],"last_message_id":null,"nsfw":false,"rate_limit_per_user":0,"parent_id":"594774714807877645","name":"yell","topic":null,"position":9,"id":"598364004657659946","type":0}],"name":"Saevio","premium_tier":0,"mfa_level":0,"region":"us-west","splash":null})
    org.json.JSONException: JSONObject["type"] not a string.
    	at org.json.JSONObject.getString(JSONObject.java:658)
    	at de.btobastian.javacord.entities.impl.ImplServer.<init>(ImplServer.java:101)
    	at de.btobastian.javacord.utils.handler.server.GuildCreateHandler.handle(GuildCreateHandler.java:66)
    	at de.btobastian.javacord.utils.PacketHandler$1.run(PacketHandler.java:71)
    	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    	at java.util.concurrent.FutureTask.run(Unknown Source)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    	at java.lang.Thread.run(Unknown Source)
    
    Jul 09, 2019 10:57:14 PM de.btobastian.javacord.utils.JavacordLogger info
    INFO: Websocket closed with reason Unknown opcode. and code 4001 by server
    Jul 09, 2019 10:57:14 PM de.btobastian.javacord.utils.JavacordLogger info
    INFO: Trying to auto-reconnect...
    [World] Registering player - [username, host] : [Donovan, 65.131.117.248]
    java.lang.NullPointerException
    	at com.ruse.world.World.sendMessage(World.java:114)
    	at com.ruse.world.entity.impl.player.PlayerHandler.handleLogin(PlayerHandler.java:211)
    	at com.ruse.world.World.sequence(World.java:168)
    	at com.ruse.engine.GameEngine.run(GameEngine.java:48)
    	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    	at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
    	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
    	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    	at java.lang.Thread.run(Unknown Source)
    java.io.FileNotFoundException: .\data\saves\clans\Necrotic.json (Access is denied)
    Players saved...
    [World] Deregistering player - [username, host] : [Donovan, 65.131.117.248]
    java.sql.SQLException: Access denied for user 'hiscores_user'@'static.117.243.130.94.clients.your-server.de' (using password: YES)
    	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1055)
    	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
    	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3536)
    	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3468)
    	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:917)
    	at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:3974)
    	at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1282)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2142)
    	at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:773)
    	at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:46)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    	at java.lang.reflect.Constructor.newInstance(Unknown Source)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:352)
    	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
    	at java.sql.DriverManager.getConnection(Unknown Source)
    	at java.sql.DriverManager.getConnection(Unknown Source)
    	at com.ruse.mysql.Hiscores.connect(Hiscores.java:33)
    	at com.ruse.mysql.Hiscores.run(Hiscores.java:47)
    	at java.lang.Thread.run(Unknown Source)
    The connection to the hiscores database has failed!
    The connection to the hiscores database has failed!
    java.sql.SQLException: Access denied for user 'hiscores_user'@'static.117.243.130.94.clients.your-server.de' (using password: YES)
    	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1055)
    	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
    	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3536)
    	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3468)
    	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:917)
    	at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:3974)
    	at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1282)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2142)
    	at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:773)
    	at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:46)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    	at java.lang.reflect.Constructor.newInstance(Unknown Source)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:352)
    	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
    	at java.sql.DriverManager.getConnection(Unknown Source)
    	at java.sql.DriverManager.getConnection(Unknown Source)
    	at com.ruse.mysql.Hiscores.connect(Hiscores.java:33)
    	at com.ruse.mysql.Hiscores.run(Hiscores.java:47)
    	at java.lang.Thread.run(Unknown Source)
    Jul 09, 2019 10:58:10 PM de.btobastian.javacord.utils.JavacordLogger info
    INFO: Websocket closed with reason null and code 1000 by server
    Jul 09, 2019 10:58:10 PM de.btobastian.javacord.utils.JavacordLogger info
    INFO: Trying to auto-reconnect...
    [World] Registering player - [username, host] : [Donnie, 65.131.117.248]
    Jul 09, 2019 10:58:11 PM de.btobastian.javacord.utils.JavacordLogger warn
    WARNING: Couldn't handle packet of type READY_RECONNECT. Please contact the developer! (packet: {"user_settings":{},"relationships":[],"_trace":["[\"gateway-prd-main-lfn1\",{\"micros\":28872,\"calls\":[\"discord-sessions-prd-1-29\",{\"micros\":22458,\"calls\":[\"start_session\",{\"micros\":20668,\"calls\":[\"api-prd-main-xkq5\",{\"micros\":17816,\"calls\":[\"get_user\",{\"micros\":2223},\"add_authorized_ip\",{\"micros\":6},\"get_guilds\",{\"micros\":1543},\"coros_wait\",{\"micros\":2}]}]},\"guilds_connect\",{\"micros\":2,\"calls\":[]},\"presence_connect\",{\"micros\":208,\"calls\":[]}]}]}]"],"presences":[],"guilds":[{"unavailable":true,"id":"594774714807877643"}],"v":6,"session_id":"b3ede3c40668c4eff8e8a5ea4925a8bd","private_channels":[],"user":{"bot":true,"verified":true,"mfa_enabled":false,"id":"598082205331226664","avatar":null,"email":null,"username":"Saevio Bot","discriminator":"6079"}})
    org.json.JSONException: JSONObject["heartbeat_interval"] not found.
    	at org.json.JSONObject.get(JSONObject.java:473)
    	at org.json.JSONObject.getLong(JSONObject.java:592)
    	at de.btobastian.javacord.utils.handler.ReadyReconnectHandler.handle(ReadyReconnectHandler.java:53)
    	at de.btobastian.javacord.utils.PacketHandler.handlePacket(PacketHandler.java:80)
    	at de.btobastian.javacord.utils.DiscordWebsocketAdapter.onTextMessage(DiscordWebsocketAdapter.java:218)
    	at de.btobastian.javacord.utils.DiscordWebsocketAdapter.onBinaryMessage(DiscordWebsocketAdapter.java:285)
    	at com.neovisionaries.ws.client.ListenerManager.callOnBinaryMessage(ListenerManager.java:368)
    	at com.neovisionaries.ws.client.ReadingThread.callOnBinaryMessage(ReadingThread.java:243)
    	at com.neovisionaries.ws.client.ReadingThread.handleBinaryFrame(ReadingThread.java:937)
    	at com.neovisionaries.ws.client.ReadingThread.handleFrame(ReadingThread.java:696)
    	at com.neovisionaries.ws.client.ReadingThread.main(ReadingThread.java:102)
    	at com.neovisionaries.ws.client.ReadingThread.run(ReadingThread.java:61)
    
    Jul 09, 2019 10:58:11 PM de.btobastian.javacord.utils.JavacordLogger info
    INFO: Reconnected!
    Jul 09, 2019 10:58:11 PM de.btobastian.javacord.utils.JavacordLogger warn
    WARNING: Couldn't handle packet of type GUILD_CREATE. Please contact the developer! (packet: {"preferred_locale":"en-US","default_message_notifications":0,"unavailable":false,"lazy":true,"owner_id":"258333037018873856","roles":[{"color":0,"permissions":104324673,"managed":false,"name":"@everyone","mentionable":false,"position":0,"id":"594774714807877643","hoist":false},{"color":15844367,"permissions":1610088415,"managed":false,"name":"Moderator","mentionable":true,"position":1,"id":"596071749922062367","hoist":true},{"color":0,"permissions":8,"managed":true,"name":"Saevio","mentionable":false,"position":1,"id":"598089108442578944","hoist":false}],"icon":"01ea804d1260ff4f87addbba0439b1d6","description":null,"system_channel_id":"596061318910443531","afk_timeout":300,"features":[],"presences":[{"game":null,"client_status":{"web":"online"},"activities":[],"user":{"id":"598082205331226664"},"status":"online"}],"afk_channel_id":null,"members":[{"joined_at":"2019-07-03T19:31:53.030000+00:00","roles":[],"deaf":false,"mute":false,"user":{"id":"228578608631775233","avatar":"d0c0cba28e21a457a1ef68f98441ed0a","username":"nick","discriminator":"6645"}},{"joined_at":"2019-06-30T06:22:22.393000+00:00","roles":["596071749922062367"],"deaf":false,"mute":false,"user":{"id":"258333037018873856","avatar":null,"username":"jikkirsrage","discriminator":"2211"}},{"nick":"Dimkiler45","joined_at":"2019-07-04T14:34:19.917000+00:00","roles":["596071749922062367"],"deaf":false,"mute":false,"user":{"id":"292926509285638144","avatar":"7f78268fd34139b68ad0b6c2cea67888","username":"Lucivar Yaslana","discriminator":"5584"}},{"joined_at":"2019-07-03T20:14:18.348000+00:00","roles":[],"deaf":false,"mute":false,"user":{"id":"587713902779957261","avatar":null,"username":"Rage","discriminator":"6864"}},{"joined_at":"2019-07-09T09:48:48.896000+00:00","roles":["598089108442578944"],"deaf":false,"mute":false,"user":{"bot":true,"id":"598082205331226664","avatar":null,"username":"Saevio Bot","discriminator":"6079"}}],"voice_states":[],"id":"594774714807877643","member_count":5,"emojis":[],"large":false,"vanity_url_code":null,"system_channel_flags":0,"banner":null,"premium_subscription_count":0,"application_id":null,"joined_at":"2019-07-09T09:48:48.896000+00:00","verification_level":0,"channels":[{"permission_overwrites":[],"name":"Text Channels","bitrate":64000,"position":0,"id":"594774714807877645","user_limit":0,"type":4},{"permission_overwrites":[],"last_message_id":"597053250893774848","rate_limit_per_user":0,"parent_id":"594774714807877645","name":"general","topic":null,"position":1,"id":"594774714807877647","type":0},{"permission_overwrites":[],"name":"Voice Channels","bitrate":64000,"position":0,"id":"594774714807877649","user_limit":0,"type":4},{"permission_overwrites":[],"parent_id":"594774714807877649","name":"General","bitrate":64000,"position":0,"id":"594774714807877651","user_limit":0,"type":2},{"permission_overwrites":[{"allow":1024,"deny":6144,"id":"594774714807877643","type":"role"},{"allow":268958801,"deny":536870912,"id":"596071749922062367","type":"role"}],"last_message_id":"598385801881190467","rate_limit_per_user":0,"parent_id":"594774714807877645","name":"announcements","topic":null,"position":2,"id":"596061318910443531","type":0},{"permission_overwrites":[{"allow":0,"deny":805829713,"id":"594774714807877643","type":"role"},{"allow":523328,"deny":0,"id":"596071749922062367","type":"role"}],"last_message_id":"598305194282844160","rate_limit_per_user":0,"parent_id":"596352180672397328","name":"staff","topic":null,"position":7,"id":"596061376926187530","type":0},{"permission_overwrites":[],"last_message_id":null,"rate_limit_per_user":0,"parent_id":"594774714807877645","name":"ingame","topic":null,"position":3,"id":"596061432794054667","type":0},{"permission_overwrites":[],"last_message_id":null,"rate_limit_per_user":0,"parent_id":"594774714807877645","name":"trade-comm","topic":null,"position":4,"id":"596073606404898817","type":0},{"permission_overwrites":[],"parent_id":"594774714807877649","name":"Trade Comm Voice","bitrate":64000,"position":1,"id":"596073831714652161","user_limit":0,"type":2},{"permission_overwrites":[],"last_message_id":"596667829491597312","rate_limit_per_user":0,"parent_id":"594774714807877645","name":"saevio-suggestions","topic":"Client side changes you'd like to see.","position":5,"id":"596350963368067072","type":0},{"permission_overwrites":[{"allow":0,"deny":1049600,"id":"594774714807877643","type":"role"},{"allow":1049600,"deny":0,"id":"596071749922062367","type":"role"}],"name":"Staff","bitrate":64000,"position":1,"id":"596352180672397328","user_limit":0,"type":4},{"permission_overwrites":[{"allow":0,"deny":1049600,"id":"594774714807877643","type":"role"},{"allow":1049600,"deny":0,"id":"596071749922062367","type":"role"}],"parent_id":"596352180672397328","name":"Staff Voice","bitrate":64000,"position":2,"id":"596352248221532161","user_limit":0,"type":2},{"permission_overwrites":[],"last_message_id":null,"rate_limit_per_user":0,"parent_id":"594774714807877645","name":"clan-recruitment","topic":"Recruiting to your own personal Clan!","position":6,"id":"596352520402632734","type":0},{"permission_overwrites":[{"allow":66560,"deny":805763153,"id":"594774714807877643","type":"role"},{"allow":0,"deny":0,"id":"596071749922062367","type":"role"}],"last_message_id":null,"rate_limit_per_user":0,"parent_id":"594774714807877645","name":"rules","topic":null,"position":0,"id":"596353861606703135","type":0},{"permission_overwrites":[],"last_message_id":"596569621554003978","rate_limit_per_user":0,"parent_id":"594774714807877645","name":"errors","topic":null,"position":8,"id":"596529124898766858","type":0},{"permission_overwrites":[],"last_message_id":null,"nsfw":false,"rate_limit_per_user":0,"parent_id":"594774714807877645","name":"yell","topic":null,"position":9,"id":"598364004657659946","type":0}],"explicit_content_filter":0,"name":"Saevio","premium_tier":0,"mfa_level":0,"region":"us-west","splash":null})
    org.json.JSONException: JSONObject["type"] not a string.
    	at org.json.JSONObject.getString(JSONObject.java:658)
    	at de.btobastian.javacord.entities.impl.ImplServer.<init>(ImplServer.java:101)
    	at de.btobastian.javacord.utils.handler.server.GuildCreateHandler.handle(GuildCreateHandler.java:66)
    	at de.btobastian.javacord.utils.PacketHandler$1.run(PacketHandler.java:71)
    	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    	at java.util.concurrent.FutureTask.run(Unknown Source)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    	at java.lang.Thread.run(Unknown Source)
    
    Jul 09, 2019 10:58:11 PM de.btobastian.javacord.utils.JavacordLogger info
    INFO: Websocket closed with reason Unknown opcode. and code 4001 by server
    Jul 09, 2019 10:58:11 PM de.btobastian.javacord.utils.JavacordLogger info
    INFO: Trying to auto-reconnect...
    Players saved...
    Last edited by Jrage; 07-10-2019 at 08:03 AM. Reason: full console
    Reply With Quote  
     

  2. #2  
    Registered Member
    arch337's Avatar
    Join Date
    Sep 2008
    Posts
    2,628
    Thanks given
    165
    Thanks received
    273
    Rep Power
    522
    Try update to the latest jar for the bot and see if that fixed the issues surrounding that.


    "A fail act is something you do regular, but a dumb act is something you can learn from"
    Spoiler for Problem?:
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Oct 2016
    Posts
    87
    Thanks given
    51
    Thanks received
    34
    Rep Power
    45
    the libraries?
    Reply With Quote  
     

  4. #4  
    Registered Member
    arch337's Avatar
    Join Date
    Sep 2008
    Posts
    2,628
    Thanks given
    165
    Thanks received
    273
    Rep Power
    522
    Quote Originally Posted by Jrage View Post
    the libraries?
    Yeah, also take a look at World.java at line 97 and 114.
    I also see some mysql errors aswell as can't write stuff in a folder cause no access.


    "A fail act is something you do regular, but a dumb act is something you can learn from"
    Spoiler for Problem?:
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Oct 2016
    Posts
    87
    Thanks given
    51
    Thanks received
    34
    Rep Power
    45
    yeah the MySQL is from the old database. my website is being built right now. All i'm conserned about right now is the discord errors.

    Quote Originally Posted by arch337 View Post
    Yeah, also take a look at World.java at line 97 and 114.
    I also see some mysql errors aswell as can't write stuff in a folder cause no access.
    thank you for your help.

    Quote Originally Posted by arch337 View Post
    Yeah, also take a look at World.java at line 97 and 114.
    I also see some mysql errors aswell as can't write stuff in a folder cause no access.
    nope no good, updated all the jars and its still the same
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Needing help server sided [614]
    By mini-max213 in forum Buying
    Replies: 0
    Last Post: 03-10-2016, 08:02 AM
  2. Ruse ( Highscores Help Server Sided )
    By jdakiller2 in forum Help
    Replies: 4
    Last Post: 03-03-2016, 05:27 PM
  3. Highscore help [server sided]
    By RSWSkiller in forum Help
    Replies: 5
    Last Post: 05-07-2014, 09:41 PM
  4. [PI] Interface Help - Server Sided
    By RiiPiiNFtW in forum Help
    Replies: 7
    Last Post: 09-25-2011, 02:41 AM
  5. release: afkbot open source, server sided bot
    By Endar in forum Tutorials
    Replies: 12
    Last Post: 12-14-2007, 08:15 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •