Register for your free account! | Forgot your password?

Go Back   elitepvpers > Shooter > WarRock
You last visited: Today at 03:43

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



WarRock EU - Code Snippets

Discussion on WarRock EU - Code Snippets within the WarRock forum part of the Shooter category.

View Poll Results: Wie findet ihr diesen Thread
Klasse! 78 60.94%
Geht so 17 13.28%
Sinnlos, braucht keiner 33 25.78%
Voters: 128. You may not vote on this poll

Closed Thread
 
Old 07/04/2012, 00:10   #7366
 
Raz9r's Avatar
 
elite*gold: 297
Join Date: Dec 2010
Posts: 1,129
Received Thanks: 1,687
Quote:
Originally Posted by xxfabbelxx View Post
...
  1. Warum nicht mit ?
  2. Deine Klasse ist 16 Byte groß - das sind 128 Bit. Windows unterstützt aber nur 32 Bit Farben.

Code:
class Color
{
private:
  union
  {
    struct
    {
      BYTE a, r, g, b;
    };
    DWORD argb;
  } color_;

public:
  Color(BYTE a, BYTE r, BYTE g, BYTE b)
  {
    color_.a = a;
    color_.r = r;
    color_.g = g;
    color_.b = b;
  }

  Color(BYTE r, BYTE g, BYTE b)
  {
    color_.a = 255;
    color_.r = r;
    color_.g = g;
    color_.b = b;
  }

  Color(DWORD argb)
  {
    color_.argb = argb;
  }

  inline BYTE &alpha()
  {
    return color_.a;
  }

  inline BYTE &red()
  {
    return color_.r;
  }

  inline BYTE &green()
  {
    return color_.g;
  }

  inline BYTE &blue()
  {
    return color_.b;
  }

  inline DWORD &value()
  {
    return color_.argb;
  }
};
Raz9r is offline  
Thanks
3 Users
Old 07/04/2012, 16:25   #7367

 
xxfabbelxx's Avatar
 
elite*gold: 900
Join Date: Apr 2009
Posts: 14,981
Received Thanks: 11,403
Quote:
Originally Posted by __underScore View Post
  1. Warum nicht mit ?
  2. Deine Klasse ist 16 Byte groß - das sind 128 Bit. Windows unterstützt aber nur 32 Bit Farben.

Code:
class Color
{
private:
  union
  {
    struct
    {
      BYTE a, r, g, b;
    };
    DWORD argb;
  } color_;

public:
  Color(BYTE a, BYTE r, BYTE g, BYTE b)
  {
    color_.a = a;
    color_.r = r;
    color_.g = g;
    color_.b = b;
  }

  Color(BYTE r, BYTE g, BYTE b)
  {
    color_.a = 255;
    color_.r = r;
    color_.g = g;
    color_.b = b;
  }

  Color(DWORD argb)
  {
    color_.argb = argb;
  }

  inline BYTE &alpha()
  {
    return color_.a;
  }

  inline BYTE &red()
  {
    return color_.r;
  }

  inline BYTE &green()
  {
    return color_.g;
  }

  inline BYTE &blue()
  {
    return color_.b;
  }

  inline DWORD &value()
  {
    return color_.argb;
  }
};
because me noobsta.

Ich habe bis dato noch nicht mit unions gearbeitet. Muss mir das alles mal anschauen ...
xxfabbelxx is offline  
Old 07/04/2012, 17:53   #7368
 
Raz9r's Avatar
 
elite*gold: 297
Join Date: Dec 2010
Posts: 1,129
Received Thanks: 1,687
Quote:
Originally Posted by xxfabbelxx View Post
because me noobsta.

Ich habe bis dato noch nicht mit unions gearbeitet. Muss mir das alles mal anschauen ...
Dann trotzdem: Warum 4x 32 Bit Integer, wenn jede der vier Komponenten einer 32 Bit-Farbe nur 8 Bit groß sein kann?
Raz9r is offline  
Old 07/04/2012, 19:42   #7369
 
elite*gold: 0
Join Date: Dec 2009
Posts: 51
Received Thanks: 8
#request

Ai weapon source code ) ai everywehre (
bodhi12 is offline  
Old 07/04/2012, 19:59   #7370
 
elite*gold: 0
Join Date: Jul 2011
Posts: 152
Received Thanks: 76
Quote:
Originally Posted by bodhi12 View Post
#request

Ai weapon source code ) ai everywehre (
if (CH_UseAIWeaponsAnyWhere == 1)
{
*(int*)ADR_AIWeapon = 4;
}
}

Have u the right addy?

hast du denn die richtige addy?

€: #define ADR_AIWeapon 0x8F784C

Press THX when i helped u

Give Credits to iKito!
Fischii26 is offline  
Old 07/04/2012, 20:29   #7371
 
elite*gold: 0
Join Date: Dec 2009
Posts: 51
Received Thanks: 8
Quote:
Originally Posted by Fischii26 View Post
if (CH_UseAIWeaponsAnyWhere == 1)
{
*(int*)ADR_AIWeapon = 4;
}
}

Have u the right addy?

hast du denn die richtige addy?

€: #define ADR_AIWeapon 0x8F784C

Press THX when i helped u

Give Credits to iKito!
Doesn't work.
bodhi12 is offline  
Old 07/04/2012, 20:40   #7372
 
elite*gold: 0
Join Date: Jan 2012
Posts: 438
Received Thanks: 511
Quote:
Originally Posted by bodhi12 View Post
Doesn't work.
Code:
if (CH_UseAIWeaponsAnyWhere == 1)
{
*(int*)ADR_AIWeapon = 4;
}

#define ADR_AIWeapon 0x8F784C

Edit For Copy & Paster's With Weapon Check :

        if (CH_AIWeapon == 1)
{
        if ( (PlayerPointer+OFS_Weapon1) == 165 || (PlayerPointer+OFS_Weapon1) == 166 || (PlayerPointer+OFS_Weapon1) == 167)
        {
        *(int*)ADR_AIWeapon = 4;
        }
}

im not 100% sure if its work witth this i wrote it out of my head idk if numbers are right

Full Credits Go to iKito
if u  use it Credit him :)
Chown¡¡qhtz is offline  
Thanks
2 Users
Old 07/04/2012, 21:32   #7373
 
elite*gold: 0
Join Date: Jul 2011
Posts: 152
Received Thanks: 76
Quote:
Originally Posted by bodhi12 View Post
Doesn't work.
Must work. For me works that.
Fischii26 is offline  
Old 07/05/2012, 17:08   #7374
 
elite*gold: LOCKED
Join Date: Jun 2012
Posts: 57
Received Thanks: 62
Quote:
Originally Posted by Chown¡¡qhtz View Post
Code:
if (CH_UseAIWeaponsAnyWhere == 1)
{
*(int*)ADR_AIWeapon = 4;
}

#define ADR_AIWeapon 0x8F784C

Edit For Copy & Paster's With Weapon Check :

        if (CH_AIWeapon == 1)
{
        if ( (PlayerPointer+OFS_Weapon1) == 165 || (PlayerPointer+OFS_Weapon1) == 166 || (PlayerPointer+OFS_Weapon1) == 167)
        {
        *(int*)ADR_AIWeapon = 4;
        }
}

im not 100% sure if its work witth this i wrote it out of my head idk if numbers are right

Full Credits Go to iKito
if u  use it Credit him :)
Code:
CPU Disasm
Address   Hex dump                Command                                  Comments
0041E6CE  /$  833D 4C788F00 03    CMP DWORD PTR DS:[8F784C],3              ; WarRock-.0041E6CE(guessed Arg1)
So its

Code:
_asm
{
 MOV DWORD PTR DS:[ADR_WEAPON_RESTRICTIONS] ,3
}
Credits : BuBBLe
.BuBBLe is offline  
Thanks
2 Users
Old 07/05/2012, 17:35   #7375



 
+Yazzn's Avatar
 
elite*gold: 420
Join Date: Jan 2012
Posts: 1,082
Received Thanks: 1,000
Unfortunately, this sets the game channel to 3 which stands for the AI channel. Consequently you are able to use AI weapons in CQC, BG and UO.
+Yazzn is offline  
Old 07/05/2012, 19:01   #7376
 
xBioK1ngz's Avatar
 
elite*gold: 15
Join Date: Nov 2011
Posts: 556
Received Thanks: 1,002
Always CrossHair

Code:
*(DWORD*)( 0xA3AD74 ) = ( *(DWORD*)( 0xA3AD78 ) / 2 );
By YaZZn aka Pornstar
xBioK1ngz is offline  
Thanks
1 User
Old 07/05/2012, 19:47   #7377
 
Hacker1377's Avatar
 
elite*gold: 0
Join Date: Jul 2012
Posts: 159
Received Thanks: 102
Hey Leute !

Suche Scrollbar Menu Source code !
Hacker1377 is offline  
Old 07/06/2012, 08:46   #7378
 
~ExoduS~*'s Avatar
 
elite*gold: 0
Join Date: Jul 2012
Posts: 1,426
Received Thanks: 1,370
brauche autoplant und autostart/ready für 32bit autostart ready bitte ohne laggs
~ExoduS~* is offline  
Old 07/06/2012, 12:58   #7379
 
elite*gold: LOCKED
Join Date: Jun 2012
Posts: 57
Received Thanks: 62
#define ADR_SERVERNAME1 0x00A72324
#define ADR_SERVERNAME2 0x00A722D4



Code:
DWORD dwServer = "BuBBLe is The BEST";

sprintf((CHAR*)ADR_SERVERNAME1,dwServer);
sprintf((CHAR*)ADR_SERVERNAME2,dwServer);
€dit : Fixxed some bugs!

Found by BuBBLe
.BuBBLe is offline  
Thanks
5 Users
Old 07/06/2012, 13:37   #7380
 
elite*gold: 0
Join Date: May 2012
Posts: 67
Received Thanks: 70
Request:Tut wie man Warrock mit Cheat Engine öffnet und suchen kann.
Instiinqzx3™ is offline  
Closed Thread


Similar Threads Similar Threads
WTB Flyff Source code snippets
04/01/2012 - Flyff Trading - 0 Replies
Hellow I posted this because I wanted to buy a fix scroll of unbinding.Which removes soul-link of an item.If you have its code snippets PM me.Don't sell me a code which is release because all of them are not working.I wanted to buy a fix one and a non-buggy code Payment:via Paypal
[Autoit] Youtube Code Snippets
07/29/2011 - AutoIt - 5 Replies
Tag Zusammen. Wie wohl die meisten von euch mitbekommen haben, bieten derzeit sehr viele User hier sogenannte Youtube Services an, bei denen man Abos, Likes, Dislikes etc. kaufen kann. Doch wer wirklich Erfolg haben will, braucht natürlich viele Abonnenten und Likes, was per Hand Tage dauern würde. Deshalb werden hier in letzter Zeit immer mehr Youtube Bots verkauft. Was, wie ich finde, ein ziemliche Abzocke ist, da das meist nur sehr schlechte Bots sind, die lediglich den Internet...
Some Code-Snippets[PSERVER]
07/15/2011 - Kal Hacks, Bots, Cheats & Exploits - 17 Replies
This is the code of the hack which Fremo released.. I got new methods so I dont need this anymore & maybe it'll help some people... G31 Adult Skill if(comboBox4->Text=="Panther'crit'") { KC->Chat(255," Panther Skill ON"); KC->Threads=1; KC->lasttime = timeGetTime()-15000; } else if(comboBox4->Text=="Tiger'otp'")
[Release] Code Snippets Manager
01/21/2011 - Coding Releases - 0 Replies
Code Snippets Manager http://upit.cc/images/1d47d78e.jpg Hab mich heute mal rangesetzt, und einen kleinen Manager für Code-Snippets(Code-Fetzen) gecodet, da ich alles sortiert in einer Anwendung wollte. Da es sicherlich jemand nützlich finden wird, lad ich es hier mal hoch.



All times are GMT +1. The time now is 03:43.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.