26 Errors bei Ravens Roleplay =( pls help

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
  • Moin,
    Ich habe, wenn ich den Ravens Roleplay GM ( 3 RC 5.2 ) compilen will 26 Fehler, ich habe bei dem GM nch nichts verändert:
    C:\Users\Timon\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(25115) : error 021: symbol already defined: "strtok"
    C:\Users\Timon\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(25130) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Timon\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(26641) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Timon\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(26701) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Timon\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(26754) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Timon\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(27422) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Timon\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(27481) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Timon\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(28162) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Timon\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(28190) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Timon\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(28201) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Timon\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(28261) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Timon\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(28530) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Timon\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(28557) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Timon\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(28587) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Timon\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(28595) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Timon\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(28629) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Timon\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(28637) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Timon\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(28670) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Timon\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(28715) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Timon\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(28778) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Timon\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(28836) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Timon\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(28844) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Timon\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(28879) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Timon\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(28887) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Timon\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(29114) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Timon\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(29168) : error 047: array sizes do not match, or destination array is too small


    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    26 Errors.

    habe in der SuFu nichts gefunden...
    Ich hoffe ihr könnt mir helfen :)
    MFG
    //EDIT: Version verbessert

    Einmal editiert, zuletzt von Jinzo ()

  • C:\Users\\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(24692) : warning 219: local variable "signatracar" shadows a variable at a preceding level
    C:\Users\\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(24692) : error 008: must be a constant expression; assumed zero
    C:\Users\\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(24693) : error 021: symbol already defined: "signatracar"
    C:\Users\\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(24693) : error 008: must be a constant expression; assumed zero
    C:\Users\\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(24694) : error 021: symbol already defined: "signatracar"
    C:\Users\\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(24694) : error 008: must be a constant expression; assumed zero
    C:\Users\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(24695) : error 021: symbol already defined: "signatracar"
    C:\Users\\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(24695) : error 008: must be a constant expression; assumed zero
    C:\Users\\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(24696) : error 021: symbol already defined: "signatracar"
    C:\Users\\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(24696) : error 008: must be a constant expression; assumed zero
    C:\Users\\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(24697) : error 021: symbol already defined: "signatracar"
    C:\Users\\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(24697) : error 008: must be a constant expression; assumed zero
    C:\Users\\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(24698) : error 008: must be a constant expression; assumed zero
    C:\Users\\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(24699) : error 021: symbol already defined: "signatracar"
    C:\Users\\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(24699) : error 008: must be a constant expression; assumed zero
    C:\Users\\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(24700) : error 021: symbol already defined: "signatracar"
    C:\Users\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(24700) : error 008: must be a constant expression; assumed zero
    C:\Users\\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(24701) : error 021: symbol already defined: "signatracar"
    C:\Users\\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(24701) : error 008: must be a constant expression; assumed zero
    C:\Users\\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(24702) : error 021: symbol already defined: "signatracar"
    C:\Users\\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(24702) : error 008: must be a constant expression; assumed zero
    C:\Users\\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(24703) : error 021: symbol already defined: "signatracar"
    C:\Users\\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(24703) : error 008: must be a constant expression; assumed zero
    C:\Users\\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(24704) : error 021: symbol already defined: "signatracar"
    C:\Users\\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(24704) : error 008: must be a constant expression; assumed zero
    C:\Users\\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(24705) : error 021: symbol already defined: "signatracar"
    C:\Users\\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(24705) : error 008: must be a constant expression; assumed zero


    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    26 Errors.
    new signatracar[14] = AddStaticVehicleEx(461,1302.6932,-808.8404,83.7252,41.5425,6,6,30000); // Signatra
    new signatracar[15] = AddStaticVehicleEx(461,1302.9794,-812.0131,83.7234,36.8442,6,6,30000); // Signatra
    new signatracar[16] = AddStaticVehicleEx(461,1302.1196,-815.0898,83.7230,18.7607,6,6,30000); // Signatra
    new signatracar[17] = AddStaticVehicleEx(491,1250.3610,-804.0641,83.8969,180.1534,6,6,30000); // Signatra
    new signatracar[18] = AddStaticVehicleEx(421,1292.0333,-829.8211,83.0231,1.6717,6,6,30000); // Signatra
    new signatracar[19] = AddStaticVehicleEx(429,1273.1851,-830.8803,82.8209,1.3293,6,0,30000); // Signatra
    new signatracar[20] = AddStaticVehicleEx(491,1245.3033,-830.1714,83.8969,143.9585,6,6,30000); // Signatra
    new signatracar[21] = AddStaticVehicleEx(491,1305.6890,-782.1049,91.7874,25.9200,6,6,30000); // Signatra
    new signatracar[22] = AddStaticVehicleEx(487,1283.9130,-787.7692,96.6382,1.7364,6,0,30000); // Signatra
    new signatracar[23] = AddStaticVehicleEx(487,1273.9246,-775.6099,96.1388,265.2800,6,0,30000); // Signatra
    new signatracar[24] = AddStaticVehicleEx(409,1249.6219,-785.3179,90.1034,0.0680,6,0,30000); // Signatra
    new signatracar[25] = AddStaticVehicleEx(409,1226.3879,-802.8423,88.4474,272.8785,6,0,30000); // Signatra
    new signatracar[26] = AddStaticVehicleEx(409,1224.8325,-835.6656,84.1714,81.2386,6,0,30000); // Signatra
    new signatracar[27] = AddStaticVehicleEx(428,1289.5897,-765.3745,92.5637,271.4883,6,0,30000); // Signatra
    new signatracar[28] = AddStaticVehicleEx(428,1275.1688,-765.7470,92.5357,271.1424,6,0,30000); // Signatra
    new signatracar[29] = AddStaticVehicleEx(428,1259.0413,-765.8079,92.4747,266.7832,6,0,30000); // Signatra


    Hier das habe ich verändert


    Hat vielleicht jemand eine Lösung weil mit dieser kam ich irgendwie nicht weiter, kann es jemand bitte noch ein bischen genauer erklären? ;(


  • //Ganz oben ins Script:
    new signatracar[30];



    //Bei OnGameModeInit:
    //Hier müssen noch die anderen Signatracar Fahrzeuge hin.
    signatracar[14] = AddStaticVehicleEx(461,1302.6932,-808.8404,83.7252,41.5425,6,6,30000); // Signatra
    signatracar[15] = AddStaticVehicleEx(461,1302.9794,-812.0131,83.7234,36.8442,6,6,30000); // Signatra
    signatracar[16] = AddStaticVehicleEx(461,1302.1196,-815.0898,83.7230,18.7607,6,6,30000); // Signatra
    signatracar[17] = AddStaticVehicleEx(491,1250.3610,-804.0641,83.8969,180.1534,6,6,30000); // Signatra
    signatracar[18] = AddStaticVehicleEx(421,1292.0333,-829.8211,83.0231,1.6717,6,6,30000); // Signatra
    signatracar[19] = AddStaticVehicleEx(429,1273.1851,-830.8803,82.8209,1.3293,6,0,30000); // Signatra
    signatracar[20] = AddStaticVehicleEx(491,1245.3033,-830.1714,83.8969,143.9585,6,6,30000); // Signatra
    signatracar[21] = AddStaticVehicleEx(491,1305.6890,-782.1049,91.7874,25.9200,6,6,30000); // Signatra
    signatracar[22] = AddStaticVehicleEx(487,1283.9130,-787.7692,96.6382,1.7364,6,0,30000); // Signatra
    signatracar[23] = AddStaticVehicleEx(487,1273.9246,-775.6099,96.1388,265.2800,6,0,30000); // Signatra
    signatracar[24] = AddStaticVehicleEx(409,1249.6219,-785.3179,90.1034,0.0680,6,0,30000); // Signatra
    signatracar[25] = AddStaticVehicleEx(409,1226.3879,-802.8423,88.4474,272.8785,6,0,30000); // Signatra
    signatracar[26] = AddStaticVehicleEx(409,1224.8325,-835.6656,84.1714,81.2386,6,0,30000); // Signatra
    signatracar[27] = AddStaticVehicleEx(428,1289.5897,-765.3745,92.5637,271.4883,6,0,30000); // Signatra
    signatracar[28] = AddStaticVehicleEx(428,1275.1688,-765.7470,92.5357,271.1424,6,0,30000); // Signatra
    signatracar[29] = AddStaticVehicleEx(428,1259.0413,-765.8079,92.4747,266.7832,6,0,30000); // Signatra

  • so ?


    new signatracar[30];
    signatracar[0] = AddStaticVehicleEx(491,1252.7358,-804.5006,83.8622,179.7695,6,6,30000); // la Famiglia Sinatra Car 97
    signatracar[1] = AddStaticVehicleEx(482,1241.3325,-814.7080,83.8642,183.2531,6,6,30000); // la Famiglia Sinatra Van 98
    signatracar[2] = AddStaticVehicleEx(429,1281.1151,-830.0188,82.8608,90.0674,6,0,30000); // la Famiglia Sinatra Sport Car 99
    signatracar[3] = AddStaticVehicleEx(429,1277.5767,-830.1591,82.8199,1.6757,6,0,30000); // Banshee Signatra
    signatracar[4] = AddStaticVehicleEx(429,1287.5389,-829.9567,82.8238,357.4462,6,0,30000); // Banshee Signatra
    signatracar[5] = AddStaticVehicleEx(428,1255.8164,-804.2936,84.3035,181.6981,6,0,30000); // Signatra
    signatracar[6] = AddStaticVehicleEx(421,1243.1793,-803.8027,84.0231,180.2956,6,6,30000); // Signatra
    signatracar[7] = AddStaticVehicleEx(421,1246.8334,-804.0036,84.0231,178.8629,6,6,30000); // Signatra
    signatracar[8] = AddStaticVehicleEx(409,1284.4954,-815.3530,83.7097,89.1813,6,0,30000); // Signatra
    signatracar[9] = AddStaticVehicleEx(482,1249.4391,-823.2200,84.2623,169.4167,6,6,30000); // Signatra
    signatracar[10] = AddStaticVehicleEx(461,1302.9412,-810.2527,83.7214,26.3650,6,6,30000); // Signatra
    signatracar[11] = AddStaticVehicleEx(461,1302.5665,-805.2808,83.7246,38.0566,6,6,30000); // Signatra
    signatracar[12] = AddStaticVehicleEx(461,1304.6566,-794.8794,83.7270,176.7374,6,6,30000); // Signatra
    signatracar[13] = AddStaticVehicleEx(487,1295.7990,-788.6344,96.6307,358.5612,6,0,30000); // Signatracar
    signatracar[14] = AddStaticVehicleEx(461,1302.6932,-808.8404,83.7252,41.5425,6,6,30000); // Signatracar
    signatracar[15] = AddStaticVehicleEx(461,1302.9794,-812.0131,83.7234,36.8442,6,6,30000); // Signatracar
    signatracar[16] = AddStaticVehicleEx(461,1302.1196,-815.0898,83.7230,18.7607,6,6,30000); // Signatracar
    signatracar[17] = AddStaticVehicleEx(491,1250.3610,-804.0641,83.8969,180.1534,6,6,30000); // Signatracar
    signatracar[18] = AddStaticVehicleEx(421,1292.0333,-829.8211,83.0231,1.6717,6,6,30000); // Signatracar
    signatracar[19] = AddStaticVehicleEx(429,1273.1851,-830.8803,82.8209,1.3293,6,0,30000); // Banshee Signatra
    signatracar[20] = AddStaticVehicleEx(491,1245.3033,-830.1714,83.8969,143.9585,6,6,30000); // Signatracar
    signatracar[21] = AddStaticVehicleEx(491,1305.6890,-782.1049,91.7874,25.9200,6,6,30000); // Signatracar
    signatracar[22] = AddStaticVehicleEx(487,1283.9130,-787.7692,96.6382,1.7364,6,0,30000); // Signatracar
    signatracar[23] = AddStaticVehicleEx(487,1273.9246,-775.6099,96.1388,265.2800,6,0,30000); // Signatracar
    signatracar[24] = AddStaticVehicleEx(409,1249.6219,-785.3179,90.1034,0.0680,6,0,30000); // Signatracar
    signatracar[25] = AddStaticVehicleEx(409,1226.3879,-802.8423,88.4474,272.8785,6,0,30000); // Signatracar
    signatracar[26] = AddStaticVehicleEx(409,1224.8325,-835.6656,84.1714,81.2386,6,0,30000); // Signatracar
    signatracar[27] = AddStaticVehicleEx(428,1289.5897,-765.3745,92.5637,271.4883,6,0,30000); // Signatracar
    signatracar[28] = AddStaticVehicleEx(428,1275.1688,-765.7470,92.5357,271.1424,6,0,30000); // Signatracar
    signatracar[29] = AddStaticVehicleEx(428,1259.0413,-765.8079,92.4747,266.7832,6,0,30000); // Signatracar

  • C:\Users\Fabian\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(3313) : error 010: invalid function or declaration
    C:\Users\Fabian\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(25131) : error 021: symbol already defined: "strtok"
    C:\Users\Fabian\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(25146) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Fabian\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(30203) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Fabian\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(30245) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Fabian\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(30300) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Fabian\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(30657) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Fabian\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(31049) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Fabian\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(32108) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Fabian\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(32304) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Fabian\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(34253) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Fabian\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(47697) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Fabian\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(62028) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Fabian\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(62130) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Fabian\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(62300) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Fabian\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(62536) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Fabian\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(62738) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Fabian\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(63354) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Fabian\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(64111) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Fabian\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(64312) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Fabian\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(64567) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Fabian\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(64785) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Fabian\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(64931) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Fabian\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(65196) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Fabian\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(65238) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Fabian\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(65470) : error 047: array sizes do not match, or destination array is too small


    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    26 Errors. :(


  • Ja genau so ;)




    Warscheinlich einen String einem String per '=' zugewiesen. Brauchst aber format();
    Gib mal die Zeilen, ohne die wird das sonst nichts.


    //Edit: Du hast 2 mal strtok definiert, also lösch eins von beiden!


  • Das erste ganz oben im Script wo die "new"s sind.

    Diese Signatra-Dinger müssen unter OnGameModeInit. Da wo auch Maps etc. reinkommen.


  • Das erste ganz oben im Script wo die "new"s sind.

    Diese Signatra-Dinger müssen unter OnGameModeInit. Da wo auch Maps etc. reinkommen.

    Das gleiche habe ich oben aber auch schon geschrieben ^^.

  • Nein?
    und Doppelpost ist verboten
    frag den !Stan und net alle :)

  • ich glaube ich hatte die schon von Anfang an richtig -_- nur da gab es dann ein anderes problem und zwar das hier oder kommt das nicht wenn man die autos richtig einfügt?


  • Ach egal ich tuhe jetzt einfach die da vorhanden sind den Vorstellungen der Leader anpassen fertig , trotzdem danke für die Hilfe :)