Crash sobald ich Doppelklick auf Server mache!!

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
  • Guten Tag,


    woran liegt es das der Samp-Server.exe sobald ich einen doppelklick drauf mache Crasht?


    Im GM 6 Warnings..


    Was fehlt dem?

  • C:\DOKUME~1\Besitzer\Desktop\SERVER~1.3\LRPGAM~1\LRP\gamemode\GFF.pwn(8507) : warning 217: loose indentation
    C:\DOKUME~1\Besitzer\Desktop\SERVER~1.3\LRPGAM~1\LRP\gamemode\GFF.pwn(8533) : warning 202: number of arguments does not match definition
    C:\DOKUME~1\Besitzer\Desktop\SERVER~1.3\LRPGAM~1\LRP\gamemode\GFF.pwn(8538) : warning 217: loose indentation
    C:\DOKUME~1\Besitzer\Desktop\SERVER~1.3\LRPGAM~1\LRP\gamemode\GFF.pwn(8808) : warning 217: loose indentation
    C:\DOKUME~1\Besitzer\Desktop\SERVER~1.3\LRPGAM~1\LRP\gamemode\GFF.pwn(8890) : warning 217: loose indentation
    C:\DOKUME~1\Besitzer\Desktop\SERVER~1.3\LRPGAM~1\LRP\gamemode\GFF.pwn(26682) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    6 Warnings.

  • // Clearchat v2.49 by mR_FatJoe <3
    SendClientMessageToAll(0, "\n");
    SendClientMessageToAll(0, "\n");
    SendClientMessageToAll(0, "\n");
    SendClientMessageToAll(0, "\n");
    SendClientMessageToAll(0, "\n");
    GameTextForAll("Chat cleared!",6000,1);
    }





    SendClientMessage(playerid, COLOR_GRAD1, "USAGE: /pay [playerid/PartOfName] [amount]");
    return 1;
    }
    //giveplayerid = strval(tmp);
    giveplayerid = ReturnUser(tmp);
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp))
    {
    SendClientMessage(playerid, COLOR_GRAD1, "USAGE: /pay [playerid/PartOfName] [amount]");
    return 1;
    }






    //giveplayerid = strval(tmp);
    giveplayerid = ReturnUser(tmp);
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp))
    {
    SendClientMessage(playerid, COLOR_GRAD1, "USAGE: /pay [playerid/PartOfName] [amount]");
    return 1;
    }




    if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)
    {
    MoveObject(lspdtor,1593.464722, -1638.005371, 12.585760, 3.5);
    SetTimer("lspdtor1", 9000, 0);
    }





    //giveplayerid = strval(tmp);
    giveplayerid = ReturnUser(tmp);
    if(IsPlayerConnected(giveplayerid))






    new Float:plocx,Float:plocy,Float:plocz;
    GetPlayerPos(playerid, plocx, plocy, plocz);
    SetPlayerPos(playerid, -1863.15, -21.6598, 1060.15); // Warp the player
    SetPlayerInterior(playerid,14);
    }





    Immer ein wenig mehr gepostet!!

  • Was genau^^?


    Hier:




    //------------------------------------------------------------------------------------------------------
    public OnGameModeInit()
    {
    new string[MAX_PLAYER_NAME];
    new string1[MAX_PLAYER_NAME];
    for(new c=0;c<CAR_AMOUNT;c++)
    {
    Gas[code=c] = GasMax;
    }
    LoadProperty();
    LoadBizz();
    LoadSBizz();
    LoadBoxer();
    LoadStuff();
    LoadIRC();
    LoadFamilies();
    LoadCK();
    LoadTurfs();
    LoadPapers();
    IRCInfo[0][iPlayers] = 0; IRCInfo[1][iPlayers] = 0; IRCInfo[2][iPlayers] = 0;
    IRCInfo[3][iPlayers] = 0; IRCInfo[4][iPlayers] = 0; IRCInfo[5][iPlayers] = 0;
    IRCInfo[6][iPlayers] = 0; IRCInfo[7][iPlayers] = 0; IRCInfo[8][iPlayers] = 0;
    IRCInfo[9][iPlayers] = 0;
    News[hTaken1] = 0; News[hTaken2] = 0; News[hTaken3] = 0; News[hTaken4] = 0; News[hTaken5] = 0;
    format(string, sizeof(string), "Nothing");
    strmid(News[hAdd1], string, 0, strlen(string), 255);
    strmid(News[hAdd2], string, 0, strlen(string), 255);
    strmid(News[hAdd3], string, 0, strlen(string), 255);
    strmid(News[hAdd4], string, 0, strlen(string), 255);
    strmid(News[hAdd5], string, 0, strlen(string), 255);
    format(string1, sizeof(string1), "No-one");
    strmid(News[hContact1], string1, 0, strlen(string1), 255);
    strmid(News[hContact2], string1, 0, strlen(string1), 255);
    strmid(News[hContact3], string1, 0, strlen(string1), 255);
    strmid(News[hContact4], string1, 0, strlen(string1), 255);
    strmid(News[hContact5], string1, 0, strlen(string1), 255);
    PlayerHaul[78][pCapasity] = 100;
    PlayerHaul[79][pCapasity] = 100;
    PlayerHaul[80][pCapasity] = 50;
    PlayerHaul[81][pCapasity] = 50;
    SetGameModeText("Los Santos RL - by GRG");
    format(objstore, sizeof(objstore), "MOLE: I got nothing, check back with me later.");
    format(cbjstore, sizeof(cbjstore), "HQ: There is nothing in your Vicinity, Out.");
    format(motd, sizeof(motd), "Willkommen in Los Santos");
    gettime(ghour, gminute, gsecond);
    FixHour(ghour);
    ghour = shifthour;
    if(!realtime)
    {
    SetWorldTime(wtime);
    }
    SetPDistance(10);
    EnableTirePopping(1);
    EnableZoneNames(1);
    AllowInteriorWeapons(1);
    AllowAdminTeleport(1);
    UsePlayerPedAnims();

  • public LoadStuff()
    {
    new arrCoords[4][64];
    new strFromFile2[256];
    new File: file = fopen("stuff.ini", io_read);
    if (file)
    {
    fread(file, strFromFile2);
    split(strFromFile2, arrCoords, ',');
    Jackpot = strval(arrCoords[0]);
    Tax = strval(arrCoords[1]);
    TaxValue = strval(arrCoords[2]);
    Security = strval(arrCoords[3]);
    fclose(file);
    if(Security == 0 || Security == 1)
    {
    }
    else
    {
    GameModeExit();
    }
    }
    else
    {
    GameModeExit();
    }
    return 1;
    }

  • do.de - Domain-Offensive - Domains für alle und zu super Preisen
  • C:\DOKUME~1\Besitzer\Desktop\SERVER~1.3\GAMEMO~1\GFF.pwn(1136) : error 001: expected token: "}", but found ";"
    C:\DOKUME~1\Besitzer\Desktop\SERVER~1.3\GAMEMO~1\GFF.pwn(1154) : error 001: expected token: "}", but found "new"


    Bei den Skins??!



    EDIT!!!!!!!!!!!!!!!!!!!!:


    8 Warnings!!


    0 Errors!!


    Loads deaktiviert!!


    IMMERNOCH NICHT :((

    Einmal editiert, zuletzt von [GRR]DeadPrince ()

  • :O ich meinte von denen 2 Errors, das hat sich ja aber erledigt. Joa was du nun machen könntest ist, das du mal alles da durch Testes, sprich du deaktivierst n paar teile und guckst wo sich denn der Fehler befindet.
    Oder siehe mal in dem Server Log nach wie weit der Server den lädt bis er crasht und poste es mal hier drinnen.



    MfG: Apoolecu


  • SA-MP Dedicated Server
    ----------------------
    v0.3a R4, (C)2005-2009 SA-MP Team


    [10:58:04]
    [10:58:04] Server Plugins
    [10:58:04] --------------
    [10:58:04] Loaded 0 plugins.


    [10:58:04]
    [10:58:04] Filter Scripts
    [10:58:04] ---------------
    [10:58:04] Loading filter script 'base.amx'...
    [10:58:04]
    --Base FS loaded.


    [10:58:04] Loading filter script 'gl_actions.amx'...
    [10:58:04] Loading filter script 'gl_property.amx'...
    [10:58:04]
    -----------------------------------
    [10:58:04] Grand Larceny Property Filterscript
    [10:58:04] -----------------------------------


    [10:58:04] Loading filter script 'gl_realtime.amx'...
    [10:58:04] Loading filter script 'V-Admin.amx'...


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


    SA-MP Dedicated Server
    ----------------------
    v0.3a R4, (C)2005-2009 SA-MP Team


    [11:04:28]
    [11:04:28] Server Plugins
    [11:04:28] --------------
    [11:04:28] Loaded 0 plugins.


    [11:04:28]
    [11:04:28] Filter Scripts
    [11:04:28] ---------------
    [11:04:28] Loading filter script 'base.amx'...
    [11:04:28]
    --Base FS loaded.


    [11:04:28] Loading filter script 'gl_actions.amx'...
    [11:04:28] Loading filter script 'gl_property.amx'...
    [11:04:28]
    -----------------------------------
    [11:04:28] Grand Larceny Property Filterscript
    [11:04:28] -----------------------------------


    [11:04:28] Loading filter script 'gl_realtime.amx'...
    [11:04:28] Loading filter script 'V-Admin.amx'...

  • ôO.


    Ich hab gerade mal Suchtis GM raufgepackt.


    2 Warnings.


    0 Errors.


    Funzt auch nicht.


    Samp Server stürzt ab!!