tModLoader

tModLoader

Summoners' Association
This topic has been locked
Mickmane 21 Sep, 2022 @ 6:06am
Only 2 instead of 6 minions, server log excerpt.
In reply to the previous comments:

----------------------------------------------------------------
Mickmane 7 hours ago
Hiya. :) I really like the auto-summoning, but it doesn't work properly.

Spooky armor, and Acorn Bracelet from the Infinite Minions mod.
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2821690764

It only summons 2 minions, even though history has 6 saved. When I remove and put back the spooky armor, I can manually summon more minions. Which kind of defeats the point of the Automatic Minion History Book. :)

Could you fix this please?

Thanks! :)
--------------------------------
Vlidmir Putan 5 hours ago
I've just tested it with the gear you mentioned + a summon that only occupies 1 slot (slime staff) and it summoned 6 minions for me
--------------------------------
Vlidmir Putan 5 hours ago
it's likely you experience a silent exception which would be logged. Go to the discord (linked in the mod description above) and ask for help there
----------------------------------------------------------------

Discord isn't an option, but comments are awkward, so I thought I could paste the excerpt of the log here, and possible more info.

I also used Slime Staff earlier, by now it's Flinx.

The dedicated server window already says "Object reference not set to an instance of an object. (see server.log for full trace)" upon joining.

I'm the host, btw. Doing a separate server so friends and I can leave and get something from another character or world at will.

Log excerpt:

----------------------------------------------------------------
[14:45:58.330] [Main Thread/INFO] [Terraria]: Mickmane has joined.
[14:45:58.878] [Main Thread/WARN] [tML]: Silently Caught Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at Terraria.Lighting.GetColor(Int32 x, Int32 y) in tModLoader\Terraria\Lighting.cs:line 186
at Terraria.Projectile.AI_067_FreakingPirates() in tModLoader\Terraria\Projectile.cs:line 31714
at Terraria.Projectile.VanillaAI() in tModLoader\Terraria\Projectile.cs:line 20754
at DMD<Terraria.ModLoader.ProjectileLoader::ProjectileAI>(Projectile projectile)
at SummonersAssociation.Items.MinionControlRod.ResetFriendlyAndChaseable(orig_ProjectileAI orig, Projectile self) in SummonersAssociation\Items\MinionControlRod.cs:line 550
at Terraria.Projectile.Update(Int32 i) in tModLoader\Terraria\Projectile.cs:line 11718
at DMD<Terraria.Main::DoUpdateInWorld>(Main this, Stopwatch sw)
at Terraria.Main.DoUpdate(GameTime& gameTime) in tModLoader\Terraria\Main.cs:line 13152
at Terraria.Main.Update(GameTime gameTime) in tModLoader\Terraria\Main.cs:line 12707
at Terraria.Main.DedServ_PostModLoad(Boolean& reloadMods) in tModLoader\Terraria\Main.cs:line 4666
at Terraria.Main.DedServ() in tModLoader\Terraria\Main.cs:line 4201
at Terraria.Program.LaunchGame_(Boolean isServer) in tModLoader\Terraria\Program.cs:line 233
at Terraria.Program.LaunchGame(String[] args, Boolean monoArgs) in tModLoader\Terraria\Program.cs:line 192
at MonoLaunch.<>c__DisplayClass1_0.<Main>b__0() in tModLoader\Terraria\MonoLaunch.cs:line 56
at System.Threading.Thread.StartCallback()

[14:46:10.369] [Server Loop Thread/INFO] [Network]: [0][127.0.0.1:(port) (Mickmane)] Terminating: Connection lost
[14:46:10.370] [Server Loop Thread/INFO] [Network]: [0][127.0.0.1:(port) (Mickmane)] Closing TcpSocket
[14:46:10.370] [Server Loop Thread/INFO] [Terraria]: Mickmane has left.
----------------------------------------------------------------

I removed the (port) because I am too ignorant to know whether that's sensitive information. :)

I'm using a pile of other mods, and hope not one of them is at fault. Maybe you can tell from the logfile excerpt? (The whole thing is 36k, a bit much to paste.)

My current modlist:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2789200592

Thanks for any help! :)
< >
Showing 1-10 of 10 comments
Vlidmir Putan  [developer] 21 Sep, 2022 @ 6:49am 
I would need to see the full log, post it using paste.mod.gg (both client and server log)
Have you also tried to do it in singleplayer to reproduce the issue?
Mickmane 21 Sep, 2022 @ 7:18am 
I have now started it in singleplayer, and it summoned only 1 Flinx. The following logfiles are from that session.

Server log: https://paste.mod.gg/bdehdbbeatuq/0
Client log: https://paste.mod.gg/ikiyugkiclgr/0

Thank you for looking into this! :))
Vlidmir Putan  [developer] 21 Sep, 2022 @ 7:56am 
try reducing your mod list until the bug stops happening, to track down what causes it.
Mickmane 21 Sep, 2022 @ 2:40pm 
After turning on and off some mods, I disabled ALL mods, and enabled only the two summoning mods, this one and Infinite Minions.

Depending on whether I turn on "Speed up summon weapons" in the Infinite Minions mod, I get 2 (when off) 4 (when on), but never 6 Flinx. (Unless I take out and put back the Spooky Armor, and then manually summon more.)

The test happens upon joining the world, I didn't bother to find something to kill my character. :)

I started only the client with singleplayer for this test. The server.log is from hours ago, so here's only the new client.log:

https://paste.mod.gg/cjpxbjefyxdv/0

Btw, I'm on the stable version of Tmodloader. v2022.8.54.6

If it matters, my computer:
Windows 10 Home (64-bit, x64-based processor)
AMD Ryzen 5 2600X Six-Core Processor, 3.60 GHz
16GB RAM
GeForce GTX 950 Graphic card
BenQ EL2870U Monitor
(Sometimes TV on HDMI.)

No Pen or Touch input

Internet Speedtest:
Average Download: 62.02Mbit
Average Upload: 12.40Mbit

I hope you can figure this out, and thanks again! :)
Vlidmir Putan  [developer] 22 Sep, 2022 @ 3:14am 
and you configured the book to spawn 6 minions?
Have you tried making a new player? the logs complain about some loading issues with your player.
Vlidmir Putan  [developer] 22 Sep, 2022 @ 3:17am 
okay i think I got it: Make sure you have more than 20 max mana
Mickmane 22 Sep, 2022 @ 3:24am 
Originally posted by Vlidmir Putan:
okay i think I got it: Make sure you have more than 20 max mana

Ooooh! Lol, thank you! (-Forehead meets table- It's so obvious now that you point it out! :) )

I was just equipping a new test character when this 2nd notification turned up, and went to test with an old character who actually has mana. Tata! Summoned 7 enchanted swords, once they were saved.

Thanks again. :))
Vlidmir Putan  [developer] 28 Sep, 2022 @ 6:10am 
Latest update added an extra tooltip to the books that lists the total mana cost for the loadout. Will hopefully avoid future confusion
Mickmane 28 Sep, 2022 @ 6:17am 
Originally posted by Vlidmir Putan:
Latest update added an extra tooltip to the books that lists the total mana cost for the loadout. Will hopefully avoid future confusion

Cool, thanks! :)

Btw, for some reason I can't mark your previous last post as answering the question, maybe you can do that?
Vlidmir Putan  [developer] 28 Sep, 2022 @ 6:18am 
im not a mod/maintainer so I cant
< >
Showing 1-10 of 10 comments
Per page: 1530 50