AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   New Plugin Submissions (https://forums.alliedmods.net/forumdisplay.php?f=26)
-   -   Bug Fixes [TFC] (https://forums.alliedmods.net/showthread.php?t=297514)

hlstriker 05-15-2017 18:16

Bug Fixes [TFC]
 
1 Attachment(s)
This plugin fixes a lot of bugs for Team Fortress Classic since Valve never did. The okapi module is required to use this plugin. Download the okapi bin here: https://forums.alliedmods.net/showthread.php?t=234986

PHP Code:

/*
*     Fixes:
*         - #1: Nails that would have been stuck as "ghosts" are now removed.
*         - #2: Flags will no longer get stuck in solid objects.
*         - #3: Spys can now be infected while feigned. This also prevents the server from crashing due to the infecting/healing feigned spies bug.
*         - #4: Spys can no longer quick disguise. This also prevents the server from crashing due to disguising too quickly.
*         - #5: The camera entity will no longer break the players view if the player disconnects while using it.
*         - #6: Players will no longer stay concussed when they respawn.
*         - #7: Opening doors will no longer remove effects from caltrops.
*         - #8: The engineer's teleport will no longer take the player to the exit location if the player dies before the teleport has finished.
*         - #9: Players can no longer take flags through engineer's teleporters.
*         - #10: Players can no longer uncover dead enemy spies.
*         - #11: Grenades that are stuck inside of another entity will no longer do too much damage to any entities in its explosion radius.
*         - #12: Nail grenades will no longer get stuck in ceilings.
*         - #13: Mirv grenade's bomblets will no longer spawn in areas with a solid object between the mirv and bomblet.
*         - #14: Grenades that prime immediately before death will no longer follow the player to their spawn if they respawn quick enough.
*         - #15: Primed grenades will no longer be wrongly removed by item_tfgoal removal if the player has zero primary or secondary grenades left.

*     Special thanks:
*         - teh ORiON:    Contributed towards fixing bug #8.
*         - azul:        Contributed towards fixing bug #14.
*         - azul:        Supplied the signatures and code for bug #15.

*     Changelog:
*         - v1.1    -    2018/06/15
*          + NOTE: The okapi module is now required. https://forums.alliedmods.net/showthread.php?t=234986
*          + Added a fix for grenades following players to spawn (fix #14).
*          + Added a fix for primed grenades being wrongly removed by item_tfgoal removal (fix #15).
*          + Fixed an issue with the nail bug fix (fix #1).

*         - v1.0    -    2017/05/15
*          + Initial release (fixes #1-13).
*/ 

Videos showing some of the bugs:

Nails of the same type will no longer collide with each other.
https://www.youtube.com/watch?v=bWvxsXv4Ht4

Spys can now be infected while feigned. This also prevents the server from crashing due to the infecting/healing feigned spies bug.
https://www.youtube.com/watch?v=DnE4ofoCV3o

Spys can no longer quick disguise. This also prevents the server from crashing due to disguising too quickly.
https://www.youtube.com/watch?v=GTYbDMOlYWI

Players will no longer stay concussed when they respawn.
https://www.youtube.com/watch?v=pvaVLTxPCOE

Opening doors will no longer remove effects from caltrops.
https://www.youtube.com/watch?v=b8HCNg14uhA

The engineer's teleport will no longer take the player to the exit location if the player dies before the teleport has finished.
https://www.youtube.com/watch?v=8Neca3QpjD4

Players can no longer take flags through engineer's teleporters.
https://www.youtube.com/watch?v=zg3oHe9w4uk

Players can no longer uncover dead enemy spies.
https://www.youtube.com/watch?v=SVQLcHZ1GB4

Nail grenades will no longer get stuck in ceilings.
Mirv grenade's bomblets will no longer spawn in areas with a solid object between the mirv and bomblet.

https://www.youtube.com/watch?v=pAbTR3cWEVY

D3XT3R 05-15-2017 18:21

Re: Bug Fixes [TFC]
 
this plugin for tf2 or for amxmodx
and can you explain more what him doing?

RoboCop 05-15-2017 18:23

Re: Bug Fixes [TFC]
 
Nice work I will test this.

@D3XT3R
No. This is for Team Fortress CLASSIC nor 2. AMXX doesn't involve TF2.

D3XT3R 05-15-2017 18:28

Re: Bug Fixes [TFC]
 
oh thanx going test it.

gabuch2 05-16-2017 10:04

Re: Bug Fixes [TFC]
 
It's a shame TFC is dying tho.

DarthMan 06-13-2017 17:22

Re: Bug Fixes [TFC]
 
Quote:

Originally Posted by hlstriker (Post 2520764)
This plugin fixes a lot of bugs for Team Fortress Classic since Valve never did. First AMXX plugin in 7 years so hopefully I didn't create more bugs than I fixed :bacon:

PHP Code:

/*
*     Fixes:
*         - Nails of the same type will no longer collide with each other.
*         - Flags will no longer get stuck in solid objects.
*         - Spys can now be infected while feigned. This also prevents the server from crashing due to the infecting/healing feigned spies bug.
*         - Spys can no longer quick disguise. This also prevents the server from crashing due to disguising too quickly.
*         - The camera entity will no longer break the players view if the player disconnects while using it.
*         - Players will no longer stay concussed when they respawn.
*         - Opening doors will no longer remove effects from caltrops.
*         - The engineer's teleport will no longer take the player to the exit location if the player dies before the teleport has finished.
*         - Players can no longer take flags through engineer's teleporters.
*         - Players can no longer uncover dead enemy spies.
*         - Grenades that are stuck inside of another entity will no longer do too much damage to any entities in its explosion radius.
*         - Nail grenades will no longer get stuck in ceilings.
*         - Mirv grenade's bomblets will no longer spawn in areas with a solid object between the mirv and bomblet.

*     Special thanks:
*         - teh ORiON: Contributed towards fixing the engineer's teleport bug where it would teleport dead players.

*     Changelog:
*         - 2017/05/15: Initial release.
*/ 

Videos showing some of the bugs:

Nails of the same type will no longer collide with each other.
https://www.youtube.com/watch?v=bWvxsXv4Ht4

Spys can now be infected while feigned. This also prevents the server from crashing due to the infecting/healing feigned spies bug.
https://www.youtube.com/watch?v=DnE4ofoCV3o

Spys can no longer quick disguise. This also prevents the server from crashing due to disguising too quickly.
https://www.youtube.com/watch?v=GTYbDMOlYWI

Players will no longer stay concussed when they respawn.
https://www.youtube.com/watch?v=pvaVLTxPCOE

Opening doors will no longer remove effects from caltrops.
https://www.youtube.com/watch?v=b8HCNg14uhA

The engineer's teleport will no longer take the player to the exit location if the player dies before the teleport has finished.
https://www.youtube.com/watch?v=8Neca3QpjD4

Players can no longer take flags through engineer's teleporters.
https://www.youtube.com/watch?v=zg3oHe9w4uk

Players can no longer uncover dead enemy spies.
https://www.youtube.com/watch?v=SVQLcHZ1GB4

Nail grenades will no longer get stuck in ceilings.
Mirv grenade's bomblets will no longer spawn in areas with a solid object between the mirv and bomblet.

https://www.youtube.com/watch?v=pAbTR3cWEVY

Hello, have u got any ideas how I can check the allies of a team using AMXX?

TheLife 04-29-2020 12:17

Re: Bug Fixes [TFC]
 
Help! I can't download this plugins...

It just saying 'Plugin failed to compile! Please try contacting the author.'

I was trying to compile .sma file, It won't finish!!

OciXCrom 04-29-2020 13:43

Re: Bug Fixes [TFC]
 
Quote:

Originally Posted by TheLife (Post 2696896)
Help! I can't download this plugins...

It just saying 'Plugin failed to compile! Please try contacting the author.'

I was trying to compile .sma file, It won't finish!!

Compile the plugin locally on your computer. The built-in compiler here doesn't support 3rd party include files.

TheLife 04-29-2020 21:47

Re: Bug Fixes [TFC]
 
Quote:

Originally Posted by OciXCrom (Post 2696908)
Compile the plugin locally on your computer. The built-in compiler here doesn't support 3rd party include files.

I Compiled the plugin on my computer with downloaded okapi module.

Sorry for my bad english..

TheLife 04-29-2020 22:33

Re: Bug Fixes [TFC]
 
Now I can download the plugins(.amxx file), but i can't still compile .sma file..

did i wrong something? I downloaded the okapi module from link..

OciXCrom 04-30-2020 14:19

Re: Bug Fixes [TFC]
 
If you show us the error, maybe we can tell you what's wrong. What you wrote makes no sense.

TheLife 05-01-2020 00:21

Re: Bug Fixes [TFC]
 
Quote:

Originally Posted by OciXCrom (Post 2697171)
If you show us the error, maybe we can tell you what's wrong. What you wrote makes no sense.

//AMXXPC compile.exe
// by the AMX Mod X Dev Team



//// BugFixesTFC.sma

This is result of compiling the downloaded plugin and It's do nothing on this state.

I don't know how to check the error on this situation..

OciXCrom 05-01-2020 07:37

Re: Bug Fixes [TFC]
 
I don't see how the name of the compiler window and filename provide any information. Show the full error if you want help any time soon.

4evergaming 06-25-2021 21:41

Re: Bug Fixes [TFC]
 
Hi! Excuse me, where do I get the Okapi functions?


Code:

L 06/25/2021 - 22:32:50: [BugFixesTFC.amxx] ERROR: CTFPrimeGrenade::DeadThrow not found.
L 06/25/2021 - 22:32:50: [BugFixesTFC.amxx] ERROR: CTFPrimeGrenade::InitPriming not found.
L 06/25/2021 - 22:32:50: [BugFixesTFC.amxx] ERROR: RemoveResults not found.


se7en 08-01-2021 19:58

Re: Bug Fixes [TFC]
 
An updated version here:
https://forums.alliedmods.net/showthread.php?t=333746

PHP Code:

*     Changelog:
*        - 
v1.4    -    2023/06/10
*         + Reworked fix 15Plugin is now fully self contained with no additional plugins/modules needed.
*         + 
Minor code optimizations.
*
*        - 
v1.3    -    2022/05/16
*         + Fixed a bug causing a random player class to be stuck on the same class. Thanks HLM
*
*        - 
v1.2    -    2021/08/02
*         + NOTEThe okapi module is no longer required (could potentially be causing crashes).
*         + 
NOTESince the Double Fire bug has finally been fixed by Steamthis plugin is compatible with the latest build of TFCServers should update.
*         + 
Added a fix for the Death/Zero Health Bug (fix #16).
*         + Added a fix for normal grenade jumps while the server runs at 1000 FPS (fix #17).
*         + Added a fix to allow flag tossing through obstructions (fix #18).
*         + Added a fix to remove AMXX Menus stuck on a screen from last map (fix #19). 



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

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