Beiträge von [Lehrling]Pawno

    hier noch ein Beispiel. !

    Inhalt anzeigen
    if(SaveServerMySQL == 0)
    {
    for(new t = 0; t < MAX_TEAMIDS; t++)
    {
    new coordsstring[256];
    new tstr[128];
    format(coordsstring, sizeof(coordsstring), "%d|%d|%d|%d|%d|%d|%d|%d",
    KassenInfo[t][tKasse],
    KassenInfo[t][tLohn],
    KassenInfo[t][tBankrobs],
    KassenInfo[t][tZinUpgradeTime],
    KassenInfo[t][tCarsKlau],
    KassenInfo[t][tCarVersicherungTime],
    KassenInfo[t][tHackedWanteds],
    KassenInfo[t][tRandomWantedUpgradeTime]);
    format(tstr,sizeof tstr,"teamkassen/%d.ini",t);
    new File: file2 = fopen(tstr, io_write);
    fwrite(file2, coordsstring);
    fclose(file2);
    }
    }



    speichert er da im spiel dann ab sobald ich den server starte ?

    Hey Leute ich habe eine frage wegen den Scriptfiles


    und zwar ich gebe im script an

    Inhalt anzeigen
    if(SaveServerMySQL == 0)
    {
    new idx;
    new File: file2;
    while (idx < sizeof(HouseInfo))
    {
    new coordsstring[256];
    format(coordsstring, sizeof(coordsstring), "%s,%s,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d\n",
    HouseInfo[idx][hOwner],
    HouseInfo[idx][hBeschreibung],
    HouseInfo[idx][hPreis],
    HouseInfo[idx][hHealUpgrade],
    HouseInfo[idx][hArmorUpgrade],
    //HouseInfo[idx][hInt],
    HouseInfo[idx][hLock],
    HouseInfo[idx][hOwned],
    HouseInfo[idx][hRooms],
    HouseInfo[idx][hRent],
    HouseInfo[idx][hRentabil],
    HouseInfo[idx][hKasse],
    //HouseInfo[idx][hDate],
    HouseInfo[idx][hLevel]);
    if(idx == 0)
    {
    file2 = fopen("Configs/property.cfg", io_write);
    }
    else
    {
    file2 = fopen("Configs/property.cfg", io_append);
    }
    fwrite(file2, coordsstring);
    idx++;
    fclose(file2);
    }
    idx = 0;


    meine Frage ist diese Scriptfile habe ich nicht mehr ! habe aber eine property.cfg erstellt
    etz ist meine Frage speichert das Script da was rein oder soll ich in die cfg selber was einfügen . ich hoffe ihr versteht was ich meine :D

    Hey Leute Ich wollte Euch fragen bzw. mich über zeugen das ich auch alles Richtig kaufe.
    :D dass alle teile zusammen Passen z.b sockel etc. auf die zwei Monitore bitte nicht achten :D ^^ außer ihr könnt mir einen Besseren und Billigeren Monitor empfehlen .


    Inhalt anzeigen

    G.Skill DIMM 8 GB DDR3-2133 Kit, Arbeitsspeicher
    Art-Nr. IDIFGHA1
    F3-17000CL11D-8GBXL, RipjawsX
    Auf Lager 1 € 66,90* € 66,90*

    Inhalt anzeigen

    Inhalt anzeigen
    Samsung HN-M101MBB 1 TB, Festplatte
    Art-Nr. AABUL2
    SATA 300, Spinpoint M8
    Auf Lager 1 € 56,90* € 56,90*

    Inhalt anzeigen

    Inhalt anzeigen
    Aerocool XPredator White Edition, Gehäuse
    Art-Nr. TQXRX3
    weiß
    In 1-3 Tagen verfügbar 1 € 112,90* € 112,90*

    Inhalt anzeigen

    Inhalt anzeigen
    Corsair RM650 650W, Netzteil
    Art-Nr. TN6V6R00
    schwarz, 4x PCIe, Kabel-Management
    Auf Lager 1 € 86,90* € 86,90*

    Inhalt anzeigen

    Inhalt anzeigen
    XFX Radeon HD 7850 Dual Fan Black Edition, Grafikkarte
    Art-Nr. JDXXXD
    HDMI, 2x DVI, 2x Mini-DisplayPort, Retail
    Auf Lager 1 € 139,90* € 139,90*

    Inhalt anzeigen

    Inhalt anzeigen
    Samsung SH-224DB/BEBE, DVD-Brenner
    Art-Nr. CEBU54
    Blende in Schwarz, Bulk
    Auf Lager 1 € 17,79* € 17,79*

    Inhalt anzeigen

    Inhalt anzeigen
    ASUS BC-12D2HT Silent, Blu-ray-Combo
    Art-Nr. CEBA65
    Blende in Schwarz, 12-fach Blu-Ray lesen, M-DISC, Bulk
    In 1-3 Tagen verfügbar 1 € 59,90* € 59,90*

    Inhalt anzeigen

    Inhalt anzeigen
    ASRock 970 Extreme4, Mainboard
    Art-Nr. GAER03
    Sound, G-LAN, SATA3, eSATA, FW, USB3
    Auf Lager 1 € 81,90* € 81,90*

    Inhalt anzeigen

    Inhalt anzeigen
    AMD FX-6300, CPU
    Art-Nr. HA6A07
    "Vishera", boxed
    Auf Lager 1 € 96,90* € 96,90*

    Inhalt anzeigen

    Inhalt anzeigen
    Samsung S22C350H LED, LED-Monitor
    Art-Nr. V5LU1P
    hochglanzschwarz, HDMI
    Auf Lager 2 € 99,-* € 198,-*

    Inhalt anzeigen

    Inhalt anzeigen

    Inhalt anzeigen
    Warenwert
    zzgl. Versandkosten € 917,99*
    ab € 24,95**
    Gesamtpreis
    inkl. 19% MwSt.
    € 942,94***
    € 150,55


    meine Frage wäre da könnte ich schon drauf in zukunft GTA 5 oder andere spiele Spielen ?? :D:thumbup:

    hast schon recht :D deswegen habe ich auch nur den zum testen genommen !


    weil ich Forschen möchte wie was klappt aber das mit der mysql daten bank kann ich nciht und das liegt Höchstwahrscheinlich daran..

    hey habe alles richtig eingestellt alles hat geklappt der server wird kurtz zeitig gestartet dennoch


    schreibt putty mir ein fehler

    Inhalt anzeigen

    Started server on port: 7777, with maxplayers: 50 lanmode is OFF.

    Inhalt anzeigen

    Inhalt anzeigen
    samp03svr: amx/amxfile.c:222: fputs_cell: Assertion `fp!=((void *)0)' failed.
    Abgebrochen


    ich weis nicht woran das liegen könnte bitte dieses mal um hilfe ?(

    hey und zwar bei mir passiert nichts ich verwende


    Debian 6.0 / Minimal / 32 bit


    Inhalt anzeigen

    root@vps9970:~# cd /root/SAMP
    -bash: cd: /root/SAMP: Datei oder Verzeichnis nicht gefunden
    root@vps9970:~# cd /SAMP
    root@vps9970:/SAMP# ls
    announce mysql_log.txt sampir.sql server_log.txt
    crashinfo.txt npcmodes samp-license.txt server-readme.txt
    filterscripts plugins samp-npc
    include samp03svr scriptfiles
    libmysql.dll samp.ban server.cfg
    root@vps9970:/SAMP# chmod 0777 samp03svr
    root@vps9970:/SAMP# chmod 0777 samp-npc
    root@vps9970:/SAMP# chmod 0777 announce
    root@vps9970:/SAMP# ./samp03svr
    root@vps9970:/SAMP#


    nach dem ich ./samp03svr eingebe Passiert einfach nichts nicht mal eine fehler meldung !


    was soll ich machen ?


    hat sich ERLEDIGT :D habe vergessen gamemodes ordner ein zu fügen !!

    ok hat sich geklert mit MSVCP100.dll


    jetz sind noch die errors da und dann habe ich debugs bekommen ;( 8|


    Inhalt anzeigen

    ----------
    Loaded log file: "server_log.txt".
    ----------

    Inhalt anzeigen

    Inhalt anzeigen
    SA-MP Dedicated Server
    ----------------------
    v0.3z, (C)2005-2014 SA-MP Team

    Inhalt anzeigen

    Inhalt anzeigen
    [14:45:16]
    [14:45:16] Server Plugins
    [14:45:16] --------------
    [14:45:16] Loading plugin: nativechecker
    [14:45:16] Loaded.
    [14:45:16] Loading plugin: mysql
    [14:45:16]

    Inhalt anzeigen

    Inhalt anzeigen
    > MySQL plugin R5 successfully loaded.

    Inhalt anzeigen

    Inhalt anzeigen
    [14:45:16] Loaded.
    [14:45:16] Loading plugin: sscanf
    [14:45:16]

    Inhalt anzeigen

    Inhalt anzeigen
    [14:45:16] ===============================

    Inhalt anzeigen

    Inhalt anzeigen
    [14:45:16] sscanf plugin loaded.

    Inhalt anzeigen

    Inhalt anzeigen
    [14:45:16] (c) 2009 Alex "Y_Less" Cole

    Inhalt anzeigen

    Inhalt anzeigen
    [14:45:16] ===============================

    Inhalt anzeigen

    Inhalt anzeigen
    [14:45:16] Loaded.
    [14:45:16] Loading plugin: streamer
    [14:45:16]

    Inhalt anzeigen

    Inhalt anzeigen
    *** Streamer Plugin v2.5.2 by Incognito loaded ***

    Inhalt anzeigen

    Inhalt anzeigen
    [14:45:16] Loaded.
    [14:45:16] Loading plugin: Filemanager
    [14:45:16] ******************
    [14:45:16] ** FILE MANAGER **
    [14:45:16] ** Loaded **
    [14:45:16] ** Version 1.1 **
    [14:45:16] ******************
    [14:45:16] Loaded.
    [14:45:16] Loading plugin: crashdetect
    [14:45:16] crashdetect v4.8.5 is OK.
    [14:45:16] Loaded.
    [14:45:16] Loaded 6 plugins.

    Inhalt anzeigen

    Inhalt anzeigen
    [14:45:16]
    [14:45:16] Ban list
    [14:45:16] --------
    [14:45:16] Loaded: samp.ban
    [14:45:16]
    [14:45:16]
    [14:45:16] Filterscripts
    [14:45:16] ---------------
    [14:45:16] Loading filterscript 'Antibug.amx'...
    [14:45:16] Loading filterscript 'HelpSystem.amx'...
    [14:45:16]
    --------------------------------------
    [14:45:16] Help System Loadet.
    [14:45:16] --------------------------------------

    Inhalt anzeigen

    Inhalt anzeigen
    [14:45:16] Loading filterscript 'Races.amx'...
    [14:45:17] Loaded 3 filterscripts.

    Inhalt anzeigen

    Inhalt anzeigen
    [14:45:17] Error: Function not registered: 'mysql_store_result'
    [14:45:17] Error: Function not registered: 'mysql_num_rows'
    [14:45:17] Error: Function not registered: 'mysql_fetch_row_format'
    [14:45:17] Error: Function not registered: 'mysql_free_result'
    [14:45:17] Error: Function not registered: 'mysql_debug'
    [14:45:17] Error: Function not registered: 'mysql_connect'
    [14:45:17] Error: Function not registered: 'mysql_close'
    [14:45:17] Error: Function not registered: 'mysql_ping'
    [14:45:17] Error: Function not registered: 'mysql_query'
    [14:45:17] Error: Function not registered: 'dir_exists'
    [14:45:17] Error: Function not registered: 'dir_create'
    [14:45:17] Error: Function not registered: 'file_write'
    [14:45:17] Error: Function not registered: 'mysql_fetch_field_row'
    [14:45:17] Error: Function not registered: 'mysql_real_escape_string'
    [14:45:17] Error: Function not registered: 'mysql_fetch_int'
    [14:45:17] Starte den server
    [14:45:18] MSQL --> hat die Verbindung zur Datenbank aufgebaut
    [14:45:18] OnGamemodeInt: LoadProperty
    [14:45:18] OnGamemodeInt: LoadBiz
    [14:45:18] OnGamemodeInt: LoadSBiz
    [14:45:18] OnGamemodeInt: LoadTankenBiz
    [14:45:18] OnGamemodeInt: LoadGangAutos
    [14:45:18] OnGamemodeInt: LoadStuff
    [14:45:18] OnGamemodeInt: LoadKassenInfo
    [14:45:18] OnGamemodeInt: LoadGangfightZones
    [14:45:18] Gangwars geladen
    [14:45:18] OnGamemodeInt: LoadGangWarInfos
    [14:45:18] OnGamemodeInt: LoadGangMotds
    [14:45:18] OnGamemodeInt: LoadGangBNDInfos
    [14:45:18] Beginne Gangzonen zu erstellen
    [14:45:18] Textdraws erstelt
    [14:45:18] AntiDeAMX aufgerufen
    [14:45:18] SetGamemodeText RealToleplay4You v.1.6
    [14:45:18] AllowAdminTeleport() : function is deprecated. Please see OnPlayerClickMap()
    [14:45:18] Beginne Autos zu spawnen
    [14:45:18] >>>>> Autos wurden Gespawnt <<<<<
    [14:45:18] >>>>> Objecte Spawned <<<<<
    [14:45:18] [debug] Server crashed while executing samp.amx
    [14:45:18] [debug] AMX backtrace:
    [14:45:18] [debug] #0 native fwrite () [004056e0] from samp-server.exe
    [14:45:18] [debug] #1 00070e38 in ?? () from samp.amx
    [14:45:18] [debug] #2 000a697c in ?? () from samp.amx
    [14:45:18] [debug] #3 0022d99c in ?? () from samp.amx
    [14:45:18] [debug] #4 0009fa58 in public OnGameModeInit () from samp.amx
    [14:45:18] [debug] System backtrace:
    [14:45:18] [debug] #0 00493990 in ?? () from C:\Users\Robert\Desktop\Original\Roleplay 4 you\samp-server.exe
    [14:45:18] [debug] #1 0040531e in ?? () from C:\Users\Robert\Desktop\Original\Roleplay 4 you\samp-server.exe

    ich hab hab den Filemanager eingebaut.
    das andere Problem


    er ladet bis objects und bricht ab ich weiß nur das hat bei mir mit den scriptfiles zu tun wenn ich mich net teusche
    und dir mysql errors kommen immer noch

    Inhalt anzeigen

    ----------
    Loaded log file: "server_log.txt".
    ----------

    Inhalt anzeigen

    Inhalt anzeigen
    SA-MP Dedicated Server
    ----------------------
    v0.3z, (C)2005-2014 SA-MP Team

    Inhalt anzeigen

    Inhalt anzeigen
    [14:17:54]
    [14:17:54] Server Plugins
    [14:17:54] --------------
    [14:17:54] Loading plugin: nativechecker
    [14:17:54] Loaded.
    [14:17:54] Loading plugin: mysql
    [14:17:54]

    Inhalt anzeigen

    Inhalt anzeigen
    > MySQL plugin R5 successfully loaded.

    Inhalt anzeigen

    Inhalt anzeigen
    [14:17:54] Loaded.
    [14:17:54] Loading plugin: sscanf
    [14:17:54]

    Inhalt anzeigen

    Inhalt anzeigen
    [14:17:54] ===============================

    Inhalt anzeigen

    Inhalt anzeigen
    [14:17:54] sscanf plugin loaded.

    Inhalt anzeigen

    Inhalt anzeigen
    [14:17:54] (c) 2009 Alex "Y_Less" Cole

    Inhalt anzeigen

    Inhalt anzeigen
    [14:17:54] ===============================

    Inhalt anzeigen

    Inhalt anzeigen
    [14:17:54] Loaded.
    [14:17:54] Loading plugin: streamer
    [14:17:54]

    Inhalt anzeigen

    Inhalt anzeigen
    *** Streamer Plugin v2.5.2 by Incognito loaded ***

    Inhalt anzeigen

    Inhalt anzeigen
    [14:17:54] Loaded.
    [14:17:54] Loading plugin: Filemanager
    [14:17:54] ******************
    [14:17:54] ** FILE MANAGER **
    [14:17:54] ** Loaded **
    [14:17:54] ** Version 1.1 **
    [14:17:54] ******************
    [14:17:54] Loaded.
    [14:17:54] Loaded 5 plugins.

    Inhalt anzeigen

    Inhalt anzeigen
    [14:17:54]
    [14:17:54] Ban list
    [14:17:54] --------
    [14:17:54] Loaded: samp.ban
    [14:17:54]
    [14:17:54]
    [14:17:54] Filterscripts
    [14:17:54] ---------------
    [14:17:54] Loading filterscript 'Antibug.amx'...
    [14:17:54] Loading filterscript 'HelpSystem.amx'...
    [14:17:54]
    --------------------------------------
    [14:17:54] Help System Loadet.
    [14:17:54] --------------------------------------

    Inhalt anzeigen

    Inhalt anzeigen
    [14:17:54] Loading filterscript 'Races.amx'...
    [14:17:54] Loaded 3 filterscripts.

    Inhalt anzeigen

    Inhalt anzeigen
    [14:17:54] Error: Function not registered: 'mysql_store_result'
    [14:17:54] Error: Function not registered: 'mysql_num_rows'
    [14:17:54] Error: Function not registered: 'mysql_fetch_row_format'
    [14:17:54] Error: Function not registered: 'mysql_free_result'
    [14:17:54] Error: Function not registered: 'mysql_debug'
    [14:17:54] Error: Function not registered: 'mysql_connect'
    [14:17:54] Error: Function not registered: 'mysql_close'
    [14:17:54] Error: Function not registered: 'mysql_ping'
    [14:17:54] Error: Function not registered: 'mysql_query'
    [14:17:54] Error: Function not registered: 'dir_exists'
    [14:17:54] Error: Function not registered: 'dir_create'
    [14:17:54] Error: Function not registered: 'file_write'
    [14:17:54] Error: Function not registered: 'mysql_fetch_field_row'
    [14:17:54] Error: Function not registered: 'mysql_real_escape_string'
    [14:17:54] Error: Function not registered: 'mysql_fetch_int'
    [14:17:54] Starte den server
    [14:17:55] MSQL --> hat die Verbindung zur Datenbank aufgebaut
    [14:17:55] OnGamemodeInt: LoadProperty
    [14:17:55] OnGamemodeInt: LoadBiz
    [14:17:55] OnGamemodeInt: LoadSBiz
    [14:17:55] OnGamemodeInt: LoadTankenBiz
    [14:17:55] OnGamemodeInt: LoadGangAutos
    [14:17:55] OnGamemodeInt: LoadStuff
    [14:17:55] OnGamemodeInt: LoadKassenInfo
    [14:17:55] OnGamemodeInt: LoadGangfightZones
    [14:17:55] Gangwars geladen
    [14:17:55] OnGamemodeInt: LoadGangWarInfos
    [14:17:55] OnGamemodeInt: LoadGangMotds
    [14:17:55] OnGamemodeInt: LoadGangBNDInfos
    [14:17:55] Beginne Gangzonen zu erstellen
    [14:17:55] Textdraws erstelt
    [14:17:55] AntiDeAMX aufgerufen
    [14:17:55] SetGamemodeText RealToleplay4You v.1.6
    [14:17:55] AllowAdminTeleport() : function is deprecated. Please see OnPlayerClickMap()
    [14:17:55] Beginne Autos zu spawnen
    [14:17:55] >>>>> Autos wurden Gespawnt <<<<<
    [14:17:55] >>>>> Objecte Spawned <<<<<