TickThreading - concurrent entity/tile entity ticks and other optimisations

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

cpy

New Member
Jul 29, 2019
42
0
0
I'm using forge v6.6.2.534 i just want to know if it's good version to use with TT :)
 

Kusinagie

New Member
Jul 29, 2019
10
0
0
Hey got another one for you.
Build 1122
03-15 17:23:29 [SEVERE] [ForgeModLoader] Failed to handle packet from Kusinagie
java.lang.NullPointerException
at codechicken.wirelessredstone.addons.ItemWirelessRemote.a(ItemWirelessRemote.java:64)
at ur.a(SourceFile:289)
at qw.j(InventoryPlayer.java:337)
at qx.c(EntityPlayer.java:558)
at md.j_(EntityLiving.java:843)
at qx.j_(EntityPlayer.java:328)
at iq.g(EntityPlayerMP.java:286)
at iv.a(NetServerHandler.java:310)
at eb.a(SourceFile:76)
at cg.i(TcpConnection.java:347)
at cg.readNetworkPacket(TcpConnection.java:37)
at ch.run(PatchTcpReaderThread.java:24)

Happend when i right clicked with the wireless remote from chikenbone's addon for redpower.
Anything else i can give you let me know thanks
 

Karimiri

New Member
Jul 29, 2019
103
0
0
so how do i make TT to run on external server ? i patched the files localy(i changed path to /jar/ftbserver.jar bofere patching hoping this will fix stuff) and uploaded them, and when i start the server i still get this "TT disabled, server is not patched" error :(
any ideas what may be wrong ?

edit: i installed something called "BechillTPS" and this one works, and shows... something.
but cmon, not cool :(
 

nallar

New Member
Jul 29, 2019
270
0
0
http://pastebin.com/q32Yu3bM

We moved to the latest version of Tick threading, using Forge Essentials and Precious Stones. This has started happening with block breaking.


You're using a plugin which doesn't support concurrent block break handling. Remove the first
PHP:
        <class id="<some 2/3 letter name>">
            <addAll fromClass="me.nallar.patched.network.PatchPacketAsync"/>
        </class>
from the patches.xml inside the tickthreading jar before patching.[DOUBLEPOST=1363483464][/DOUBLEPOST]
He means the patched "mods" folder, not a "patchedMods" folder.

No, I meant the patchedMods folder! TT's patching changed recently so mods in the mods folder aren't edited.
 

MinerDude333

New Member
Jul 29, 2019
49
0
0
You're using a plugin which doesn't support concurrent block break handling. Remove the first
PHP:
        <class id="<some 2/3 letter name>">
            <addAll fromClass="me.nallar.patched.network.PatchPacketAsync"/>
        </class>
from the patches.xml inside the tickthreading jar before patching.[DOUBLEPOST=1363483464][/DOUBLEPOST]

No, I meant the patchedMods folder! TT's patching changed recently so mods in the mods folder aren't edited.
Oh, I'm sorry! I havent used Tickthreading for a while because it's been kinda buggy.
 

Kusinagie

New Member
Jul 29, 2019
10
0
0
Hello again.
Build 1145 still getting this error when using chickens's wireless remote,
[SEVERE] [ForgeModLoader] Failed to handle packet from Kusinagie
java.lang.NullPointerException
at codechicken.wirelessredstone.addons.ItemWirelessRemote.a(ItemWirelessRemote.java:64)
at ur.a(SourceFile:289)
at qw.j(InventoryPlayer.java:337)
at qx.c(EntityPlayer.java:558)
at md.j_(EntityLiving.java:843)
at qx.j_(EntityPlayer.java:328)
at iq.g(EntityPlayerMP.java:286)
at iv.a(NetServerHandler.java:310)
at eb.a(SourceFile:76)
at cg.i(TcpConnection.java:347)
at cg.readNetworkPacket(TcpConnection.java:37)
at ch.run(PatchTcpReaderThread.java:24)

I can't find any partiular cause it just does it at random regardless of frequency and kicks me from the server. But i did notice whatever Frequency i was pulsing at the time when i log back in is stuck on like i was using a lever or something.

Another thing i noticed was with the tunnelbore i made with redpower frames. Now it did this twice but randomly.
The cover i had placed on the frame disappeared. Specificly when it was passing into the next chunk. the second time i was moving the tunnelbore backwards and it did the saem thing when that paticular frame block passed into the precious chunk. there was no error or anything in the logs when this happened.

Direwolf20 5.2.0 pack and i have your suggested bat file code.
If i can give you any other info let me know.
 

cpy

New Member
Jul 29, 2019
42
0
0
What does this config do:
# Whether network ticks should be ran in the main thread.
B:concurrentNetworkTicks=false

Thanks for info :)
 

nallar

New Member
Jul 29, 2019
270
0
0
What does this config do:
# Whether network ticks should be ran in the main thread.
B:concurrentNetworkTicks=false

Thanks for info :)

Updated the description to "Whether network ticks should be ran in a separate thread from the main minecraft thread. This is likely to be very buggy, especially with mods doing custom networking such as IC2!".
 

cpy

New Member
Jul 29, 2019
42
0
0
Thanks that's what i suspected it does, i still feel like testing it :)
I have small server with 2 players, will roll a dice to test it.

I also get jerkiness with smart moving around chests and some blocks (probably not related to TT)

I also get this error, i'm not 100% sure it's from TT.
http://pastebin.com/CFNQy3ae
 

nallar

New Member
Jul 29, 2019
270
0
0
Thanks that's what i suspected it does, i still feel like testing it :)
I have small server with 2 players, will roll a dice to test it.

I also get jerkiness with smart moving around chests and some blocks (probably not related to TT)

I also get this error, i'm not 100% sure it's from TT.
http://pastebin.com/CFNQy3ae

Chests have buggy collisions in vanilla.

Response in #RS485 regarding that LP issue:

<GUIpsp> nallar, yada yada latest dev
 

vince959

New Member
Jul 29, 2019
127
0
0
few days ago I downloaded the "stable-ish" build of the mod and posted a few problem logs.
Has anything updated since that (on the latest build)? Should I go ahead and try out the latest build
 

vince959

New Member
Jul 29, 2019
127
0
0
ok, tried the latest build, will do more tests later. Here, right after the server started up, I got another problem log for you

03-20 11:03:18 [SEVERE] [ForgeModLoader] A TileEntity turtleex(dan200.turtle.sha
red.RedPowerTileEntityTurtleExpanded) has thrown an exception during loading, it
s state cannot be restored. Report this to the mod author
java.lang.ClassCastException: miscperipherals.util.FakeWorld$3 cannot be cast to
im
at yc.d(World.java:546)
at yc.a(World.java:469)
at yc.c(World.java:3400)
at yc.z(World.java:3293)
at yc.a(World.java:556)
at yc.c(World.java:532)
at yc.d(World.java:716)
at miscperipherals.upgrade.UpgradeShield.createPeripheral(UpgradeShield.
java:68)
at dan200.turtle.shared.TileEntityTurtle.updatePeripheralUpgrades(TileEn
tityTurtle.java:873)
at dan200.turtle.shared.TileEntityTurtle.a(TileEntityTurtle.java:1111)
at any.c(TileEntity.java:151)
at aam.a(AnvilChunkLoader.java:418)
at aam.a(AnvilChunkLoader.java:59)
at aam.a(AnvilChunkLoader.java:111)
at im.f(ThreadedChunkProvider.java:450)
at im.getChunkAt(ThreadedChunkProvider.java:341)
at im.d(ThreadedChunkProvider.java:297)
at yc.e(World.java:524)
at yc.a(World.java:99)
at com.eloraam.redpower.core.RedPowerLib.getConSides(RedPowerLib.java:34
5)
at com.eloraam.redpower.core.RedPowerLib.getConnections(RedPowerLib.java
:516)
at com.eloraam.redpower.machine.TileSolarPanel.g(TileSolarPanel.java:62)

at me.nallar.tickthreading.minecraft.tickregion.TileEntityTickRegion.doT
ick(TileEntityTickRegion.java:99)
at me.nallar.tickthreading.minecraft.tickregion.TickRegion.run(TickRegio
n.java:42)
at me.nallar.tickthreading.minecraft.ThreadManager$2.run(ThreadManager.j
ava:90)
at me.nallar.tickthreading.minecraft.ThreadManager$1.run(ThreadManager.j
ava:41)
at me.nallar.tickthreading.minecraft.ThreadManager$ServerWorkThread.run(
ThreadManager.java:157)
 

MinerDude333

New Member
Jul 29, 2019
49
0
0
Are there any new recommended builds right now, or are they all too unstable? I don't want to risk my stuff or make backups.
 

DZCreeper

New Member
Jul 29, 2019
1,469
0
1
Not to be an asshole, but even without Tick Threading you should be making backups. As for which build to run, just go with the latest. If you find a bug, make an issue on Github with the logs so it can get fixed.