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

[L4D2] Tank Swap


Post New Thread Reply   
 
Thread Tools Display Modes
adrianman
Senior Member
Join Date: Sep 2010
Old 12-21-2013 , 13:03   Re: [L4D2] Tank Swap
Reply With Quote #111

Native "SetFailState" reported: Cant initialize ReplaceTank SDKCall
__________________
The best thing in life's for free
adrianman is offline
adrianman
Senior Member
Join Date: Sep 2010
Old 12-25-2013 , 20:15   Re: [L4D2] Tank Swap
Reply With Quote #112

plugin seems dead
__________________
The best thing in life's for free
adrianman is offline
AtomicStryker
Veteran Member
Join Date: Apr 2009
Location: Teutonia!!
Old 12-28-2013 , 07:28   Re: [L4D2] Tank Swap
Reply With Quote #113

If you want this fixed, you need to provide me with current l4d2 server binaries (server.so and server.dll) found in the l4d2/bin/ folder of a linux and a windows server installation. I will decompile and fix the signature, but i cannot be bothered to get these binaries myself.
AtomicStryker is offline
Skorpion1976
Veteran Member
Join Date: Jun 2009
Location: Austria
Old 12-28-2013 , 14:08   Re: [L4D2] Tank Swap
Reply With Quote #114

Quote:
Originally Posted by AtomicStryker View Post
If you want this fixed, you need to provide me with current l4d2 server binaries (server.so and server.dll) found in the l4d2/bin/ folder of a linux and a windows server installation. I will decompile and fix the signature, but i cannot be bothered to get these binaries myself.
server.dll taken from my l4d2 win server.
Attached Files
File Type: zip server.zip (3.17 MB, 186 views)

Last edited by Skorpion1976; 12-28-2013 at 14:25.
Skorpion1976 is offline
AtomicStryker
Veteran Member
Join Date: Apr 2009
Location: Teutonia!!
Old 12-28-2013 , 18:28   Re: [L4D2] Tank Swap
Reply With Quote #115

Here's the new sig for ReplaceTank, the others seem fine.

Fix your l4d2addresses.txt with this, or use the one i fixed in the OP

Code:
            /*
             * ZombieManager::ReplaceTank(CTerrorPlayer *, CTerrorPlayer *)
             *
             * for finding: in CDirector::UpdateTankSpawns, easily findable in graph view from ReplaceWithBot
             */
            "ReplaceTank"
            {
                "library"    "server"
                "linux"    "@_ZN13ZombieManager11ReplaceTankEP13CTerrorPlayerS1_"
                "windows" "\x55\x8B\xEC\x83\xEC\x2A\x53\x56\x8B\x75\x2A\x8B\x06\x8B\x90\x2A\x2A\x2A\x2A\x57\x8B\xF9\x8B\xCE\xFF\xD2\x84\xC0\x0F"
                /* 55 8B EC 83 EC ? 53 56 8B 75 ? 8B 06 8B 90 ? ? ? ? 57 8B F9 8B CE FF D2 84 C0 0F */
            }
AtomicStryker is offline
adrianman
Senior Member
Join Date: Sep 2010
Old 12-29-2013 , 06:25   Re: [L4D2] Tank Swap
Reply With Quote #116

thanks alot,will do that next time
__________________
The best thing in life's for free
adrianman is offline
Gansxxx
New Member
Join Date: Sep 2012
Old 07-24-2014 , 12:30   Re: [L4D2] Tank Swap
Reply With Quote #117

help, plug it into the console spamming:

http://f-picture.net/lfp/s58.radikal...3f74ad.jpg/htm

server crashes
Gansxxx is offline
eric0279
AlliedModders Donor
Join Date: May 2007
Old 09-04-2014 , 22:26   Re: [L4D2] Tank Swap MEMORY LEAK
Reply With Quote #118

Hello,

Quote:
L 09/03/2014 - 198:17: [SM] MEMORY LEAK DETECTED IN PLUGIN (file "l4d2_tankswap.smx")
L 09/03/2014 - 198:17: [SM] Unloading plugin to free 12678 handles.
L 09/03/2014 - 198:17: [SM] Contact the author(s) of this plugin to correct this error.
L 09/03/2014 - 198:17: --------------------------------------------------------------------------
L 09/03/2014 - 198:17: Type IBaseMenu | Count 2
L 09/03/2014 - 198:17: Type Timer | Count 12669
L 09/03/2014 - 198:17: Type ValveCall | Count 7
L 09/03/2014 - 198:17: -- Approximately 246 bytes of memory are in use by (1267 Handles.

Last edited by eric0279; 09-04-2014 at 22:43.
eric0279 is offline
AtomicStryker
Veteran Member
Join Date: Apr 2009
Location: Teutonia!!
Old 09-05-2014 , 06:29   Re: [L4D2] Tank Swap
Reply With Quote #119

DEAR GOD 246 BYTES OF MEMORY OH THE HUMANITY
I cant find any obvious memory leak in the timer handles, they all run once and return Plugin_Stop.

1.0.7 - fixed infinite Tank retries, added Plugin_Stop to one timer
AtomicStryker is offline
zhlf8888
Junior Member
Join Date: Jul 2014
Old 09-17-2014 , 12:22   Re: [L4D2] Tank Swap
Reply With Quote #120

Quote:
Originally Posted by AtomicStryker View Post
DEAR GOD 246 BYTES OF MEMORY OH THE HUMANITY
I cant find any obvious memory leak in the timer handles, they all run once and return Plugin_Stop.

1.0.7 - fixed infinite Tank retries, added Plugin_Stop to one timer
when the tank passed , the nospitterduringtank and waterslowdownduringtank work stop.
zhlf8888 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 04:05.


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