RimWorld

RimWorld

Ceiling Mounted Orbital Trade Beacon
74 Comments
themoistestwhale  [author] 15 Jul @ 7:41am 
@greensniperhat Also thanks for reporting the issue pinpointing where it broke with the error despite it being Steam fuckery, appreciated regardless.
themoistestwhale  [author] 15 Jul @ 7:38am 
@greensniperhat Unfortunately somewhere around v1.2.0 I decided to change the path to what it is now without knowing how bad Steam can be at updating folders/files in mods sometimes. In the current version the path is correct and the folder is named ceilingTradeBeacon, but Steam for whatever reason has been a bit weird about it and didn't always update the folder path. All I can do is ask people to delete the mod folder and resubscribe to reinstall it, which seems to fix the issue.

Try doing that to fix it. I've learned to be careful now changing texture paths, sorry :I
greensniperhat 15 Jul @ 5:46am 
Found these bugs in player.log:

Could not load Texture2D at 'ceilingTradeBeacon/ceilingDropBeacon' for def 'mwCeilingTradeBeacon' in any active mod or in base resources.

Could not load Texture2D at 'ceilingTradeBeacon/ceilingDropBeacon' for def 'Blueprint_mwCeilingTradeBeacon' in any active mod or in base resources.

it may be because the actual folder name is CeilingTradeBeacon instead of ceilingTradeBeacon.
themoistestwhale  [author] 13 Jul @ 9:18am 
@arshadlahy Two things, firstly when resubbing to this mod steam can be super weird (as it has been updating this mod at times), make sure the mod folder actually deletes before subscribing again by waiting for a little bit or even going into your in game mod manager and deleting the folder for this mod.

If that doesn’t work though then I need a full log, and also does it happen when just this mod is loaded? I’ve tried replicating it myself just now and doesn’t seem to happen on its own for me.
arsharlahy 13 Jul @ 4:04am 
noticed same error, resubscribe do not fix it
themoistestwhale  [author] 29 Mar @ 1:26am 
@Max I don't seem to have that issue testing it, could you try unsubscribing from this mod and deleting the mod folder, then resubbing to it? That might fix it.
Max 28 Mar @ 11:38am 
Seems to have some missing texture errors for buttons or whatnot?
themoistestwhale  [author] 25 Feb @ 11:08am 
@DarkNova I’ll look into it and I’ll tell you if it’s something you have to contact the other dev about. I’ve been super busy lately though so expect it to be a little bit before I can get to that. My job is working me like a shipyard orphan from early 1900s Britain.
DarkNova 25 Feb @ 7:26am 
I don't know if this is possible from your side or if I have to contact the mod dev of TD Enhancement
But would it be possible to make this mod compatible with the Building Coverage Overlay function of TD Enhancement?

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1339135272
Vagineer1 25 Nov, 2024 @ 3:57am 
So unsubbing and resubbing worked. I got the textures back.
themoistestwhale  [author] 24 Nov, 2024 @ 11:44pm 
@Vagineer1 I'll wait for your update, but from what I could tell that issue was caused by me updating the mod incorrectly for version 1.2.1 and the resubbing solution works as long as the mod folder itself is deleted and reinstalled to force update the mod to the current version.
Vagineer1 24 Nov, 2024 @ 2:07am 
I was having the same issue as GVLT with the texture not loading resulting in the in game object being the white squarish thing and the images for resizing and height being the standard missing texture image.

Just unsubbed and resubbed and will try it out in a bit and get back to you on this.
CoboCabana 13 Nov, 2024 @ 1:13pm 
THANK YOU! <3
themoistestwhale  [author] 4 Nov, 2024 @ 8:01pm 
@Inglix Glad that you like and thanks for the support! I try to revisit my old mods as I am slowly learning and improve them, especially since this one needed it badly.

I still want to add or make a separate mod to adjust the orbital trade beacon’s trading zone radius, but right now I am in an endless suffering pit messing with projectile logic for another mod that hopefully will allow throwing most melee weapons. So perhaps later :p
Inglix 4 Nov, 2024 @ 7:35pm 
Glad to see you're still actively working on this one. I absolutely love these common sense additions to the game.
GVLT 7 Oct, 2024 @ 12:46pm 
The problem was in syntaxis, it was <texPath>ceilingTradeBeacon/ceilingDropBeacon</texPath>
when it should have been <texPath>CeilingTradeBeacon/ceilingDropBeacon</texPath>
themoistestwhale  [author] 7 Oct, 2024 @ 12:17pm 
@GVLT When you unsubscribed and resubscribed it didn't clear the mod folder then I guess, which usually clears that issue. Glad you resolved it on your own at least.
GVLT 7 Oct, 2024 @ 10:44am 
Okay, I've edited your xml and now instead of purple square on the toolbar I see your texture. And the console warning is gone too.
GVLT 7 Oct, 2024 @ 10:26am 
Looks like I understand the issue. the texture is not loading from me at all. I actually pretty much prefer it this way.
themoistestwhale  [author] 7 Oct, 2024 @ 10:15am 
@GVLT I guess all of them then unfortunately.
GVLT 7 Oct, 2024 @ 10:10am 
Well, it's only one of them. My console reporting every single ceiling trading beacon on the map.
themoistestwhale  [author] 7 Oct, 2024 @ 9:45am 
@GVLT The error provides coordinates (361, 0, 354) to the trade beacon having issues, try deconstructing it in dev mode and then rebuilding it.

Also sorry for not specifying a HugsLib log, those are usually what helps modders figure out issues like this. Even then, providing the player.log can be a bit more helpful for sorting out issues I guess lol, context for the issue is just as helpful as the issue itself when fixing these things
GVLT 7 Oct, 2024 @ 5:48am 
Well, resubscribing haven't fixed the issue. Here is the log, not sure you would receive more info from it that I already gave you.
https://drive.google.com/open?id=1GkL9LsTbV9Md8aunBqGdM52XowjCOKSp&usp=drive_fs
themoistestwhale  [author] 28 Sep, 2024 @ 5:05pm 
@GVLT Sorry for a late response but I’ve been busy recently. That error means that the graphicData for the ceiling trade beacon is null for some reason. Just unsubscribe, wait a minute and then resubscribe to this mod and it should resolve.

Also, in the future try to give modders full logs via HugsLib or other methods when reporting errors like this. We’re not magicians and luckily in this case I can tell what the issue is, often that’s not the case though without a full log’s context.
GVLT 27 Sep, 2024 @ 4:57pm 
Hi, from time to time I've got this in the console. What does this error means?
Exception printing mwCeilingTradeBeacon4018493 at (361, 0, 354): System.ArgumentNullException: Value cannot be null.
Parameter name: key
[Ref 1CB6F335] Duplicate stacktrace, see ref for original
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.SectionLayer_ThingsGeneral.TakePrintFrom_Patch1 (Verse.SectionLayer_ThingsGeneral,Verse.Thing)
Verse.SectionLayer_Things:Regenerate ()
Verse.Section:TryUpdate (Verse.CellRect)
Verse.MapDrawer:MapMeshDrawerUpdate_First ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Map.MapUpdate_Patch1 (Verse.Map)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch2 (Verse.Game)
Verse.Root_Play:Update ()
[C|⦿] Typical Lama [✚] 20 Sep, 2024 @ 9:16am 
So i finally remembered to revisit this issue and apparently just resubscribing fixed it completely
[C|⦿] Typical Lama [✚] 5 Sep, 2024 @ 6:20am 
Yeah completely understandable, I won't be able to see if the resubscribing will help for another 2 days, hopefully i'll remember to respond here then xd
themoistestwhale  [author] 3 Sep, 2024 @ 4:26am 
Message 1/2

@Typical Lama Thanks for providing a log, I have to be honest with that large of a mod list and that many errors on startup also thrown this situation is just kinda impossible for me to just tell you what went wrong here, but I could gleam this much:

For some reason, the mod is unable to load the ceiling trade beacon texture via the correct file path and therefore is failing to display it at multiple locations you've installed it, each error provides coordinates to the ones having issues.
themoistestwhale  [author] 3 Sep, 2024 @ 4:25am 
Message 2/2

Since this mod uses entirely vanilla methods, I have a feeling this is caused by another mod, but first try following advice I have given below to unsubscribe from this mod and ensure the mod folder is deleted, then resubscribe. If that fails, that something else is definitely messing with this mod for some reason, and to be entirely honest that entire mod list is so large and cursed I would not be able to figure out which. All I can say at that point is to dev mode and try deleting the beacons at the coordinates the errors provide and see if it stops, then see if rebuilding them continues to throw errors or not.

Feel free to come back here if it continues to throw after trying these solutions.
[C|⦿] Typical Lama [✚] 3 Sep, 2024 @ 2:11am 
(the errors i'm talking about are at the very bottom, I have a lot of mods so inital errors are expected, but these continue being logged as the game goes on - the log is from like couple seconds unpaused at 1x speed)
[C|⦿] Typical Lama [✚] 3 Sep, 2024 @ 2:09am 
Uh my log keeps getting spammed (like 1 message/second) with these messages, is it caused by this mod or smth to do with Mono mod's(Altho idk why monoswords would be giving me errors given I have none yet?). https://gist.github.com/HugsLibRecordKeeper/fa3f9d727a979f92db9bc38caae39a49
alexa 22 Aug, 2024 @ 6:53pm 
@themoistestwhale ahhh, yep that'll do it. Glad i could be of accidental help :) cheers
themoistestwhale  [author] 22 Aug, 2024 @ 5:45pm 
@drippy二条 Thanks for this because I figured out what it is as this reminded me lol

For some reason and I logged this in the full changelog in the mod folder - I for some reason changed the texture path along with the texture. I don't know why, absolutely useless, but the combination of both seems to cause it.

Changing it back would cause this issue all over again so I won't, but thanks. That's really weird that it does that though.
alexa 22 Aug, 2024 @ 5:39pm 
Was having the same texture error printed to log, so I gathered all 12 of my IQ points and did a thing:
1) changed the folder structure, moving everything from Common into the base folder
2) edited ctb_Buildings_CeilingTradeBeacon.xml's <graphicData> field as follows:
<graphicData>
<texPath>Things/Misc/ceilingDropBeacon</texPath>

(obviously edited loadfolders accordingly and created proper folder structure for 2)
I have no clue why these things would be relevant, but no errors printed when running the game with my amended version (in the main menu).

Unable to reliably verify that any of this actually did anything as I resubscribed the mod following the advice in the comments below before testing the above in a colony save, which obviously undid everything I just described doing (oops).


tl;dr - followed advice in comments, works fine now lol. maybe something wonky about folder structure but idk why that would be the case.
themoistestwhale  [author] 20 Aug, 2024 @ 10:40pm 
@NuanKi Great! If you ever figure out where I fucked up, please do tell. In the end it is much better than these textures being too big and eating more VRAM than necessary though.
NuanKi 20 Aug, 2024 @ 10:37pm 
Yep, that fixed it, thx
themoistestwhale  [author] 20 Aug, 2024 @ 10:33pm 
@NuanKi same deal as the comment exchange below, though I am not sure why that occurs it is an easy one-time fix. Unsubscribe from this mod and make sure the mod folder itself is deleted. To find the mod folder, go to C:(parent folder)\Steam\steamapps\workshop\content\294100 (it will be 3214957801 folder) and delete if its not already gone after unsubscribing, then resub.
NuanKi 20 Aug, 2024 @ 10:20pm 
hi, i receive this error:
Could not load UnityEngine.Texture2D at ceilingTradeBeacon/ceilingDropBeacon in any active mod or in base resources.
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

heres the log: https://gist.github.com/HugsLibRecordKeeper/f34ecb1283e5c4f54f6d432b8cd62540
themoistestwhale  [author] 19 Aug, 2024 @ 10:56am 
@Alison Glad to hear you fixed it!
Alison 19 Aug, 2024 @ 6:57am 
@themoistestwhale Thank you for your support and patience, after properly deleting the mod folder and resubscribe the mod, my issue has been resolved.
themoistestwhale  [author] 19 Aug, 2024 @ 2:45am 
@Alison In my previous comment I was wrong about steam workshop download buttons for specific versions in change notes. It does exist, but apparently only for the creators of the mod for whatever reason so here's a Dropbox link I made with the previous version instead: 1.2.1 [www.dropbox.com]
themoistestwhale  [author] 19 Aug, 2024 @ 2:37am 
@Alison Having read the log and double checked in game myself, and even asked someone to sanity check me in case I missed something- I am pretty sure that it is an issue on your end only and not with the mod update, especially as no other reports have come.

You can download the previous version 1.2.1 here in the change notes where Steam has recently added download buttons for each version in case you want to revert and see if that will fix it.

Otherwise though I am not sure what would be causing this other than the DDS texture conversion thing I mentioned previously, especially as me and a friend can't replicate the issue. It's currently past 4am where I'm at right now, so I do not have time to look into it further right now if I want to wake up tomorrow unfortunately.
Alison 19 Aug, 2024 @ 2:16am 
themoistestwhale  [author] 19 Aug, 2024 @ 1:32am 
@Alison The mod is not broken currently, that is an issue on your end. I have double checked everything currently within vanilla, textures load fine and with verbose logging on don't throw a warning that showed up in the previous version. Tested in 1.5 clean save, with and without DLCs. Also, downloaded a copy from Steam workshop and checked the mod folder, textures and present and the texture path is correct.

I am not sure what is causing this issue for you but you can try unsubscribing and resubscribing to the mod, as well as checking if the textures are present for you in your copy of the mod folder. If you have converted your textures to DDS format using Rimpy or toDDS, that may be causing an issue as well and would probably just be fixed by cleaning the converted textures and reconverting them.

I appreciate reporting if you think there is a concern so thank you, but a log is helpful next time to assist me in fixing your issue.
Alison 19 Aug, 2024 @ 1:03am 
Excuse me? After the latest update this mod is broken. No texture for the beacon and errors like "Could not load UnityEngine.Texture2D at ceilingTradeBeacon/ceilingDropBeacon in any active mod or in base resources." "Exception printing mwCeilingTradeBeacon21834 at (133, 0, 130): System.ArgumentNullException: Value cannot be null.
Parameter name: key" pop up when I start the game and load a save. Tested it with minimal instances and the problem does not resolved.
themoistestwhale  [author] 29 Jul, 2024 @ 8:39am 
@Alison Yeah that's an annoying thing you can't tweak in vanilla XML, I'll be pushing a small update soon to try resolving that if you also use Owl's Simple Utilities: Ceiling.
Alison 20 Jul, 2024 @ 10:18pm 
Why can I construct a Ceiling Mounted Orbital Trade Beacon at a location without roof? I think it should be not able to do so.
themoistestwhale  [author] 20 Jul, 2024 @ 2:21pm 
@Waterkate I believe I’ve seen a wall mounted version already and I recently forked the Stuff on Tables mod which can let you place the regular one on tables or shelves.
Waterkate 20 Jul, 2024 @ 9:00am 
thanks for this mod! if you find the time, a wall mounted one would also be very useful. i use 15x15 interior storage rooms with a wall in the very center, so that would work perfectly for me (also, a square mode would be super cool)
spartandued 30 May, 2024 @ 8:50pm 
@themoistestwhale, thanks brother.I'll hit you up with a screenshot or something, maybe you can help me make heads or tails of it.