Beiträge von Sharpadox


    Dann packst du halt für die Entwicklung das PHP-Script auch auf den localhost. Später muss die Datenbank ja eh auf einen Server - da muss dann auch die PHP hin.


    Das Problem ist mein Xampp.. Ich kann darauf keine Sachen installieren, sonder immer nur Starten. Aber der Apache schmiert immer ab, daher kann ich zwar MySQL verwenden, aber nicht das Localhost an sich. Also http://localhost

    Benutz dafür doch den StreamWriter


    C
    StreamWriter writer = File.AppendText(@"C:\Users\Markus\AppData\Roaming\Verwaltung\nuzer"+textBox1.Text+".txt");
    writer.Write(textBox2.Text);
    writer.Close();

    @Sh13:
    Da muss ich noch dran schrauben ich weiss :S


    Naja was könnte ich denn deiner Meinung nach an den Farben ändern?

    Das ist einfach viel zu groß,
    und wirklich überall hast du eine andere Farbe verwendet.
    Ausserdem ist der Header viel zu groß


    Zitat

    Ich habe gerade mein WebDesign fertiggestellt und Gecodet.


    Ich sehe da nur ein Bild ^^


    Für fertig gecodet ist da aber kaum was:

    PHP
    ” erwartet." class="error doctype"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><link rel="stylesheet" type="text/css" href="style/stylesheet.css"/><title>Willkommen auf Dead4Light</title><div id="backg"></div><!-- Links --><form action='login.php' method='POST'><center>	<a style="position:absolute; z-index:2;margin-top:470px;margin-left:-220px;"></center></html>

    PHP
    body{	background-color:#282828;}#backg{	background-image:url("../Bilder/background.png");	width:1100px;	height:2100px;	background-repeat:no-repeat;	margin-left:330px;	position:absolute;	z-index:1;}

    Finde das Design ziemlich öde :/
    Alles ist so schlecht umgesetzt und die Farben. Bäh!!


    Übrigens habe ich dein Kanal dead4light gesehen und muss sagen:
    Mach den Ton leiser! Man hört dich ja kaum. Besonders bei geballere (SKILL - SF2)

    Hmm, Obfuscation sieht schon gut aus, aber das Problem ist, dass wenn sie das Programm decompilen,
    sehen sie trotz Obfuscation meine MySQL Daten und das Serverpasswort :/


    zB:

    C
    public SH_Box(){    this.components = null;    this.Connection_String = "Server=localhost;Port=3306;Database=samp;Uid=root;password=;";    this.server_ip = "HIER_DIE_IP";    this.server_port = "HIER_DER_PORT";    this.server_password = "DAS_IST_DAS_PASSWORT";    this.std_dir = @"C:\";    this.exe_dir = Environment.CurrentDirectory;    this.main_Name = new ArrayList();    this.main_Type = new ArrayList();    this.InitializeComponent();}


    C
    .method public hidebysig specialname rtspecialname instance void .ctor() cil managed{    .maxstack 2    L_0000: ldarg.0     L_0001: ldnull     L_0002: stfld class [System]System.ComponentModel.IContainer samp_launcher.SH_Box::components    L_0007: ldarg.0     L_0008: ldstr "Server=localhost;Port=3306;Database=samp;Uid=root;password=;"    L_000d: stfld string samp_launcher.SH_Box::Connection_String    L_0012: ldarg.0     L_0013: ldstr "HIER_DIE_IP"    L_0018: stfld string samp_launcher.SH_Box::server_ip    L_001d: ldarg.0     L_001e: ldstr "HIER_DER_PORT"    L_0023: stfld string samp_launcher.SH_Box::server_port    L_0028: ldarg.0     L_0029: ldstr "DAS_IST_DAS_PASSWORT"    L_002e: stfld string samp_launcher.SH_Box::server_password    L_0033: ldarg.0     L_0034: ldstr "C:\"    L_0039: stfld string samp_launcher.SH_Box::std_dir    L_003e: ldarg.0     L_003f: call string [mscorlib]System.Environment::get_CurrentDirectory()    L_0044: stfld string samp_launcher.SH_Box::exe_dir    L_0049: ldarg.0     L_004a: newobj instance void [mscorlib]System.Collections.ArrayList::.ctor()    L_004f: stfld class [mscorlib]System.Collections.ArrayList samp_launcher.SH_Box::main_Name    L_0054: ldarg.0     L_0055: newobj instance void [mscorlib]System.Collections.ArrayList::.ctor()    L_005a: stfld class [mscorlib]System.Collections.ArrayList samp_launcher.SH_Box::main_Type    L_005f: ldarg.0     L_0060: call instance void [System.Windows.Forms]System.Windows.Forms.Form::.ctor()    L_0065: nop     L_0066: nop     L_0067: ldarg.0     L_0068: call instance void samp_launcher.SH_Box::InitializeComponent()    L_006d: nop     L_006e: nop     L_006f: ret }

    Achso sorry, habe die Funktion wohl übersehen ^^


    Aber der startet bei mir ganz normal GTA-SA ohne SAMP :/


    C
    injector.StartInjekt(std_dir, "gta_sa.exe", "-c -n " + loggedName + " -h " + server_ip + " -p " + server_port + " -z " + server_password + " -d", "samp.dll");

    Hmm, iwie mache ich es falsch :P


    C
    Process Proz = new Process();
            	Proz.StartInfo.WorkingDirectory = std_dir;
            	Proz.StartInfo.FileName = "gta_sa.exe";
            	Proz.Start();
            	IntPtr proz_intptr = Proz.MainWindowHandle;
            	Injektor injector = new Injektor();
            	injector.InjectDLL(proz_intptr, std_dir+@"\samp.dll -c -n " + loggedName + " -h " + server_ip + " -p " + server_port + " -z " + server_password + " -d");