AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Module Coding (https://forums.alliedmods.net/forumdisplay.php?f=9)
-   -   How to Call "DecalGunshot" with orpheu? [Not Solved] (https://forums.alliedmods.net/showthread.php?t=209335)

zxcvasd2 02-24-2013 09:48

How to Call "DecalGunshot" with orpheu? [Not Solved]
 
i am trying to call the funtion
void DecalGunshot( TraceResult *pTrace, int iBulletType )

i have tried the tutorial of finding the sig by arkshine,
but it is too complicated, can someone help me?

the file should look like:
Code:

{
    "name"      : "DecalGunshot",
    "library"  : "mod",
    "arguments" :
    [
        {
            "type"  : "TraceResult*",
            "info"  : "pTrace"
        },
        {
            "type"  : "int*",
            "info"  : "iBulletType"
        }
    ],
    "identifiers":
    [
        {
            "os"    : "windows",
            "mod"  : "cstrike",
            "value" : ? [no idea]
            "displacement" : ? [no idea]
        },
        {
            "os"    : "linux",
            "mod"  : "cstrike",
            "value" : "DecalGunshot__FP11TraceResultibP9entvars_sT2"
        }
    ]
}


Arkshine 02-24-2013 10:22

Re: How to Call "DecalGunshot" with orpheu? [Not Solved]
 
Calling this function will do nothing because the function is empty. I would guess that's something handled by the client.

zxcvasd2 02-24-2013 10:45

Re: How to Call "DecalGunshot" with orpheu? [Not Solved]
 
An empty function??
i am thinking of creating a decal by calling this function

Arkshine 02-24-2013 10:52

Re: How to Call "DecalGunshot" with orpheu? [Not Solved]
 
The function exists but there is not content inside.

Something you can check yourself with IDA if you don't trust me.

meTaLiCroSS 02-26-2013 12:23

Re: How to Call "DecalGunshot" with orpheu? [Not Solved]
 
Quote:

Originally Posted by Arkshine (Post 1900883)
Calling this function will do nothing because the function is empty. I would guess that's something handled by the client.

That's because client's prediction ?

Arkshine 02-26-2013 12:27

Re: How to Call "DecalGunshot" with orpheu? [Not Solved]
 
Probably yes. But both on client/server this function is empty. It should be done elsewhere.


All times are GMT -4. The time now is 19:20.

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