Einstein's Objectstreamer

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
  • Einstein kannst du mir mal bitte helfen ?




    So ich habe jetzt mal den Einstein Objkect Streamer installiert er klappt einwandfrei aber er lädt die objecte ein wenig spät :/ jetzt wollte ich fragen ist es besser den Einstein Object Streamer als Filterscript zu nutzen oder einfach ins script hauen ?


    Ich habe derzeit den Objectstreamer im GM eingebaut


    wenn ich es als filterscript bauen möchte wie es genau geht ich habe es derzeit so im script das ich einfach die sachen die ich im GM habe übernommen habe ist auch alles gut keine warnings keine errors aber wie schaffe ich es das er dieses FS auch lädt ?


    weil er lädt ihn garnicht habe es halt auch in server.cfg als filterscript angegeben aber klappt nicht es sieht so aus bis jetzt also das FS


    #include <a_samp>
    #include <Obj_LITE>


    public OnGameModeInit()
    {
    StreamObject_OnGameModeInit();
    SetGameModeText("Stunt Evolution v.1.0");
    UsePlayerPedAnims();
    AddPlayerClass(0, 1507.7902, 1711.1027, 10.8203, 269.1425, 0, 0, 0, 0, 0, 0);
    // Player Class's
    AddPlayerClass(265,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,0,0);
    AddPlayerClass(266,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,0,0);
    AddPlayerClass(267,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,0,0);
    AddPlayerClass(268,1958.3783,1343.1572,15.3746,269.1425,0,0,0,0,0,0);
    AddPlayerClass(269,1958.3783,1343.1572,15.3746,269.1425,0,0,0,0,0,0);
    AddPlayerClass(270,1958.3783,1343.1572,15.3746,269.1425,0,0,0,0,0,0);
    AddPlayerClass(271,1958.3783,1343.1572,15.3746,269.1425,0,0,0,0,0,0);
    AddPlayerClass(272,1958.3783,1343.1572,15.3746,269.1425,0,0,0,0,0,0);


    AddPlayerClass(280,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,0,0);
    AddPlayerClass(281,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,0,0);
    AddPlayerClass(282,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,0,0);
    AddPlayerClass(283,1958.3783,1343.1572,15.3746,269.1425,0,0,0,0,0,0);
    AddPlayerClass(284,1958.3783,1343.1572,15.3746,269.1425,0,0,0,0,0,0);
    AddPlayerClass(285,1958.3783,1343.1572,15.3746,269.1425,0,0,0,0,0,0);
    AddPlayerClass(286,1958.3783,1343.1572,15.3746,269.1425,0,0,0,0,0,0);
    AddPlayerClass(287,1958.3783,1343.1572,15.3746,269.1425,0,0,0,0,0,0);


    AddPlayerClass(254,1958.3783,1343.1572,15.3746,0.0,0,0,0,0,0,0);
    AddPlayerClass(255,1958.3783,1343.1572,15.3746,269.1425,0,0,0,0,0,0);
    AddPlayerClass(256,1958.3783,1343.1572,15.3746,269.1425,0,0,0,0,0,0);
    AddPlayerClass(257,1958.3783,1343.1572,15.3746,269.1425,0,0,0,0,0,0);
    AddPlayerClass(258,1958.3783,1343.1572,15.3746,269.1425,0,0,0,0,0,0);
    AddPlayerClass(259,1958.3783,1343.1572,15.3746,269.1425,0,0,0,0,0,0);






    dann kommen noch objecte und danach kommt das



    public OnGameModeExit()
    {
    StreamObject_OnGameModeExit();
    return 1;
    }


    public OnPlayerRequestClass(playerid, classid)
    {
    SetPlayerPos(playerid, 2032.9274,1545.6582,10.8203);
    SetPlayerCameraPos(playerid, 2037.8097,1546.2125,10.6719);
    SetPlayerCameraLookAt(playerid, 2032.9274,1545.6582,10.8203);
    return 1;
    }


    public OnPlayerRequestSpawn(playerid)
    {
    return 1;
    }


    public OnPlayerConnect(playerid)
    {
    return 1;
    }


    public OnPlayerDisconnect(playerid, reason)
    {
    StreamObject_OnPlayerDisconnect(playerid);
    return 1;
    }


    public OnPlayerSpawn(playerid)
    {
    return 1;
    }


    public OnPlayerDeath(playerid, killerid, reason)
    {
    return 1;
    }


    public OnVehicleSpawn(vehicleid)
    {
    return 1;
    }


    public OnVehicleDeath(vehicleid, killerid)
    {
    return 1;
    }


    public OnPlayerText(playerid, text[])
    {
    return 1;
    }


    public OnPlayerPrivmsg(playerid, recieverid, text[])
    {
    return 1;
    }


    public OnPlayerCommandText(playerid, cmdtext[])
    {
    if (strcmp("/mycommand", cmdtext, true, 10) == 0)
    {
    // Do something here
    return 1;
    }
    return 0;
    }


    public OnPlayerInfoChange(playerid)
    {
    return 1;
    }


    public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
    {
    return 1;
    }


    public OnPlayerExitVehicle(playerid, vehicleid)
    {
    return 1;
    }


    public OnPlayerStateChange(playerid, newstate, oldstate)
    {
    return 1;
    }


    public OnPlayerEnterCheckpoint(playerid)
    {
    return 1;
    }


    public OnPlayerLeaveCheckpoint(playerid)
    {
    return 1;
    }


    public OnPlayerEnterRaceCheckpoint(playerid)
    {
    return 1;
    }


    public OnPlayerLeaveRaceCheckpoint(playerid)
    {
    return 1;
    }


    public OnRconCommand(cmd[])
    {
    return 1;
    }


    public OnObjectMoved(objectid)
    {
    return 1;
    }


    public OnPlayerObjectMoved(playerid, objectid)
    {
    return 1;
    }


    public OnPlayerPickUpPickup(playerid, pickupid)
    {
    return 1;
    }


    public OnPlayerSelectedMenuRow(playerid, row)
    {
    return 1;
    }


    public OnPlayerExitedMenu(playerid)
    {
    return 1;
    }


    *edit


    ich möchte nur das er es als FS lädt :) und ob es besser ist als FS oder es im GM zu lassen :)


    *edit


    Alex wie hast du das gemacht, das dein Server so in der Sigantur angezeigt wird ?

  • Aus new Float: x1,Float: y1,Float: z1,Float: x2,Float: y2,Float: z2;


    wird
    new Float: x3,Float: y3,Float: z3,Float: x4,Float: y4,Float: z4;


    Musste halt in deinem Script dann komplett anpassen, ich empfehle da Editor + Strg - H

    Was muss ich im ganzen Script denn anpassen?
    Könntest du genauer werden? :)


    Danke
    Also alle Dinge aufschreiben die ich ändern muss?

  • Bei mir crasht es immer sobald ich in die nähe der objekte komm...woran liegt das?


    #include <a_samp>
    #include <Obj_LITE>
    // This is a comment
    // uncomment the line below if you want to write a filterscript
    //#define FILTERSCRIPT


    #if defined FILTERSCRIPT


    public OnFilterScriptInit()
    {
    print("\n--------------------------------------");
    print(" Blank Filterscript by your name here");
    print("--------------------------------------\n");
    return 1;
    }


    public OnFilterScriptExit()
    {
    return 1;
    }


    #else


    main()
    {
    print("\n----------------------------------");
    print(" Blank Gamemode by your name here");
    print("----------------------------------\n");
    }


    #endif


    public OnGameModeInit()
    {
    StreamObject_OnGameModeInit();


    CreateObjectToStream(986, 1544.234497, -1672.438599, 14.268679, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(984, 1282.733887, -1799.698730, 13.019492, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(984, 1282.745605, -1812.556519, 13.019492, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(984, 1282.735840, -1825.384521, 13.019492, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(983, 1282.727905, -1834.002686, 13.066367, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(982, 1247.147949, -1837.278076, 13.068440, 0.0000, 0.0000, 270.0000);
    CreateObjectToStream(984, 1230.155518, -1837.283081, 13.021798, 0.0000, 0.0000, 270.0000);
    CreateObjectToStream(18284, 1264.917725, -1818.911011, 15.335979, 0.0000, 0.0000, 180.0000);
    CreateObjectToStream(18284, 1259.735840, -1818.922852, 15.325064, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(640, 1280.022461, -1800.894043, 13.081594, 0.0000, 0.0000, 270.0000);
    CreateObjectToStream(640, 1274.663330, -1800.896118, 13.088767, 0.0000, 0.0000, 270.0000);
    CreateObjectToStream(640, 1266.817017, -1800.894897, 13.097342, 0.0000, 0.0000, 270.0000);
    CreateObjectToStream(640, 1261.453125, -1800.900391, 13.111535, 0.0000, 0.0000, 270.0000);
    CreateObjectToStream(640, 1256.388794, -1800.909912, 13.120034, 0.0000, 0.0000, 270.0000);
    CreateObjectToStream(640, 1251.901978, -1800.914551, 13.119313, 0.0000, 0.0000, 270.0000);
    CreateObjectToStream(1256, 1264.703003, -1793.619507, 13.075716, 0.0000, 0.0000, 90.0000);
    CreateObjectToStream(1256, 1271.717773, -1793.649048, 13.063646, 0.0000, 0.0000, 90.0000);
    CreateObjectToStream(1256, 1278.434326, -1793.614990, 13.052198, 0.0000, 0.0000, 90.0000);
    CreateObjectToStream(1256, 1276.691040, -1799.983521, 13.048958, 0.0000, 0.0000, 270.0000);
    CreateObjectToStream(1256, 1263.100708, -1800.021118, 13.072153, 0.0000, 0.0000, 270.0000);
    CreateObjectToStream(1215, 1271.828003, -1800.868530, 12.961273, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(1215, 1269.621582, -1800.892334, 12.965021, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(1231, 1263.479492, -1790.914307, 15.332701, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(1231, 1273.957886, -1790.870361, 15.317757, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(1231, 1282.980713, -1790.844727, 15.302481, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(1283, 1272.041992, -1842.307861, 15.467465, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(1283, 1261.811279, -1853.103760, 15.459653, 0.0000, 0.0000, 270.0000);
    CreateObjectToStream(1283, 1279.251953, -1850.139526, 15.461243, 0.0000, 0.0000, 90.0000);
    CreateObjectToStream(1290, 1204.995728, -1823.930786, 18.614323, 0.0000, 0.0000, 191.2500);
    CreateObjectToStream(1290, 1234.988037, -1823.954834, 18.614285, 0.0000, 0.0000, 180.0000);
    CreateObjectToStream(910, 1217.879639, -1818.583618, 13.867891, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(910, 1214.379517, -1818.574219, 13.868124, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(928, 1216.256348, -1818.947998, 12.856839, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(933, 1217.983032, -1820.613159, 12.592650, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(1227, 1210.747070, -1820.932861, 13.447014, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(1215, 1268.111938, -1810.669189, 13.158115, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(1215, 1268.125977, -1816.170898, 13.158115, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(1215, 1268.160767, -1821.661011, 13.158115, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(1215, 1268.165161, -1827.224365, 13.158115, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(1215, 1256.498535, -1827.191284, 13.147200, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(1215, 1256.474854, -1821.709839, 13.147200, 0.0000, 0.0000, 0.0000);
    CreateObjectToStream(1215, 1256.524170, -1816.222412, 13.147200, 0.0000, 0.0000, 0.0000);



    return 1;
    }


    public OnGameModeExit()
    {
    StreamObject_OnGameModeExit();
    return 1;
    }


    public OnPlayerRequestClass(playerid, classid)
    {
    SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
    return 1;
    }


    public OnPlayerRequestSpawn(playerid)
    {
    return 1;
    }


    public OnPlayerConnect(playerid)
    {
    return 1;
    }


    public OnPlayerDisconnect(playerid, reason)
    {
    StreamObject_OnPlayerDisconnect(playerid);
    return 1;
    }


    public OnPlayerSpawn(playerid)
    {
    return 1;
    }


    public OnPlayerDeath(playerid, killerid, reason)
    {
    return 1;
    }


    public OnVehicleSpawn(vehicleid)
    {
    return 1;
    }


    public OnVehicleDeath(vehicleid, killerid)
    {
    return 1;
    }


    public OnPlayerText(playerid, text[])
    {
    return 1;
    }


    public OnPlayerPrivmsg(playerid, recieverid, text[])
    {
    return 1;
    }


    public OnPlayerCommandText(playerid, cmdtext[])
    {
    if (strcmp("/mycommand", cmdtext, true, 10) == 0)
    {
    // Do something here
    return 1;
    }
    return 0;
    }


    public OnPlayerInfoChange(playerid)
    {
    return 1;
    }


    public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
    {
    return 1;
    }


    public OnPlayerExitVehicle(playerid, vehicleid)
    {
    return 1;
    }


    public OnPlayerStateChange(playerid, newstate, oldstate)
    {
    return 1;
    }


    public OnPlayerEnterCheckpoint(playerid)
    {
    return 1;
    }


    public OnPlayerLeaveCheckpoint(playerid)
    {
    return 1;
    }


    public OnPlayerEnterRaceCheckpoint(playerid)
    {
    return 1;
    }


    public OnPlayerLeaveRaceCheckpoint(playerid)
    {
    return 1;
    }


    public OnRconCommand(cmd[])
    {
    return 1;
    }


    public OnObjectMoved(objectid)
    {
    return 1;
    }


    public OnPlayerObjectMoved(playerid, objectid)
    {
    return 1;
    }


    public OnPlayerPickUpPickup(playerid, pickupid)
    {
    return 1;
    }


    public OnPlayerSelectedMenuRow(playerid, row)
    {
    return 1;
    }


    public OnPlayerExitedMenu(playerid)
    {
    return 1;
    }

  • Kann es sein das der mit 0.3 nichtmehr so rund leuft?...Habe den reingemacht aber 1. mein Pawno Compiled etwa 2min länger als vorher und die Objecte kommen zwischendurch einfach nicht..ich habe ca. 1400Ojecte +- 100 und is iwie nicht so das wahre

    Dieser Beitrag wurde bereits 1337 mal editiert, zuletzt von »Syn0x« (Jetzt, 13:37)

  • Ich selber habe bis vor einem Monat selber auch mit dem Einstein stremer gearbeitet und bin zu dem entschluß gekommen das der für 0.3 nicht taugt , würde dir den bfx empfehlen der ist Einfach in der Handhabung und ist schön schnell , zun Teil schneller als die Normalen Objecte von GTASA zumindest beim Porten sind die Objecte schneller da als die Normalen :thumbup:

  • Yeah, cool & danke für denn Objekte Streamer Einstein :D
    Hat mir echt weitergeholfen :]


  • Das kommt wenn ich den Streamer dirn hab, include ist in beiden include Foldern drin, alles bei OnGameModeInit/Exit usw. eingebaut, was kann es sein? Diese morphinc error kommt auch erst wenn ich den streamer einbau.

  • Ja is komisch ich kann ihn auch nicht Installieren

    /¯¯¯¯¯¯¯¯¯Steam Acc zu Verkaufen¯¯¯¯¯¯¯¯\
    |______Spiel : Counterstrike : Source_____
    _|
    |______Spiel : Day of Defeat : Source _____
    _|
    |__________Spiel : Garry s Mod __________|
    |_________Half-Life 2 : Deatmatch________|
    |_________Half-Life 2 : lost Coast_________|
    \_Preis wird noch besprochen per PN melden_/

  • diese fehler




    C:\Users\Dennis\Desktop\gta\pawno\include\Obj_LITE.inc(24) : error 017: undefined symbol "MAX_PLAYERS"
    C:\Users\Dennis\Desktop\gta\pawno\include\Obj_LITE.inc(24) : error 009: invalid array size (negative, zero or out of bounds)
    C:\Users\Dennis\Desktop\gta\pawno\include\Obj_LITE.inc(25) : error 017: undefined symbol "MAX_PLAYERS"
    C:\Users\Dennis\Desktop\gta\pawno\include\Obj_LITE.inc(35) : error 017: undefined symbol "MAX_PLAYERS"
    C:\Users\Dennis\Desktop\gta\pawno\include\Obj_LITE.inc(54) : error 017: undefined symbol "GetPlayerPos"
    C:\Users\Dennis\Desktop\gta\pawno\include\Obj_LITE.inc(54) : warning 215: expression has no effect
    C:\Users\Dennis\Desktop\gta\pawno\include\Obj_LITE.inc(54) : warning 215: expression has no effect
    C:\Users\Dennis\Desktop\gta\pawno\include\Obj_LITE.inc(54) : warning 215: expression has no effect
    C:\Users\Dennis\Desktop\gta\pawno\include\Obj_LITE.inc(54) : warning 215: expression has no effect
    C:\Users\Dennis\Desktop\gta\pawno\include\Obj_LITE.inc(54) : error 001: expected token: ";", but found ")"
    C:\Users\Dennis\Desktop\gta\pawno\include\Obj_LITE.inc(54) : error 029: invalid expression, assumed zero
    C:\Users\Dennis\Desktop\gta\pawno\include\Obj_LITE.inc(54) : fatal error 107: too many error messages on one line

  • do.de - Domain-Offensive - Domains für alle und zu super Preisen