Raised This Month: $ Target: $400
 0% 

[TFC] Bug Fixes v1.4


Post New Thread Reply   
 
Thread Tools Display Modes
pizzahut
Senior Member
Join Date: Oct 2004
Old 06-10-2023 , 06:34   Re: [TFC] Bug Fixes v1.4
Reply With Quote #11

The version number is still 1.3 in the source code.
pizzahut is offline
se7en
Junior Member
Join Date: Feb 2014
Old 06-11-2023 , 15:31   Re: [TFC] Bug Fixes v1.4
Reply With Quote #12

Quote:
Originally Posted by pizzahut View Post
The version number is still 1.3 in the source code.
Changed, thanks
se7en is offline
CARBONXXX
Member
Join Date: Feb 2012
Location: Bulgaria
Old 09-15-2023 , 10:52   Re: [TFC] Bug Fixes v1.4
Reply With Quote #13

Hi, when i try to compile, i get these errors:

//// BugFixesTFC.sma
// D:\New folder\Steam\steamapps\common\Half-Life\tfc\addons\amxmodx\scripting\BugFixesTFC .sma(180) : error 017: undefined symbol "get_ent_data"
// D:\New folder\Steam\steamapps\common\Half-Life\tfc\addons\amxmodx\scripting\BugFixesTFC .sma(184) : error 017: undefined symbol "get_ent_data"
// D:\New folder\Steam\steamapps\common\Half-Life\tfc\addons\amxmodx\scripting\BugFixesTFC .sma(185) : error 017: undefined symbol "get_ent_data"
// D:\New folder\Steam\steamapps\common\Half-Life\tfc\addons\amxmodx\scripting\BugFixesTFC .sma(189) : error 017: undefined symbol "set_ent_data"
// D:\New folder\Steam\steamapps\common\Half-Life\tfc\addons\amxmodx\scripting\BugFixesTFC .sma(190) : error 017: undefined symbol "set_ent_data"
// D:\New folder\Steam\steamapps\common\Half-Life\tfc\addons\amxmodx\scripting\BugFixesTFC .sma(199) : error 017: undefined symbol "set_ent_data"
// D:\New folder\Steam\steamapps\common\Half-Life\tfc\addons\amxmodx\scripting\BugFixesTFC .sma(200) : error 017: undefined symbol "set_ent_data"
// D:\New folder\Steam\steamapps\common\Half-Life\tfc\addons\amxmodx\scripting\BugFixesTFC .sma(205) : error 017: undefined symbol "set_ent_data"
// D:\New folder\Steam\steamapps\common\Half-Life\tfc\addons\amxmodx\scripting\BugFixesTFC .sma(224) : error 017: undefined symbol "get_ent_data"
// D:\New folder\Steam\steamapps\common\Half-Life\tfc\addons\amxmodx\scripting\BugFixesTFC .sma(225) : error 017: undefined symbol "set_ent_data"
// D:\New folder\Steam\steamapps\common\Half-Life\tfc\addons\amxmodx\scripting\BugFixesTFC .sma(226) : error 017: undefined symbol "set_ent_data"
//
// 11 Errors.
// Could not locate output file D:\New folder\Steam\steamapps\common\Half-Life\tfc\addons\amxmodx\scripting\compiled\Bu gFixesTFC.amx (compile failed).
//
// Compilation Time: 0.81 sec
// ----------------------------------------
CARBONXXX is offline
Send a message via Skype™ to CARBONXXX
pizzahut
Senior Member
Join Date: Oct 2004
Old 09-16-2023 , 07:18   Re: [TFC] Bug Fixes v1.4
Reply With Quote #14

Quote:
Originally Posted by CARBONXXX View Post
Hi, when i try to compile, i get these errors:

//// BugFixesTFC.sma
// D:\New folder\Steam\steamapps\common\Half-Life\tfc\addons\amxmodx\scripting\BugFixesTFC .sma(180) : error 017: undefined symbol "get_ent_data"
Probably needs at least AMXX version 1.9, not sure when exactly the gamedata files were added.

If you want to keep the old AMXX version for some reason, you could try replacing get_ent_data with get_pdata_int and set_ent_data with set_pdata_int. For this you need to look up the offsets. They can be found in file "offsets-cbaseentity.txt", subfolder
Code:
addons\amxmodx\data\gamedata\common.games\entities.games\tfc
of AMXX 1.9 or newer. For integers, the offsets and diffs must be divided by 4.

Example:
Code:
					"fClientGrenadePrimed"  // BOOL
					{
						"type"      "integer"

						"windows"   "112"
						"linux"     "128"
						"mac"       "128"
					}
Parameters: https://www.amxmodx.org/api/fakemeta/get_pdata_int
_Offset = windows offset/4 = 112/4 = 28
_linuxdiff = (linux offset - windows offset) / 4 = (128-112)/4 = 16/4 = 4 ; only necessary if your server uses Linux as OS

If your server is on Linux *and* you're using an outdated "tfc_i386.so" file in the server's "dlls" folder, then you might have to decrease the _linuxdiff by 1.

Last edited by pizzahut; 09-16-2023 at 08:18.
pizzahut is offline
se7en
Junior Member
Join Date: Feb 2014
Old 09-19-2023 , 22:21   Re: [TFC] Bug Fixes v1.4
Reply With Quote #15

Yes PizzaHut is correct if you need to use an older version of AMXX.
It will however compile with AMXX 1.8.3 Build 5000 and above.
se7en is offline
RoboCop
AlliedModders Donor
Join Date: Dec 2010
Location: Dundee, Scotland
Old 04-29-2024 , 15:18   Re: [TFC] Bug Fixes v1.4
Reply With Quote #16

Paft and I noticed some slight rubber banding laggy effects when we step on the teleporters for some reason. It doesn't appear to be an issue with my modified builds of Metamod-P, I don't know if pizzahut could check or detect any issues with the offset values for the teleports or not.
__________________
vBulletin Webmaster Since 2001
Bots-United Webmaster and Botmaster
RoboCop is offline
Send a message via Skype™ to RoboCop
pizzahut
Senior Member
Join Date: Oct 2004
Old 05-05-2024 , 07:53   Re: [TFC] Bug Fixes v1.4
Reply With Quote #17

Quote:
Originally Posted by RoboCop View Post
Paft and I noticed some slight rubber banding laggy effects when we step on the teleporters for some reason. It doesn't appear to be an issue with my modified builds of Metamod-P, I don't know if pizzahut could check or detect any issues with the offset values for the teleports or not.
Quote:
Originally Posted by Paft
For the curious, I was checking whether this is normal or not.
https://youtu.be/_1CwXF4MJvs
Carrying on from these vids below:

The player collision prediction rubber-banding or whatever you want to call it really annoys me. It feels worse than it looks, at times I consider TFC almost unplayable due to it. I've asked around and had a mixed response. The teleporter one seems to be a separate issue that's linked to TFC Bug Fixes 1.4.
https://youtu.be/rS_8e2ZhiM0?si=1XmpQ641U_Tzejsv
https://www.youtube.com/watch?v=gA4erQ6MEMw
https://www.youtube.com/watch?v=Vzql4AU1o-s

Here's a FoV 90 version, as my high value can exaggerate it or simply be hard to watch.
https://youtu.be/jluADS51XCE
I tested this with Paft yesterday and today, this is not plugin related. It happens even if there are no Metamod plugins (such as AMXX) running, and even if Metamod itself isn't loaded.

According to Paft rubber banding occurs on remote TFC servers (RV and others) or on a local server with "fakelag" (needs sv_cheats 1).

It's also map dependent, however the first tele exit built can have the opposite behaviour.

Maps which usually have r.b.: 2kfort5, maya
Maps which usually *don't* have r.b.: 2fort, mulch_bhop

Last edited by pizzahut; 05-05-2024 at 13:35.
pizzahut is offline
Reply



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 09:38.


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