Jump to content

Images Never Loading - Staging Branch

Pending 1.7.0

Bob Kazamakis
Bob Kazamakis

Posted

Ever since the 1.7 update, custom images for nodes no longer load. I've deleted my custom configuration, allowing the default to load which shows the images you have and the format has not seemed to change. Do you have any ideas as to why?

Attachment is comparison between my config [which is functional on 1.6.11] and the default config.

image.png

Bob Kazamakis

Posted

image.png.55520187e70710c1190cfc652df14616.png

Just to be clear, this is what the skill tree looks like. 

  • Curator
imthenewguy

Posted

If you are using steam workshop icons as images, any attempt to download an image that is not 512x512 will stall it for you client side and requires a client restart.

It's the most common cause of an error like that.

If you are not using workshop icons, then you need to make sure the config setting specifies that you are using the url and not skin ids.

 

Bob Kazamakis

Posted

Thanks. Hopefully that will solve the issue [it was set to skinid].

I assume this was addressed in the rewrite since it didn't affect the icons before even though the same configuration was set to skinid? 

  • Curator
imthenewguy

Posted

Nope, it's been a setting for many versions.

Bob Kazamakis

Posted

It's been working prior to this update and now it doesn't so something must have changed but regardless, now I'm getting this error:

Failed to call hook 'OnServerInitialized' on plugin 'SkillTree v1.7.0' (ArgumentException: An item with the same key has already been added. Key: Mechanic)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x0015a] in <f98723dd4586469db5213ec59da723ca>:0 
  at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <f98723dd4586469db5213ec59da723ca>:0 
  at Oxide.Plugins.SkillTree.OnServerInitialized (System.Boolean initial) [0x018a4] in <87861de8d9654c44aab1b81f176ed015>:0 
  at Oxide.Plugins.SkillTree.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0bfca] in <87861de8d9654c44aab1b81f176ed015>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <112d89ea5d3348c8b949af0ab1a866d2>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <112d89ea5d3348c8b949af0ab1a866d2>:0 

I'm not sure what to do since there's only one node called Mechanic in the config so I'm unsure how a second one would exist. 

Bob Kazamakis

Posted

Update for potential people in the future: We moved things from the "Vehicles" category into a different category, "Movement" and all of the nodes that we moved there apparently had to be renamed from their original names to something else. "Mechanic" [as shown in the above error] --> "Shadetree Mechanic" or whatever tickles your fancy. It only affected the nodes that we moved so if people have more simplistic changes, it probably won't affect them. 

  • Curator
imthenewguy

Posted

14 minutes ago, Bob Kazamakis said:

Update for potential people in the future: We moved things from the "Vehicles" category into a different category, "Movement" and all of the nodes that we moved there apparently had to be renamed from their original names to something else. "Mechanic" [as shown in the above error] --> "Shadetree Mechanic" or whatever tickles your fancy. It only affected the nodes that we moved so if people have more simplistic changes, it probably won't affect them. 

Make sure you aren't deleting the default node when moving it. Just set it to enabled: false. 

Bob Kazamakis

Posted

So now, the images are just white boxes:
Screenshot2025-11-04145942.png.899aa58fed96f1c59bc51e6c2ea238b2.png

where as on our live server, on 1.6.11, they look like this:

Screenshot2025-11-04150204.png.9dacbbed5097d2990ba5112895d387fb.png

I've restarted my client. I've restarted the server. Unsure what else to do, outside of those two things. 

  • Curator
imthenewguy

Posted

23 minutes ago, Bob Kazamakis said:

So now, the images are just white boxes:
Screenshot2025-11-04145942.png.899aa58fed96f1c59bc51e6c2ea238b2.png

where as on our live server, on 1.6.11, they look like this:

Screenshot2025-11-04150204.png.9dacbbed5097d2990ba5112895d387fb.png

I've restarted my client. I've restarted the server. Unsure what else to do, outside of those two things. 

Send me your config

Bob Kazamakis

Posted (edited)

 

 

I suppose I should add that line 65 was set to false but I changed it in attempt to fix the issue

Edited by Bob Kazamakis
  • Curator
imthenewguy

Posted

24 minutes ago, Bob Kazamakis said:

skilltreeconfig.json 197.94 kB · 1 download

 

I suppose I should add that line 65 was set to false but I changed it in attempt to fix the issue

I see the issue. I will patch it in the next release. Will add an early release so you can grab the patched version.

 

  • Love 1
2m

Downloads

Total number of downloads.

9.6k

Customers

Total customers served.

139.2k

Files Sold

Total number of files sold.

2.9m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.