Raised This Month: $12 Target: $400
 3% 

L4D/L4D2 Ghost Fly


Post New Thread Reply   
 
Thread Tools Display Modes
Crimson_Fox
Senior Member
Join Date: Mar 2009
Old 12-19-2009 , 00:59   Re: L4D/L4D2 Ghost Fly
Reply With Quote #21

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.

Last edited by Crimson_Fox; 01-04-2010 at 07:26.
Crimson_Fox is offline
Thraka
AlliedModders Donor
Join Date: Aug 2005
Old 12-19-2009 , 02:40   Re: L4D/L4D2 Ghost Fly
Reply With Quote #22

Yes I noticed this today too. Sweet I'll install it
Thraka is offline
ineedh3lp
Member
Join Date: Dec 2009
Old 12-27-2009 , 08:13   Re: L4D/L4D2 Ghost Fly
Reply With Quote #23

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).

Last edited by ineedh3lp; 12-27-2009 at 08:55.
ineedh3lp is offline
Blakeocity
Senior Member
Join Date: Nov 2009
Old 12-27-2009 , 12:01   Re: L4D/L4D2 Ghost Fly
Reply With Quote #24

Crimsons working for for me on L4D2. Thanks a lot.
Blakeocity is offline
Crimson_Fox
Senior Member
Join Date: Mar 2009
Old 12-27-2009 , 13:51   Re: L4D/L4D2 Ghost Fly
Reply With Quote #25

Quote:
Originally Posted by ineedh3lp View Post
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.

Last edited by Crimson_Fox; 01-04-2010 at 07:27.
Crimson_Fox is offline
dacomb
Senior Member
Join Date: Oct 2009
Old 12-28-2009 , 03:15   Re: L4D/L4D2 Ghost Fly
Reply With Quote #26

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 is offline
dacomb
Senior Member
Join Date: Oct 2009
Old 12-30-2009 , 14:40   Re: L4D/L4D2 Ghost Fly
Reply With Quote #27

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 is offline
dacomb
Senior Member
Join Date: Oct 2009
Old 12-31-2009 , 21:02   Re: L4D/L4D2 Ghost Fly
Reply With Quote #28

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.
dacomb is offline
Crimson_Fox
Senior Member
Join Date: Mar 2009
Old 01-01-2010 , 03:43   Re: L4D/L4D2 Ghost Fly
Reply With Quote #29

Quote:
Originally Posted by dacomb View Post
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.
Crimson_Fox is offline
dacomb
Senior Member
Join Date: Oct 2009
Old 01-01-2010 , 16:42   Re: L4D/L4D2 Ghost Fly
Reply With Quote #30

Quote:
Originally Posted by Crimson_Fox View Post
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?
dacomb is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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