GunZ clipboard fix

Results 1 to 8 of 8
  1. #1
    Member Brandon-Bmx is offline
    MemberRank
    Aug 2009 Join Date
    57Posts

    GunZ clipboard fix

    Quite simple really, run gunz, alt tab, then run this program.
    This program allows you to copy and paste whilst you have the gunz client open.
    It will most likely crash... Ignore that error, it will still work.

    credits: Brandon-Bmx + lone222
    Code:
    #include <windows.h>
    int main()
    {
       CloseClipboard();
       return 1;
    }
    I also attatched the program incase you didn't want to compile that.

    Edit--:
    This also allows you to paste into gunz... it will only paste one line, though.
    Attached Files Attached Files
    Last edited by Brandon-Bmx; 29-12-09 at 01:58 AM.


  2. #2
    Valued Member Pauliinho is offline
    MemberRank
    Apr 2009 Join Date
    140Posts

    Re: GunZ clipboard fix

    Nice
    Thanks Brandon

  3. #3
    I am THE DON Joe9099 is offline
    MemberRank
    Jan 2007 Join Date
    England, UkLocation
    3,655Posts

    Re: GunZ clipboard fix

    Pretty useful, thanks again :)

  4. #4
    GunZ Developer dacharles is offline
    MemberRank
    Oct 2006 Join Date
    476Posts

    Re: GunZ clipboard fix

    that only happ if you Skip the launcher...but if you want to skip the launcher and use the Clipboard you should make some fixes..


    Code:
    00494F6E     /EB 2C                         JMP SHORT Gunzoarg.00494F9C
    Code:
    00494F3C     /EB 5E                         JMP SHORT Gunzoarg.00494F9C
    Code:
    00494F07     /E9 90000000                   JMP Gunzoarg.00494F9C
    Code:
    00494F94      FF15 C0645E00                 CALL DWORD PTR DS:[5E64C0]                     ;  USER32.CloseClipboard
    00494F9A      33C0                          XOR EAX,EAX
    00494F9C      8B8C24 64050000               MOV ECX,DWORD PTR SS:[ESP+564]
    00494FA3      64:890D 00000000              MOV DWORD PTR FS:[0],ECX
    00494FAA      8B8C24 5C050000               MOV ECX,DWORD PTR SS:[ESP+55C]
    00494FB1      E8 78C10D00                   CALL Gunzoarg.0057112E
    00494FB6      5F                            POP EDI
    00494FB7      5E                            POP ESI
    00494FB8      5B                            POP EBX
    00494FB9      8BE5                          MOV ESP,EBP
    00494FBB      5D                            POP EBP
    00494FBC      C3                            RETN
    P.D.: never tested it D: I think it works..
    Last edited by dacharles; 28-12-09 at 03:30 AM.

  5. #5
    Member Brandon-Bmx is offline
    MemberRank
    Aug 2009 Join Date
    57Posts

    Re: GunZ clipboard fix

    Quote Originally Posted by dacharles View Post
    that only happ if you Skip the launcher...but if you want to skip the launcher and use the Clipboard you should make some fixes..


    Code:
    00494F6E     /EB 2C                         JMP SHORT Gunzoarg.00494F9C
    Code:
    00494F3C     /EB 5E                         JMP SHORT Gunzoarg.00494F9C
    Code:
    00494F07     /E9 90000000                   JMP Gunzoarg.00494F9C
    Code:
    00494F94      FF15 C0645E00                 CALL DWORD PTR DS:[5E64C0]                     ;  USER32.CloseClipboard
    00494F9A      33C0                          XOR EAX,EAX
    00494F9C      8B8C24 64050000               MOV ECX,DWORD PTR SS:[ESP+564]
    00494FA3      64:890D 00000000              MOV DWORD PTR FS:[0],ECX
    00494FAA      8B8C24 5C050000               MOV ECX,DWORD PTR SS:[ESP+55C]
    00494FB1      E8 78C10D00                   CALL Gunzoarg.0057112E
    00494FB6      5F                            POP EDI
    00494FB7      5E                            POP ESI
    00494FB8      5B                            POP EBX
    00494FB9      8BE5                          MOV ESP,EBP
    00494FBB      5D                            POP EBP
    00494FBC      C3                            RETN
    P.D.: never tested it D: I think it works..
    It's a lot easier to open the clipboard then to close it than editing the client. Plus, if I needed to make a dll, then it wouldn't work with any private servers with anticheats, this program shouldn't collide with any anticheats, since it's harmless.
    Also, I don't recall being able to copy and paste actually into gunz. I'm sure this error occurs anyway, but I'll go and check using the launcher to launch the game now.

    Edit--
    That's strange, I didn't know that the skipping the launcher caused this error.
    Oh well, I just checked and I could copy and paste, I guess this is only useful if you're using a runnable that skips the launcher.
    Last edited by Brandon-Bmx; 28-12-09 at 06:44 PM.

  6. #6
    Member wowus is offline
    MemberRank
    Jun 2009 Join Date
    53Posts

    Re: GunZ clipboard fix

    Bugfix: You're closing a non-open clipboard. Try this.

    Code:
    if(OpenClipboard(NULL))
        CloseClipboard();
    Good release, anyhow. Makes sense.

  7. #7
    RageZone GunZ | Ex-Owner Ricky Blaze is offline
    MemberRank
    Nov 2009 Join Date
    New YorkLocation
    608Posts

    Re: GunZ clipboard fix

    oh cool ty bro

  8. #8
    Enthusiast asaboy is offline
    MemberRank
    May 2009 Join Date
    PHILIPPINESLocation
    35Posts

    Re: GunZ clipboard fix

    thx man :D



Advertisement