RobloxProMario
Terrarian
It's fixed now.@Lavion1 I'm having the same issue!
It's fixed now.@Lavion1 I'm having the same issue!
$ mono tModLoaderServer.exe
Unhandled Exception:
System.DllNotFoundException: Kernel32
at (wrapper managed-to-native) Terraria.WindowsLaunch.SetConsoleCtrlHandler(Terraria.WindowsLaunch/HandlerRoutine,bool)
at Terraria.WindowsLaunch.Main (System.String[] args) [0x0003a] in <7a194bf0cdee42569ef6609413c717bf>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.DllNotFoundException: Kernel32
at (wrapper managed-to-native) Terraria.WindowsLaunch.SetConsoleCtrlHandler(Terraria.WindowsLaunch/HandlerRoutine,bool)
at Terraria.WindowsLaunch.Main (System.String[] args) [0x0003a] in <7a194bf0cdee42569ef6609413c717bf>:0
$ mono tModLoaderServer.exe
Unhandled Exception:
System.TypeLoadException: Could not load type of field 'Terraria.Main:_currentWantedZoomMatrix' (66) due to: Could not load file or assembly 'FNA, Version=17.3.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. assembly:FNA, Version=17.3.0.0, Culture=neutral, PublicKeyToken=null type:<unknown type> member:(null) signature:<none>
at Terraria.LinuxLaunch.Main (System.String[] args) [0x00038] in <89d8ce7ca04a48eeb4c10f45ef506044>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not load type of field 'Terraria.Main:_currentWantedZoomMatrix' (66) due to: Could not load file or assembly 'FNA, Version=17.3.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. assembly:FNA, Version=17.3.0.0, Culture=neutral, PublicKeyToken=null type:<unknown type> member:(null) signature:<none>
at Terraria.LinuxLaunch.Main (System.String[] args) [0x00038] in <89d8ce7ca04a48eeb4c10f45ef506044>:0
$ mono TerrariaServer.exe
TerrariaAPI Version: 2.1.0.0 (Protocol v1.3.5.3 (194), OTAPI 1.3.5.3)
TShock 4.3.25.0 (Mintaka) now running.
AutoSave Enabled
Backups Disabled
Welcome to TShock for Terraria. Initialization complete.
[Server API] Info Plugin TShock v4.3.25.0 (by The TShock Team) initiated.
Terraria Server v1.3.5.3
n New World
d <number>Delete World
Choose World:
Hi guys, I want to run tModLoader server on my Raspberry Pi (Model 3B, decent specs for a miniature computer) but both Terraria and tModLoader fail after running with mono with
System.DllNotFoundException: Kernel32
I would've given up at this point, but i found guides with people getting at least Terraria working.
I was able to get tshock at least to the world creation menu, I didn't bother running further because at least it launched.
Is there any way I can run this? I would love to be able to have a 24/7 server for drop-in/out, but we are already used to mods so that's a must
PS:
full error from above:tried linux version, result:Code:$ mono tModLoaderServer.exe Unhandled Exception: System.DllNotFoundException: Kernel32 at (wrapper managed-to-native) Terraria.WindowsLaunch.SetConsoleCtrlHandler(Terraria.WindowsLaunch/HandlerRoutine,bool) at Terraria.WindowsLaunch.Main (System.String[] args) [0x0003a] in <7a194bf0cdee42569ef6609413c717bf>:0 [ERROR] FATAL UNHANDLED EXCEPTION: System.DllNotFoundException: Kernel32 at (wrapper managed-to-native) Terraria.WindowsLaunch.SetConsoleCtrlHandler(Terraria.WindowsLaunch/HandlerRoutine,bool) at Terraria.WindowsLaunch.Main (System.String[] args) [0x0003a] in <7a194bf0cdee42569ef6609413c717bf>:0
tshock working:Code:$ mono tModLoaderServer.exe Unhandled Exception: System.TypeLoadException: Could not load type of field 'Terraria.Main:_currentWantedZoomMatrix' (66) due to: Could not load file or assembly 'FNA, Version=17.3.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. assembly:FNA, Version=17.3.0.0, Culture=neutral, PublicKeyToken=null type:<unknown type> member:(null) signature:<none> at Terraria.LinuxLaunch.Main (System.String[] args) [0x00038] in <89d8ce7ca04a48eeb4c10f45ef506044>:0 [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not load type of field 'Terraria.Main:_currentWantedZoomMatrix' (66) due to: Could not load file or assembly 'FNA, Version=17.3.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. assembly:FNA, Version=17.3.0.0, Culture=neutral, PublicKeyToken=null type:<unknown type> member:(null) signature:<none> at Terraria.LinuxLaunch.Main (System.String[] args) [0x00038] in <89d8ce7ca04a48eeb4c10f45ef506044>:0
Code:$ mono TerrariaServer.exe TerrariaAPI Version: 2.1.0.0 (Protocol v1.3.5.3 (194), OTAPI 1.3.5.3) TShock 4.3.25.0 (Mintaka) now running. AutoSave Enabled Backups Disabled Welcome to TShock for Terraria. Initialization complete. [Server API] Info Plugin TShock v4.3.25.0 (by The TShock Team) initiated. Terraria Server v1.3.5.3 n New World d <number>Delete World Choose World:
Plug in headphonesSo I have problems with my modded sound effects. Every time I reload my mod something like this pops up:
View attachment 194882
Trust me, everything is good with coding of sound effects and it loaded the mod without fail like a day ago.
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace BetterToolsMod.Items.Weapons
{
public class WoodenLongsword : ModItem
{
public override void SetStaticDefaults()
{
Tooltip.SetDefault("Stronger than a regular wood sword");
}
public override void SetDefaults()
{
item.damage = 14;
item.melee = true;
item.width = 24;
item.height = 24;
item.useTime = 18;
item.useAnimation = 18;
item.useStyle = 1;
item.knockBack = 5;
item.value = 100;
item.rare = 1;
item.UseSound = SoundID.Item1;
item.autoReuse = true;
}
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient("Wood", 30);
recipe.AddTile("TileID.WorkBenches");
recipe.SetResult(this);
recipe.AddRecipe();
}
}
}
I don't know where you saw to do recipes that way, you should stick to the guides we make: https://github.com/blushiemagic/tModLoader/wiki/Basic-RecipesHelp Im trying to make a mod but when I go to test it it says:
c:\Users\mikey\Documents\My Games\Terraria\ModLoader\Mod Sources\BetterToolsMod\Items\Weapons\WoodenLongsword.cs(33,4) : error CS1502: The best overloaded method match for 'Terraria.ModLoader.ModRecipe.AddIngredient(int, int)' has some invalid arguments
c:\Users\mikey\Documents\My Games\Terraria\ModLoader\Mod Sources\BetterToolsMod\Items\Weapons\WoodenLongsword.cs(33,25) : error CS1503: Argument 1: cannot convert from 'string' to 'int'
c:\Users\mikey\Documents\My Games\Terraria\ModLoader\Mod Sources\BetterToolsMod\Items\Weapons\WoodenLongsword.cs(34,4) : error CS1502: The best overloaded method match for 'Terraria.ModLoader.ModRecipe.AddTile(int)' has some invalid arguments
c:\Users\mikey\Documents\My Games\Terraria\ModLoader\Mod Sources\BetterToolsMod\Items\Weapons\WoodenLongsword.cs(34,19) : error CS1503: Argument 1: cannot convert from 'string' to 'int'
Code:using Terraria; using Terraria.ID; using Terraria.ModLoader; namespace BetterToolsMod.Items.Weapons { public class WoodenLongsword : ModItem { public override void SetStaticDefaults() { Tooltip.SetDefault("Stronger than a regular wood sword"); } public override void SetDefaults() { item.damage = 14; item.melee = true; item.width = 24; item.height = 24; item.useTime = 18; item.useAnimation = 18; item.useStyle = 1; item.knockBack = 5; item.value = 100; item.rare = 1; item.UseSound = SoundID.Item1; item.autoReuse = true; } public override void AddRecipes() { ModRecipe recipe = new ModRecipe(mod); recipe.AddIngredient("Wood", 30); recipe.AddTile("TileID.WorkBenches"); recipe.SetResult(this); recipe.AddRecipe(); } } }
Useto see if it's raining andCode:if (Main.raining) { }
to see if it's daytime.Code:if (Main.dayTime) { }
Useto see if it's raining andCode:if (Main.raining) { }
to see if it's daytime.Code:if (Main.dayTime) { }
I'm not sure why you're quoting my post.Plug in headphones
I'm fairly certain that NPC spawning hasn't changed between v0.9 and v0.10.Thanks for the code. I think it is 0.9 code
I NEED the 0.10 code or the code you gave me would be useless![]()
He's helping you. Plug in something the audiojack and the issue will magically solve itself.I'm not sure why you're quoting my post.
Anyways the matter remains unsolved...
public override void UpdateMusic(ref int music, ref MusicPriority priority)
{
if(Main.myPlayer != -1 && !Main.gameMenu)
{
if(some other conditions)
{
music = GetSoundSlot(SoundType.Music, "musicfilename");
}
}
}
You have to set the priority, see examplemodCurrently on v0.10.1.3 of tModloader, seems to be giving me some issues. The attached error appears whenever I reload mods and then attempt to open Single Player (bringing up the character select menu). This has never happened before, but since v0.10.1.2 it's been consistent. Is there some sort of workaround?
Additionally, UpdateMusic seems to no longer work for me. The code is untouched from the previous version used with v0.10.1.1, but since v0.10.1.2 my custom music mod has stopped working. How do you set the music and priority in the current version?
Any help would be appreciated.
Code:public override void UpdateMusic(ref int music, ref MusicPriority priority) { if(Main.myPlayer != -1 && !Main.gameMenu) { if(some other conditions) { music = GetSoundSlot(SoundType.Music, "musicfilename"); } } }
You'll have to disable that CritSounds mod until he figures it out.Keep getting this error when trying to make a new singleplayer world since my characters always randomly get deleted or lost
The request was aborted: Could not create SSL/TLS secure channel.
at System.Net.WebClient.DownloadFile(Uri address, String fileName)
at System.Net.WebClient.DownloadFile(String address, String fileName)
at CritSounds.CheckModSounds.Initialize()
at Terraria.ModLoader.WorldHooks.SetupWorld()
at Terraria.WorldGen.clearWorld()
at Terraria.WorldGen.do_worldGenCallBack(Object threadContext)
at Terraria.WorldGen.worldGenCallBack(Object threadContext)
Not sure what this means, major noob here I just like playing Terraria.
That's just a tiny bug, just delete the enabled.json file in the Terraria/ModLoader/Mods folder and then launch tmodloader.I tried to create a modpack in the newest version, however it's claiming the modpack is missing three mods. These were all mods I had downloaded and used at one time but have long since deleted or are simply not enabled when making the modpack. I checked over my mod files to see if something got left in by mistake but I couldn't locate any residual files.