1. This forum is ARCHIVED! Visit the new Cloud Sixteen forums, codename Eden, at https://eden.cloudsixteen.com. These forums will remain archived for a few months before being closed down, so try to encourage plugin developers to begin moving their content across to the new forums.
Dismiss Notice
Hi Guest, you need a Steam account to register and post on these forums. Login with Steam at the top of the forums to get started!
Dismiss Notice
Hi Guest, do you want to buy HL2RP or another Clockwork schema? Visit the Cloud Sixteen Store to get started!

[Request] RealCS Fix

Discussion in 'Discussion' started by Destroyer, Dec 31, 2012.

  1. Hello everyone, I've tempted to make realcs weapons into sh_weapon items. They work fine and all, but I have to turn on sv_kickerrornum 0 in the rcon when I join, otherwise I get kicked via too many LUA errors. But I've been told it's broken. It has to do with this.

    framework/derma/cl_classes.lua
    framework/plugins/RealCS/entities/effects/rg_shelleject/init.lua
    framework/plugins/RealCS/entities/effects/rg_shelleject_rifle/init.lua
    framework/plugins/RealCS/entities/effects/rg_shelleject_shotgun/init.lua framework/plugins/RealCS/entities/weapons/rcs_base/shared.lua

    I'd paste the full error, but it doesnt show up in console.log.
    It says that stuff is missing, for reference, I'll try to find the error.
     
  2. [ERROR] ...ins/realcs/entities/effects/rg_shelleject_rifle/init.lua:40: attempt to call method 'SetAngle' (a nil value)
    1. unknown - ...ins/realcs/entities/effects/rg_shelleject_rifle/init.lua:40
    2. Effect - [C]:-1
    3. ShootEffects - ...work/plugins/realcs/entities/weapons/rcs_base/shared.lua:970
    4. CSShootBullet - ...work/plugins/realcs/entities/weapons/rcs_base/shared.lua:506
    5. unknown - ...work/plugins/realcs/entities/weapons/rcs_base/shared.lua:452

    That's the error.
     
  3. Been getting the same error as well, though it seems like only the shooter can be crashed when firing one of the firearms, as one of my members demonstrated this to me earlier today.
     
  4. Well, were your members spawning the realcs to themselves, or have you converted them to actual items in the gamemode, like I have.

    I read on the Git that a past Clockwork contributor fixed it, in his words "When I feel like releasing it", so, maybe someone of the community can take a crack at fixing it?
     
  5. alexgrist

    alexgrist Guest

    No, I told you I'll release version 0.84 when I feel like it should be released. I'm not going to fix one thing then release it instantly, I'll fix multiple.
     
  6. I had asked you about the RealCS, at the time you didnt mention it in an upcoming update, you just said "I'll release it when I want to", sorry about the confusion on my part.
     
  7. Spencer

    Spencer Spencer Sharkey

    Here's a temporary fix to the issue.
    http://puu.sh/1IelC

    Replace the RealCS Folder in the Zip package with the one in your addons folder obviously.
    The problem is that Garry changed object:SetAngle(angle) methods to be more uniform through-ought his code, so they've all been changed to object:SetAngles(angle).

    Still though, be sure to keep your Clockwork up to date when Alex decides to release 0.84! This is only a temporary unofficial fix and will cause headaches later if you do not overwrite it when a new patch comes out.
     
  8. i love you
     

Previous Readers (Total: 0)