AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   L4D/L4D2 Ghost Fly (https://forums.alliedmods.net/showthread.php?t=100480)

Crimson_Fox 12-19-2009 00:59

Re: L4D/L4D2 Ghost Fly
 
Hey guys, for my server I rewrote the plugin so it uses the more efficient OnPlayerRunCmd instead of OnGameFrame. I also made it notify once on round start (spams the chat window when used with Infected Character Select otherwise). I'll post it here in case anyone is interested.

I tested it with L4D2, it requires SourceMod 1.3.

Edit: New version on page 4.

Thraka 12-19-2009 02:40

Re: L4D/L4D2 Ghost Fly
 
Yes I noticed this today too. Sweet I'll install it :)

ineedh3lp 12-27-2009 08:13

Re: L4D/L4D2 Ghost Fly
 
Too bad the original plugin makes the tank fly when a player takes control (without even having the reload key pressed).

I'll try Crimson_Fox's see if it happens too.


EDIT: : ( Maybe it's just me, but Crimson's this one doesn't work at all. (left 4 dead 1, SM 1.3).

Blakeocity 12-27-2009 12:01

Re: L4D/L4D2 Ghost Fly
 
Crimsons working for for me on L4D2. Thanks a lot. :D

Crimson_Fox 12-27-2009 13:51

Re: L4D/L4D2 Ghost Fly
 
Quote:

Originally Posted by ineedh3lp (Post 1032666)
Too bad the original plugin makes the tank fly when a player takes control (without even having the reload key pressed).

I'll try Crimson_Fox's see if it happens too.


EDIT: : ( Maybe it's just me, but Crimson's this one doesn't work at all. (left 4 dead 1, SM 1.3).

There's a line that might be the issue. Give this a try and let me know if it works.

Edit: New version on page 4.

dacomb 12-28-2009 03:15

Re: L4D/L4D2 Ghost Fly
 
I've been getting this error a number of times... Not every game but it's fairly consistent in my logs.

Code:

L 12/28/2009 - 06:57:34: [SM] Displaying call stack trace for plugin "ghostfly.smx":
L 12/28/2009 - 06:57:34: [SM]  [0]  Line 149, /home/groups/alliedmodders/forums/files/4/7/4/2/1/50486.attach::SetMoveType()
L 12/28/2009 - 06:57:34: [SM]  [1]  Line 131, /home/groups/alliedmodders/forums/files/4/7/4/2/1/50486.attach::StopFlying()
L 12/28/2009 - 06:57:34: [SM]  [2]  Line 97, /home/groups/alliedmodders/forums/files/4/7/4/2/1/50486.attach::OnGameFrame()


dacomb 12-30-2009 14:40

Re: L4D/L4D2 Ghost Fly
 
This happened again.
Every so often when I spawn as infected ghost I'm stuck in Fly Mode without pressing the Reload Key.
It's really annoying but thankfully it only lasts for 2 or 3 spawns so I've been able to work around it.
The only other thing about this plugin that's less than optimal is the amount of control you have while flying.
If you start to fly and reach full speed (which I set in the config to the lowest value you allowed) you can overshoot your intended destination and sometimes have a hard time getting back to where you want to be.
If there were a way to fly more slowly so you could be more precise that would be awesome.

Code:

L 12/30/2009 - 05:06:50: Info (map "c5m1_waterfront") (file "errors_20091230.log")
L 12/30/2009 - 05:06:50: [SM] Native "SetEntData" reported: Entity 1 (1) is invalid
L 12/30/2009 - 05:06:50: [SM] Displaying call stack trace for plugin "ghostfly.smx":
L 12/30/2009 - 05:06:50: [SM]  [0]  Line 149, /home/groups/alliedmodders/forums/files/4/7/4/2/1/50486.attach::SetMoveType()
L 12/30/2009 - 05:06:50: [SM]  [1]  Line 131, /home/groups/alliedmodders/forums/files/4/7/4/2/1/50486.attach::StopFlying()
L 12/30/2009 - 05:06:50: [SM]  [2]  Line 97, /home/groups/alliedmodders/forums/files/4/7/4/2/1/50486.attach::OnGameFrame()


dacomb 12-31-2009 21:02

Re: L4D/L4D2 Ghost Fly
 
I Keep having this problem...
Is this plugin being supported anymore?
Some users report not being able to use the reload key to fly at all and sometimes you get stuck flying.
I really don't want to have to remove the plugin but I might have to.


Code:

L 12/31/2009 - 04:55:46: SourceMod error session started
L 12/31/2009 - 04:55:46: Info (map "c1m1_hotel") (file "errors_20091231.log")
L 12/31/2009 - 04:55:46: [SM] Native "SetEntData" reported: Entity 4 (4) is invalid
L 12/31/2009 - 04:55:46: [SM] Displaying call stack trace for plugin "ghostfly.smx":
L 12/31/2009 - 04:55:46: [SM]  [0]  Line 149, /home/groups/alliedmodders/forums/files/4/7/4/2/1/50486.attach::SetMoveType()
L 12/31/2009 - 04:55:46: [SM]  [1]  Line 131, /home/groups/alliedmodders/forums/files/4/7/4/2/1/50486.attach::StopFlying()
L 12/31/2009 - 04:55:46: [SM]  [2]  Line 97, /home/groups/alliedmodders/forums/files/4/7/4/2/1/50486.attach::OnGameFrame()
L 12/31/2009 - 04:59:53: Error log file session closed.


Crimson_Fox 01-01-2010 03:43

Re: L4D/L4D2 Ghost Fly
 
Quote:

Originally Posted by dacomb (Post 1038544)
I Keep having this problem...
Is this plugin being supported anymore?
Some users report not being able to use the reload key to fly at all and sometimes you get stuck flying.
I really don't want to have to remove the plugin but I might have to.

Give the version I posted a try. It uses a different method than OnGameFrame so you may have better luck with it.

dacomb 01-01-2010 16:42

Re: L4D/L4D2 Ghost Fly
 
Quote:

Originally Posted by Crimson_Fox (Post 1038703)
Give the version I posted a try. It uses a different method than OnGameFrame so you may have better luck with it.

Will do. Thanks man!
Do you have more flexible parameters on the fly speed?


All times are GMT -4. The time now is 00:00.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.