Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

comp_vactube failed in compiler saying no objects are registered even though they are #293

Open
SenseiUsagi opened this issue Jan 26, 2025 · 3 comments
Labels

Comments

@SenseiUsagi
Copy link

I hope I am not stupid or this is a duplicate issue but when compiling I get an error saying "ValueError: Node <Spawner "Vac_Test_Start" @ -256 -256 -184, 270 0 0> uses group "vac_test", which has no objects registered!" even though I have comp_vactube_objects set with that group.

Image:
Image

Github doesnt allow me to upload the log file for some reason so I have pasted the last few lines of it here:

[DEBUG] mdl_compiler.get_model(): Packing model C:\Program Files (x86)\Steam\steamapps\common\Portal 2\portal2\models\maps\testing stuff big\ropes\mdl_e72c.mdl:
[DEBUG] bsp.get(): Load game lump BSP_LUMPS.NODES (54240 bytes)
[DEBUG] bsp.get(): Load game lump BSP_LUMPS.PLANES (54360 bytes)
[DEBUG] bsp.get(): Load game lump BSP_LUMPS.FACES (67760 bytes)
[DEBUG] bsp.get(): Load game lump BSP_LUMPS.ORIGINALFACES (46816 bytes)
[DEBUG] bsp.get(): Load game lump BSP_LUMPS.PRIMITIVES (790 bytes)
[DEBUG] bsp.get(): Load game lump BSP_LUMPS.SURFEDGES (35040 bytes)
[DEBUG] bsp.get(): Load game lump BSP_LUMPS.VERTEXES (43728 bytes)
[DEBUG] bsp.get(): Load game lump BSP_LUMPS.TEXINFO (20808 bytes)
[DEBUG] bsp.get(): Load game lump BSP_LUMPS.TEXDATA_STRING_DATA (1871 bytes)
[DEBUG] bsp.get(): Load game lump BSP_LUMPS.LEAFS (57376 bytes)
[DEBUG] bsp.get(): Load game lump BSP_LUMPS.BRUSHES (8652 bytes)
[DEBUG] bsp.get(): Load game lump b'sprp' v9 (13410 bytes)
[INFO] mdl_compiler.exit(): Culled 4 models in models/maps/testing stuff big/ropes/*
[INFO] geocable.comp_prop_rope(): Built 2 models.
[INFO] bsp_trans.run_transformations(): Running "Attachment Points"...
[DEBUG] bsp_trans.run_transformations(): Config: Keyvalues('Attachment Points', [])
[INFO] bsp_trans.run_transformations(): Running "VScript Init Code"...
[DEBUG] bsp_trans.run_transformations(): Config: Keyvalues('VScript Init Code', [])
[INFO] bsp_trans.run_transformations(): Running "VScript RunScript Inputs"...
[DEBUG] bsp_trans.run_transformations(): Config: Keyvalues('VScript RunScript Inputs', [])
[INFO] bsp_trans.run_transformations(): Running "func_instance_io_proxy"...
[DEBUG] bsp_trans.run_transformations(): Config: Keyvalues('func_instance_io_proxy', [])
[INFO] bsp_trans.run_transformations(): Running "Optimise Areaportals"...
[DEBUG] bsp_trans.run_transformations(): Config: Keyvalues('Optimise Areaportals', [])
[INFO] bsp_trans.run_transformations(): Running "Branch Listener UniqueState"...
[DEBUG] bsp_trans.run_transformations(): Config: Keyvalues('Branch Listener UniqueState', [])
[INFO] bsp_trans.run_transformations(): Running "Enable info_target clientside"...
[DEBUG] bsp_trans.run_transformations(): Config: Keyvalues('Enable info_target clientside', [])
[INFO] bsp_trans.run_transformations(): Running "Fix alternate classnames"...
[DEBUG] bsp_trans.run_transformations(): Config: Keyvalues('Fix alternate classnames', [])
[INFO] bsp_trans.run_transformations(): Running "comp_adv_output"...
[DEBUG] bsp_trans.run_transformations(): Config: Keyvalues('comp_adv_output', [])
[INFO] bsp_trans.run_transformations(): Running "comp_cubemap_parallax"...
[DEBUG] bsp_trans.run_transformations(): Config: Keyvalues('comp_cubemap_parallax', [])
[INFO] bsp_trans.run_transformations(): Running "comp_entity_finder"...
[DEBUG] bsp_trans.run_transformations(): Config: Keyvalues('comp_entity_finder', [])
[INFO] bsp_trans.run_transformations(): Running "comp_entity_mover"...
[DEBUG] bsp_trans.run_transformations(): Config: Keyvalues('comp_entity_mover', [])
[INFO] bsp_trans.run_transformations(): Running "comp_flicker"...
[DEBUG] bsp_trans.run_transformations(): Config: Keyvalues('comp_flicker', [])
[INFO] bsp_trans.run_transformations(): Running "comp_kv_setter"...
[DEBUG] bsp_trans.run_transformations(): Config: Keyvalues('comp_kv_setter', [])
[INFO] bsp_trans.run_transformations(): Running "comp_numeric_transition"...
[DEBUG] bsp_trans.run_transformations(): Config: Keyvalues('comp_numeric_transition', [])
[INFO] bsp_trans.run_transformations(): Running "comp_scriptvar_setter"...
[DEBUG] bsp_trans.run_transformations(): Config: Keyvalues('comp_scriptvar_setter', [])
[INFO] bsp_trans.run_transformations(): Running "comp_sequential_call"...
[DEBUG] bsp_trans.run_transformations(): Config: Keyvalues('comp_sequential_call', [])
[INFO] bsp_trans.run_transformations(): Running "Portal 2 Vactubes"...
[DEBUG] bsp_trans.run_transformations(): Config: Keyvalues('Portal 2 Vactubes', [])
[INFO] nodes.init(): Spawner "Vac_Test_Start" using random seed "D4C4FBF05A40B684"
[INFO] init.vactube_transform(): 7 vactube nodes found.
[DEBUG] init.vactube_transform(): Nodes: [<Spawner "Vac_Test_Start" @ -256 -256 -184, 270 0 0>, <Destroyer "Vac_Test_end" @ -768 256 320, 0 270 0>, <Destroyer "Vac_Test_end2" @ -256 -256 976, 90 0 0>, <Straight "Vac_Test_JunkScan2" @ -256 -256 608, 270 180 0>, <Curve "Vac_Test_Junk2" @ -576 -248 320, 270 90 0>, <Splitter "Vac_Test_Junk" @ -256 -256 256, 0 180 90>, <Straight "Vac_Test_JunkScan" @ -256 -256 48, 270 180 0>]
[INFO] init.vactube_transform(): 11 vactube objects found.
[INFO] init.vactube_transform(): Linking nodes...
[ERROR] logger.except_handler(): Uncaught Exception:
Traceback (most recent call last):
File "hammeraddons\postcompiler.py", line 381, in
File "trio_core_run.py", line 2010, in run
File "hammeraddons\postcompiler.py", line 225, in main
File "hammeraddons\bsp_transform_init_.py", line 192, in run_transformations
File "C:\Program Files (x86)\Steam\steamapps\common\Portal 2\bin\transforms\vactubes_init_.py", line 195, in vactube_transform
raise ValueError(group_warn)
ValueError: Node <Spawner "Vac_Test_Start" @ -256 -256 -184, 270 0 0> uses group "vac_test", which has no objects registered!

@TeamSpen210
Copy link
Owner

That is odd, try lowercasing and ensuring they're exactly identical? You can also leave them blank, "" is the default group.

@SenseiUsagi
Copy link
Author

A lowercase group name fixed it on one of my maps, but on a different one the vac tubes objects dont show up at all for some reason. I have activation mode set to auto timer in both instances

@SenseiUsagi
Copy link
Author

Ok it seems that the newly created bsp map file doesnt get correctly launched in the game? It seems any changes I make to my map are not present when the map gets automatically launched after compiling (I actually remember having this issue before but dont know remember how to fix it)

Anyway for the sake of this issue: Having a lowercase group name fixed it for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants