tAPI Shockah's tweak mods

Status
Not open for further replies.
Hello! I was wondering if you're considering remaking the health interface and health up mods again. (Your mods are awesome btw)
 
I noticed many other players getting this crash with the suffixes mod enabled.

System.NullReferenceException: Object reference not set to an instance of an object.
at Shockah.ItemSuffixes.MItem.CanGetSuffixes(Terraria.Item item)
at Shockah.ItemSuffixes.MItem.Save(TAPI.BinBuffer bb)
at Terraria.Item.WriteCustomData(TAPI.BinBuffer bb, System.Boolean byName = True)
at Terraria.Item.Write(TAPI.BinBuffer bb, System.Boolean byName = True)
at TAPI.BinBuffer.Write(Terraria.Item i, System.Boolean byName = True)
at Terraria.Player.SavePlayer(Terraria.Player p, System.String playerPath, System.Boolean skipMapSave = False)
at Terraria.WorldGen.saveToonWhilePlayingCallBack(System.Object threadContext)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object state)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

it has happened to me many times and I have had to resort to previous backup saves way too much. Is it possible to remove this mod without it messing up worlds? I would like to disable it until a more stable version is released.
 
I noticed many other players getting this crash with the suffixes mod enabled.

System.NullReferenceException: Object reference not set to an instance of an object.
at Shockah.ItemSuffixes.MItem.CanGetSuffixes(Terraria.Item item)
at Shockah.ItemSuffixes.MItem.Save(TAPI.BinBuffer bb)
at Terraria.Item.WriteCustomData(TAPI.BinBuffer bb, System.Boolean byName = True)
at Terraria.Item.Write(TAPI.BinBuffer bb, System.Boolean byName = True)
at TAPI.BinBuffer.Write(Terraria.Item i, System.Boolean byName = True)
at Terraria.Player.SavePlayer(Terraria.Player p, System.String playerPath, System.Boolean skipMapSave = False)
at Terraria.WorldGen.saveToonWhilePlayingCallBack(System.Object threadContext)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object state)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

it has happened to me many times and I have had to resort to previous backup saves way too much. Is it possible to remove this mod without it messing up worlds? I would like to disable it until a more stable version is released.
Yes, go to mods, disable it, reload. I've disabled it w/ no adverse side effects though I'm very doubtful if the prefixes will save.
 
System.ArgumentException: Unable to sort because the IComparer.Compare() method returns inconsistent results. Either a value does not compare equal to itself, or one value repeatedly compared to another value yields different results. x: '', x's type: 'Prefix', IComparer: 'Shockah.FCM.Sorter`1[Terraria.Prefix]'.
at System.Collections.Generic.ArraySortHelper`1.Sort( keys, System.Int32 index, System.Int32 length, comparer)
at System.Array.Sort( array, System.Int32 index, System.Int32 length, comparer)
at System.Collections.Generic.List`1.Sort(System.Int32 index, System.Int32 count, comparer)
at Shockah.FCM.Standard.InterfaceFCMPrefixes.RunFilters()
at Shockah.FCM.Standard.InterfaceFCMPrefixes.Refresh(System.Boolean resetScroll)
at Shockah.FCM.Standard.InterfaceFCMPrefixes.OnOpen()
at TAPI.Interface.Open(TAPI.InterfaceAnchor anchor = )
at Shockah.FCM.Standard.MBase.<OnAllModsLoaded>b__6()
at Shockah.FCM.LittleButton.Draw(Shockah.Base.SFrame frame, Microsoft.Xna.Framework.Graphics.SpriteBatch sb, Microsoft.Xna.Framework.Vector2 pos)
at Shockah.FCM.FrameFCMButtons.OnRender(Microsoft.Xna.Framework.Graphics.SpriteBatch sb)
at Shockah.Base.SFrame.Render(Microsoft.Xna.Framework.Graphics.SpriteBatch sb)
at Shockah.Base.SFrame.RenderAll(Microsoft.Xna.Framework.Graphics.SpriteBatch sb)
at Shockah.Base.ILFrames.OnDraw(Microsoft.Xna.Framework.Graphics.SpriteBatch sb)
at TAPI.InterfaceLayer.Draw(Microsoft.Xna.Framework.Graphics.SpriteBatch sb)
at Terraria.Main.DrawInterface()
at Terraria.Main.Draw(Microsoft.Xna.Framework.GameTime gameTime)
 
Oh my. There is a bug with the Extended-Range feature of the Cheat Mod that interacts poorly with the Smart Cursor. Merely selecting something that uses it makes the game lag infinitely.
 
Play my modded world fine (only using your Insight, enhanced tooltips, standard cheat and accessory plus. Along with both bases.) before going to an open day. Come back, and suddenly your base does not work.
I have changed literally nothing since coming back and trying to play. So I have no clue as to what is wrong.

TAPI.Mods+LoadException: _ShockahBase r3.tapi: LitJson.JsonException: Invalid character '*' in input string
at LitJson.LexerlNextToken()
at LitJson.JsonReader.ReadToken()
at LitJson.JsonReader.Read
at LitJson.JsonMapper.ReadValue(WeapperFactory factory, JsonReader reader
at LitJson.JsonMapper.ToObject(String json)
at Shocka.Base.SFrame.LoadAll()
at Shocka.Base.MBase.OnLoad
at TAPIMod<Load>b____o(BinBuffer bb)
at TAPIMods.HandleTapiModFile(FPath path, Action'I Action)
at TAPIMods.HandleModFile(FPath path, Action'I Action)
at TAPIMod.Load
at TAPIMod.Load
at TAPIMod.Load

May continue because the 'Click to copy' button failed to work, so I had to type it out manually
 
Suffixes allows you to get a 170+ base damage Chain Gun.
I rate Suffixes 10 rekt Frost Moons out of 10 rekt Frost Moons.

If only it didn't crash and corrupt my characters though...
 
Can you guys test with the unreleased versions from the github repo? Just rebuild the mods with the sources from there.
 
I have the following mods active, in this order, all having been downloaded from the Github and then rebuilt ten minutes ago in tAPI Builder r14a. I start a new character and a new world, and this is the error received on starting the character in the new world.

  1. _ShockahBase
  2. FCM Base
  3. FCM Standard
  4. Inventory Tweaks
  5. Accessory Slots+
Code:
System.NullReferenceException: Object reference not set to an instance of an object.
  at Shockah.ItemSuffixes.MPlayer.MidUpdate() in \Item Suffixes\MPlayer.cs at line 35
  at TAPI.Hooks.Call(System.Action[] ts)
  at TAPI.CodablePlayer.MidUpdate()
  at Terraria.Player.UpdatePlayer(System.Int32 i)
  at Terraria.Main.UpdateReal(Microsoft.Xna.Framework.GameTime gameTime)

Then I disabled Accessory Slots+, and everything worked fine.
 
Last edited:
Hmmmm... yeah sure ill test these.

How do i build mods?
Just tried and got this spat at me:
Building mod Terraria-tAPI-Mods-master

Validating Jsons...
Compiling code...
MBase.cs (34,15)
; expected
internal static Achievements ca
^
Failed to build Terraria-tAPI-Mods-master.
 
Last edited:
The tAPI Builder icon on your desktop that appeared after installing tAPI R14. If it's not there, it'll still be in your Terraria directory. Make sure the files from Shockah are in tAPI's "Sources" folder.
 
Thanks! i just tried that and got an error. I edited my post above with it.
Tried them individually and got the following, some failed while some got built :
Building mod BloodyEvil

Validating Jsons...
Compiling code...
MWorld.cs (36,11)
'TAPI.ModWorld' does not contain a constructor that takes 1 arguments
public MWorld(ModBase modBase) : base(modBase) {}
^
MWorld.cs (4,15)
The name 'WorldGen' does not exist in the current context
WorldGen.corruption = WorldGen.crimson = true;
^
MWorld.cs (26,15)
The name 'WorldGen' does not exist in the current context
WorldGen.corruption = WorldGen.crimson = true;
^
Failed to build BloodyEvil.

========================================
Building mod Item Ranks

Validating Jsons...
Compiling code...
MItem.cs (34,11)
The type or namespace name 'Item' could not be found (are you missing a using directive or an assembly reference?)
public static bool CanGetRanks(Item item)
^
MItem.cs (33,33)
The type or namespace name 'Item' could not be found (are you missing a using directive or an assembly reference?)
public MItem(ModBase modBase, Item item) : base(modBase, item) { }
^
MItem.cs (32,66)
The type or namespace name 'Recipe' could not be found (are you missing a using directive or an assembly reference?)
public override void OnCraft(Recipe recipe)
^
Failed to build Item Ranks.

========================================
Building mod OPStart

Validating Jsons...
Compiling code...
ModPlayer.cs (41,11)
The type or namespace name 'Player' could not be found (are you missing a using directive or an assembly reference?)
public ModPlayer(TAPI.ModBase modBase,Player player) : base(modBase,player) {}
^
Failed to build OPStart.

========================================
Building mod TCraftUpdate

Validating Jsons...
Compiling code...
MBase.cs (24,16)
The name 'Recipe' does not exist in the current context
for (int i = 0; i < Recipe.numRecipes; i++)
^
MBase.cs (5,18)
The type or namespace name 'Recipe' could not be found (are you missing a using directive or an assembly reference?)
Recipe r = Main.recipe;
^
MBase.cs (16,18)
The name 'Main' does not exist in the current context
Recipe r = Main.recipe;
^
Failed to build TCraftUpdate.

========================================
Building mod TIdsUpdate

Validating Jsons...
Compiling code...
MBase.cs (52,15)
'TAPI.Defs' does not contain a definition for 'items'
foreach (KeyValuePair<string, Item> kvp in Defs.items)
^
Failed to build TIdsUpdate.

========================================
Building mod _ShockahBase

Validating Jsons...
Setting up DLL references...
Compiling code...
Packaging...

Done.

========================================
Building mod Accessory Slots+

Validating Jsons...
Setting up mod references...
Compiling code...
Packaging...

Done.

========================================
Building mod Achievements

Validating Jsons...
Setting up mod references...
Compiling code...
MBase.cs (34,15)
; expected
internal static Achievements ca
^
Failed to build Achievements.

========================================
Building mod Caverns of Time

Validating Jsons...
Setting up mod references...
Compiling code...
MPlayer.cs (35,13)
The type or namespace name 'Player' could not be found (are you missing a using directive or an assembly reference?)
public MPlayer(ModBase modBase, Player player) : base(modBase, player) { }
^
Failed to build Caverns of Time.

========================================
Building mod Companion Bag

Validating Jsons...
Setting up mod references...
Compiling code...
ItemSlotCompanionBag.cs (48,9)
The type name 'ItemSlot' does not exist in the type 'TAPI.Interface'
public class ItemSlotCompanionBag : Interface.ItemSlot
^
Failed to build Companion Bag.

========================================
Building mod Enhanced Tooltip

Validating Jsons...
Setting up mod references...
Compiling code...
Packaging...

Done.

========================================
Building mod FCM Base

Validating Jsons...
Setting up mod references...
Compiling code...
Packaging...

Done.

========================================
Building mod FIRE

Validating Jsons...
Setting up mod references...
Compiling code...
ILFIRE.cs (44,12)
'TAPI.ModBase' does not contain a definition for 'modName' and no extension method 'modName' accepting a first argument of type 'TAPI.ModBase' could be found (are you missing a using directive or an assembly reference?)
public ILFIRE() : base(MWorld.me.modBase.modName) { }
^
ILFIRE.cs (6,27)
The name 'SDrawing' does not exist in the current context
SDrawing.StringShadowed(sb, Main.fontCombatText[0], text, pos, Color.Red);
^
MInterface.cs (40,10)
'TAPI.ModInterface' does not contain a constructor that takes 1 arguments
public MInterface(ModBase modBase) : base(modBase) { }
^
MWorld.cs (36,12)
'TAPI.ModWorld' does not contain a constructor that takes 1 arguments
public MWorld(ModBase modBase) : base(modBase)
^
FIRE.cs (45,8)
'TAPI.ModItem' does not contain a constructor that takes 2 arguments
public FIRE(ModBase modBase, Item item) : base(modBase, item) { }
^
Failed to build FIRE.

========================================
Building mod Insight

Validating Jsons...
Setting up mod references...
Compiling code...
Packaging...

Done.

========================================
Building mod Inventory Tweaks

Validating Jsons...
Setting up mod references...
Compiling code...
QuickMoveAction.cs (70,29)
No overload for method 'PutItem' takes 4 arguments
if (!myItem.IsBlank() && myItem.type >= 71 && myItem.type <= 74) SBase.PutItem(ref myItem, Main.localPlayer.inventory, 50, 53);
^
QuickMoveAction.cs (66,30)
No overload for method 'PutItem' takes 4 arguments
if (!myItem.IsBlank() && myItem.ammo > 0 && !myItem.notAmmo) SBase.PutItem(ref myItem, Main.localPlayer.inventory, 54, 57);
^
QuickMoveAction.cs (28,31)
No overload for method 'PutItem' takes 4 arguments
if (!myItem.IsBlank()) SBase.PutItem(ref myItem, Main.localPlayer.inventory, 0, 49);
^
Failed to build Inventory Tweaks.

========================================
Building mod Item Suffixes

Validating Jsons...
Setting up mod references...
Compiling code...
Packaging...

Done.

========================================
Building mod Move Anything

Validating Jsons...
Setting up mod references...
Compiling code...
FrameBreath.cs (15,15)
'Shockah.MoveAnything.FrameBreath.hidden' hides inherited member 'Shockah.MoveAnything.FrameHiding.hidden'. Use the new keyword if hiding was intended.
public bool hidden = false;
^
FrameLife.cs (15,15)
'Shockah.MoveAnything.FrameLife.hidden' hides inherited member 'Shockah.MoveAnything.FrameHiding.hidden'. Use the new keyword if hiding was intended.
public bool hidden = false;
^
FrameHiding.cs (133,17)
The best overloaded method match for 'Shockah.Base.SFrame.SFrame(TAPI.ModBase, string, Shockah.Base.SFrame.Anchor, Shockah.Base.SFrame.Anchor, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)' has some invalid arguments
public FrameHiding(string tag, Anchor anchor = Anchor.TopLeft, Vector2 pos = default(Vector2), Vector2 size = default(Vector2)) : base(MBase.me, tag, anchor, pos, size) { }
^
FrameHiding.cs (161,17)
Argument 4: cannot convert from 'Microsoft.Xna.Framework.Vector2' to 'Shockah.Base.SFrame.Anchor'
public FrameHiding(string tag, Anchor anchor = Anchor.TopLeft, Vector2 pos = default(Vector2), Vector2 size = default(Vector2)) : base(MBase.me, tag, anchor, pos, size) { }
^
FrameHiding.cs (99,18)
The best overloaded method match for 'Shockah.Base.SFrame.SFrame(TAPI.ModBase, string, Shockah.Base.SFrame.Anchor, Shockah.Base.SFrame.Anchor, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)' has some invalid arguments
public FrameHiding(string tag, Anchor anchor, Vector2 pos, Vector2 size, Resizable resizable) : base(MBase.me, tag, anchor, pos, size, resizable) { }
^
FrameHiding.cs (127,18)
Argument 4: cannot convert from 'Microsoft.Xna.Framework.Vector2' to 'Shockah.Base.SFrame.Anchor'
public FrameHiding(string tag, Anchor anchor, Vector2 pos, Vector2 size, Resizable resizable) : base(MBase.me, tag, anchor, pos, size, resizable) { }
^
FrameHiding.cs (138,18)
Argument 6: cannot convert from 'Shockah.Base.SFrame.Resizable' to 'Microsoft.Xna.Framework.Vector2'
public FrameHiding(string tag, Anchor anchor, Vector2 pos, Vector2 size, Resizable resizable) : base(MBase.me, tag, anchor, pos, size, resizable) { }
^
FrameHiding.cs (58,22)
'TAPI.ModBase' does not contain a definition for 'modName' and no extension method 'modName' accepting a first argument of type 'TAPI.ModBase' could be found (are you missing a using directive or an assembly reference?)
if (hidden) sb.DrawString(Main.fontMouseText, modBase.modName + ":" + tag, FramePos1() + new Vector2(8, 8), Color.White, 0f, default(Vector2), .5f, SpriteEffects.None, 0f);
^
MInterface.cs (40,12)
'TAPI.ModInterface' does not contain a constructor that takes 1 arguments
public MInterface(ModBase modBase) : base(modBase) { }
^
Failed to build Move Anything.

========================================
Building mod My Favorite Weapon

Validating Jsons...
Setting up mod references...
Compiling code...
Packaging...

Done.

========================================
Building mod Player 'n' World Preview

Validating Jsons...
Setting up mod references...
Compiling code...
ILPNWThread.cs (40,13)
'Shockah.PNWPreview.MBase' does not contain a definition for 'modName' and no extension method 'modName' accepting a first argument of type 'Shockah.PNWPreview.MBase' could be found (are you missing a using directive or an assembly reference?)
public ILPNWThread() : base(MBase.me.modName) { }
^
ILPNWThread.cs (5,23)
The name 'SDrawing' does not exist in the current context
SDrawing.StringShadowed(sb, Main.fontMouseText, text, pos);
^
MBase.cs (43,55)
The name 'modName' does not exist in the current context
if (File.Exists(Main.WorldPath + "/" + modName + ".dat"))
^
MBase.cs (93,57)
The name 'modName' does not exist in the current context
BinBuffer bb = new BinBuffer(new BinBufferByte(File.ReadAllBytes(Main.WorldPath + "/" + modName + ".dat")));
^
MBase.cs (15,60)
Non-invocable member 'TAPI.BinBuffer.BytesLeft' cannot be used like a method.
while (bb.BytesLeft() > 0)
^
MBase.cs (8,215)
No overload for method 'DrawPlayer' takes 1 arguments
API.main.DrawPlayer(p);
^
MBase.cs (8,218)
No overload for method 'DrawPlayer' takes 1 arguments
API.main.DrawPlayer(p);
^
MBase.cs (8,222)
No overload for method 'DrawPlayer' takes 1 arguments
API.main.DrawPlayer(p);
^
MBase.cs (8,225)
No overload for method 'DrawPlayer' takes 1 arguments
API.main.DrawPlayer(p);
^
MBase.cs (8,234)
No overload for method 'DrawPlayer' takes 1 arguments
API.main.DrawPlayer(p);
^
MBase.cs (8,237)
No overload for method 'DrawPlayer' takes 1 arguments
API.main.DrawPlayer(p);
^
MBase.cs (8,240)
No overload for method 'DrawPlayer' takes 1 arguments
API.main.DrawPlayer(p);
^
MBase.cs (9,252)
No overload for method 'DrawPlayer' takes 1 arguments
API.main.DrawPlayer(p);
^
MBase.cs (8,273)
No overload for method 'DrawPlayer' takes 1 arguments
API.main.DrawPlayer(p);
^
MBase.cs (8,276)
No overload for method 'DrawPlayer' takes 1 arguments
API.main.DrawPlayer(p);
^
MBase.cs (7,280)
No overload for method 'DrawPlayer' takes 1 arguments
API.main.DrawPlayer(p);
^
MBase.cs (8,296)
The name 'SDrawing' does not exist in the current context
SDrawing.StringShadowed(sb, Main.fontMouseText, text, pos, Color.White, scale);
^
MBase.cs (9,302)
The name 'SDrawing' does not exist in the current context
SDrawing.StringShadowed(sb, Main.fontMouseText, text, pos, Color.White, scale);
^
MBase.cs (8,352)
The name 'SDrawing' does not exist in the current context
SDrawing.StringShadowed(sb, Main.fontMouseText, text, pos, Color.White, scale);
^
MBase.cs (9,358)
The name 'SDrawing' does not exist in the current context
SDrawing.StringShadowed(sb, Main.fontMouseText, text, pos, Color.Orange, scale);
^
MBase.cs (27,365)
'TAPI.Defs' does not contain a definition for 'items'
DrawItem(sb, Defs.items["Vanilla:Demonite Bar"], new Vector2(pos.X + itemOff, pos.Y + itemOff), Main.fontMouseText.LineSpacing * scale);
^
MBase.cs (9,366)
The name 'SDrawing' does not exist in the current context
SDrawing.StringShadowed(sb, Main.fontMouseText, text, new Vector2(pos.X + 20, pos.Y), Color.White, scale);
^
MBase.cs (27,372)
'TAPI.Defs' does not contain a definition for 'items'
DrawItem(sb, Defs.items["Vanilla:Crimtane Bar"], new Vector2(pos.X + itemOff, pos.Y + itemOff), Main.fontMouseText.LineSpacing * scale);
^
MBase.cs (9,373)
The name 'SDrawing' does not exist in the current context
SDrawing.StringShadowed(sb, Main.fontMouseText, text, new Vector2(pos.X + 20, pos.Y), Color.White, scale);
^
MBase.cs (27,382)
'TAPI.Defs' does not contain a definition for 'items'
DrawItem(sb, Defs.items["Vanilla:" + (text = "Copper") + " Bar"], new Vector2(pos2.X + itemOff, pos2.Y + itemOff), Main.fontMouseText.LineSpacing * scale);
^
MBase.cs (9,383)
The name 'SDrawing' does not exist in the current context
SDrawing.StringShadowed(sb, Main.fontMouseText, text, new Vector2(pos2.X + 20, pos2.Y), Color.White, scale);
^
MBase.cs (27,389)
'TAPI.Defs' does not contain a definition for 'items'
DrawItem(sb, Defs.items["Vanilla:" + (text = "Tin") + " Bar"], new Vector2(pos2.X + itemOff, pos2.Y + itemOff), Main.fontMouseText.LineSpacing * scale);
^
MBase.cs (9,390)
The name 'SDrawing' does not exist in the current context
SDrawing.StringShadowed(sb, Main.fontMouseText, text, new Vector2(pos2.X + 20, pos2.Y), Color.White, scale);
^
MBase.cs (27,397)
'TAPI.Defs' does not contain a definition for 'items'
DrawItem(sb, Defs.items["Vanilla:" + (text = "Iron") + " Bar"], new Vector2(pos2.X + itemOff, pos2.Y + itemOff), Main.fontMouseText.LineSpacing * scale);
^
MBase.cs (9,398)
The name 'SDrawing' does not exist in the current context
SDrawing.StringShadowed(sb, Main.fontMouseText, text, new Vector2(pos2.X + 20, pos2.Y), Color.White, scale);
^
MBase.cs (27,404)
'TAPI.Defs' does not contain a definition for 'items'
DrawItem(sb, Defs.items["Vanilla:" + (text = "Lead") + " Bar"], new Vector2(pos2.X + itemOff, pos2.Y + itemOff), Main.fontMouseText.LineSpacing * scale);
^
MBase.cs (9,405)
The name 'SDrawing' does not exist in the current context
SDrawing.StringShadowed(sb, Main.fontMouseText, text, new Vector2(pos2.X + 20, pos2.Y), Color.White, scale);
^
MBase.cs (27,412)
'TAPI.Defs' does not contain a definition for 'items'
DrawItem(sb, Defs.items["Vanilla:" + (text = "Silver") + " Bar"], new Vector2(pos2.X + itemOff, pos2.Y + itemOff), Main.fontMouseText.LineSpacing * scale);
^
MBase.cs (9,413)
The name 'SDrawing' does not exist in the current context
SDrawing.StringShadowed(sb, Main.fontMouseText, text, new Vector2(pos2.X + 20, pos2.Y), Color.White, scale);
^
MBase.cs (27,419)
'TAPI.Defs' does not contain a definition for 'items'
DrawItem(sb, Defs.items["Vanilla:" + (text = "Tungsten") + " Bar"], new Vector2(pos2.X + itemOff, pos2.Y + itemOff), Main.fontMouseText.LineSpacing * scale);
^
MBase.cs (9,420)
The name 'SDrawing' does not exist in the current context
SDrawing.StringShadowed(sb, Main.fontMouseText, text, new Vector2(pos2.X + 20, pos2.Y), Color.White, scale);
^
MBase.cs (27,427)
'TAPI.Defs' does not contain a definition for 'items'
DrawItem(sb, Defs.items["Vanilla:" + (text = "Gold") + " Bar"], new Vector2(pos2.X + itemOff, pos2.Y + itemOff), Main.fontMouseText.LineSpacing * scale);
^
MBase.cs (9,428)
The name 'SDrawing' does not exist in the current context
SDrawing.StringShadowed(sb, Main.fontMouseText, text, new Vector2(pos2.X + 20, pos2.Y), Color.White, scale);
^
MBase.cs (27,434)
'TAPI.Defs' does not contain a definition for 'items'
DrawItem(sb, Defs.items["Vanilla:" + (text = "Platinum") + " Bar"], new Vector2(pos2.X + itemOff, pos2.Y + itemOff), Main.fontMouseText.LineSpacing * scale);
^
MBase.cs (9,435)
The name 'SDrawing' does not exist in the current context
SDrawing.StringShadowed(sb, Main.fontMouseText, text, new Vector2(pos2.X + 20, pos2.Y), Color.White, scale);
^
MBase.cs (26,443)
'TAPI.Defs' does not contain a definition for 'items'
DrawItem(sb, Defs.items["Vanilla:" + (text = (wi.oreHard[0] ? "Palladium" : "Cobalt")) + " Bar"], new Vector2(pos.X + itemOff, pos.Y + itemOff), Main.fontMouseText.LineSpacing * scale);
^
MBase.cs (8,444)
The name 'SDrawing' does not exist in the current context
SDrawing.StringShadowed(sb, Main.fontMouseText, text, new Vector2(pos.X + 20, pos.Y), Color.White, scale);
^
MBase.cs (26,447)
'TAPI.Defs' does not contain a definition for 'items'
DrawItem(sb, Defs.items["Vanilla:" + (text = (wi.oreHard[1] ? "Orichalcum" : "Mythril")) + " Bar"], new Vector2(pos.X + itemOff, pos.Y + itemOff), Main.fontMouseText.LineSpacing * scale);
^
MBase.cs (8,448)
The name 'SDrawing' does not exist in the current context
SDrawing.StringShadowed(sb, Main.fontMouseText, text, new Vector2(pos.X + 20, pos.Y), Color.White, scale);
^
MBase.cs (26,451)
'TAPI.Defs' does not contain a definition for 'items'
DrawItem(sb, Defs.items["Vanilla:" + (text = (wi.oreHard[2] ? "Titanium" : "Adamantite")) + " Bar"], new Vector2(pos.X + itemOff, pos.Y + itemOff), Main.fontMouseText.LineSpacing * scale);
^
MBase.cs (8,452)
The name 'SDrawing' does not exist in the current context
SDrawing.StringShadowed(sb, Main.fontMouseText, text, new Vector2(pos.X + 20, pos.Y), Color.White, scale);
^
MBase.cs (27,461)
'TAPI.Defs' does not contain a definition for 'items'
DrawItem(sb, Defs.items["Vanilla:Suspicious Looking Eye"], new Vector2(pos2.X + itemOff, pos2.Y + itemOff), Main.fontMouseText.LineSpacing * scale);
^
MBase.cs (9,462)
The name 'SDrawing' does not exist in the current context
SDrawing.StringShadowed(sb, Main.fontMouseText, text, new Vector2(pos2.X + 20, pos2.Y), Color.White, scale);
^
MBase.cs (28,471)
'TAPI.Defs' does not contain a definition for 'items'
DrawItem(sb, Defs.items["Vanilla:Worm Food"], new Vector2(pos2.X + itemOff, pos2.Y + itemOff), Main.fontMouseText.LineSpacing * scale);
^
MBase.cs (28,476)
'TAPI.Defs' does not contain a definition for 'items'
DrawItem(sb, Defs.items["Vanilla:Bloody Spine"], new Vector2(pos2.X + itemOff, pos2.Y + itemOff), Main.fontMouseText.LineSpacing * scale);
^
MBase.cs (9,478)
The name 'SDrawing' does not exist in the current context
SDrawing.StringShadowed(sb, Main.fontMouseText, text, new Vector2(pos2.X + 20, pos2.Y), Color.White, scale);
^
MBase.cs (27,485)
'TAPI.Defs' does not contain a definition for 'items'
DrawItem(sb, Defs.items["Vanilla:Clothier Voodoo Doll"], new Vector2(pos2.X + itemOff, pos2.Y + itemOff), Main.fontMouseText.LineSpacing * scale);
^
MBase.cs (9,486)
The name 'SDrawing' does not exist in the current context
SDrawing.StringShadowed(sb, Main.fontMouseText, text, new Vector2(pos2.X + 20, pos2.Y), Color.White, scale);
^
MBase.cs (27,493)
'TAPI.Defs' does not contain a definition for 'items'
DrawItem(sb, Defs.items["Vanilla:Abeemination"], new Vector2(pos2.X + itemOff, pos2.Y + itemOff), Main.fontMouseText.LineSpacing * scale);
^
MBase.cs (9,494)
The name 'SDrawing' does not exist in the current context
SDrawing.StringShadowed(sb, Main.fontMouseText, text, new Vector2(pos2.X + 20, pos2.Y), Color.White, scale);
^
MBase.cs (27,505)
'TAPI.Defs' does not contain a definition for 'items'
DrawItem(sb, Defs.items["Vanilla:Mechanical Worm"], new Vector2(pos2.X + itemOff, pos2.Y + itemOff), Main.fontMouseText.LineSpacing * scale);
^
MBase.cs (9,506)
The name 'SDrawing' does not exist in the current context
SDrawing.StringShadowed(sb, Main.fontMouseText, text, new Vector2(pos2.X + 20, pos2.Y), Color.White, scale);
^
MBase.cs (27,513)
'TAPI.Defs' does not contain a definition for 'items'
DrawItem(sb, Defs.items["Vanilla:Mechanical Eye"], new Vector2(pos2.X + itemOff, pos2.Y + itemOff), Main.fontMouseText.LineSpacing * scale);
^
MBase.cs (9,514)
The name 'SDrawing' does not exist in the current context
SDrawing.StringShadowed(sb, Main.fontMouseText, text, new Vector2(pos2.X + 20, pos2.Y), Color.White, scale);
^
MBase.cs (27,521)
'TAPI.Defs' does not contain a definition for 'items'
DrawItem(sb, Defs.items["Vanilla:Mechanical Skull"], new Vector2(pos2.X + itemOff, pos2.Y + itemOff), Main.fontMouseText.LineSpacing * scale);
^
MBase.cs (9,522)
The name 'SDrawing' does not exist in the current context
SDrawing.StringShadowed(sb, Main.fontMouseText, text, new Vector2(pos2.X + 20, pos2.Y), Color.White, scale);
^
MBase.cs (9,530)
The name 'SDrawing' does not exist in the current context
SDrawing.StringShadowed(sb, Main.fontMouseText, text, new Vector2(pos2.X + 20, pos2.Y), Color.White, scale);
^
MBase.cs (27,537)
'TAPI.Defs' does not contain a definition for 'items'
DrawItem(sb, Defs.items["Vanilla:Lihzahrd Power Cell"], new Vector2(pos2.X + itemOff, pos2.Y + itemOff), Main.fontMouseText.LineSpacing * scale);
^
MBase.cs (9,538)
The name 'SDrawing' does not exist in the current context
SDrawing.StringShadowed(sb, Main.fontMouseText, text, new Vector2(pos2.X + 20, pos2.Y), Color.White, scale);
^
MBase.cs (18,549)
'TAPI.Defs' does not contain a definition for 'npcs'
if (Defs.npcs.ContainsKey(townNPC)) def = Defs.npcs[townNPC];
^
MBase.cs (56,549)
'TAPI.Defs' does not contain a definition for 'npcs'
if (Defs.npcs.ContainsKey(townNPC)) def = Defs.npcs[townNPC];
^
MBase.cs (9,554)
The name 'SDrawing' does not exist in the current context
SDrawing.StringShadowed(sb, Main.fontMouseText, text, new Vector2(pos2.X + 20, pos2.Y), Color.White, scale);
^
MBase.cs (44,607)
The name 'modName' does not exist in the current context
if (File.Exists(Main.WorldPath + "/" + modName + ".dat")) File.Delete(Main.WorldPath + "/" + modName + ".dat");
^
MBase.cs (98,607)
The name 'modName' does not exist in the current context
if (File.Exists(Main.WorldPath + "/" + modName + ".dat")) File.Delete(Main.WorldPath + "/" + modName + ".dat");
^
MBase.cs (47,618)
The name 'modName' does not exist in the current context
File.WriteAllBytes(Main.WorldPath + "/" + modName + ".dat", bb.ReadBytes());
^
MInterface.cs (40,10)
'TAPI.ModInterface' does not contain a constructor that takes 1 arguments
public MInterface(ModBase modBase) : base(modBase) { }
^
MWorld.cs (36,13)
'TAPI.ModWorld' does not contain a constructor that takes 1 arguments
public MWorld(ModBase modBase) : base(modBase) { }
^
WGTInfo.cs (50,8)
'TAPI.ModBase' does not contain a definition for 'modName' and no extension method 'modName' accepting a first argument of type 'TAPI.ModBase' could be found (are you missing a using directive or an assembly reference?)
public WGTInfo(ModBase modBase) : base(modBase.modName) { }
^
Failed to build Player 'n' World Preview.

========================================
Building mod Bridge ItemSuffixes-FCM

Validating Jsons...
Setting up mod references...
Compiling code...
Packaging...

Done.

========================================
Building mod FCM Standard

Validating Jsons...
Setting up mod references...
Setting up DLL references...
Compiling code...
PlayerSnapshot.cs (11,251)
'Terraria.Player' does not contain a definition for 'DrawFull' and no extension method 'DrawFull' accepting a first argument of type 'Terraria.Player' could be found (are you missing a using directive or an assembly reference?)
player.DrawFull();
^
Failed to build FCM Standard.

========================================

Built 8 mods.

 
Achievements is discontinued. Not that I did much there.
Meh... Suffixes sure are a pain... I'll *try* to look into it today after college, if I'm not brain-dead when I get back.
 
Had a bit of trouble building the Inventory Tweaks mod, but replacing the old ShockahBase file with the newly built one allowed me to build it properly.

Unfortunately, the newest build if Inventory Tweaks causes the Crafting UI to break. The ability to split stacks can be used within the crafting interface. If you right click on Wood Wall (4), you'll receive 2 Wood Walls. If you make it with left click, you'll get 2 Wood Walls. Do it again, and it'll be split again. Again, the slot will be empty; trying to make it anyway will simply cause you to lose Wood for nothing.
 
Had a bit of trouble building the Inventory Tweaks mod, but replacing the old ShockahBase file with the newly built one allowed me to build it properly.

Unfortunately, the newest build if Inventory Tweaks causes the Crafting UI to break. The ability to split stacks can be used within the crafting interface. If you right click on Wood Wall (4), you'll receive 2 Wood Walls. If you make it with left click, you'll get 2 Wood Walls. Do it again, and it'll be split again. Again, the slot will be empty; trying to make it anyway will simply cause you to lose Wood for nothing.
Uh oh... Good thing you found that before it was officially released :S

the accessory slots mod conflicts with Thorium+, i hope for a fix soon
A stack trace / exception log would be appreciated.
 
Status
Not open for further replies.
Back
Top Bottom