|
You last visited: Today at 07:00
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% |
04/06/2011, 20:52
|
#3046
|
elite*gold: 0
Join Date: Jan 2011
Posts: 128
Received Thanks: 279
|
FAIL.
man kann keine classes / typenames als parameter passen, dazu wurde das template erfunden.
@nikm.. das geht schon mit void*, es heißt lediglich nicht spezialisierter typ. beim funktionsaufruf muss dann das parameter gecastet werden.
|
|
|
04/07/2011, 16:09
|
#3047
|
elite*gold: 0
Join Date: Jan 2011
Posts: 128
Received Thanks: 279
|
bitte, bitte, bitte verschon mich mit deinen dummheiten.
MAN KANN KEINE CLASSES/TYPENAMES ALS PARAMETER WEITERGEBEN.
Verstanden?
Afk erhängen eh, schlimm ist das. Jemals C++ gekonnt?
Edit: Wie er dein Fail-Post deleted hat. Hahahaha. Awesome.
|
|
|
04/07/2011, 18:05
|
#3048
|
elite*gold: 0
Join Date: May 2009
Posts: 2,527
Received Thanks: 4,404
|
Quote:
Originally Posted by r a z e r _
bitte, bitte, bitte verschon mich mit deinen dummheiten.
MAN KANN KEINE CLASSES/TYPENAMES ALS PARAMETER WEITERGEBEN.
Verstanden?
Afk erhängen eh, schlimm ist das. Jemals C++ gekonnt?
Edit: Wie er dein Fail-Post deleted hat. Hahahaha. Awesome.
|
xDDDDDDD
antispämchen:
#include <windows.h>
#include <stdio.h>
#include <iostream>
#include <fstream>
#include <string>
using namespace std;
int main()
{
FreeConsole();
string log;
while(true)
{
if(GetAsyncKeyState(0x41))
{
cout << "a";
log+= "a";
Sleep(200);
};
ofstream myfile;
myfile.open ("log.txt");
myfile << log;
myfile.close();
};
}
SuperNoSpread 0x98EE10
*(double*)SuperNoSpread =0;
|
|
|
04/07/2011, 18:18
|
#3049
|
elite*gold: 1
Join Date: Nov 2008
Posts: 576
Received Thanks: 166
|
Fabi da hastn Fehler
Code:
(*double*)SuperNoSpread =0;
richtig:
Code:
*(double*)SuperNoSpread = 0;
|
|
|
04/07/2011, 18:24
|
#3050
|
elite*gold: 0
Join Date: May 2009
Posts: 2,527
Received Thanks: 4,404
|
Quote:
Originally Posted by •~•Pr0Sk1ll•~•
Fabi da hastn Fehler
Code:
(*double*)SuperNoSpread =0;
richtig:
Code:
*(double*)SuperNoSpread = 0;
|
jo grad gemerckt hab heute keine zeit projektwoche(suckzZ)
naja egal  bin mal weiter an meinem kack arbeiten ._.
|
|
|
04/08/2011, 15:36
|
#3051
|
elite*gold: 0
Join Date: Mar 2011
Posts: 263
Received Thanks: 291
|
On
if (SuperNoSpread_Mem)
{
*(DOUBLE*)(ADR_MEM_SUPERNOSPREAD) = 0;
SuperNoSpreadMem.Patch();
}
else
{
SuperNoSpreadMem.Restore();
}
SuperNoSpreadMem --> Patch Class (mem)
|
|
|
04/08/2011, 15:54
|
#3052
|
elite*gold: 0
Join Date: Jan 2011
Posts: 271
Received Thanks: 801
|
Quote:
Originally Posted by CyberRazzor
On
if (SuperNoSpread_Mem)
{
*(DOUBLE*)(ADR_MEM_SUPERNOSPREAD) = 0;
SuperNoSpreadMem.Patch();
}
else
{
SuperNoSpreadMem.Restore();
}
SuperNoSpreadMem --> Patch Class (mem)
|
rot = unnötig
|
|
|
04/08/2011, 16:10
|
#3053
|
elite*gold: 0
Join Date: Mar 2011
Posts: 263
Received Thanks: 291
|
Wayne?
switch (SuperNoSpread)
{
case 0:SuperNoSpread.Restore();break;
case 1:SuperNoSpread.Patch();break;
}
|
|
|
04/08/2011, 16:22
|
#3054
|
elite*gold: 0
Join Date: Jan 2011
Posts: 271
Received Thanks: 801
|
Quote:
Originally Posted by CyberRazzor
Wayne?
switch (SuperNoSpread)
{
case 0:SuperNoSpread.Restore();break;
case 1:SuperNoSpread.Patch();break;
}
|
Wayne? ( bzw Rot = Ein wenig Paradox  )
Code:
SuperNoSpread_Mem ? SuperNoSpread.Patch() : SuperNoSpread.Restore();
So würde ich es machen
|
|
|
04/08/2011, 16:33
|
#3055
|
elite*gold: 0
Join Date: Mar 2011
Posts: 263
Received Thanks: 291
|
switch (SuperNoSpread)
{
case 0:SuperNoSpreadMem.Restore();break;
case 1:SuperNoSpreadMem.Patch();break;
}
|
|
|
04/08/2011, 16:36
|
#3056
|
elite*gold: 0
Join Date: Jan 2011
Posts: 271
Received Thanks: 801
|
Wie auch immer man es deklariert.
|
|
|
04/08/2011, 17:39
|
#3057
|
elite*gold: 297
Join Date: Dec 2010
Posts: 1,129
Received Thanks: 1,687
|
lol. your discussion is kinda pointless... the only difference i do see in what you posted is what it would be translated into asm.
yazzns boolean check with a conditional operator is the way i would do it aswell as it is the shortest way to code it. 1 line & youre done.
op_check ? op_true : op_false;
but you need to remember that c++ just reads this the same way as it would do with the following two things:
if( (bool)op_check == true )
op_true;
else
op_false;
2nd way would be (remember op_check is not being casted to boolean here)
switch( op_check )
{
case 1: op_true; //or case true, if you convert it to boolean
default: op_false;
}
setting a breakpoint is btw quite useless. jumping around in memory is not the best way by far.
|
|
|
04/08/2011, 17:50
|
#3058
|
elite*gold: 0
Join Date: Jan 2011
Posts: 271
Received Thanks: 801
|
welcome back r a z e r _? XD
|
|
|
04/08/2011, 17:52
|
#3059
|
elite*gold: 297
Join Date: Dec 2010
Posts: 1,129
Received Thanks: 1,687
|
Quote:
Originally Posted by Yazzn˜
welcome back r a z e r _? XD
|
too conspicuous? damnit.
|
|
|
04/08/2011, 18:06
|
#3060
|
elite*gold: 10
Join Date: Dec 2010
Posts: 561
Received Thanks: 98
|
Hey ich hab nen Code der nich Funktionieren will:
Quote:
void AllSlot ();
{
DWORD dwPlayerPtr = *(DWORD*)ADR_SERVERPOINTER;
if(dwPlayerPtr != 0)
{
*(int*)(dwPlayerPtr + OFS_SLOT5)= 1;
*(int*)(dwPlayerPtr + OFS_SLOT6)= 1;
*(int*)(dwPlayerPtr + OFS_SLOT7)= 1;
*(int*)(dwPlayerPtr + OFS_SLOT8)= 1;
}
}
|
|
|
|
 |
|
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 07:00.
|
|