WarRock EU - Code Snippets

07/25/2011 12:38 Dogukan47#4576
Quote:
Originally Posted by Neqqa™ View Post
mach es so:
ok ich probier es gleich aus
€:ne klappt nicht :/ naja also bei cyberrazer is due menuadditem funktion so:
Code:
AddMenuItem( char title[20], int *cvar, int min, int max, int GroupID, int vKey = NULL, char *Opt = NULL, ... );
und ich hab das so:
Code:
menu.AddMenuItem("WallColor", &CH_WallColor,0,9, GID[1],0,sColors);
is das denn so richtig das ich sColors am ende setzen muss?
07/25/2011 12:43 Neqqa™#4577
Quote:
menu.AddMenuItem("WallColor", &CH_WallColor,0,9, GID[1],0,sColors);
vll. so:

Quote:
menu.AddMenuItem("WallColor", &CH_WallColor,0,9, GID[1],0,"Blue","Red","Weitere Farben");
07/25/2011 12:44 Dogukan47#4578
Quote:
Originally Posted by Neqqa™ View Post
vll. so:
ya das hab ich auch schon gedacht aber ich wollte es in eine variable packen da ich es auch für crosshair ec. benutzen will aber ich probier es mal aus
€:
07/25/2011 12:45 BlackLegend™#4579
Quote:
Originally Posted by Dogukan47 View Post
ok ich probier es gleich aus
€:ne klappt nicht :/ naja also bei cyberrazer is due menuadditem funktion so:
Code:
AddMenuItem( char title[20], int *cvar, int min, int max, int GroupID, int vKey = NULL, char *Opt = NULL, ... );
und ich hab das so:
Code:
menu.AddMenuItem("WallColor", &CH_WallColor,0,9, GID[1],0,sColors);
is das denn so richtig das ich sColors am ende setzen muss?
menu.AddMenuItem( "WallColor", &CH_WallColor, 0, 8, GID[1], 0,"Red","Blue","Yellow","Green","Orange","Purple", "Black","White", NULL );
07/25/2011 12:47 Dogukan47#4580
thx hat geklappt und hat jmd noch die supernospread source ohne asm bypass?
EDIT:
naja so richtig hats noch nicht geklappt ich habe es nun so:
Code:
menu.AddMenuItem("WallColor", &CH_WallColor,0,8, GID[1],0,"Red","Blue","Yellow","Green","Orange","Purple","Black","White");
wenn ich nun damit warrock starte crasht es direkt aber wenn ich wallcolor raus nehme passiert nix
07/25/2011 12:47 head12344#4581
hat jemand ein code für q.plant defuse?
und zwar ohne bypass
07/25/2011 12:51 BlackLegend™#4582
Quote:
Originally Posted by Dogukan47 View Post
thx hat geklappt und hat jmd noch die supernospread source ohne asm bypass?
if(supernospread==1)
{
*(double*)ADR_SUPERNOSPREAD=0;
}
else
{
*(double*)ADR_SUPERNOSPREAD=5;
}
#define ADR_SUPERNOSPREAD 0x007ECF00
07/25/2011 12:53 Dogukan47#4583
thx blacklegend kannst mir auch dabei helfen^^:
naja so richtig hats noch nicht geklappt ich habe es nun so:
Code:
menu.AddMenuItem("WallColor", &CH_WallColor,0,8, GID[1],0,"Red","Blue","Yellow","Green","Orange","Purple","Black","White");
wenn ich nun damit warrock starte crasht es direkt aber wenn ich wallcolor raus nehme passiert nix
07/25/2011 12:56 head12344#4584
brauche dringend die Patch-Class von Yazzn.
07/25/2011 13:08 R3d~F!st#4585
Das SuperNoSpread is fail

so:
Code:
if(SNS)
{
*(double*)ADR_SNS = 0;
}
else
{
*(double*)ADR_SNS = 5;
}
07/25/2011 13:09 Dogukan47#4586
Quote:
Originally Posted by R3d~F!st View Post
Das SuperNoSpread is fail

so:
Code:
if(SNS)
{
*(double*)ADR_SNS = 0;
}
else
{
*(double*)ADR_SNS = 5;
}
thx kannst du mir bitte auch dabei helfen:
Code:
menu.AddMenuItem("WallColor", &CH_WallColor,0,8, GID[1],0,"Red","Blue","Yellow","Green","Orange","Purple","Black","White");
wenn ich nun damit warrock starte crasht es direkt aber wenn ich wallcolor raus nehme passiert nix
07/25/2011 13:44 Neqqa™#4587
Quote:
menu.AddMenuItem("WallColor", &CH_WallColor,0,8, GID[1],0,"Red","Blue","Yellow","Green","Orange","Purple" ,"Black","White",NULL);
ka ob des geht^^
07/25/2011 13:56 Deda94#4588
Anstatt jede Farbe einzeln rein zuhaun definierst dus einfach und packst definition da an letzte stelle <.<
07/25/2011 13:57 PowerB#4589
Who helps me to create a Powerlevel Bot?
07/25/2011 13:59 Dogukan47#4590
Quote:
Originally Posted by ToxicLibrary™ View Post
Anstatt jede Farbe einzeln rein zuhaun definierst dus einfach und packst definition da an letzte stelle <.<
das hab ich schon versucht aber es ging nicht