Skip to content

Instantly share code, notes, and snippets.

View sfxworks's full-sized avatar
🎯
Focusing

Samuel Walker sfxworks

🎯
Focusing
View GitHub Profile
@sfxworks
sfxworks / convert.py
Last active May 25, 2019 05:22
Convert a curse modpack into an ATLauncher XML modpack file
import xml.etree.ElementTree as ET
import json
import urllib.request
import shutil
import zipfile
import os.path
#Curse Base URL
baseurl = "https://minecraft.curseforge.com/projects/"
dl_base_url = "http://files.sfxworks.net/lapitos/"
@sfxworks
sfxworks / gist:2a3d0f1a51d2fd5294b7b31203469a5c
Created August 23, 2018 23:38
Description: Exception ticking world
[root@tbgn ~]# cat /home/lapitos/server/./crash-reports/crash-2018-08-23_19.31.33-server.txt
---- Minecraft Crash Report ----
// Why did you do that?
Time: 2018-08-23 19:31:33 EDT
Description: Exception ticking world
java.lang.IndexOutOfBoundsException: writerIndex(37255) + minWritableBytes(8) exceeds maxCapacity(37258): UnpooledHeapByteBuf(ridx: 0, widx: 37255, cap: 37258/37258)
at io.netty.buffer.AbstractByteBuf.ensureWritable0(AbstractByteBuf.java:275)
at io.netty.buffer.AbstractByteBuf.writeLong(AbstractByteBuf.java:1000)
[16:33:56] [Server thread/ERROR] [Sponge]: Could not pass MoveEntityEvent$Impl to Plugin{id=universeguard, name=Universe Guard 2, version=2.14, description=An easy to use world protection plugin for Sponge, authors=[JimiIT92, Brycey92, eheimer], source=/home/lapitos/server/./mods/plugins/UniverseGuard-2.14-1.12.2.jar}
java.lang.NullPointerException: null
at com.universeguard.event.flags.FlagFarewellListener.handleEvent(FlagFarewellListener.java:47) ~[FlagFarewellListener.class:?]
at com.universeguard.event.flags.FlagFarewellListener.onFarewell(FlagFarewellListener.java:33) ~[FlagFarewellListener.class:?]
at org.spongepowered.common.event.listener.MoveEntityEventListener_FlagFarewellListener_onFarewell195.handle(Unknown Source) ~[?:?]
at org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:95) ~[RegisteredListener.class:1.12.2-2705-7.1.0-BETA-3361]
at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:383) [Spong
@sfxworks
sfxworks / gist:00a6d57c373a26c873b0763036a83180
Created August 29, 2018 22:08
Exception creating chunk packet for chunk at
[root@tbgn crash-reports]# cat crash-2018-08-29_17.02.08-server.txt
---- Minecraft Crash Report ----
// Who set us up the TNT?
Time: 2018-08-29 17:02:08 EDT
Description: Exception ticking world
java.lang.RuntimeException: Exception creating chunk packet for chunk at 'REDACTED'!
at net.minecraft.network.play.server.SPacketChunkData.redirect$onExtractChunkData$zja000(SourceFile:547)
at net.minecraft.network.play.server.SPacketChunkData.<init>(SourceFile:40)
[14:27:15] [User Authenticator #124/INFO] [net.minecraft.server.network.NetHandlerLoginServer]: UUID of player Vitaleks is 9580f3c5-c6fe-41c5-afcc-e2e5a1c194a3
[14:27:15] [Netty Epoll Server IO #11/INFO] [FML]: Client protocol version 2
[14:27:15] [Netty Epoll Server IO #11/INFO] [FML]: Client attempting to join with 100 mods : buildcraftlib@7.99.17,p455w0rdslib@2.0.29,enderiointegrationforestry@5.0.26,openmods@0.11.5,buildcraftenergy@7.99.17,cofhcore@4.5.2,draconicevolution@2.3.12,plustic@6.5.2.0,endercore@1.12.2-0.5.31,reborncore@3.9.0.315,reauth@3.6.0,ae2stuff@0.7.0.4,extraplanets@1.12.2-0.4.0,randompatches@1.12.2-1.2.0.0,excompressum@3.0.22,wct@3.9.67,cofhworld@1.2.0,icbmclassic@1.12.2-3.1.0.38,mekanismgenerators@9.4.11,enderioconduitsrefinedstorage@5.0.26,galacticraftplanets@4.0.1.181,redstonearsenal@2.5.1,ambience@GRADLE:VERSION-GRADLE:BUILD,openmodularturrets@3.0.1-257,texfix@4.0,enderioconduits@5.0.26,malisiscore@1.12.2-6.4.0,openglider@@VERSION@,enderiomachines@5.0.26,redstoneflux@2.0.2,buildcraftsil
@sfxworks
sfxworks / gist:8796410fbfd1da8b1cc169564ddcbe65
Created September 3, 2018 00:47
Failed to process all PhaseContext captured
[20:44:41] [Server thread/ERROR] [Sponge]: /*****************************************************************************************************************************************************************************************************/
[20:44:41] [Server thread/ERROR] [Sponge]: /* Failed to process all PhaseContext captured! */
[20:44:41] [Server thread/ERROR] [Sponge]: /*****************************************************************************************************************************************************************************************************/
[20:44:41] [Server thread/ERROR] [Sponge]: /* During the processing of a phase, certain objects were captured in a PhaseContext. All of them should have been removed from the PhaseContext by this point PacketPhase{}{InteractionPacketState} */
[20:44:41] [Server thread/ERROR] [Sponge]: /* PhaseC
---- Minecraft Crash Report ----
// Why is it breaking :(
Time: 2018-09-03 15:30:56 EDT
Description: Unexpected error
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:653)
at java.util.ArrayList.get(ArrayList.java:429)
at openblocks.client.renderer.block.canvas.CanvasTextureManager$CanvasTexture.upload(CanvasTextureManager.java:134)
@sfxworks
sfxworks / gist:09e2e612666b2c48a3d2db86d9fe7380
Created September 12, 2018 20:34
Cloudflare API Issues
/api/v4/zones/da810a5eb02fe6beb27e7333da01b35f/subscription:1 Failed to load resource: the server responded with a status of 404 ()
/api/v4/zones/da810a5eb02fe6beb27e7333da01b35f/analytics/latency?bins=100:1 Failed to load resource: the server responded with a status of 429 ()
redux-grim.es.js:53 Uncaught (in promise) Object
/api/v4/zones/da810a5eb02fe6beb27e7333da01b35f/dns_analytics/report/bytime?metrics=queryCount&dimensions=responseCode&since=2018-09-12T14%3A32%3A21Z&until=2018-09-12T20%3A32%3A21Z&filters=:1 Failed to load resource: the server responded with a status of 429 ()
redux-grim.es.js:53 Uncaught (in promise) Object
/api/v4/zones/da810a5eb02fe6beb27e7333da01b35f/analytics/dashboard?since=2018-09-11T20%3A32%3A21Z&until=2018-09-12T20%3A32%3A21Z:1 Failed to load resource: the server responded with a status of 500 ()
redux-grim.es.js:53 Uncaught (in promise) Object
/api/v4/zones/da810a5eb02fe6beb27e7333da01b35f/analytics/dashboard?since=-1440:1 Failed to load resource: the server responded with a sta
# 1.0
#
# # If you need help with the configuration or have any questions related to Sponge,
# # join us at the IRC or drop by our forums and leave a post.
#
# # IRC: #sponge @ irc.esper.net ( https://webchat.esper.net/?channel=sponge )
# # Forums: https://forums.spongepowered.org/
#
@sfxworks
sfxworks / gist:c3291e1a3f82dfe4280af49c9806bab2
Created November 7, 2018 01:08
When you find the admin's base
[root@tbgn ~]# cat /home/lapitos/server/logs/latest.log | grep SAC
[18:21:18] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: §b§lBuilder§r §rWongata§r§f: §rDO ANY WISH TO MAKE A SACRIFICE TO THE BLOOD GOD WONGATA!?§r
[20:03:59] [JDA MainWS-ReadThread/INFO] [DiscordIntegration]: [3.0.4] [#Mostafa§oPG§r] SACRIFICE
[20:04:00] [JDA MainWS-ReadThread/INFO] [DiscordIntegration]: [3.0.4] [Antibeast] @Nbgreen SACRIFICE
[20:04:06] [JDA MainWS-ReadThread/INFO] [DiscordIntegration]: [3.0.4] [#Mostafa§oPG§r] SACRIFICE
[20:04:06] [JDA MainWS-ReadThread/INFO] [DiscordIntegration]: [3.0.4] [TheLegoRebel] SAC-RI-FICE!
[20:04:06] [JDA MainWS-ReadThread/INFO] [DiscordIntegration]: [3.0.4] [#Mostafa§oPG§r] SACRIFICE
[20:04:06] [JDA MainWS-ReadThread/INFO] [DiscordIntegration]: [3.0.4] [TheLegoRebel] SAC-RI-FICE
[20:04:07] [JDA MainWS-ReadThread/INFO] [DiscordIntegration]: [3.0.4] [#Mostafa§oPG§r] SACRIFICE!
[20:04:09] [JDA MainWS-ReadThread/INFO] [DiscordIntegration]: [3.0.4] [quantomworks] SACRIFICE