NotnHeavy / TF2-Old-Flamethrower-Mechanics

Pre-Jungle Inferno flames brought back to life!
GNU General Public License v3.0
3 stars 1 forks source link

Plugin will not load #1

Open Aepoh opened 1 year ago

Aepoh commented 1 year ago

] sm plugins list [SM] Listing 1 plugin: 1 "[TF2] TF2Attributes" (1.3.3@nosoop-1.7.1.1) by FlaminSarge ] sm plugins load "NotnHeavy - Old Flamethrower Mechanics" L 08/28/2023 - 17:51:09: [SM] Exception reported: Invalid Handle 0 L 08/28/2023 - 17:51:09: [SM] Blaming: NotnHeavy - Old Flamethrower Mechanics.smx L 08/28/2023 - 17:51:09: [SM] Call stack trace: L 08/28/2023 - 17:51:09: [SM] [0] DHookEnableDetour L 08/28/2023 - 17:51:09: [SM] [1] Line 296, d:\CodeProjects\VSCode\SourceMod\Projects(TF2) Old Flamethrower Mechanics\scripting\NotnHeavy - Old Flamethrower Mechanics.sp::OnPluginStart [SM] Plugin NotnHeavy - Old Flamethrower Mechanics.smx failed to load: Error detected in plugin startup (see error logs).

NotnHeavy commented 1 year ago

I looked into it, seems to be some strange thing with DHooks. Hopefully this should work now.

Aepoh commented 1 year ago

The plugin seems to work now. Cvars are being recognized and they work. Now whether the flames actually behave like they did pre-Inferno I'm still trying to figure out. I can definitely see a difference in the hitboxes when I turn on tf_debug_flamethrower. Although hitboxes are displayed a bit differently than they used to back when sv_showhitboxes was a usable command, which makes it difficult to tell if these are just like the old flames. I have no idea what the difference between the red and blue boxes are, nor do I know what the big red prisms are when then flame particles collide with a wall using your plugin.

Speaking of which that's something that sticks out to me. My memory isn't too good these days so it's hard for me to remember exactly what the old flames were like, but I think I remember flame particles sliding on walls being a post-Inferno feature. They still do that even with your plugin enabled. I've also noticed it's very difficult to land flame hits on enemies standing near walls for some reason. Could be connected.