Probleme mit Streamer umstellung [Blackfox Streamer]

Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • Hallo,


    Ich wollte meinen Script von nem Uralten Streamer auf den neusten umstellen, jedoch kommen folgende errors, vllt kann irgendjemand mir ja weiterhelfen



    C:\Users\Max\Desktop\Serverg\gamemodes\gm.pwn(4198) : error 017: undefined symbol "b_PlayerDisconnect"
    C:\Users\Max\Desktop\Serverg\gamemodes\gm.pwn(4408) : error 017: undefined symbol "b_PlayerDisconnect"
    C:\Users\Max\Desktop\Serverg\gamemodes\gm.pwn(13357) : error 017: undefined symbol "Objekte"
    C:\Users\Max\Desktop\Serverg\gamemodes\gm.pwn(13357) : warning 215: expression has no effect
    C:\Users\Max\Desktop\Serverg\gamemodes\gm.pwn(13357) : error 001: expected token: ";", but found "]"
    C:\Users\Max\Desktop\Serverg\gamemodes\gm.pwn(13357) : error 029: invalid expression, assumed zero
    C:\Users\Max\Desktop\Serverg\gamemodes\gm.pwn(13357) : fatal error 107: too many error messages on one line




    die Zeilen 4198, und 4408 kann man ja entfernen, wenn das nichts ausmacht, jetzt zu den Zeilen 13357 die Zeile 13357 ist

    if(Objekte[o][exist] == 1)





    public OnGameModeExit()
    {
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
    if(IsPlayerConnected(i))
    {
    OnPlayerCarUpdate(i);
    OnPlayerUpdate(i);
    gPlayerLogged[i] = 0;
    }
    }
    for(new i = 0; i < AUTOHAUSER; i++)
    {
    DestroyPickup(Dtc_Info[i]);
    }
    // DestroyPickup(Motorcross);
    DestroyPickup(Motorcrossexit);
    // DestroyPickup(Derby);
    DestroyPickup(Derbyexit);
    // DestroyPickup(DerbyBesucher);
    // DestroyPickup(DerbyBesucherexit);
    DestroyPickup(Stadion);
    DestroyPickup(Rundenrennenexit);
    // DestroyPickup(Kickstart);
    DestroyPickup(Kickstartexit);
    DestroyVehicle(race1[1]);
    DestroyVehicle(race1[2]);
    DestroyVehicle(race1[3]);
    DestroyVehicle(race1[4]);
    DestroyVehicle(race1[5]);
    DestroyVehicle(race1[6]);
    DestroyVehicle(race1[7]);
    DestroyVehicle(race1[8]);
    DestroyVehicle(race1[9]);
    DestroyVehicle(race1[10]);
    DestroyVehicle(race2[1]);
    DestroyVehicle(race2[2]);
    DestroyVehicle(race2[3]);
    DestroyVehicle(race2[4]);
    DestroyVehicle(race2[5]);
    DestroyVehicle(race2[6]);
    DestroyVehicle(race2[7]);
    DestroyVehicle(race2[8]);
    DestroyVehicle(race2[9]);
    DestroyVehicle(race2[10]);
    DestroyVehicle(race2[11]);
    DestroyVehicle(race2[12]);
    DestroyVehicle(race2[13]);
    DestroyVehicle(race2[14]);
    DestroyVehicle(race2[15]);
    DestroyVehicle(race2[16]);
    DestroyVehicle(race2[17]);
    DestroyVehicle(race2[18]);
    DestroyVehicle(race2[19]);
    DestroyVehicle(race2[20]);
    DestroyVehicle(race4[1]);
    DestroyVehicle(race4[2]);
    DestroyVehicle(race4[3]);
    DestroyVehicle(race4[4]);
    DestroyVehicle(race4[5]);
    DestroyVehicle(race4[6]);
    DestroyVehicle(race4[7]);
    DestroyVehicle(race4[8]);
    DestroyVehicle(race4[9]);
    DestroyVehicle(race4[10]);
    DestroyVehicle(race3[1]);
    DestroyVehicle(race3[2]);
    DestroyVehicle(race3[3]);
    DestroyVehicle(race3[4]);
    DestroyVehicle(race3[5]);
    DestroyVehicle(race3[6]);
    DestroyVehicle(race3[7]);
    DestroyVehicle(race3[8]);
    DestroyVehicle(race3[9]);
    DestroyVehicle(race3[10]);

    for(new o=0; o<700; o++)
    {
    if(Objekte[o][exist] == 1)
    {
    b_DestroyObject(0);
    }
    }
    //b_GameModeExit();
    return 1;
    }




    MfG. Cody09[/i][/i]

  • da du wie ich sehe und in deinem post vorher sehe das du LoH benutzt brauchste dir eigendlich nur den neuen Streamer von Blackfox runter zu laden, deine a_objects.inc bissel anzupassen da es keine Aktuelle für 0.3B gibt und das ganze nur neu Hoxhladen Server starten und Fertig, also ich hab Blackfox sein streamer ebenfalls runter geladen und dann die alten Daten mit den neuen Ersetzt a_objects bearbeitet Fertig, Objekte werden wunderbar dargestellt und es läuft einwandfrei

    German-Reallive Script



    ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||55% Fertig

  • /* SA-MP Object Functions
    *
    * (c) Copyright 2005-2009, SA-MP Team
    *
    */


    #if defined _objects_included
    #endinput
    #endif
    #define _objects_included
    #pragma library objects


    // Objects


    native CreateObject(modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ, Float:DrawDistance = 300.0);
    native SetObjectPos(objectid, Float:X, Float:Y, Float:Z);
    native GetObjectPos(objectid, &Float:X, &Float:Y, &Float:Z);
    native SetObjectRot(objectid, Float:RotX, Float:RotY, Float:RotZ);
    native GetObjectRot(objectid, &Float:RotX, &Float:RotY, &Float:RotZ);
    native IsValidObject(objectid);
    native DestroyObject(objectid);
    native MoveObject(objectid, Float:X, Float:Y, Float:Z, Float:Speed);
    native StopObject(objectid);
    native CreatePlayerObject(playerid, modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ, Float:DrawDistance = 300.0);
    native SetPlayerObjectPos(playerid, objectid, Float:X, Float:Y, Float:Z);
    native GetPlayerObjectPos(playerid, objectid, &Float:X, &Float:Y, &Float:Z);
    native SetPlayerObjectRot(playerid, objectid, Float:RotX, Float:RotY, Float:RotZ);
    native GetPlayerObjectRot(playerid, objectid, &Float:RotX, &Float:RotY, &Float:RotZ);
    native IsValidPlayerObject(playerid, objectid);
    native DestroyPlayerObject(playerid, objectid);
    native MovePlayerObject(playerid, objectid, Float:X, Float:Y, Float:Z, Float:Speed);
    native StopPlayerObject(playerid, objectid);
    native AttachObjectToPlayer(objectid, playerid, Float:OffsetX, Float:OffsetY, Float:OffsetZ, Float:rX, Float:rY, Float:rZ);
    native AttachPlayerObjectToPlayer(objectplayer, objectid, attachplayer, Float:OffsetX, Float:OffsetY, Float:OffsetZ, Float:rX, Float:rY, Float:rZ);


    ach wie erkläre ich das jetzt am besten
    du lädst die Streamer dateien auf deinen Server hoch
    Speicherst den Text obeni als a_objects.inc ab kopierst die in dein Pawno Include Ordner Compilst dein Script neu
    Lädst es hoch startest server und schon sollte es gehn


    Bei Fehler Korigiert mich Bitte

    German-Reallive Script



    ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||55% Fertig

  • C:\Users\Max\Desktop\Serverg\gamemodes\gm.pwn(4198) : error 017: undefined symbol "b_PlayerDisconnect" // er kennt das nicht
    C:\Users\Max\Desktop\Serverg\gamemodes\gm.pwn(4408) : error 017: undefined symbol "b_PlayerDisconnect" // er kennt das nicht
    C:\Users\Max\Desktop\Serverg\gamemodes\gm.pwn(13357) : error 017: undefined symbol "Objekte" // kennt er net
    C:\Users\Max\Desktop\Serverg\gamemodes\gm.pwn(13357) : warning 215: expression has no effect // warning nicht so schlimm
    C:\Users\Max\Desktop\Serverg\gamemodes\gm.pwn(13357) : error 001: expected token: ";", but found "]" // zeichenfehler nach einem ) muss ein silicon ;
    C:\Users\Max\Desktop\Serverg\gamemodes\gm.pwn(13357) : error 029: invalid expression, assumed zero // liegt am zeichenfehler
    C:\Users\Max\Desktop\Serverg\gamemodes\gm.pwn(13357) : fatal error 107: too many error messages on one line // zeichenfehler


    ausserdem öffnest du die Include a_objects im Pawno ordner unter Includes und änderst die in :



    /* SA-MP Object Functions
    *
    * (c) Copyright 2005-2009, SA-MP Team
    *
    */


    #if defined _objects_included
    #endinput
    #endif
    #define _objects_included
    #pragma library objects


    // Objects


    native CreateObject(modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ, Float:DrawDistance = 300.0);
    native SetObjectPos(objectid, Float:X, Float:Y, Float:Z);
    native GetObjectPos(objectid, &Float:X, &Float:Y, &Float:Z);
    native SetObjectRot(objectid, Float:RotX, Float:RotY, Float:RotZ);
    native GetObjectRot(objectid, &Float:RotX, &Float:RotY, &Float:RotZ);
    native IsValidObject(objectid);
    native DestroyObject(objectid);
    native MoveObject(objectid, Float:X, Float:Y, Float:Z, Float:Speed);
    native StopObject(objectid);
    native CreatePlayerObject(playerid, modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ, Float:DrawDistance = 300.0);
    native SetPlayerObjectPos(playerid, objectid, Float:X, Float:Y, Float:Z);
    native GetPlayerObjectPos(playerid, objectid, &Float:X, &Float:Y, &Float:Z);
    native SetPlayerObjectRot(playerid, objectid, Float:RotX, Float:RotY, Float:RotZ);
    native GetPlayerObjectRot(playerid, objectid, &Float:RotX, &Float:RotY, &Float:RotZ);
    native IsValidPlayerObject(playerid, objectid);
    native DestroyPlayerObject(playerid, objectid);
    native MovePlayerObject(playerid, objectid, Float:X, Float:Y, Float:Z, Float:Speed);
    native StopPlayerObject(playerid, objectid);
    native AttachObjectToPlayer(objectid, playerid, Float:OffsetX, Float:OffsetY, Float:OffsetZ, Float:rX, Float:rY, Float:rZ);
    native AttachPlayerObjectToPlayer(objectplayer, objectid, attachplayer, Float:OffsetX, Float:OffsetY, Float:OffsetZ, Float:rX, Float:rY, Float:rZ);


    Dann nur noch einen Streamer wie z.b Opas Objectstreamer etc.

  • funktioniert immer noch net, hab mal disconnect rausgemacht hier die Errors, die Zeilen haben sich um 2 Zeilen verschoben


    C:\Users\Max\Desktop\Serverg\gamemodes\gm.pwn(13386) : error 017: undefined symbol "Objekte"
    C:\Users\Max\Desktop\Serverg\gamemodes\gm.pwn(13386) : warning 215: expression has no effect
    C:\Users\Max\Desktop\Serverg\gamemodes\gm.pwn(13386) : error 001: expected token: ";", but found "]"
    C:\Users\Max\Desktop\Serverg\gamemodes\gm.pwn(13386) : error 029: invalid expression, assumed zero
    C:\Users\Max\Desktop\Serverg\gamemodes\gm.pwn(13386) : fatal error 107: too many error messages on one line


    hier meine a_objects:


    /* SA-MP Object Functions
    *
    * (c) Copyright 2005-2009, SA-MP Team
    *
    */


    #if defined _objects_included
    #endinput
    #endif
    #define _objects_included
    #pragma library objects


    // Objects


    native CreateObject(modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ, Float:DrawDistance = 300.0);
    native SetObjectPos(objectid, Float:X, Float:Y, Float:Z);
    native GetObjectPos(objectid, &Float:X, &Float:Y, &Float:Z);
    native SetObjectRot(objectid, Float:RotX, Float:RotY, Float:RotZ);
    native GetObjectRot(objectid, &Float:RotX, &Float:RotY, &Float:RotZ);
    native IsValidObject(objectid);
    native DestroyObject(objectid);
    native MoveObject(objectid, Float:X, Float:Y, Float:Z, Float:Speed);
    native StopObject(objectid);
    native CreatePlayerObject(playerid, modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ, Float:DrawDistance = 300.0);
    native SetPlayerObjectPos(playerid, objectid, Float:X, Float:Y, Float:Z);
    native GetPlayerObjectPos(playerid, objectid, &Float:X, &Float:Y, &Float:Z);
    native SetPlayerObjectRot(playerid, objectid, Float:RotX, Float:RotY, Float:RotZ);
    native GetPlayerObjectRot(playerid, objectid, &Float:RotX, &Float:RotY, &Float:RotZ);
    native IsValidPlayerObject(playerid, objectid);
    native DestroyPlayerObject(playerid, objectid);
    native MovePlayerObject(playerid, objectid, Float:X, Float:Y, Float:Z, Float:Speed);
    native StopPlayerObject(playerid, objectid);
    native AttachObjectToPlayer(objectid, playerid, Float:OffsetX, Float:OffsetY, Float:OffsetZ, Float:rX, Float:rY, Float:rZ);
    native AttachPlayerObjectToPlayer(objectplayer, objectid, attachplayer, Float:OffsetX, Float:OffsetY, Float:OffsetZ, Float:rX, Float:rY, Float:rZ);


    Edit: Mit dem alten BFX streamer ging alles ohne Errors...