WopsS Posted December 31, 2015 Author Report Share Posted December 31, 2015 17 minutes ago, eLLemenT_ said: @WopsSma refer problema asta [13:02:55] [MYSQL]: Connection to database (w3op) failed! [13:02:55] [13:02:55] [13:02:55] RPG: v0.2 Beta LS-LV-SF [13:02:55] _____________________ [13:02:55] Number of vehicle models: 1 [13:02:55] --- Server Shutting Down. [13:02:55] plugin.mysql: Unloading plugin... [13:02:55] plugin.mysql: Plugin unloaded. Ti-am spus si de ea. 36 minutes ago, WopsS said: Pentru a modifica numele bazei de date in gamemode urmeaza instructiuniile astea. On 22.08.2014 at 13:40, WopsS said: - Dacă vreţi să editaţi datele pentru baza de date, va duceţi în pawno\include şi dechideti cu Notepad / Visual Studio / Wordpad etc. şi dechideti connection.inc. Modificaţi următoarele linii: #define mysql_host "ip-ul host-ului" #define mysql_user "numele de utilizator pentru baza de date (MySQL)" #define mysql_password "parolă pentru baza de date (MySQL)" #define mysql_database "numele bazei de date" Si compilezi gamemode-ul. Quote Link to comment Share on other sites More sharing options...
eLLemenT_ Posted January 1, 2016 Report Share Posted January 1, 2016 Da , multumesc ! A mers ! Dar am o alta problema . Cand vreau sa il pun pe host bag acolo la connection.inc tot de la mysql si dupa cand il pornesc imi spune asta din nou [13:02:55] [MYSQL]: Connection to database (w3op) failed! [13:02:55] [13:02:55] [13:02:55] RPG: v0.2 Beta LS-LV-SF [13:02:55] _____________________ [13:02:55] Number of vehicle models: 1 [13:02:55] --- Server Shutting Down. [13:02:55] plugin.mysql: Unloading plugin... [13:02:55] plugin.mysql: Plugin unloaded. Quote Link to comment Share on other sites More sharing options...
WopsS Posted January 1, 2016 Author Report Share Posted January 1, 2016 1 hour ago, eLLemenT_ said: Da , multumesc ! A mers ! Dar am o alta problema . Cand vreau sa il pun pe host bag acolo la connection.inc tot de la mysql si dupa cand il pornesc imi spune asta din nou [13:02:55] [MYSQL]: Connection to database (w3op) failed! [13:02:55] [13:02:55] [13:02:55] RPG: v0.2 Beta LS-LV-SF [13:02:55] _____________________ [13:02:55] Number of vehicle models: 1 [13:02:55] --- Server Shutting Down. [13:02:55] plugin.mysql: Unloading plugin... [13:02:55] plugin.mysql: Plugin unloaded. Trebuie sa pui gamemode-ul compilat pe host. Quote Link to comment Share on other sites More sharing options...
HaZZe. Posted January 1, 2016 Report Share Posted January 1, 2016 Am şi eu o întrebare: Cum 'transform' comenzile în zcmd? Am încercat să transform o comandă: if(strcmp(cmd, "/help", true) == 0) în CMD:help(playerid,params[]) Dar îmi dă eroare: D:\SAMP\Samp server build\gamemodes\w3op.pwn(562) : error 029: invalid expression, assumed zero D:\SAMP\Samp server build\gamemodes\w3op.pwn(562) : error 017: undefined symbol "cmd_help" D:\SAMP\Samp server build\gamemodes\w3op.pwn(562) : error 029: invalid expression, assumed zero D:\SAMP\Samp server build\gamemodes\w3op.pwn(562) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 4 Errors. Repet întrebarea: Cum 'transform' comenzile în zcmd? Mulţumesc anticipat! Quote Link to comment Share on other sites More sharing options...
WopsS Posted January 2, 2016 Author Report Share Posted January 2, 2016 8 hours ago, HaZZe. said: Am şi eu o întrebare: Cum 'transform' comenzile în zcmd? Am încercat să transform o comandă: if(strcmp(cmd, "/help", true) == 0) în CMD:help(playerid,params[]) Dar îmi dă eroare: D:\SAMP\Samp server build\gamemodes\w3op.pwn(562) : error 029: invalid expression, assumed zero D:\SAMP\Samp server build\gamemodes\w3op.pwn(562) : error 017: undefined symbol "cmd_help" D:\SAMP\Samp server build\gamemodes\w3op.pwn(562) : error 029: invalid expression, assumed zero D:\SAMP\Samp server build\gamemodes\w3op.pwn(562) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 4 Errors. Repet întrebarea: Cum 'transform' comenzile în zcmd? Mulţumesc anticipat! Salut, daca vrei sa faci asta, nu trebuie sa pui CMD:help(playerid,params[]) in interiorul functiei OnPlayerCommandText pentru ca insusi comenziile o sa devina functii. Quote Link to comment Share on other sites More sharing options...
HaZZe. Posted January 2, 2016 Report Share Posted January 2, 2016 Acum 7 ore, WopsS a spus: Salut, daca vrei sa faci asta, nu trebuie sa pui CMD:help(playerid,params[]) in interiorul functiei OnPlayerCommandText pentru ca insusi comenziile o sa devina functii. Păi şi unde să le pun ca să fie mai ordonat? Doar nu le pun random. Quote Link to comment Share on other sites More sharing options...
MrTuNNe Posted January 2, 2016 Report Share Posted January 2, 2016 Acum 57 minute, HaZZe. a spus: Păi şi unde să le pun ca să fie mai ordonat? Doar nu le pun random. Punele inafara fiecarui public,pe scurt,cam la sfarsitul gamemodeului le pui. Quote Ofer servicii de web designer/developer(contact me pentru portofoliu etc) Metode de plata: Paysafecard,Skrill,PayPal,Bitcoin Ofer si servicii de Penetration Testing. Vand si VPN-uri. 5 euro pe luna Skype: live:mrtunne.tkcode Discord: https://mrtunne.info/discord Link to comment Share on other sites More sharing options...
HaZZe. Posted January 2, 2016 Report Share Posted January 2, 2016 SA-MP Dedicated Server ---------------------- v0.3.7-R2, (C)2005-2015 SA-MP Team [20:50:27] [20:50:27] Server Plugins [20:50:27] -------------- [20:50:27] Loading plugin: mysql [20:50:27] >> plugin.mysql: R38 successfully loaded. [20:50:27] Loaded. [20:50:27] Loaded 1 plugins. [20:50:27] [20:50:27] Filterscripts [20:50:27] --------------- [20:50:27] Loaded 0 filterscripts. [20:50:27] Script[gamemodes/w3op.amx]: Run time error 19: "File or function is not found" [20:50:27] Number of vehicle models: 0 Help? Quote Link to comment Share on other sites More sharing options...
WopsS Posted January 3, 2016 Author Report Share Posted January 3, 2016 8 hours ago, HaZZe. said: SA-MP Dedicated Server ---------------------- v0.3.7-R2, (C)2005-2015 SA-MP Team [20:50:27] [20:50:27] Server Plugins [20:50:27] -------------- [20:50:27] Loading plugin: mysql [20:50:27] >> plugin.mysql: R38 successfully loaded. [20:50:27] Loaded. [20:50:27] Loaded 1 plugins. [20:50:27] [20:50:27] Filterscripts [20:50:27] --------------- [20:50:27] Loaded 0 filterscripts. [20:50:27] Script[gamemodes/w3op.amx]: Run time error 19: "File or function is not found" [20:50:27] Number of vehicle models: 0 Help? Folosesti nativechecker si vezi ce nu iti gaseste. Quote Link to comment Share on other sites More sharing options...
Master18 Posted January 8, 2016 Report Share Posted January 8, 2016 La 03.01.2016la5:02, WopsS a spus: Folosesti nativechecker si vezi ce nu iti gaseste. C:\Users\GeorgeXD\Desktop\bsgaming\gamemodes\ro-rpg.pwn(173) : warning 201: redefinition of constant/macro (symbol "pInfo") C:\Users\GeorgeXD\Desktop\bsgaming\gamemodes\ro-rpg.pwn(179) : error 021: symbol already defined: "PlayerInfo" C:\Users\GeorgeXD\Desktop\bsgaming\gamemodes\ro-rpg.pwn(3767) : error 028: invalid subscript (not an array or too many subscripts): "fspInfo" C:\Users\GeorgeXD\Desktop\bsgaming\gamemodes\ro-rpg.pwn(3767) : warning 215: expression has no effect C:\Users\GeorgeXD\Desktop\bsgaming\gamemodes\ro-rpg.pwn(3767) : error 001: expected token: ";", but found "]" C:\Users\GeorgeXD\Desktop\bsgaming\gamemodes\ro-rpg.pwn(3767) : error 029: invalid expression, assumed zero C:\Users\GeorgeXD\Desktop\bsgaming\gamemodes\ro-rpg.pwn(3767) : fatal error 107: too many error messages on one line e de la gm-ul tau pornit si da erorile alea, ce fac? Quote Click si nu vei regreta! Link to comment Share on other sites More sharing options...
WopsS Posted January 8, 2016 Author Report Share Posted January 8, 2016 Ai deja pInfo si PlayerInfo. Asta zic erorile. Quote Link to comment Share on other sites More sharing options...
Master18 Posted January 8, 2016 Report Share Posted January 8, 2016 1 oră în urmă, WopsS a spus: Ai deja pInfo si PlayerInfo. Asta zic erorile. pai unde in gm? Quote Click si nu vei regreta! Link to comment Share on other sites More sharing options...
WopsS Posted January 8, 2016 Author Report Share Posted January 8, 2016 55 minutes ago, Master18 said: pai unde in gm? Aici 2 hours ago, Master18 said: ro-rpg.pwn(173) Nu stiu de ce le ai de doua ori, poate ai un include ceva. Quote Link to comment Share on other sites More sharing options...
Master18 Posted January 8, 2016 Report Share Posted January 8, 2016 o sa ma uit la include sa vad Quote Click si nu vei regreta! Link to comment Share on other sites More sharing options...
Mr_DAN07 Posted January 9, 2016 Report Share Posted January 9, 2016 (edited) SA-MP Dedicated Server ---------------------- v0.3.7-R2, (C)2005-2015 SA-MP Team [22:51:50] [22:51:50] Server Plugins [22:51:50] -------------- [22:51:50] Loading plugin: mysql [22:51:50] >> plugin.mysql: R39-4 successfully loaded. [22:51:50] Loaded. [22:51:50] Loaded 1 plugins. [22:51:50] [22:51:50] Filterscripts [22:51:50] --------------- [22:51:50] Loaded 0 filterscripts. cand bag import imi da eroare: http://imgur.com/7pPr6At Edited January 9, 2016 by Mr_DAN07 Quote Link to comment Share on other sites More sharing options...
WopsS Posted January 9, 2016 Author Report Share Posted January 9, 2016 Nu ai acces sa faci o noua baza de date. Pune-o in una deja existenta. Quote Link to comment Share on other sites More sharing options...
Master18 Posted January 17, 2016 Report Share Posted January 17, 2016 La 1/9/2016la0:56, WopsS a spus: Nu ai acces sa faci o noua baza de date. Pune-o in una deja existenta. help me! Quote Click si nu vei regreta! Link to comment Share on other sites More sharing options...
Mr_DAN07 Posted January 18, 2016 Report Share Posted January 18, 2016 m-am conectat la baza de date dar cand deschid consola mi se inchide Quote Link to comment Share on other sites More sharing options...
WopsS Posted January 18, 2016 Author Report Share Posted January 18, 2016 29 minutes ago, Mr_DAN07 said: m-am conectat la baza de date dar cand deschid consola mi se inchide Probabil de asta se inchide. Quote Link to comment Share on other sites More sharing options...
Mr_DAN07 Posted January 18, 2016 Report Share Posted January 18, 2016 1 hour ago, WopsS said: Probabil de asta se inchide. adica? nu trebuie sa bag acolo in connection.inc datele? Quote Link to comment Share on other sites More sharing options...
WopsS Posted January 18, 2016 Author Report Share Posted January 18, 2016 1 minute ago, Mr_DAN07 said: adica? nu trebuie sa bag acolo in connection.inc datele? Ba da, dar poate nu s-a conectat. Nu depinde numai de asta conectarea. Verifica server_log sau mysql_log. Quote Link to comment Share on other sites More sharing options...
Mr_DAN07 Posted January 19, 2016 Report Share Posted January 19, 2016 (edited) 18 hours ago, WopsS said: Ba da, dar poate nu s-a conectat. Nu depinde numai de asta conectarea. Verifica server_log sau mysql_log. server log SA-MP Dedicated Server ---------------------- v0.3.7-R2, (C)2005-2015 SA-MP Team [22:40:20] [22:40:20] Server Plugins [22:40:20] -------------- [22:40:20] Loading plugin: mysql [22:40:20] >> plugin.mysql: R39-4 successfully loaded. [22:40:20] Loaded. [22:40:20] Loaded 1 plugins. [22:40:20] [22:40:20] Filterscripts [22:40:20] --------------- [22:40:20] Loaded 0 filterscripts. am incercat gm-ul lui equinox imi merge tot frumos dar al tau nu ... Edited January 19, 2016 by Mr_DAN07 Quote Link to comment Share on other sites More sharing options...
Mister Posted January 19, 2016 Report Share Posted January 19, 2016 posteaza la ajutor scripting, aici lasi o parere despre gamemode sau ii multumesti pentru el. Cea ce ar trebui sa faca foarte multi 3 Quote __ ____ __ / |/ (_)____/ /____ _____ / /|_/ / / ___/ __/ _ \/ ___/ / / / / (__ ) /_/ __/ / /_/ /_/_/____/\__/\___/_/ SERVICII SCRIPTING DE CALITATE Pagina Scripting pawn Link to comment Share on other sites More sharing options...
LoLFTW23 Posted February 5, 2016 Report Share Posted February 5, 2016 (edited) Scuzati-ma ca dau revive la acest post, dar nu inteleg de ce nu imi merge. Imi tot zice ca nu se conecteaza la baza de date, am facut tot posibilul(ce am putut si eu) si va rog nu ma judecati ca nu prea am eu cunostinte cu scripting " acestea sunt cele cu conexiunile: #define mysql_host "127.0.0.1" #define mysql_user "root" #define mysql_password "1234" #define mysql_database "w3op" CREATE DATABASE IF NOT EXISTS `w3op` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci; USE `w3op`; [16:49:37] [ERROR] CMySQLConnection::Connect - (error #1045) Access denied for user 'root'@'localhost' (using password: NO)" Edited February 5, 2016 by LoLFTW23 Quote Link to comment Share on other sites More sharing options...
MrTuNNe Posted February 5, 2016 Report Share Posted February 5, 2016 Acum 4 minute, LoLFTW23 a spus: Scuzati-ma ca dau revive la acest post, dar nu inteleg de ce nu imi merge. Imi tot zice ca nu se conecteaza la baza de date, am facut tot posibilul(ce am putut si eu) si va rog nu ma judecati ca nu prea am eu cunostinte cu scripting " acestea sunt cele cu conexiunile: #define mysql_host "127.0.0.1" #define mysql_user "root" #define mysql_password "1234" #define mysql_database "w3op" CREATE DATABASE IF NOT EXISTS `w3op` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci; USE `w3op`; [16:49:37] [ERROR] CMySQLConnection::Connect - (error #1045) Access denied for user 'root'@'localhost' (using password: NO)" Nu pui nimic la mysql_password daca e tinut in PC si la mysql_host pune "localhost" Quote Ofer servicii de web designer/developer(contact me pentru portofoliu etc) Metode de plata: Paysafecard,Skrill,PayPal,Bitcoin Ofer si servicii de Penetration Testing. Vand si VPN-uri. 5 euro pe luna Skype: live:mrtunne.tkcode Discord: https://mrtunne.info/discord Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.