Jump to content

Tw1stCosmiin12

Membru
  • Posts

    25
  • Joined

  • Last visited

Posts posted by Tw1stCosmiin12

  1. Ce script ai adaugat ultima data?

    CMD:togapps(playerid, params[])
    {
    if(playerVariables[playerid][pGroupRank] == 7 && playerVariables[playerid][pGroup] != 0)
    {
    new stringy2[256], app;
    mysql_format(handle, stringy2, 256, "SELECT * FROM `groups` WHERE `groupID` = '%d'", playerVariables[playerid][pGroup]);
    new Cache: resultd = mysql_query(handle, stringy2);
    if(cache_get_row_count() != 0)
    {
    cache_get_field_content(0, "groupApplication", result); app = strval(result);
    }
    cache_delete(resultd);
     
    if(app == 1)
    {
    SCM(playerid, -1, "The applications are now offline.");
    mysql_format(handle, stringy2, 256, "UPDATE `groups` SET `groupApplication` = '0' WHERE `groupID` = '%d'", playerVariables[playerid][pGroup]);
    mysql_tquery(handle, stringy2);
    }
    else if(app == 0)
    {
    SCM(playerid, -1, "The applications are now online.");
    mysql_format(handle, stringy2, 256, "UPDATE `groups` SET `groupApplication` = '1' WHERE `groupID` = '%d'", playerVariables[playerid][pGroup]);
    mysql_tquery(handle, stringy2);
    }
    }
    else
    {
    SCM(playerid, -1, "You are not a faction leader!");
    }
    return 1;
    }
     
    Asta-i ultima!
  2. CMD:afklist(playerid)
    {
        new name[32], string[100];
        SendClientMessage(playerid,COLOR_LIGHT,"________ AFK Players ________");
        foreach(Player, i)
    {
    if(IsPlayerPaused(i))
    {
        GetPlayerName(i,name,sizeof(name));
        format(string,sizeof(string),"%s [%d]",name,i);
        SendClientMessage(playerid,-1,string);
        }
        }
        return 1;
    }
  3. Problema intalnita (descriere): Am intrat pe serverul meu cu un baiat si ma vede afk desi nu sunt si eu la fel pe el! am scris afklist si ne arata pe amandoi afk! CE sa fac ?
    Ero(area / rile) / warning-(ul / urile): nu sunt
    Liniile de cod / sursa / script-ul(obligatoriu): AFK
    Imagini / Video (optional):   


    Ati incercat sa rezolvati singur?: Da
  4. http://panelscared.uphero.com/imi da acesta eroare!
    Am urcat fisierele de la panel pe datele ftp adica pe web host , in connection am facut configurarile!  Baza de date de la sv este pe web cpanel.

    Ma puteti ajuta va las aici connection:

     

    Connection 1: 

    <?php
    panelscared.uphero.com = mysql_connect('panelscared.uphero.com', 'root') or die("Nu se poate efectua conexiunea MYSQL.");
    mysql_select_db('zp_hid5962, panelscared.uphero.com);
     
    $dbh = new PDO('mysql:host=panelscared.uphero.com;dbname=zp_hid5962;charset=utf8');
     
     
    ?>
     
    Connection 2
     
    <?php
    panelscared.uphero.com = mysql_connect('panelscared.uphero.com', 'root', '') or die("Nu se poate efectua conexiunea MYSQL");
    mysql_select_db('vortex', panelscared.uphero.com);
     
    $dbh = new PDO('mysql:host=panelscared.uphero.com;dbname=vortex;charset=utf8', 'root', '');
     
    /*$link = mysql_connect('panelscared.uphero.com', 'root', '') or die("wrong user pass mysql");
    mysql_select_db('zp_hid5962', panelscared.uphero.com);*/
     
    ?>

     

  5.  

    @Tw1stCosmiin12 Offf. Ce v-ati face fara mine :)

     

    Poftim :

    http://www.filehost.ro/31539395/EquiNox_baiat_Bun_rar/
    Recompileaza apoi pune plugins in FTP.
    Ordinea in Server.cfg (Linux) mysql.so mysql_static.so mysql_5.5.so sscanf.so streamer.so Whirlpool.so GeoIP_Plugin.so nativechecker.so

    Daca dau ip-ul la alti nu merge ! Si am facut alea pe 192.168.1.1! Iti dau team viewer ceva ?

  6. Incearca sa scoti fs-urile. Si posteaza server_log(tu ai postat server.cfg)

    Si fara FS-uri da erori 

    Uite log-ul si daca e ceva de dowloadat sa imi lasi link si ce fac plz

    ----------
    Loaded log file: "server_log.txt".
    ----------
     
    SA-MP Dedicated Server
    ----------------------
    v0.3z, ©2005-2014 SA-MP Team
     
    [15:08:44] filterscripts = ""  (string)
    [15:08:44] 
    [15:08:44] Server Plugins
    [15:08:44] --------------
    [15:08:44]  Loading plugin: nativechecker
    [15:08:44]   Loaded.
    [15:08:44]  Loading plugin: sscanf
    [15:08:44] 
     
    [15:08:44]  ===============================
     
    [15:08:44]       sscanf plugin loaded.     
     
    [15:08:44]    © 2009 Alex "Y_Less" Cole
     
    [15:08:44]    0.3d-R2 500 Players "dnee"
     
    [15:08:44]  ===============================
     
    [15:08:44]   Loaded.
    [15:08:44]  Loading plugin: GeoIP_Plugin
    [15:08:44] GeoIP_Plugin got loaded.
    [15:08:44]   Loaded.
    [15:08:44]  Loading plugin: mysql
    [15:08:44]  >> plugin.mysql: R34 successfully loaded.
    [15:08:44]   Loaded.
    [15:08:44]  Loading plugin: streamer
    [15:08:44] 
     
    *** Streamer Plugin v2.7.5.2 by Incognito loaded ***
     
    [15:08:44]   Loaded.
    [15:08:44]  Loaded 5 plugins.
     
    [15:08:44] 
    [15:08:44] Filterscripts
    [15:08:44] ---------------
    [15:08:44]   Loaded 0 filterscripts.
     
    [15:08:44]    Error: Function not registered: 'SSCANF_Init'
    [15:08:44]    Error: Function not registered: 'SSCANF_Join'
    [15:08:44]    Error: Function not registered: 'SSCANF_Leave'
    [15:08:44]    Error: Function not registered: 'CreateDynamicRectangle'
    [15:08:44]    Error: Function not registered: 'CreateDynamicSphere'
    [15:08:44]    Error: Function not registered: 'CreateDynamicPickup'
    [15:08:44]    Error: Function not registered: 'CreateDynamic3DTextLabel'
    [15:08:44]    Error: Function not registered: 'mysql_tquery'
    [15:08:44]    Error: Function not registered: 'CreateDynamicObject'
    [15:08:44]    Error: Function not registered: 'sscanf'
    [15:08:44]    Error: Function not registered: 'mysql_format'
    [15:08:44]    Error: Function not registered: 'mysql_query'
    [15:08:44]    Error: Function not registered: 'cache_get_row_count'
    [15:08:44]    Error: Function not registered: 'cache_get_field_content'
    [15:08:44]    Error: Function not registered: 'cache_delete'
    [15:08:44]    Error: Function not registered: 'mysql_connect'
    [15:08:44]    Error: Function not registered: 'mysql_close'
    [15:08:44]    Error: Function not registered: 'MoveDynamicObject'
    [15:08:44]    Error: Function not registered: 'mysql_escape_string'
    [15:08:44]    Error: Function not registered: 'cache_get_data'
    [15:08:44]    Error: Function not registered: 'GetCountryName'
    [15:08:44]    Error: Function not registered: 'UpdateDynamic3DTextLabelText'
    [15:08:44]    Error: Function not registered: 'SetDynamicObjectRot'
    [15:08:44]    Error: Function not registered: 'DestroyDynamicPickup'
    [15:08:44]    Error: Function not registered: 'DestroyDynamic3DTextLabel'
    [15:08:44]    Error: Function not registered: 'cache_insert_id'
    [15:08:44]    Error: Function not registered: 'CountDynamicObjects'
    [15:08:44]    Error: Function not registered: 'CountDynamicPickups'
    [15:08:44]    Error: Function not registered: 'CountDynamic3DTextLabels'
    [15:08:44]    Error: Function not registered: 'mysql_reconnect'
    [15:08:44] Candidatul 1 a fost incarcat! (Nume:  | Voturi: 0)
    [15:08:44] Candidatul 2 a fost incarcat! (Nume:  | Voturi: 0)
    [15:08:44] Candidatul 3 a fost incarcat! (Nume:  | Voturi: 0)
    [15:08:44] Candidatul 4 a fost incarcat! (Nume:  | Voturi: 0)
    [15:08:49] SUCCES: Conexiunea la baza de date`scaredga_samp` a fost stabilita!
  7. posteaza putin server log, sa vad daca te pot ajuta

    Uite server cfg-ul: echo Executing Server Config...

    lanmode 1
    rcon_password dmjcnhhxnu
    maxplayers 50
    port 7777
    gamemode0 gmi
    hostname Scared RPG
    plugins nativechecker sscanf GeoIP_Plugin mysql streamer  
    filterscripts firework PickupCreator 
    mapname LS
    announce 0 
    query 1
    weburl $WEBSITE
    maxnpc 0
    onfoot_rate 40
    incar_rate 40
    weapon_rate 40
    stream_distance 300.0
    stream_rate 1000
  8. Problema intalnita (descriere):  Cand pornesc serverul imi da erorile din videoclipul postat!
    Ero(area / rile) / warning-(ul / urile): Funnction not  registered ( se vede in video)
    Liniile de cod / sursa / script-ul(obligatoriu): -
    Imagini / Video (optional):


    Ati incercat sa rezolvati singur?: Da
  9. Tine minte un lucru,la baza de date MySQL trebuie sa bagi si baza de date de la serverul respectiv.

    Atunci cand urc datele de la panel pe webhost ? Si cum as putea face rost de baza de date pt panel ?

  10. SA-MP Dedicated Server
    ----------------------
    v0.3z, ©2005-2014 SA-MP Team
     
    [16:36:08] 
    [16:36:08] Server Plugins
    [16:36:08] --------------
    [16:36:08]  Loading plugin: nativechecker
    [16:36:08]   Loaded.
    [16:36:08]  Loading plugin: sscanf
    [16:36:08] 
     
    [16:36:08]  ===============================
     
    [16:36:08]       sscanf plugin loaded.     
     
    [16:36:08]    © 2009 Alex "Y_Less" Cole
     
    [16:36:08]    0.3d-R2 500 Players "dnee"
     
    [16:36:08]  ===============================
     
    [16:36:08]   Loaded.
    [16:36:08]  Loading plugin: GeoIP_Plugin
    [16:36:08] GeoIP_Plugin got loaded.
    [16:36:08]   Loaded.
    [16:36:08]  Loading plugin: mysql
    [16:36:08]  >> plugin.mysql: R34 successfully loaded.
    [16:36:08]   Loaded.
    [16:36:08]  Loading plugin: streamer
    [16:36:08] 
     
    *** Streamer Plugin v2.7.5.2 by Incognito loaded ***
     
    [16:36:08]   Loaded.
    [16:36:08]  Loaded 5 plugins.
     
    [16:36:08] 
    [16:36:08] Filterscripts
    [16:36:08] ---------------
    [16:36:08]   Loading filterscript 'firework.amx'...
    [16:36:08]    Error: Function not registered: 'SSCANF_Init'
    [16:36:08]    Error: Function not registered: 'SSCANF_Join'
    [16:36:08]    Error: Function not registered: 'SSCANF_Leave'
    [16:36:08]    Error: Function not registered: 'DestroyDynamicObject'
    [16:36:08]    Error: Function not registered: 'CreateDynamicObject'
    [16:36:08]    Error: Function not registered: 'MoveDynamicObject'
    [16:36:08]   Loading filterscript 'PickupCreator.amx'...
    [16:36:08]   Loaded 2 filterscripts.
     
    [16:36:08]    Error: Function not registered: 'SSCANF_Init'
    [16:36:08]    Error: Function not registered: 'SSCANF_Join'
    [16:36:08]    Error: Function not registered: 'SSCANF_Leave'
    [16:36:08]    Error: Function not registered: 'CreateDynamicRectangle'
    [16:36:08]    Error: Function not registered: 'CreateDynamicSphere'
    [16:36:08]    Error: Function not registered: 'CreateDynamicPickup'
    [16:36:08]    Error: Function not registered: 'CreateDynamic3DTextLabel'
    [16:36:08]    Error: Function not registered: 'mysql_tquery'
    [16:36:08]    Error: Function not registered: 'CreateDynamicObject'
    [16:36:08]    Error: Function not registered: 'sscanf'
    [16:36:08]    Error: Function not registered: 'mysql_format'
    [16:36:08]    Error: Function not registered: 'mysql_query'
    [16:36:08]    Error: Function not registered: 'cache_get_row_count'
    [16:36:08]    Error: Function not registered: 'cache_get_field_content'
    [16:36:08]    Error: Function not registered: 'cache_delete'
    [16:36:08]    Error: Function not registered: 'mysql_connect'
    [16:36:08]    Error: Function not registered: 'mysql_close'
    [16:36:08]    Error: Function not registered: 'MoveDynamicObject'
    [16:36:08]    Error: Function not registered: 'mysql_escape_string'
    [16:36:08]    Error: Function not registered: 'cache_get_data'
    [16:36:08]    Error: Function not registered: 'GetCountryName'
    [16:36:08]    Error: Function not registered: 'UpdateDynamic3DTextLabelText'
    [16:36:08]    Error: Function not registered: 'SetDynamicObjectRot'
    [16:36:08]    Error: Function not registered: 'DestroyDynamicPickup'
    [16:36:08]    Error: Function not registered: 'DestroyDynamic3DTextLabel'
    [16:36:08]    Error: Function not registered: 'cache_insert_id'
    [16:36:08]    Error: Function not registered: 'CountDynamicObjects'
    [16:36:08]    Error: Function not registered: 'CountDynamicPickups'
    [16:36:08]    Error: Function not registered: 'CountDynamic3DTextLabels'
    [16:36:08]    Error: Function not registered: 'mysql_reconnect'
    [16:36:08] Candidatul 1 a fost incarcat! (Nume:  | Voturi: 0)
    [16:36:08] Candidatul 2 a fost incarcat! (Nume:  | Voturi: 0)
    [16:36:08] Candidatul 3 a fost incarcat! (Nume:  | Voturi: 0)
    [16:36:08] Candidatul 4 a fost incarcat! (Nume:  | Voturi: 0)
    [16:36:09] SUCCES: Conexiunea la baza de date`zp_hid5962` a fost stabilita!
    [16:36:09] [script] 42 turfs loaded.
    [16:36:09] [script] 242 vehicles loaded.
    [16:36:09] [script] 10 houses loaded.
    [16:36:09] Businesses loaded: 31
    [16:36:09] -----------------------------------------------------------------------
    [16:36:09] Copyright: Server & Gamemode by MaFioTTul. - All rights reserved to him.
    [16:36:09] -----------------------------------------------------------------------
    [16:36:09] main() has been called.
    Ce sa fac ? Daca trb sa bag pluginurile ceva dati-mi link va rog ! 
  11. 1.Nu urci webhostul pe panel,panelul pe webhost

    2.Ai nevoie de o baza de date MySQL la panel cat si server

    3.Ai nevoie de un domeniu pentru website

    4.Programul FTP Client,cu care urci panelul pe webhost

    5.Te loghezi cu datele FTP primite in email de la firma de unde ai webhostul

    6.Urci toate fisierele din panel pe webhost

    7.Faci conexiunea la panel cu conexiuna ta MySQL,se afla intr-un fisier numit config.php depinde de panel.

    8.Daca esti incepator sincer nu ar trebui sa te complici de acum cuun panel sau chiar MySQL

    Conexiunea nu stiu si domeniu este obligatoriu ?

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.