spacebuild / sbep

Spacebuild Enhancement Pack.
Apache License 2.0
75 stars 89 forks source link

SBEP - part spawner, some lua errors #89

Closed viktorkovarik closed 8 years ago

viktorkovarik commented 8 years ago

ServerLog: [ULX] Trainspot.exe used the tool sbep_part_spawn er on maps/sb_forlorn_sb3_r3.bsp Trainspot.exe used the tool sbep_part_spawner on maps/sb_for lorn_sb3_r3.bsp

[ERROR] addons/sbep-master/lua/weapons/gmod_tool/stools/sbep_part_spawner.lua:64 : attempt to call method 'ConCommand' (a nil value)

  1. RightClick - addons/sbep-master/lua/weapons/gmod_tool/stools/sbep_part_spaw ner.lua:64
    1. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua:281

It seems that this error occurs when you try to switch between part assembler and spawner using right click - Windows srcds

generalwrex commented 8 years ago

Thanks for the report! We'll look into it

viktorkovarik commented 8 years ago

My pleasure! I am happy that you started taking care of it, I was so desperate that I planned to try to fix some big bugs on my own but I've failed :D

copperwarrior commented 8 years ago

This is caused by TheMerkyShadow's recent fix to make the part spawner switch to the part assembler. Currently the functionality only works on servers, but will be fixed as soon as he can revisit it.

ghost commented 8 years ago

https://github.com/spacebuild/sbep/pull/91/files

X-Coder commented 8 years ago

TheMerkyShadow fixed the issue, and we changed it to shift-right for quick toggle between both tools. Workshop version needs to be updated first, before it works with it. Until then you can try the current github repository.