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

[EXTENSION] Dukehacks


Post New Thread Reply   
 
Thread Tools Display Modes
labelmaker
Member
Join Date: Mar 2009
Location: Kentucky USA
Old 05-25-2009 , 07:43   Re: [EXTENSION] Dukehacks
Reply With Quote #191

Quote:
Originally Posted by Cooltad View Post
Well, with your offsets, I got a crash upon spawning.
And with the offsets from:
http://wiki.alliedmods.net/CTFPlayer...eam_Fortress_2)
I didn't get a crash upon spawning.
Thx, So I was on the right track just took the wrong road there .
__________________

Come Check Out the Popcorn Mod Yourself!!
labelmaker is offline
Send a message via Skype™ to labelmaker
Cooltad
Veteran Member
Join Date: Apr 2008
Old 05-25-2009 , 07:44   Re: [EXTENSION] Dukehacks
Reply With Quote #192

Quote:
Originally Posted by labelmaker View Post
Thx, So I was on the right track just took the wrong road there .
Well, those are older offsets, so I don't even know why they prevent me from crashing on spawn.
But, we still need a new completed updated offsets and signatures thing for dukehacks.
__________________
Please, give me some rep if you found what I posted useful. :]
Cooltad is offline
Flyflo
Senior Member
Join Date: Jun 2008
Location: Grenoble, France
Old 05-25-2009 , 12:45   Re: [EXTENSION] Dukehacks
Reply With Quote #193

Since I had some times to spend, I decided to search the Offsets with the help of this link : http://wiki.alliedmods.net/Finding_Virtual_Offsets posted before.
So here are my results :
Code:
"Games"
{
    "#default"
    {
        "#supported"
        {
            "game"        "dod"
            "game"        "tf"
        }

        "Offsets"
        {
            /* Offset into LevelShutdown */
            "gEntList"
            {
                "windows"    "11"
            }

            "GetDataDescMap"
            {
                "windows"        "11"
                "linux"            "12"
            }

            "Touch"
            {
                "windows"        "96"
                "linux"            "97"
            }

            "VPhysicsUpdate"
            {
                "windows"        "149"
                "linux"            "150"
            }

            "TraceAttack"
            {
                "windows"        "58"
                "linux"            "59"
            }

            "ProcessUsercmds"
            {
                "windows"        "373"
                "linux"            "374"
            }

            "PreThink"
            {
                "windows"        "294"
                "linux"            "295"
            }

            "PostThink"
            {
                "windows"        "295"
                "linux"            "296"
            }

            /* data offsets */
            "CTakeDamageInfo.m_flDamage"
            {
                "windows"        "48"
                "linux"            "48"
            }
        }

        "Signatures"
        {
            "AddListenerEntity"
            {
                "library"    "server"
                "windows"    "\x8B\x91\x2A\x2A\x2A\x2A\x81\xC1\x2A\x2A\x2A\x2A\x56\x33\xC0\x85"
                "linux"        "@_ZN17CGlobalEntityList17AddListenerEntityEP15IEntityListener"
            }

            
            "LevelShutdown"        // needed for gEntList on Windows
            {
                "library"    "server"
                "windows"    "\xE8\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\xE8"
            }

            "gEntList"        // gEntList on linux
            {
                "library"    "server"
                "linux"        "@gEntList"
            }

            "TakeDamage"
            {
                "library"    "server"
                "windows"    "\x83\xEC\x58\x57\x8B\xF9\x8B\x0D\x2A\x2A\x2A\x2A\x85\xC9\x0F\x84"
                "linux"        "@_ZN11CBaseEntity10TakeDamageERK15CTakeDamageInfo"
            }


        }
    }

    /* Team Fortress 2 */
    "tf"
    {

    }

    /* Day of Defeat: Source */
    "dod"
    {

    }
}
I just searched the offsets because I don't know how to find the signatures and I don't know if it's working because I don't use Dukehacks.
Flyflo is offline
Cooltad
Veteran Member
Join Date: Apr 2008
Old 05-25-2009 , 13:15   Re: [EXTENSION] Dukehacks
Reply With Quote #194

I already did that before, and but I get crashes on takedamage.

Woah, edit, holy shit Your offsets work. I musta screwed up somewhere with mine..
__________________
Please, give me some rep if you found what I posted useful. :]

Last edited by Cooltad; 05-25-2009 at 13:21.
Cooltad is offline
cybersquare420
Veteran Member
Join Date: Nov 2008
Old 05-25-2009 , 21:07   Re: [EXTENSION] Dukehacks
Reply With Quote #195

Quote:
Originally Posted by Flyflo View Post
Since I had some times to spend, I decided to search the Offsets with the help of this link : http://wiki.alliedmods.net/Finding_Virtual_Offsets posted before.
So here are my results :
Code:
"Games"
{
    "#default"
    {
        "#supported"
        {
            "game"        "dod"
            "game"        "tf"
        }

        "Offsets"
        {
            /* Offset into LevelShutdown */
            "gEntList"
            {
                "windows"    "11"
            }

            "GetDataDescMap"
            {
                "windows"        "11"
                "linux"            "12"
            }

            "Touch"
            {
                "windows"        "96"
                "linux"            "97"
            }

            "VPhysicsUpdate"
            {
                "windows"        "149"
                "linux"            "150"
            }

            "TraceAttack"
            {
                "windows"        "58"
                "linux"            "59"
            }

            "ProcessUsercmds"
            {
                "windows"        "373"
                "linux"            "374"
            }

            "PreThink"
            {
                "windows"        "294"
                "linux"            "295"
            }

            "PostThink"
            {
                "windows"        "295"
                "linux"            "296"
            }

            /* data offsets */
            "CTakeDamageInfo.m_flDamage"
            {
                "windows"        "48"
                "linux"            "48"
            }
        }

        "Signatures"
        {
            "AddListenerEntity"
            {
                "library"    "server"
                "windows"    "\x8B\x91\x2A\x2A\x2A\x2A\x81\xC1\x2A\x2A\x2A\x2A\x56\x33\xC0\x85"
                "linux"        "@_ZN17CGlobalEntityList17AddListenerEntityEP15IEntityListener"
            }

            
            "LevelShutdown"        // needed for gEntList on Windows
            {
                "library"    "server"
                "windows"    "\xE8\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\xE8"
            }

            "gEntList"        // gEntList on linux
            {
                "library"    "server"
                "linux"        "@gEntList"
            }

            "TakeDamage"
            {
                "library"    "server"
                "windows"    "\x83\xEC\x58\x57\x8B\xF9\x8B\x0D\x2A\x2A\x2A\x2A\x85\xC9\x0F\x84"
                "linux"        "@_ZN11CBaseEntity10TakeDamageERK15CTakeDamageInfo"
            }


        }
    }

    /* Team Fortress 2 */
    "tf"
    {

    }

    /* Day of Defeat: Source */
    "dod"
    {

    }
}
I just searched the offsets because I don't know how to find the signatures and I don't know if it's working because I don't use Dukehacks.
u sir are my hero!!!
__________________
cybersquare420 is offline
scopesp
Senior Member
Join Date: Jan 2009
Location: Munich
Old 05-26-2009 , 06:05   Re: [EXTENSION] Dukehacks
Reply With Quote #196

it works !

thx
scopesp is offline
NeoDement
Member
Join Date: Mar 2009
Old 05-26-2009 , 12:21   Re: [EXTENSION] Dukehacks
Reply With Quote #197

Hooray
__________________
I'm not being funny but guys, I'm a bit fit, y'know?
NeoDement is offline
Jamster
Veteran Member
Join Date: Jun 2008
Old 05-27-2009 , 17:27   Re: [EXTENSION] Dukehacks
Reply With Quote #198

Good work Flyflo.
Jamster is offline
Shake
Junior Member
Join Date: May 2009
Old 05-28-2009 , 08:23   Re: [EXTENSION] Dukehacks
Reply With Quote #199

I'm using dukehacks on my l4d server.

but I could not find the signature of TakeDamage..
Attached Files
File Type: rar dukehacks_l4d.rar (63.9 KB, 139 views)
Shake is offline
monkie
Senior Member
Join Date: Oct 2006
Location: Shanghai, China
Old 06-07-2009 , 03:57   Re: [EXTENSION] Dukehacks
Reply With Quote #200

Quote:
Originally Posted by Flyflo View Post
Since I had some times to spend, I decided to search the Offsets with the help of this link : http://wiki.alliedmods.net/Finding_Virtual_Offsets posted before.
So here are my results :
Code:
"Games"
{
    "#default"
    {
        "#supported"
        {
            "game"        "dod"
            "game"        "tf"
        }
 
        "Offsets"
        {
            /* Offset into LevelShutdown */
            "gEntList"
            {
                "windows"    "11"
            }
 
            "GetDataDescMap"
            {
                "windows"        "11"
                "linux"            "12"
            }
 
            "Touch"
            {
                "windows"        "96"
                "linux"            "97"
            }
 
            "VPhysicsUpdate"
            {
                "windows"        "149"
                "linux"            "150"
            }
 
            "TraceAttack"
            {
                "windows"        "58"
                "linux"            "59"
            }
 
            "ProcessUsercmds"
            {
                "windows"        "373"
                "linux"            "374"
            }
 
            "PreThink"
            {
                "windows"        "294"
                "linux"            "295"
            }
 
            "PostThink"
            {
                "windows"        "295"
                "linux"            "296"
            }
 
            /* data offsets */
            "CTakeDamageInfo.m_flDamage"
            {
                "windows"        "48"
                "linux"            "48"
            }
        }
 
        "Signatures"
        {
            "AddListenerEntity"
            {
                "library"    "server"
                "windows"    "\x8B\x91\x2A\x2A\x2A\x2A\x81\xC1\x2A\x2A\x2A\x2A\x56\x33\xC0\x85"
                "linux"        "@_ZN17CGlobalEntityList17AddListenerEntityEP15IEntityListener"
            }
 
 
            "LevelShutdown"        // needed for gEntList on Windows
            {
                "library"    "server"
                "windows"    "\xE8\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\xE8"
            }
 
            "gEntList"        // gEntList on linux
            {
                "library"    "server"
                "linux"        "@gEntList"
            }
 
            "TakeDamage"
            {
                "library"    "server"
                "windows"    "\x83\xEC\x58\x57\x8B\xF9\x8B\x0D\x2A\x2A\x2A\x2A\x85\xC9\x0F\x84"
                "linux"        "@_ZN11CBaseEntity10TakeDamageERK15CTakeDamageInfo"
            }
 
 
        }
    }
 
    /* Team Fortress 2 */
    "tf"
    {
 
    }
 
    /* Day of Defeat: Source */
    "dod"
    {
 
    }
}
I just searched the offsets because I don't know how to find the signatures and I don't know if it's working because I don't use Dukehacks.
Hi Flyflo, thank you for your work. Yet my DoDS server crashed after using the gamedata file you provided, which I reported a bug here: https://bugs.alliedmods.net/show_bug.cgi?id=3845

After switching back to the original one, my server was ok again. But the "TakeDamage" section seems not working anymore. I use some plugin on Dukehacks and found error report like:
Code:
L 06/06/2009 - 11:24:40: SourceMod error session started
L 06/06/2009 - 11:24:40: Info (map "dod_anzio") (file "errors_20090606.log")
L 06/06/2009 - 11:24:40: [DUKEHACKS] Could not locate function "TakeDamage"
L 06/06/2009 - 11:24:40: [SM] Unable to load extension "dukehacks.ext.dll": 
L 06/06/2009 - 11:24:41: [SM] Unable to load plugin "dod_dropgrenades_source.smx": Required extension "Dukehacks Extension" file("dukehacks.ext") not running
L 06/06/2009 - 11:24:41: [SM] Unable to load plugin "dod_drophealthkit_source.smx": Required extension "Dukehacks Extension" file("dukehacks.ext") not running
I would be much appreciated if you could fix your "dukehacks.txt" and update the "TakeDamage" section.
__________________
monkie is offline
Send a message via MSN to monkie Send a message via Skype™ to monkie
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 10:22.


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