Register for your free account! | Forgot your password?

Go Back   elitepvpers > Shooter > WarRock
You last visited: Today at 12:47

  • 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 12/02/2011, 22:50   #6001
 
elite*gold: 0
Join Date: Oct 2011
Posts: 89
Received Thanks: 64
Full&Black ...well if i think right black only should be a a lower rgb code...
WarFk is offline  
Old 12/02/2011, 22:52   #6002
 
elite*gold: 0
Join Date: Oct 2011
Posts: 39
Received Thanks: 14
please give me source!!!
GraFixPL is offline  
Old 12/02/2011, 22:57   #6003
 
xMicroX's Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 460
Received Thanks: 794
You can use this

if (CH_FullBright==1)
{
pDevice->SetRenderState(D3DRS_LIGHTING, false);
pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 255,255,255));
}
xMicroX is offline  
Old 12/02/2011, 23:10   #6004
 
elite*gold: 0
Join Date: Oct 2011
Posts: 39
Received Thanks: 14
Addys... No HOOK ...
GraFixPL is offline  
Old 12/02/2011, 23:28   #6005
 
Krasti's Avatar
 
elite*gold: 4
Join Date: Aug 2011
Posts: 2,169
Received Thanks: 7,917
Is it possible,make a msgbox from warrock?I mean that little window,say a message.
Krasti is offline  
Old 12/02/2011, 23:36   #6006
 
elite*gold: 0
Join Date: Oct 2011
Posts: 81
Received Thanks: 40
you can use on value sth. like 1092779973
xTriplexXx is offline  
Old 12/02/2011, 23:49   #6007
 
elite*gold: 0
Join Date: Nov 2011
Posts: 19
Received Thanks: 102
Quote:
Originally Posted by GraFixPL View Post
Looking for codes for:
-Fulbright
-BlackBright
Only, that is to be at the addresses!

Addys Seurce :

int CH_FLBRGHT = 0;

if (CH_FLBRGHT==1)
{
*(int*)ADR_FLBRGHT1 = 1092779973;
*(int*)ADR_FLBRGHT2 = 1092779973;
*(int*)ADR_FLBRGHT3 = 1092779973;
}

Addys:

#define ADR_FLBRGHT1 0x9EC5BC
#define ADR_FLBRGHT2 0x9EC5C0
#define ADR_FLBRGHT3 0x9EC5C0

Menü Seurce :

int CH_Fllbrght =0; // FullBright

if (CH_Fllbrght)
{
pDevice->SetRenderState(D3DRS_LIGHTING, false);
pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 255,255,255));}
else
{pDevice->SetRenderState(D3DRS_AMBIENT, false);}
CyBerTürk.™ is offline  
Old 12/03/2011, 02:16   #6008
 
NikM's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 972
Received Thanks: 1,583
@xCeManx
yes it is possible
you just need to find the startaddress of the messagebox subroutine
and you just need to push the text and to call the startaddress
NikM is offline  
Thanks
1 User
Old 12/03/2011, 09:06   #6009
 
.xD1997™'s Avatar
 
elite*gold: 0
Join Date: Sep 2009
Posts: 1,489
Received Thanks: 1,221
Quote:
Originally Posted by Venom' View Post
Kann mir jemand sagen was Px Items für eine Art ist ?
Wat für ne' Art?
.xD1997™ is offline  
Old 12/03/2011, 11:10   #6010
 
elite*gold: 0
Join Date: Oct 2011
Posts: 81
Received Thanks: 40
if (CH_Fllbrght)
{
pDevice->SetRenderState(D3DRS_LIGHTING, false);
pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 255,255,255));}
else
{pDevice->SetRenderState(D3DRS_AMBIENT, false);}

Now think, what you posted...
xTriplexXx is offline  
Thanks
1 User
Old 12/03/2011, 11:25   #6011
 
elite*gold: 0
Join Date: Oct 2011
Posts: 39
Received Thanks: 14
Quote:
Originally Posted by CyBerTürk.™ View Post
Addys Seurce :

int CH_FLBRGHT = 0;

if (CH_FLBRGHT==1)
{
*(int*)ADR_FLBRGHT1 = 1092779973;
*(int*)ADR_FLBRGHT2 = 1092779973;
*(int*)ADR_FLBRGHT3 = 1092779973;
}

Addys:

#define ADR_FLBRGHT1 0x9EC5BC
#define ADR_FLBRGHT2 0x9EC5C0
#define ADR_FLBRGHT3 0x9EC5C0

Menü Seurce :

int CH_Fllbrght =0; // FullBright

if (CH_Fllbrght)
{
pDevice->SetRenderState(D3DRS_LIGHTING, false);
pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 255,255,255));}
else
{pDevice->SetRenderState(D3DRS_AMBIENT, false);}

Does not work. I added to the database NoMenu this code:
void FullBright()
{
*(int*)ADR_FLBRGHT1 = 1092779973;
*(int*)ADR_FLBRGHT2 = 1092779973;
*(int*)ADR_FLBRGHT3 = 1092779973;
}

GraFixPL is offline  
Thanks
1 User
Old 12/03/2011, 11:30   #6012
 
elite*gold: 0
Join Date: Sep 2010
Posts: 10,215
Received Thanks: 5,781
Quote:
Originally Posted by NikM View Post
@xCeManx
yes it is possible
you just need to find the startaddress of the messagebox subroutine
and you just need to push the text and to call the startaddress
Depends on its calling convention, most likely to be cdecl. Then you would have to clean the stack yourself. At least I vaguely remember that thing to be as stated.
theitfan1337 is offline  
Old 12/03/2011, 12:07   #6013
 
Raz9r's Avatar
 
elite*gold: 297
Join Date: Dec 2010
Posts: 1,129
Received Thanks: 1,687
Quote:
Originally Posted by Nomad' View Post
Depends on its calling convention, most likely to be cdecl. Then you would have to clean the stack yourself. At least I vaguely remember that thing to be as stated.
you'll need to add something like
add esp, [size_of_arguments_in_bytes]
after the call, if it's the cdecl convention, which is the default calling convention in c++. but: keep in mind the WinAPI has been written in c/c# using the stdcall convention.
Raz9r is offline  
Old 12/03/2011, 13:14   #6014
 
elite*gold: 0
Join Date: Sep 2010
Posts: 10,215
Received Thanks: 5,781
Incrementing the stack pointer - what you are doing by adding the params' size to esp - is nothing else then what I meant with "cleaning the stack"
theitfan1337 is offline  
Old 12/03/2011, 15:13   #6015
 
Raz9r's Avatar
 
elite*gold: 297
Join Date: Dec 2010
Posts: 1,129
Received Thanks: 1,687
Quote:
Originally Posted by Nomad' View Post
Incrementing the stack pointer - what you are doing by adding the params' size to esp - is nothing else then what I meant with "cleaning the stack"
There's a little difference: pop gets from stack and decrements esp by the popped arguments size , push adds to the stack and increments the stack pointer. Incrementing the stack pointer needs to be done to let the next call be able to know where it needs to start to pop from stack. A stack is a so called LILO-structure (last-in, last-out).

The stack itself cannot be cleaned by either of these commands.
Raz9r 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 12:48.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.