Raised This Month: $63 Target: $400
 15% 

[TF2] Building Hacks (0.4) - Build in respawn


Post New Thread Reply   
 
Thread Tools Display Modes
retsam
Veteran Member
Join Date: Aug 2008
Location: so-cal
Old 02-16-2010 , 02:52   Re: [EXTENSION] [TF2] Building Hacks (0.2) - Build in respawn
Reply With Quote #21

Something I just noticed on this. Just wanted to let ya know. Seems to be some issue related to plugins that have findentitybyclassname in them? Not 100% sure. But I got load errors for both the TF2_Fastrespawn plugin and win-panel plugin. This is only on my windows test server, I havnt loaded it on our real servers(linux) yet so I cant say if the same errors would occur. I dont think this affects anything but meh! :p

Code:
L 02/15/2010 - 22:48:15: SourceMod error session started
L 02/15/2010 - 22:48:15: Info (map "achievements_heavy") (file "errors_20100215.log")
L 02/15/2010 - 22:48:15: [SM] Native "FindEntityByClassname" reported: "FindEntityByClassname" not supported by this mod
L 02/15/2010 - 22:48:15: [SM] Displaying call stack trace for plugin "TF2_Respawn.smx":
L 02/15/2010 - 22:48:15: [SM]   [0]  Line 53, TF2_Respawn.sp::OnMapStart()
L 02/15/2010 - 22:48:15: [SM] Native "FindEntityByClassname" reported: "FindEntityByClassname" not supported by this mod
L 02/15/2010 - 22:48:15: [SM] Displaying call stack trace for plugin "win-panel.smx":
L 02/15/2010 - 22:48:15: [SM]   [0]  Line 44, win-panel.sp::OnMapStart()
Heres the line it points to from the win-panel plugin.

g_EntPlayerManager = FindEntityByClassname(-1, "tf_player_manager");

Heres line it points to from Fastrespawn plugin:

TF2GameRulesEntity = FindEntityByClassname(-1, "tf_gamerules");

Last edited by retsam; 02-16-2010 at 03:03.
retsam is offline
pheadxdll
AlliedModders Donor
Join Date: Jun 2008
Old 02-18-2010 , 11:38   Re: [EXTENSION] [TF2] Building Hacks (0.2) - Build in respawn
Reply With Quote #22

Retsam, nice catch. I should of assumed there might be an issue with that, but I overlooked it when nothing crashed.

Needless to say, I fixed that issue with windows and also added better building support for both windows and linux in version 0.2.6. Hopefully, this will be the last update for awhile.

Edit: To update, you'll need to replace the gamedata file as well as the binary and restart your server.

Last edited by pheadxdll; 02-18-2010 at 11:58.
pheadxdll is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 02-18-2010 , 14:33   Re: [EXTENSION] [TF2] Building Hacks (0.2) - Build in respawn
Reply With Quote #23

pheadxdll, what was it causing the "FindEntityByClassname" issue?
__________________
asherkin is offline
pheadxdll
AlliedModders Donor
Join Date: Jun 2008
Old 02-18-2010 , 14:54   Re: [EXTENSION] [TF2] Building Hacks (0.2) - Build in respawn
Reply With Quote #24

Pretty interesting, it seems the detour was changing the function's runtime memory enough so the FindEntityByClassname native's sigscan would fail. It only affected windows and not linux so I never caught it.
pheadxdll is offline
MisterNine
Member
Join Date: Jan 2010
Old 02-20-2010 , 17:41   Re: [EXTENSION] [TF2] Building Hacks (0.2) - Build in respawn
Reply With Quote #25

2.6 is working beautifully on my server. Thanks phead!
MisterNine is offline
MisterNine
Member
Join Date: Jan 2010
Old 03-18-2010 , 21:22   Re: [EXTENSION] [TF2] Building Hacks (0.2) - Build in respawn
Reply With Quote #26

TF2 update today, you're probably already on top of this though.
MisterNine is offline
pheadxdll
AlliedModders Donor
Join Date: Jun 2008
Old 03-20-2010 , 01:33   Re: [EXTENSION] [TF2] Building Hacks (0.2) - Build in respawn
Reply With Quote #27

That I am

I added even more reliable checks in this next version. It finds the offset for m_iObjectType every time it loads and reads from that so this extension should be okay for awhile. Just tried it on both windows and linux and it worked great.
pheadxdll is offline
MisterNine
Member
Join Date: Jan 2010
Old 03-20-2010 , 02:25   Re: [EXTENSION] [TF2] Building Hacks (0.2) - Build in respawn
Reply With Quote #28

Thank you. Your continued support is amazing.
MisterNine is offline
doghorse
New Member
Join Date: Mar 2010
Old 03-23-2010 , 21:38   Re: [EXTENSION] [TF2] Building Hacks (0.2) - Build in respawn
Reply With Quote #29

i copied both of the most recent versions of the folders "extensions" and "gamedata" onto my new Linux TF2 server. however, after i restart the server, i cannot build anything in spawn...

?
doghorse is offline
doghorse
New Member
Join Date: Mar 2010
Old 03-24-2010 , 00:16   Re: [EXTENSION] [TF2] Building Hacks (0.2) - Build in respawn
Reply With Quote #30

also, i'm getting the following error:

L 03/23/2010 - 22:06:17: Info (map "cp_dustbowl") (file "errors_20100323.log")
L 03/23/2010 - 22:06:17: [SM] Unable to load extension "teleport.ext": Extension version is too new to load (5, max is 4)
doghorse 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 07:53.


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