[POMOC] Komande se ne ocitavaju

Započeo Xoomer, Oktobar 09, 2024, 12:25:56 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Kada startujem server na panelu, sve se ljepo ocita znaci mape i sve ostalo, ali ni jednu komandu mi ne ocitava koju god upisem, ubacio sam includove i sve ali i dalje isti problem, zna li neko konkretno rjesenje sto bi mogao biti problem ? Server log, mysql log sve ljepo ucitava ne ispisuje ni jednu gresku ni warning

Daj server_log.txt sa hosta i koji proces komandi koristiš da li ycmd ili neki drugi?

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

SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team

[12:21:05] filterscripts = ""  (string)
[12:21:05]
[12:21:05] Server Plugins
[12:21:05] --------------
[12:21:05]  Loading plugin: crashdetect.so
[12:21:05]   CrashDetect v4.15.1 is OK.
[12:21:05]   Loaded.
[12:21:05]  Loading plugin: streamer.so
[12:21:05]

*** Streamer Plugin v2.9.4 by Incognito loaded ***

[12:21:05]   Loaded.
[12:21:05]  Loading plugin: sscanf.so
[12:21:05]

[12:21:05]  ===============================

[12:21:05]       sscanf plugin loaded.     

[12:21:05]          Version:  2.8.3       

[12:21:05]   (c) 2018 Alex "Y_Less" Cole 

[12:21:05]  ===============================

[12:21:05]   Loaded.
[12:21:05]  Loading plugin: mysql.so
[12:21:05]  >> plugin.mysql: R41-4 successfully loaded.
[12:21:05]   Loaded.
[12:21:05]  Loading plugin: SKY.so
[12:21:05]
[12:21:05]  ===============================
[12:21:05]   
[12:21:05]    < SKY - 2.3.0 >
[12:21:05]   
[12:21:05]    (c) 2008 - Present | YSF Maintainers
[12:21:05]    (c) 2015 | Oscar "Slice" Broman
[12:21:05]   
[12:21:05]    Server Version: 0.3.7 R2
[12:21:05]    Operating System: Linux
[12:21:05]    Built on: Jul 19 2020 at 17:53:06
[12:21:05]   
[12:21:05]  ===============================
[12:21:05]
[12:21:05]   Loaded.
[12:21:05]  Loading plugin: pawnraknet.so
[12:21:05] [Pawn.RakNet]

    | Pawn.RakNet 1.4.1 | 2016 - 2020
    |--------------------------------
    | Author and maintainer: urShadow


    | Compiled: Jun 18 2020 at 11:28:17
    |--------------------------------------------------------------
    | Forum thread: https://forum.sa-mp.com/showthread.php?t=640306
    |--------------------------------------------------------------
    | Repository: https://github.com/urShadow/Pawn.RakNet
    |--------------------------------------------------------------
    | Wiki: https://github.com/urShadow/Pawn.RakNet/wiki

[12:21:05]   Loaded.
[12:21:05]  Loading plugin: PawnPlus.so
[12:21:05]  PawnPlus v1.3.1 loaded
[12:21:05]  Created by IllidanS4
[12:21:05]   Loaded.
[12:21:05]  Loading plugin: pawncmd.so
[12:21:05] [Pawn.CMD] plugin v3.3.3 by urShadow loaded
[12:21:05]   Loaded.
[12:21:05]  Loaded 8 plugins.

[12:21:05]
[12:21:05] Filterscripts
[12:21:05] ---------------
[12:21:05]   Loaded 0 filterscripts.

[12:21:44] 
[12:21:44] 
[12:21:44] 
[12:21:44]  ==========================================
[12:21:44]  |                                        |
[12:21:44]  |         YSI version 5.03.0689          |
[12:21:44]  |         By Alex "Y_Less" Cole          |
[12:21:44]  |                                        |
[12:21:44]  | You can disabled this message with:    |
[12:21:44]  |                                        |
[12:21:44]  |   #define YSI_NO_VERSION_CHECK         |
[12:21:44]  |                                        |
[12:21:44]  ==========================================
[12:21:44] 
[12:21:44] 
[12:21:44] --------------------------------------
[12:21:44]  Anticheat Nex Ucitan!
[12:21:44]  Anticheat verzija: 1.9.56
[12:21:44]  Author: Nexius
[12:21:44] --------------------------------------

[12:21:45] [MYSQL 1] Uspjesno se konektovalo na bazu.
[12:21:45] Ucitavanje Server Podesavanja [USPESNO]...
[12:21:45] Ucitavanje plata za poslove [USPESNO]...
[12:21:45] [LOADING] Ucitano 1 bankomata.
[12:21:45] [LOADING] Ucitano 0 kontejnera.
[12:21:45] [LOADING] Ucitano 0 bilborda.
[12:21:45] [LOADING] Ucitano 1 iznenadjenja.
[12:21:45] [LOADING] Ucitano 0 garaza.
[12:21:46] [LOADING] Ucitano 4 admin portova.
[12:21:46] [LOADING] Ucitano 0 admin portova.
[12:21:46] [LOADING] Ucitano 0 org portova.
[12:21:46] [LOADING] Ucitano 0 teritorija.
[12:21:46] [LOADING] Ucitano 0 kapija.
[12:21:46] [LOADING] Ucitano 17 kuca.
[12:21:46] [LOADING] Ucitano 0 namjestaja.
[12:21:46] [LOADING] Ucitano 0 garden objekata.
[12:21:46] [LOADING] Ucitano 15 gps lokacija.
[12:21:46] [LOADING] Ucitano 10 firmi.
[12:21:46] [LOADING] Ucitano 0 biznisa.
[12:21:47] [LOADING] Ucitano 0 industrija.
[12:21:47] [LOADING] Ucitano 0 ulica.
[12:21:47] [LOADING] Ucitano 0 grafita.
[12:21:47] [LOADING] Ucitano 0 stanova.
[12:21:47] [LOADING] Ucitano 2 rent objekata.
[12:21:47] [LOADING] Ucitano 0 org vozila.
[12:21:47] [LOADING] Ucitano 0 vozila.
[12:21:47] [LOADING] Ucitano 0 WE objekata.
[12:21:47] [LOADING] Ucitano 0 salona vozila.
[12:21:47] [LOADING] Ucitano 0 actora.
[12:21:47] [LOADING] Ucitano 34 admin portova.
[12:21:47] [LOADING] Ucitano 0 imanja.
[12:21:47] [LOADING] Ucitano 0 drveca.
[12:21:47] [LOADING] Ucitano 0 aukcija.
[12:21:47] [LOADING] Ucitano ukupno 297 vozila.
[12:21:47] Number of vehicle models: 30
[12:22:16] [connection] incoming connection: 93.142.156.126:58868 id: 0
[12:22:16] [join] Luke_Gonzales has joined the server (0:93.142.156.126)
[12:22:55] [chat] [Luke_Gonzales]: e
[12:22:56] [chat] [Luke_Gonzales]: e
[12:22:56] [chat] [Luke_Gonzales]: e
[12:22:56] [chat] [Luke_Gonzales]: e
[12:41:19] [part] Luke_Gonzales has left the server (0:1)

izcmd je

Aha, de idi u modu i nadji mi OnPlayerCommandPerformed ili OnPlayerCommandReceived tako nešto i ostavi mi i to

Citat: ivodev45 poslato Oktobar 09, 2024, 12:54:44 POSLE PODNEAha, de idi u modu i nadji mi OnPlayerCommandPerformed ili OnPlayerCommandReceived tako nešto i ostavi mi i to
Evo oba, ali na localhostu mi sve super radi i komande i sve, medjutim na linuxu ne ocitava ni jednu komandu sto god upisem nista ne izbacuje

public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
    //if((PI[playerid][padmin] >= 1 || PI[playerid][psupporter] >= 1 || PI[playerid][pspecteam] >= 1) && prosoadminkod[playerid] == 0) return 0;//0
    //if(PI[playerid][ptutorial] == false) return 0;//0
    //if(GetPlayerScore(playerid) == 0) return 0;//0
    if(!success) return ERROR(playerid,"Komanda koju ste upisali nije pronadjena u bazi podataka!");
    //if(isnull(cmd)) return 0;//0
    //zero_command_spam[playerid] = gettime();
    return 1;
}

//public OnPlayerCommandReceived(playerid, cmdtext[], success)
public OnPlayerCommandReceived(playerid, cmdtext[])
{
    if(zero_Logo[playerid] != 1) { ERROR(playerid, "Niste ulogovani!"); return 0; }//0
    if(GetPlayerScore(playerid) == 0) return 0;//0
    if((PI[playerid][padmin] >= 1 || PI[playerid][psupporter] >= 1 || PI[playerid][pspecteam] >= 1) && prosoadminkod[playerid] == 0) return 0;//0
    if(PI[playerid][ptutorial] == false) return 0;//0
    if(isnull(cmdtext)) return 0;
    if(PI[playerid][padmin] < 1)
    {
        if(zero_command_spam[playerid] != 0 && gettime()-zero_command_spam[playerid] < 2 )
        {
        ERROR(playerid,"Ne mozete spamovati sa komandama!");
        return 0;//0
        }
    }
    zero_command_spam[playerid] = gettime();
    if(strfind(cmdtext, "change", true) == -1 && specialperm[playerid] != 2) printf("|komanda| %s | %s |", zero_Nick(playerid),cmdtext);
    return 1;
}

Pisi na discord ivodev45 da rijesimo to, ne mogu ovako ti pomoci

[12:21:05]  Loading plugin: pawncmd.so
[12:21:05] [Pawn.CMD] plugin v3.3.3 by urShadow loaded
[12:21:05]   Loaded.

Citatizcmd je

Malo ti se poklapaju dva command processora :P

Citat: V01D poslato Oktobar 09, 2024, 14:04:27 POSLE PODNE[12:21:05]  Loading plugin: pawncmd.so
[12:21:05] [Pawn.CMD] plugin v3.3.3 by urShadow loaded
[12:21:05]   Loaded.

Malo ti se poklapaju dva command processora :P

ta verzija bj moda je imala 3 izcmd pawnplus pawncmd tako da ni ne vrediti koristiti taj mod kad je ubi boze ubagan
skazy42O

Reborn - Developer & Owner
- www.reborn-ogc.com

Citat: V01D poslato Oktobar 09, 2024, 14:04:27 POSLE PODNE[12:21:05]  Loading plugin: pawncmd.so
[12:21:05] [Pawn.CMD] plugin v3.3.3 by urShadow loaded
[12:21:05]  Loaded.

Malo ti se poklapaju dva command processora :P
Jest brate to je bio problem :D Hvala ti <3

Ne vidim da imas filterscripte tako da nije do njih (ako imas nesto, izbaci ih sve pa probaj). Ali ko sto sam reko vidim da nema nista. Drugo, OnPlayerCommandText izbrisi ako imas. Nmg da se sjetim gdje sta i kako ali znam da mi je nedavno to bio fix negdje. Ako nije nista od to dvoje jbg, ja jedino da pogledam ali to necu da radim bez $$$. Tako da najbolje uzmi neki drugi mod (osim ako nisi ulozio u ovaj pa ti se isplati platiti da se fix)