Chessnut / hl2rp

A NutScript framework schema based off Half-Life 2.
http://nutscript.rocks
MIT License
26 stars 34 forks source link

[1.1] Combine are now unable to open blastdoors. #55

Closed Daishii closed 9 years ago

Daishii commented 9 years ago

After applying the recent updates to the schema and framework, the combine-openable doors in rp_industrial17_v1 have stopped opening.

Chessnut commented 9 years ago

Which door? I just tested it and it works fine.

Daishii commented 9 years ago

I'm having problems with all of them. Interesting, I'll have to try a fresh install.

Daishii commented 9 years ago

I set-up a brand new server and downloaded NutScript, the HL2RP schema and the Moderator addon and installed them on the server. No files were copied from the old server.

The doors still don't work.

blt950 commented 9 years ago

I've tested this out myself now, I have the same issue as Daishii. My combine can open normal doors (prop_door_rotating / func_door_rotating) , but not "combine doors" (func_door)

blt950 commented 9 years ago

I've tried to debug this a little bit with print() functions through everywhere. What I found is that it detects the press E key in GM:KeyPress, triggers the run of "PlayerUse" hook.

There it says stop, and I don't get any prints from the GM:PlayerUse().

Chessnut commented 9 years ago

PlayerUse does not get called on doors with +use disables flag. That's why there is the PlayerUseDoor hook.

On Sunday, March 15, 2015, Blt950 notifications@github.com wrote:

I've tried to debug this a little bit with print() functions through everywhere. What I found is that it detects the press E key in GM:KeyPress, triggers the run of "PlayerUse" hook.

There it says stop, and I don't get any prints from the GM:PlayerUse().

— Reply to this email directly or view it on GitHub https://github.com/Chessnut/hl2rp/issues/55#issuecomment-80944843.

blt950 commented 9 years ago

Not sure I understand. So what do I need to do to open combine-doors, which is one of the most essential things in HL2RP?

Because they're supposed to be opened, even though the +USE flag is disabled on them (for a reason, most HL2RP maps have it that way).

Chessnut commented 9 years ago

They should already be opening. Which map are you having difficulty on?

On Sun, Mar 15, 2015 at 9:44 AM, Blt950 notifications@github.com wrote:

Not sure I understand. So what do I need to do to open combine-doors, which is one of the most essential things in HL2RP?

Because they're supposed to be opened, even though the +USE flag is disabled on them (for a reason, most HL2RP maps have it that way).

— Reply to this email directly or view it on GitHub https://github.com/Chessnut/hl2rp/issues/55#issuecomment-81149079.

blt950 commented 9 years ago

rp_industrial17_v1 I believe it's the same map as Daishi got problem on, as I've spoken to him.

Chessnut commented 9 years ago

https://dl.dropboxusercontent.com/u/24983881/ShareX/2015/03/rp_industrial17_v1%202015-3-15%2010-17-34.webm

?

Chessnut commented 9 years ago

Here, try updating now.

blt950 commented 9 years ago

Uhm nope.. Same thing.

Daishii commented 9 years ago

Not working for me either.

blt950 commented 9 years ago

I fixed the issue. It's not Nutscript or the schema, it was actually a stupid Workshop addon using a hook wrongly, so it overrided the gamemode function. That explains also why SHIFT+E never worked as well.

The addon which was causing this is "Playable Piano".

Daishii commented 9 years ago

Alright, that explains it. I never realized that I did have the same workshop collection downloading on the server straight from the command line - therefore a clean install didn't help me.

Problem solved, issue closed.