SAMP Anti-Cheat Launcher in C
Beiträge von Sharpadox
-
-
Sprache?
-
Ich bin mir daher nicht sicher, ob ich mir GTA V holen sollte
-
TextDrawTextSize: Set the size of a textdraw box.
-
Stimmt, betrifft aber eher AMD.
Bei Robbe läuft es auf seiner 550 Ti auf Ultra.
Würde es mit der 7970 laufen?
Müsste doch gehen oder? -
Sorry für alten Thread, aber hätte dazu mal ne Frage
Wenn ich SAMP starte über "samp://localhost:7777", wo kann ich da das Passwort einfügen?
Oder geht das nicht.. Im Englischen Forum meinte einer "samp://ip;port password", aber das geht nicht^^ -
Hey,
ich schreibe schon länger in C#, aber nun würde ich gerne wissen, wie ich mein C# am besten
schützen kann vor decompilern. Ich weiß, dass man nicht direkt was dagegen tun kann, aber ich
habe etwas von Obfuscation gehört. Ist das auch sicher? o.omfg
-
Das ; am Ende, ist das richtig?
Muss doch bei einer Formatierung -
Hey,
ich habe folgende Definierung erstellt:
#define MAX_CMDS 100
new _zcmd[MAX_CMDS][128];
#define ZCMD(%1,%2,%3) format(_zcmd[%2],128,%1); COMMAND:%1(%3)Hier verwende ich den nun auch:
ZCMD(Hallo,0,playerid,params[])
{
return 1;
}Aber jetzt bekomme ich diese Fehler ausgegeben:
CodeC:\Users\Chris\Desktop\Scripting\PAWN\Selfmade\filterscripts\_report_system.pwn(20) : error 021: symbol already defined: "format" C:\Users\Chris\Desktop\Scripting\PAWN\Selfmade\filterscripts\_report_system.pwn(22) : error 010: invalid function or declaration C:\Users\Chris\Desktop\Scripting\PAWN\Selfmade\filterscripts\_report_system.pwn(222) : warning 203: symbol is never used: "_zcmd" Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 2 Errors.
Aber warum?
-
benutz am besten eine Geldvariable. Das ist sowieso besser, da es gegen Moneyhack hilft.
Dann hast du zB "pGeld", und dass ist dann dein Geld. Wenn du dann "normales" Geld bekommt,
setzt du das Geld wieder zurück auf "pGeld". -
Sieht für mich eher wie ein Vampir-Gothic-Girl aus
-
Zitat
C:\Users\Dani\Desktop\GTA SAMP\German South Reallife Roleplay\gamemodes\GSRR.pwn(6109) : warning 219: local variable "pX" shadows a variable at a preceding level
C:\Users\Dani\Desktop\GTA SAMP\German South Reallife Roleplay\gamemodes\GSRR.pwn(6109) : warning 219: local variable "pY" shadows a variable at a preceding level
C:\Users\Dani\Desktop\GTA SAMP\German South Reallife Roleplay\gamemodes\GSRR.pwn(6109) : warning 219: local variable "pZ" shadows a variable at a preceding level
pX, pY und pZ wurden global deklariert und irgendwo dann nochmal. zB::
new x = 0;
public Function(args)
{
new x = 0;
return x;
}
__________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________ZitatC:\Users\Dani\Desktop\GTA SAMP\German South Reallife Roleplay\gamemodes\GSRR.pwn(6110) : warning 213: tag mismatch
C:\Users\Dani\Desktop\GTA SAMP\German South Reallife Roleplay\gamemodes\GSRR.pwn(6110) : warning 213: tag mismatch
C:\Users\Dani\Desktop\GTA SAMP\German South Reallife Roleplay\gamemodes\GSRR.pwn(13928) : warning 213: tag mismatch
C:\Users\Dani\Desktop\GTA SAMP\German South Reallife Roleplay\gamemodes\GSRR.pwn(15060) : warning 213: tag mismatch
Es wurde ein falscher Datentyp angegeben. zB wenn man einen Int als Float benutzt. zB::
new x,y,z; //Integer -- "Nicht"-floats
GetPlayerPos(playerid,x,y,z); //Floats erwartet
__________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________ZitatC:\Users\Dani\Desktop\GTA SAMP\German South Reallife Roleplay\gamemodes\GSRR.pwn(10734) : warning 202: number of arguments does not match definition
C:\Users\Dani\Desktop\GTA SAMP\German South Reallife Roleplay\gamemodes\GSRR.pwn(33185) : warning 202: number of arguments does not match definition
C:\Users\Dani\Desktop\GTA SAMP\German South Reallife Roleplay\gamemodes\GSRR.pwn(37016) : warning 202: number of arguments does not match definition
C:\Users\Dani\Desktop\GTA SAMP\German South Reallife Roleplay\gamemodes\GSRR.pwn(37016) : warning 202: number of arguments does not match definition
Es wurden nicht alle erwarteten Parameter angegeben. zB::
SendClientMessage(playerid,-1); //String (Message) erwartet
__________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________ZitatC:\Users\Dani\Desktop\GTA SAMP\German South Reallife Roleplay\gamemodes\GSRR.pwn(56358) : warning 225: unreachable code
Code, der unmöglich erreicht werden kann. zB::
public Function(args)
{
new p = args;
return args; //Code wurde mit "return" beendet
p = 7; // Kann nicht erreicht werden, da beim "return" Schluss ist
}
__________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________ZitatC:\Users\Dani\Desktop\GTA SAMP\German South Reallife Roleplay\gamemodes\GSRR.pwn(66545) : warning 203: symbol is never used: "LSBC"
Es wurde eine Variable erstellt, die im Code nirgens gebraucht wird. zB::
Dazu gibts kein Beispiel, da die Variable nicht genutzt wird. -
Ob "was" so richtig ist?
Teste doch einfach ob es geht -
Sieht nice aus
Aber kann es sein, dass das linke Auge (im Bild rechts) höher steht als das Linke ? o.o
Ich glaube schon ..9/10 sieht schön aus
-
Habe XAMPP 1.8.2-0-VC9
-
Hey,
kann mir einer sagen, warum mein MySQL nicht startet? Hier ist die error-log:
Code
Alles anzeigen130812 17:07:34 [Note] Plugin 'FEDERATED' is disabled. 130812 17:07:34 InnoDB: The InnoDB memory heap is disabled 130812 17:07:34 InnoDB: Mutexes and rw_locks use Windows interlocked functions 130812 17:07:34 InnoDB: Compressed tables use zlib 1.2.3 130812 17:07:34 InnoDB: Initializing buffer pool, size = 16.0M 130812 17:07:34 InnoDB: Completed initialization of buffer pool 130812 17:07:34 InnoDB: highest supported file format is Barracuda. InnoDB: The log sequence number in ibdata files does not match InnoDB: the log sequence number in the ib_logfiles! 130812 17:07:34 InnoDB: Database was not shut down normally! InnoDB: Starting crash recovery. InnoDB: Reading tablespace information from the .ibd files... InnoDB: Restoring possible half-written data pages from the doublewrite InnoDB: buffer... 130812 17:07:35 InnoDB: Error: table 'samp/frakkassen' InnoDB: in InnoDB data dictionary has tablespace id 2, InnoDB: but tablespace with that id or name does not exist. Have InnoDB: you deleted or moved .ibd files? InnoDB: This may also be a table created with CREATE TEMPORARY TABLE InnoDB: whose .ibd and .frm files MySQL automatically removed, but the InnoDB: table still exists in the InnoDB internal data dictionary. InnoDB: Please refer to InnoDB: http://dev.mysql.com/doc/refman/5.5/en/innodb-troubleshooting-datadict.html InnoDB: for how to resolve the issue. 130812 17:07:35 InnoDB: Waiting for the background threads to start 130812 17:07:36 InnoDB: 5.5.32 started; log sequence number 1635933 130812 17:07:36 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306 130812 17:07:36 [Note] - '0.0.0.0' resolves to '0.0.0.0'; 130812 17:07:36 [Note] Server socket created on IP: '0.0.0.0'. 130812 17:07:36 [ERROR] c:\xampp\mysql\bin\mysqld.exe: Incorrect information in file: '.\mysql\proxies_priv.frm' 130812 17:07:36 [ERROR] Fatal error: Can't open and lock privilege tables: Incorrect information in file: '.\mysql\proxies_priv.frm'
-
Mach das unter OnPlayerConnect
-
Dein Problem verstehe ich jetzt nicht genau.
Du hast 2 Text boxen in die eine schreibst du was rein und wenn du auf edit klickst soll es bei der zweiten rauskommen ?
Also, ich habe 2 Form's.- SH_Box
- edit
SH_Box ist die main-Form, also die Hauptform, und darin steht ein Text, was sowas wie News sein sollen. Diese News werden über MySQL gespeichert..
edit ist die 2. Form, mit der ich die News Dynamisch verändern möchte. Das ist das sowas wie ein Text-Editor, wo ich dann auf "Absenden" drücke, und dann sollen die News aktualisiert werden.
Aber vom edit aus, kann ich nicht auf den Inhalt (Label) aus der SH_Box zugreifen. Nun möchte ich wissen, wie das machbar ist. -
Hey,
ich habe einen kleinen "Edit"-Button erstellt, mit dem ich einen Text ändern möchte. Dazu habe ich mir eine neue Form erstellt.
Doch wie kann ich nun von der einen Form zur anderen zugreifen, um den Text dann zu ändern? Die main-Form heißt SH_Box, und
da es eine Klasse ist, dachte ich, ich könnte die als Klasse erstellen:C
Alles anzeigenpublic partial class edit : Form { SH_Box sbox = new SH_Box(); public edit() { InitializeComponent(); } private void richTextBox1_TextChanged(object sender, EventArgs e) { } }
Und dann habe ich versucht, den Label auf public zu setzen:
Doch trotz allem, kann ich nicht auf den Label zugreifen. Wie kann ich das dann tun?
-
Jetzt habe ich daraus einen Array gemacht, und diese dann so auch zugewiesen:
C
Alles anzeigenTestClass[] test_array = new TestClass[5]; test_array[0].name = "Peter"; test_array[0].type = true; test_array[1].name = "Paul"; test_array[1].type = true; test_array[2].name = "Maria"; test_array[2].type = false; test_array[3].name = "Johanna"; test_array[3].type = false; test_array[4].name = "Tom"; test_array[4].type = true;
Doch nun meint mein Compiler: