MattJeanes / PewPew

Divran's old GCombat remake now up to date for Garry's Mod 13.
7 stars 9 forks source link

Shield effect missing and producing lua errors #9

Closed lintglitch closed 11 years ago

lintglitch commented 11 years ago

Interaction with the shield from cap works now, but is missing visual effects and is creating lua errors (see end of post).

Using the steam workshop version update 3.Juli (seems to be the 137d288e47fb9eceeac25d94be64f0528abd5ae6 commit) on Windows 64bit with newest cap.

I also posted on the workshop. Just leave a reply with your preference so I know where to post in the future.

P.S.: On an unrelated note: Using the wiremod to wire fire or reload is not saved with the AdvancedDuplicator. Not sure if its an issue with pewpew or the duplicator. Would be quite awesome if that could be fixed.

Error Output:

[PewPew V2] addons/cap/lua/entities/shield/init.lua:401: attempt to index local 'e' (a nil value)

  1. HitEffect - addons/cap/lua/entities/shield/init.lua:401
    1. Hit - addons/cap/lua/entities/shield/init.lua:463
    2. Fire - lua/pewpewbullets/official_weapons/lasers/beamlaser.lua:44
      1. FireBullet - lua/entities/pewpew_base_cannon/init.lua:260
      2. InputChange - lua/entities/pewpew_base_cannon/init.lua:363
      3. func - lua/entities/pewpew_base_cannon/init.lua:400
      4. FireImpulse - lua/includes/modules/numpad.lua:86
        1. Activate - lua/includes/modules/numpad.lua:114
        2. unknown - gamemodes/sandbox/gamemode/player.lua:206

[PewPew V2] addons/cap/lua/entities/shield/init.lua:401: attempt to index local 'e' (a nil value)

  1. HitEffect - addons/cap/lua/entities/shield/init.lua:401
    1. Hit - addons/cap/lua/entities/shield/init.lua:463
    2. Fire - lua/pewpewbullets/official_weapons/lasers/beamlaser.lua:44
      1. FireBullet - lua/entities/pewpew_base_cannon/init.lua:260
      2. unknown - lua/entities/pewpew_base_cannon/init.lua:314
MattJeanes commented 11 years ago

Shield support hasn't quite been perfected yet. I'll look into it sometime for you. also that duping issue may be a problem with advdupe1, have you tried it with advdupe2?

MattJeanes commented 11 years ago

oh and I much prefer GitHub for issue reports/feature requests.

MattJeanes commented 11 years ago

Okay I looked into it, turns out it's an issue with CAP, and I can't fix it from PewPew I'm afraid.

lintglitch commented 11 years ago

Quick reply! I tried the advanced duplicator 2 (nice tip by the way, much better tool) but still encounter the same problem with wiring. I guess I'll just open a new issue.

MattJeanes commented 11 years ago

I've reported this and a developer of CAP has said they will fix this for me at some point soonish.

lintglitch commented 11 years ago

Great News! Looking forward to it.