Waller. Posted June 4, 2020 Posted June 4, 2020 Salut, am facut comanda /getpp si /setppstock si cand dau /setstockpp pica sv aici jos aveti comenzile: /getpp CMD:getpp(playerid, params[]) { if(stockpp > 0) { if(afolositgetpp[playerid] == 0) { stockpp--; SendClientMessageToAll(COLOR_SERVER, "SERVER BONUS: {FFFFFF}%s a primit %d Premium Points, au mai ramas: %d [/getpp] in stoc.", GetName(playerid), sumapp, stockpp); PlayerInfo[playerid][pPremiumPoints] += sumapp; Update(playerid, pPremiumPointsx); afolositgetpp[playerid] = 1; } else { SCM(playerid, COLOR_WHITE, "Ai folosit deja aceasta comanda!"); } } else { SCM(playerid, COLOR_WHITE, "Nu mai sunt [/getpp] in stoc."); } return 1; } /setppstock CMD:setppstock(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] >= 6) { new nrstock, nrpp; if(sscanf(params, "ii", nrstock, nrpp)) return SCM(playerid, COLOR_WHITE, "/setppstock [stock] [suma (pp)]"); stockpp = nrstock; sumapp = nrpp; SendClientMessageToAll(COLOR_SERVER, "SERVER BONUS: {FFFFFF}%s a activat comanda [/getpp], stoc limitat: (%d).",GetName(playerid),nrstock); SendClientMessageToAll(COLOR_SERVER, "SERVER BONUS: {FFFFFF}Daca vei fi printre primi %d care vor tasta [/getpp] vei primi %d Premium Points.",nrstock,nrpp); for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { afolositgetpp = 0; } } } return 1;}
BaFFyJunior Posted June 4, 2020 Posted June 4, 2020 Posteaza server_log dupa momentul in care serverul cade. Sa vedem ce erori primesti.
Waller. Posted June 4, 2020 Author Posted June 4, 2020 (edited) ---------- Loaded log file: "server_log.txt". ---------- SA-MP Dedicated Server ---------------------- v0.3.7-R2, (C)2005-2015 SA-MP Team [13:09:17] [13:09:17] Server Plugins [13:09:17] -------------- [13:09:17] Loading plugin: crashdetect.so [13:09:17] CrashDetect v4.15.1 is OK. [13:09:17] Loaded. [13:09:17] Loading plugin: mysql.so [13:09:17] >> plugin.mysql: R34 successfully loaded. [13:09:17] Loaded. [13:09:17] Loading plugin: mysql_static.so [13:09:17] >> plugin.mysql: R39-6 successfully loaded. [13:09:17] Loaded. [13:09:17] Loading plugin: sscanf.so [13:09:17] [13:09:17] =============================== [13:09:17] sscanf plugin loaded. [13:09:17] Version: 2.8.1 [13:09:17] (c) 2012 Alex "Y_Less" Cole [13:09:17] =============================== [13:09:17] Loaded. [13:09:17] Loading plugin: streamer.so [13:09:17] *** Streamer Plugin v2.7.7 by Incognito loaded *** [13:09:17] Loaded. [13:09:17] Loading plugin: Whirlpool.so [13:09:17] [13:09:17] ================== [13:09:17] [13:09:17] Whirlpool loaded [13:09:17] [13:09:17] ================== [13:09:17] [13:09:17] Loaded. [13:09:17] Loading plugin: TDE [13:09:17] Failed (plugins/TDE: cannot open shared object file: No such file or directory) [13:09:17] Loaded 6 plugins. [13:09:18] [13:09:18] Ban list [13:09:18] -------- [13:09:18] Loaded: samp.ban [13:09:18] [13:09:18] [13:09:18] Filterscripts [13:09:18] --------------- [13:09:18] Loading filterscript 'UltraHost.amx'... [13:09:27] Loading filterscript 'lsbrothel.amx'... [13:09:36] ---------------------------------------------------- [13:09:36] FoxHound's Los Santos Brothel successfully loaded. [13:09:36] ������ �������������� ������ RaffGames.moy.su 18+. [13:09:36] ---------------------------------------------------- [13:09:36] Loading filterscript 'mask.amx'... [13:09:48] [13:09:48] ------------------------------------------ [13:09:48] Mask System loaded [13:09:48] Made by CosminAK47 [13:09:48] ------------------------------------------ [13:09:48] [13:09:48] Loading filterscript 'TDE.amx'... [13:09:54] [debug] Run time error 19: "File or function is not found" [13:09:54] [debug] GetVirtualKeyState [13:09:54] [debug] GetScreenSize [13:09:54] [debug] GetMousePos [13:09:54] [debug] PressKeyEnter [13:09:54] [debug] GetKeyState [13:09:54] Loaded 4 filterscripts. [13:10:12] [13:10:12] [13:10:12] [13:10:12] ======================================= [13:10:12] | | [13:10:12] | YSI version 3.09.0684 | [13:10:12] | By Alex "Y_Less" Cole | [13:10:12] | | [13:10:12] ======================================= [13:10:12] [13:10:12] Server: hosted [13:10:12] Server vehicles: 163 [13:10:12] Safezones: 0 [13:10:12] Houses: 86 [13:10:12] Clans: 2 [13:10:12] Clan zones: 20 [13:10:12] Bussines: 29 [13:10:12] Turfs: 35 [13:10:12] Factions: 13 [13:10:13] Jobs: 13 [13:10:13] Furnitures: 0 [13:10:13] Stuff Loaded [13:10:13] Safes: 13 [13:10:13] [debug] Run time error 19: "File or function is not found" [13:10:13] [debug] GetVirtualKeyState [13:10:13] [debug] GetScreenSize [13:10:13] [debug] GetMousePos [13:10:13] [debug] PressKeyEnter [13:10:13] [debug] GetKeyState [13:10:13] Number of vehicle models: 61 [13:10:13] [MySQL] Dealership models: 95 [13:14:47] [connection] incoming connection: 82.78.61.112:56342 id: 0 [13:14:47] [join] Waller has joined the server ( cvd 0:) [13:14:47] [debug] Run time error 19: "File or function is not found" [13:14:47] [debug] GetVirtualKeyState [13:14:47] [debug] GetScreenSize [13:14:47] [debug] GetMousePos [13:14:47] [debug] PressKeyEnter [13:14:47] [debug] GetKeyState [13:14:52] Waller has logged in with IP 82.78.61.112. [13:14:54] [death] Waller died 255 [13:14:55] [debug] Run time error 19: "File or function is not found" [13:14:55] [debug] GetVirtualKeyState [13:14:55] [debug] GetScreenSize [13:14:55] [debug] GetMousePos [13:14:55] [debug] PressKeyEnter [13:14:55] [debug] GetKeyState [13:14:56] [debug] Run time error 19: "File or function is not found" [13:14:56] [debug] GetVirtualKeyState [13:14:56] [debug] GetScreenSize [13:14:56] [debug] GetMousePos [13:14:56] [debug] PressKeyEnter [13:14:56] [debug] GetKeyState [13:15:14] [debug] Run time error 19: "File or function is not found" [13:15:14] [debug] GetVirtualKeyState [13:15:14] [debug] GetScreenSize [13:15:14] [debug] GetMousePos [13:15:14] [debug] PressKeyEnter [13:15:14] [debug] GetKeyState [13:22:03] [debug] Run time error 19: "File or function is not found" [13:22:03] [debug] GetVirtualKeyState [13:22:03] [debug] GetScreenSize [13:22:03] [debug] GetMousePos [13:22:03] [debug] PressKeyEnter [13:22:03] [debug] GetKeyState [13:22:04] [debug] Run time error 19: "File or function is not found" [13:22:04] [debug] GetVirtualKeyState [13:22:04] [debug] GetScreenSize [13:22:04] [debug] GetMousePos [13:22:04] [debug] PressKeyEnter [13:22:04] [debug] GetKeyState [13:22:04] AdmCmd: Waller s-a teleportat la biz 4. [13:23:07] [debug] Run time error 19: "File or function is not found" [13:23:07] [debug] GetVirtualKeyState [13:23:07] [debug] GetScreenSize [13:23:07] [debug] GetMousePos [13:23:07] [debug] PressKeyEnter [13:23:07] [debug] GetKeyState Edited June 4, 2020 by Waller669
Waller. Posted June 4, 2020 Author Posted June 4, 2020 Acum 2 minute, AlexxAdv a spus: Ai gm pe localhost? ultra h
AlexxAdv Posted June 4, 2020 Posted June 4, 2020 Just now, Waller669 said: ultra h posibil ca problema sa provina de la itd, lasa-mi si linia cu plugins din server.cfg
Waller. Posted June 4, 2020 Author Posted June 4, 2020 plugins crashdetect.so mysql.so mysql_static.so sscanf.so streamer.so Whirlpool.so TDE
AlexxAdv Posted June 4, 2020 Posted June 4, 2020 Just now, Waller669 said: plugins crashdetect.so mysql.so mysql_static.so sscanf.so streamer.so Whirlpool.so TDE pai si extensia de la TDE unde este? incearca sa scoti pluginul TDE si de ce folosesti de 2 ori mysql.so si mysql_static, vezi pe care din ele porneste pe mysql sau mysql static si scoate tot ce tine de tde
AlexxAdv Posted June 4, 2020 Posted June 4, 2020 1 minute ago, Waller669 said: tot pica incearca sa folosesti https://forum.sa-mp.com/showthread.php?t=249226 sa vezi de la ce plugin provine problema
Waller. Posted June 4, 2020 Author Posted June 4, 2020 nu pot da download hai sa discutam pe disc Waller#0807
BaFFyJunior Posted June 4, 2020 Posted June 4, 2020 (edited) Ia ultima versiune mscvr120.dll si pune-o in fisierul jocului. S-ar putea sa iti rezolve problema de la client. Pentru server, in server log iti spune ce se intampla: 13:09:48] Loading filterscript 'TDE.amx'... [13:09:54] [debug] Run time error 19: "File or function is not found" Verifica in folderul filterscripts de pe host(utilizand filezilla sau ce program folosesti pentru a urca fisierele pe host) daca exista fisierul TDE.amx. O a doua problema: [13:09:17] Loading plugin: TDE [13:09:17] Failed (plugins/TDE: cannot open shared object file: No such file or directory) Tu folosesti TDE editor pe host, hostul foloseste pluginuri cu extensia .so, nu dll. TDE are doar extensia .dll, astfel nu va fi recunoscut de catre host. Nu poti folosi TDE pe host, doar pe localhost. Edited June 4, 2020 by BaFFyJunior
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now