Chessnut / NutScript

A free role-play framework for Garry's Mod.
http://nutscript.rocks
MIT License
94 stars 77 forks source link

Can't type into text boxes, text boxes name coming up differently, config blank #676

Closed virtualFear closed 7 years ago

virtualFear commented 8 years ago

Hi all,

An issue just came up on my server recently which I'm not quite sure how to go about. Text boxes on the server are coming up blank despite there being stuff in them (on server config, typing into a box brings up a notification that it's been changed but it's still blank), players can't type into the blank text boxes (tested on character creation and chardesc) and the fields in text boxes comes up differently (/chardesc comes up as "chgDesc" and "chgDescDesc", screenshot here.

While I'm here, I was having an issue where when I altered the config it would change back straight away (tried to change chat distance and the server music, both changed back almost straight away and no changes carried), although that's much less important.

Thanks in advance

benmort38 commented 8 years ago

What file is that under? I can't find it

Cyumus commented 8 years ago

/gamemode/core/sv_hooks.lua

benmort38 commented 8 years ago

Thank you so much for all the help Cyumus. I am in your debt.

Cyumus commented 8 years ago

My pleasure helping you. ^^

benmort38 commented 8 years ago

Wait where is the nut.config.sadColors located?

Cyumus commented 8 years ago

/gamemode/sh_config.lua:135

benmort38 commented 8 years ago

set it to true or false?

benmort38 commented 8 years ago

I've got it set to false and it didn't seem to be making it cheerful, hang on

benmort38 commented 8 years ago

Color is all good now, but the lighting makes things almost glow, it hurts to look at

benmort38 commented 8 years ago

Does anyone have a fix for the lighting? Map lights make it ridiculously bright, it's painful to look at.

Cyumus commented 8 years ago

Try disabling HDR.

benmort38 commented 8 years ago

Not sure what that is exactly. Also, does anyone else have an issue where they stop sprinting even though they're not out of stamina?

benmort38 commented 8 years ago

How do I disable the HDR?

Cyumus commented 8 years ago

Sorry, I've been busy.

You can disable HDR in your video configuration menu.

I remember that the stamina didn't work properly in NS1.0 and I had to fix it on my server time ago... I don't know if somebody has fixed it... but don't count on anyone for fixing it, because this version is outdated and there is a newer version that fixes all these bugs.

benmort38 commented 8 years ago

I'll work with it then. Do you know how to disable/enable sh_voices in the hl2rp?

benmort38 commented 8 years ago

Would anyone have any idea on this? I disabled the sh_voices, but I've reconfigured them and I want to enable them again, problem is I forget how to.

benmort38 commented 8 years ago

Bump

benmort38 commented 8 years ago

I know this has gone way off track from the title. I fixed all my issues, except now I've got a random error that appeared on its own, and it's done this three times now. I just did a fresh re-install and it still does it.

[ERROR] gamemodes/nutscript/gamemode/libs/external/sh_von.lua:131: vON: Malformed data... Can't find a proper type definition. Char#2:1

  1. error - [C]:-1
    1. d_findVariable - gamemodes/nutscript/gamemode/libs/external/sh_von.lua:131
    2. unknown - gamemodes/nutscript/gamemode/libs/external/sh_von.lua:198
      1. d_findVariable - gamemodes/nutscript/gamemode/libs/external/sh_von.lua:76
      2. deserialize - gamemodes/nutscript/gamemode/libs/external/sh_von.lua:198
      3. ReadTable - gamemodes/nutscript/gamemode/sh_util.lua:271
      4. unknown - gamemodes/nutscript/gamemode/core/sh_hooks.lua:6
benmort38 commented 8 years ago

I'm using both the files you used that worked, and the attributes bar also seems to be blank.

benmort38 commented 8 years ago

A lot of things aren't working, and i think it comes from that error.