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!

Fixed Character Customization

Discussion in 'Development' started by duck, Mar 13, 2016.

  1. duck

    duck Phant0m Legend

    So I get a lot of messages regarding fixing the plugin, and I don't really have motivation to do so, so I'm posting the unencrypted plugin here in hopes that someone else will.

    I don't know what's wrong with it because I haven't even bothered checking. All I know is it causes so much trouble that CW now automatically removes it on startup, so you'll probably want to rename the plugin if you're going to try to fix it.

    EDIT: Fixed by @NightAngel!

    https://mega.nz/#!1EZQFBxK!mSnrfcaV-EPxZD5wSSj6hEdL50mxGhPyZjSl2xsNojM
     
    • Like Like x 4
    Last edited: Jun 5, 2016
  2. I'll check it out. Idk what's wrong with it but yeah, le'ts check...
     
  3. karl-police

    karl-police Hotrod turret Clockwork Customer

    I will be your man.

    EDIT: If I start it on the Console it says it overrides some stuff, hm...
    I will take a look later on it.
     
    Last edited: Mar 27, 2016
  4. karl-police

    karl-police Hotrod turret Clockwork Customer

    Code:
    [Clockwork] The 'ScoreboardShow' hook failed to run.
    gamemodes/cwhl2rp/plugins/charactercustomization/plugin/derma/cl_charactercustomizer.lua:19: attempt to call method 'GetModelPanel' (a nil value)
    
    It wont let me open any menu.

    @Tyler
     
    Last edited: Mar 27, 2016
  5. Last edited: Apr 1, 2016
  6. You just have to delete some olds functions like "GetModelPanel" and it will works. It worked for me.
     
  7. karl-police

    karl-police Hotrod turret Clockwork Customer

    The new function would be then

    DModelPanel:GetModel()
    Guess so, try that?
     
  8. I'll try that on my server now. If this works than Thank You.
     
  9. I've taken a look at this, I fixed it up for a particular community. But Clockwork really will not set the bodygroups for some reason, I've used luarun on myself too.
    Nada.
     
  10. I did.
     
  11. Did anyone find a fix for it?
     
  12. are you sure it's fixed

    doesn't seem like it is
     
  13. TheVingard

    TheVingard Clockwork Customer

    @Tyler

    Still seems to fail

    Get this error:

    [TheVingard|2|STEAM_0:1:95921723] Lua Error:
    Couldn't include file 'cwblackmesa\plugins\autogroup\plugin\cl_character.lua' (File not found) (@gamemodes/cwblackmesa/plugins/autogroup/plugin/sh_plugin.lua (line 14))

    [Clockwork] The 'PlayerSendDataStreamInfo' plugin hook has failed to run.
    gamemodes/clockwork/plugins/mapscene/plugin/sv_hooks.lua:11: attempt to get length of field 'storedList' (a nil value)


    It's been re-named.
    I also get this screen:

    http://steamcommunity.com/sharedfiles/filedetails/?id=696470063

    but nothing can be editied.
     
    Last edited: Jun 3, 2016
  14. i get the same file not found error but the customizer flat out doesn't show up for me at all
     
  15. that's ok just make sure to not disappoint us like duck
     
    • Disagree Disagree x 1
    • Funny Funny x 1
  16. TheVingard

    TheVingard Clockwork Customer

    The fact that duck made this is the first place is pretty impressive alone.
     
    • Agree Agree x 1
  17. Can't wait to see (if) it fixed.
     
  18. what matters is that he abandoned it and left to rot
     
  19. This should work with the latest version of CW, you just had to change the cwCharacterModel's GetModelPanel(); that you used to get the Entity to GetEntity();
     

    Attached Files:

    • Friendly Friendly x 1
  20. NightAngel

    NightAngel Fuck off Lev

    Because if you release something for free from the goodness of your heart, you're expected to upkeep it and fix it or else why bother even releasing it? /s
    Actually, I believe you just have to remove the GetModelPanel() function call from the panel, and just have it point to the modelpanel itself instead, but hey if it makes it work then shit, good job. Also there are hooks for editing the menu cleanly (which would make it compatible with other plugins that edit the char menu), but the plugin doesn't utilize those and it would take a bit of recoding to make it function in the hooks instead of replacing the derma (which I'm assuming this plugin does).

    Edit:
    Live feed of me fixing it
    [​IMG]

    Edit Edit:
    So the reason why cl_character wasn't including was because duck was doing a clientside include of the file when it wasn't even getting sent from the server to the client, I fixed that by making the hook it was being included from shared, and then changing it to IncludePrefixed from the CW kernel which automatically runs AddCSLuaFile serverside, and then only includes it clientside. Works perfectly now.

    [​IMG]

    Download

    Thank you @duck for making the original plugin, it's awesome and releasing it unencrypted will help people learn how to do character creation like this on their own. Awesome job on it, man.
     
    • Winner Winner x 6
    • Agree Agree x 1
    Last edited: Jun 5, 2016

Previous Readers (Total: 0)