Page 2 of 14 FirstFirst 123412 ... LastLast
Results 16 to 30 of 197
  1. #16
    matthew5371x's Avatar
    Join Date
    Jan 2013
    Gender
    male
    Posts
    20
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by FreeStyleSloth View Post
    The AV links, Jotti's and Virustotal.
    Ah, right. Any idea how long it'll take for the attachment to be approved?

  2. #17
    FreeStyleSloth's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Posts
    36
    Reputation
    10
    Thanks
    325
    Quote Originally Posted by matthew5371x View Post
    Ah, right. Any idea how long it'll take for the attachment to be approved?
    With no AV links to prove it isn't a virus, idk.

  3. #18
    Mr Moggy's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Location
    Behind you
    Posts
    545
    Reputation
    10
    Thanks
    65
    My Mood
    Aggressive
    this is for the beta anyway, it wasn't updated for the full release yet.
    [IMG]https://i164.photobucke*****m/albums/u4/moray007/MrMoggyNameCard.png[/IMG]



  4. #19
    matthew5371x's Avatar
    Join Date
    Jan 2013
    Gender
    male
    Posts
    20
    Reputation
    10
    Thanks
    0
    Sloth said he recompiled it to work with the full release.

    Quote Originally Posted by FreeStyleSloth View Post
    I've recompiled it so it works for the official release.

  5. #20
    FreeStyleSloth's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Posts
    36
    Reputation
    10
    Thanks
    325
    Quote Originally Posted by Mr Moggy View Post
    this is for the beta anyway, it wasn't updated for the full release yet.
    It works with the full release, skill points. money and all.

  6. #21
    matthew5371x's Avatar
    Join Date
    Jan 2013
    Gender
    male
    Posts
    20
    Reputation
    10
    Thanks
    0
    Hey Sloth, I hate to ask but is there any way you could send this to me over skype or so?

  7. #22
    dregomz's Avatar
    Join Date
    Feb 2012
    Gender
    male
    Posts
    68
    Reputation
    10
    Thanks
    5
    can you post source code? so we could compile that for ourselfs and i'd can give you +thanks

  8. #23
    FreeStyleSloth's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Posts
    36
    Reputation
    10
    Thanks
    325
    Quote Originally Posted by matthew5371x View Post
    Hey Sloth, I hate to ask but is there any way you could send this to me over skype or so?
    I'd rather have it over here.

  9. #24
    matthew5371x's Avatar
    Join Date
    Jan 2013
    Gender
    male
    Posts
    20
    Reputation
    10
    Thanks
    0
    Fair enough. I'll wait, hopefully it'll be up soon

  10. #25
    kwoolley91's Avatar
    Join Date
    Jul 2013
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    0
    Hopefully this gets approved soon!

  11. #26
    Sorox's Avatar
    Join Date
    Sep 2008
    Gender
    male
    Posts
    145
    Reputation
    10
    Thanks
    33
    lol, you can find this exact hook by googling "payday 2 lua hook"
    And it works for the full release.
    And don't take credit for others work.
    And that's all folks.
    Remember that time stuff happened? That was some great stuff.

    [IMG]https://www.anime-plane*****m/images/users/signatures/Sorox.jpg[/IMG]

  12. #27
    KingSchadey's Avatar
    Join Date
    Dec 2011
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0
    Sloth add your AV links so it can get approved

  13. #28
    matthew5371x's Avatar
    Join Date
    Jan 2013
    Gender
    male
    Posts
    20
    Reputation
    10
    Thanks
    0
    He said he couldn't post any AV links.

  14. #29
    KingSchadey's Avatar
    Join Date
    Dec 2011
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0
    Why not? Its not like he cant edit his post

  15. #30
    dregomz's Avatar
    Join Date
    Feb 2012
    Gender
    male
    Posts
    68
    Reputation
    10
    Thanks
    5
    Quote Originally Posted by Sorox View Post
    lol, you can find this exact hook by googling "payday 2 lua hook"
    And it works for the full release.
    And don't take credit for others work.
    And that's all folks.
    do you mean that code?

    #include "stdafx.h"

    typedef int (__cdecl* luaL_loadstring_t)(lua_State *L, const char *s);
    typedef int (__cdecl* lua_pcall_t)(lua_State* L, int nargs, int nresults, int errfunc);
    typedef const char* (__cdecl* lua_tolstring_t)(lua_State *L, int idx, size_t *len);
    typedef int (__thiscall* runData_t)(PaydayLua*, int, const char*);

    luaL_loadstring_t pluaL_loadstring = (luaL_loadstring_t) 0x007BBC40;
    lua_pcall_t plua_pcall = (lua_pcall_t) 0x007ACA10;
    lua_tolstring_t plua_tolstring = (lua_tolstring_t) 0x007A6680;
    _luaL_loadfile loadfile = (_luaL_loadfile)0x007BB9A0;
    runData_t prunData = NULL;

    void exec(lua_State* L, char* s)
    {
    gApp.AddToLogFileA("p.log", "Executing buffer...");

    if(L == NULL)
    {
    gApp.AddToLogFileA("p.log", "L is NULL");

    return;
    }

    //Load
    int r1 = pluaL_loadstring(L, s);

    if(r1 != 0)
    {
    if( LUA_ERRSYNTAX == r1 )
    {
    gApp.AddToLogFileA( "p.log", "Error loading Lua code into buffer with name (Syntax Error)[%s]", plua_tolstring(L, -1, NULL));
    }
    else if( LUA_ERRMEM == r1 )
    {
    gApp.AddToLogFileA( "p.log", "Error loading Lua code into buffer with name (Memory Allocation Error)[%s]", plua_tolstring(L, -1, NULL));
    }
    else
    {
    gApp.AddToLogFileA( "p.log", "Error loading Lua code into buffer with name (%i)", r1 );
    }

    return;
    }

    gApp.AddToLogFileA("p.log", "Load Success!");

    //Call
    int r2 = plua_pcall(L, 0, LUA_MULTRET, 0);

    if(r2 != 0)
    {
    if( LUA_ERRRUN == r2 )
    {
    gApp.AddToLogFileA( "p.log", "Error calling Lua code (Runtime Error)[%s]", plua_tolstring(L, -1, NULL));
    }
    else if( LUA_ERRMEM == r2 )
    {
    gApp.AddToLogFileA( "p.log", "Error calling Lua code (Memory Allocation Error)[%s]", plua_tolstring(L, -1, NULL));
    }
    else if( LUA_ERRERR == r2 )
    {
    gApp.AddToLogFileA( "p.log", "Error calling Lua code (Error while running error handler)[%s]", plua_tolstring(L, -1, NULL));
    }
    else
    {
    gApp.AddToLogFileA( "p.log", "Error calling Lua code (%i)", r2 );
    }

    return;
    }

    gApp.AddToLogFileA("p.log", "Call Success!");
    }

    int __fastcall new_runData(PaydayLua* pthis, void* _EDX, int a2, const char* desc)
    {
    if(!_stricmp(desc, "update") && pthis->state)
    {
    if(GetAsyncKeyState(VK_INSERT) & 1)
    {
    exec(pthis->state, "print(\"s0beit rulz da moon\")");
    }
    }

    return prunData(pthis, a2, desc);
    }

    BOOL APIENTRY DllMain( HMODULE hModule, DWORD dwReason, LPVOID lpReserved )
    {
    if(dwReason == DLL_PROCESS_ATTACH)
    {
    gApp.BaseUponModule(hModule);
    gApp.AddToLogFileA("p.log", "PAYDAY 2 LUA HACK INITIALIZE");

    prunData = (runData_t) DetourFunction((BYTE*)0x759A10, (BYTE*)new_runData);
    }

    return TRUE;
    }
    Last edited by dregomz; 08-13-2013 at 07:43 PM.

Page 2 of 14 FirstFirst 123412 ... LastLast

Similar Threads

  1. [Tut]Easy lvl 50 text only
    By vinylakos in forum Crysis 2 Tutorials
    Replies: 22
    Last Post: 04-25-2011, 05:29 AM
  2. [TUT] Easy Login/Register Form [NOOB FRIENDLY]
    By imsocruel in forum Programming Tutorials
    Replies: 8
    Last Post: 11-20-2010, 12:20 AM
  3. [TUT] Easy .DLL Injector ( Hand made Not Copy and Pasted )
    By GrImReApEdv2.0 in forum Programming Tutorials
    Replies: 3
    Last Post: 03-27-2010, 07:01 AM
  4. Speed Hack TuT (Easy Directions W/ Pictures)
    By TheColors in forum Combat Arms Hacks & Cheats
    Replies: 46
    Last Post: 09-23-2008, 03:19 PM
  5. tut How to hook tut 6
    By llvengancell in forum WarRock - International Hacks
    Replies: 1
    Last Post: 06-26-2007, 03:24 PM