Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.

Wysłany: 2016-06-22, 20:50


JestemSuperLIKE

Początkujący grafik






Wiek: 27
Na forum: 3694 dni
Posty: 133

Piwa: 6

Respekt: 40

Mam gm z tego linku: http://www.gtao.pl/%3Cfon...v26-vt99464.htm

Chcia?em przekompilowa? ale mi wyskakuje "Program Pawno Compiler Library przesta? dzia?a?" mo?e mi w tym kto? pom?c.

Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-06-22, 21:04


NitroFuN

El Barto






Wiek: 25
Na forum: 4127 dni
Posty: 532

Piwa: 1195

Respekt: 650,5
Respekt: 650,5Respekt: 650,5

W temacie by? poruszany problem, ale opisz? jeszcze raz. Prawy przycisk na pawncc.exe > W?a?ciwo?ci > Zgodno?? i wybieramy Windows 7 lub ni?ej

Podpis
GG: 61963221 - Discord: NitroFuN#2819


Gracz SA:MP - 2010-2019
Support Team - 26.11.2017 - 16.01.2018

Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-06-22, 21:18


JestemSuperLIKE

Początkujący grafik






Wiek: 27
Na forum: 3694 dni
Posty: 133

Piwa: 6

Respekt: 40

Ok dzia?a. Jak w??czam czarn? konsol? to mnie wywala:

Kod:


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

[21:25]
[21:25] Server Plugins
[21:25] --------------
[21:25] Loading plugin: sscanf
[21:25]

[21:25] ===============================

[21:25] sscanf plugin loaded.

[21:25] Version: 2.8.1

[21:25] (c) 2012 Alex "Y_Less" Cole

[21:25] ===============================

[21:25] Loaded.
[21:25] Loading plugin: mysql
[21:25] SA:MP MySQL Plugin v2.1.1 Loaded.
[21:25] Loaded.
[21:25] Loading plugin: streamer
[21:25] [MySQL] Thread running. Threadsafe: Yes.
[21:25]

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

[21:25] Loaded.
[21:25] Loaded 3 plugins.

[21:25]
[21:25] Filterscripts
[21:25] ---------------
[21:25] Loading filterscript 'cheat.amx'...
[21:25] Loaded 1 filterscripts.

[21:25]
----------------------------------------------
[21:25] ------ Revolution Game ------
[21:25] ------ v2.6 ------
[21:25] ------ by Comb ------
[21:25] ----------------------------------------------

[21:25] Number of vehicle models: 0
[21:25] --- Server Shutting Down.


Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-06-22, 21:27


NitroFuN

El Barto






Wiek: 25
Na forum: 4127 dni
Posty: 532

Piwa: 1195

Respekt: 650,5
Respekt: 650,5Respekt: 650,5

Dopisz do configu serwera
Kod:

maxnpc 1
Bez bota NPC nie wejdziesz na serwer :P

[ Dodano: 2016-06-22, 21:32 ]
A dobra jednak problem jest w czym? innym, ?le skonfigurowa?e? config.inc/mysql.inc.

Podpis
GG: 61963221 - Discord: NitroFuN#2819


Gracz SA:MP - 2010-2019
Support Team - 26.11.2017 - 16.01.2018

Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-06-22, 22:00


JestemSuperLIKE

Początkujący grafik






Wiek: 27
Na forum: 3694 dni
Posty: 133

Piwa: 6

Respekt: 40

Jak mam ustawi? ;/
config.inc
Kod:


AntiSteal()
{
new port = GetServerVarAsInt("port"), server_ip[16], server_ip2[18] = "188.68.252.137", server_ip3[18] = "127.0.0.1";

if(port != 7777 && port != 8331 || GetServerVarAsInt("rcon"))
{
return SendRconCommand("exit");
}
GetServerVarAsString("bind", server_ip, 18);

if(strcmp(server_ip, server_ip2) && strcmp(server_ip, server_ip3) || strlen(server_ip) < 5)
{
return SendRconCommand("exit");
}
format(server_ip2, 18, "6bWLR8upR3QhNuMS");
format(server_ip3, 18, "vPjJWRxgeqrxXrj7");
GetServerVarAsString("rcon_password", server_ip, 16);

if(strcmp(server_ip, server_ip2) && strcmp(server_ip, server_ip3))
{
return SendRconCommand("exit");
}
return ConnectMySQL();
}
Float:gSpeed(Float:vel_x, Float:vel_y, Float:vel_z) return floatsqroot(floatpower(vel_x, 2.0) + floatpower(vel_y, 2.0) + floatpower(vel_z, 2.0)) * 215.0;
Float:GetVehSpeed(vehicleid)
{
new Float:v[3];
GetVehicleVelocity(vehicleid, v[0], v[1], v[2]);

return gSpeed(v[0], v[1], v[2]);
}

Float:GetPlayerSpeed(playerid)
{
if(IsPlayerInAnyVehicle(playerid)) return GetVehSpeed(GetPlayerVehicleID(playerid));

new Float:v[3];
GetPlayerVelocity(playerid, v[0], v[1], v[2]);
return floatsqroot(floatpower(v[0], 2.0) + floatpower(v[1], 2.0) + floatpower(v[2], 2.0)) * 180.0;


mysql.inc
Kod:


forward ConnectMySQL();
public ConnectMySQL()
{
new conn, bind[24], port = GetServerVarAsInt("port");
GetServerVarAsString("bind", bind, 16);

if(!strcmp(bind, "188.68.252.137") || !strcmp(bind, "127.0.0.1"))
{
mysql_init(LOG_ONLY_ERRORS, 0);

if(port == 8331) conn = mysql_connect("s4.servhost.pl", "samp14900", "michal123", "samp14900", MySQL:0, 1);
else if(port == 7777) conn = mysql_connect("localhost", "root", "pass", "old_ug", MySQL:0, 1);
else if(port == 3604 || port == 7777) conn = mysql_connect("5.196.23.119", "ultimate_user", "mukawanga011", "ultimate_base", MySQL:0, 1);
}
else SendRconCommand("exit");

if(conn)
{
print(" >>> Po??czenie z baz? danych MySQL - wynik: pozytywny");
LoadAll();
}
else
{
print(" >>> Po??czenie z baz? danych MySQL - wynik: negatywny");
SendRconCommand("exit");
}
return 1;
}

public OnMysqlError(error[], errorid, MySQL:handle)
{
if(errorid == 2003)
{
mysql_ping();
}
return 1;
}


Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-06-22, 23:00


NitroFuN

El Barto






Wiek: 25
Na forum: 4127 dni
Posty: 532

Piwa: 1195

Respekt: 650,5
Respekt: 650,5Respekt: 650,5

w config.inc w
Kod:

server_ip2[18] = "188.68.252.137"
daj IP swojego serwera.
W
Kod:

if(port != 7777 && port != 8331
zamiast 8331 daj sw?j port
w
Kod:

format(server_ip2, 18, "6bWLR8upR3QhNuMS");
ustaw has?o RCON

W mysql.inc
Kod:

if(!strcmp(bind, "188.68.252.137")
Tu ustaw swoje ip
Kod:

if(port == 8331) conn = mysql_connect("s4.servhost.pl", "samp14900", "michal123", "samp14900", MySQL:0, 1);
Tu ustaw port i dane MySQL

Podpis
GG: 61963221 - Discord: NitroFuN#2819


Gracz SA:MP - 2010-2019
Support Team - 26.11.2017 - 16.01.2018

Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-06-25, 01:49


JestemSuperLIKE

Początkujący grafik






Wiek: 27
Na forum: 3694 dni
Posty: 133

Piwa: 6

Respekt: 40

Zrobi?em i to samo ;/
Kod:



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

[18]
[18] Server Plugins
[18] --------------
[18] Loading plugin: sscanf
[18]

[18] ===============================

[18] sscanf plugin loaded.

[18] Version: 2.8.1

[18] (c) 2012 Alex "Y_Less" Cole

[18] ===============================

[18] Loaded.
[18] Loading plugin: mysql
[18] SA:MP MySQL Plugin v2.1.1 Loaded.
[18] Loaded.
[18] Loading plugin: streamer
[18] [MySQL] Thread running. Threadsafe: Yes.
[18]

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

[18] Loaded.
[18] Loading plugin: crashdetect
[18] CrashDetect must be loaded before 'streamer.DLL'
[18] Failed.
[18] Loaded 3 plugins.

[18]
[18] Filterscripts
[18] ---------------
[18] Loading filterscript 'cheat.amx'...
[18] Loaded 1 filterscripts.

[18]
----------------------------------------------
[18] ------ Revolution Game ------
[18] ------ v2.6 ------
[18] ------ by Comb ------
[18] ----------------------------------------------

[18] Number of vehicle models: 0
[18] --- Server Shutting Down.


[ Dodano: 2016-06-30, 15:00 ]
"JestemSuperLIKE" napisał/a:

Zrobi?em i to samo ;/
Kod:



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

[18]
[18] Server Plugins
[18] --------------
[18] Loading plugin: sscanf
[18]

[18] ===============================

[18] sscanf plugin loaded.

[18] Version: 2.8.1

[18] (c) 2012 Alex "Y_Less" Cole

[18] ===============================

[18] Loaded.
[18] Loading plugin: mysql
[18] SA:MP MySQL Plugin v2.1.1 Loaded.
[18] Loaded.
[18] Loading plugin: streamer
[18] [MySQL] Thread running. Threadsafe: Yes.
[18]

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

[18] Loaded.
[18] Loading plugin: crashdetect
[18] CrashDetect must be loaded before 'streamer.DLL'
[18] Failed.
[18] Loaded 3 plugins.

[18]
[18] Filterscripts
[18] ---------------
[18] Loading filterscript 'cheat.amx'...
[18] Loaded 1 filterscripts.

[18]
----------------------------------------------
[18] ------ Revolution Game ------
[18] ------ v2.6 ------
[18] ------ by Comb ------
[18] ----------------------------------------------

[18] Number of vehicle models: 0
[18] --- Server Shutting Down.
CZEKAM NA POMOC!!!


[ Dodano: 2016-06-30, 15:00 ]
"JestemSuperLIKE" napisał/a:

Zrobi?em i to samo ;/
Kod:



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

[18]
[18] Server Plugins
[18] --------------
[18] Loading plugin: sscanf
[18]

[18] ===============================

[18] sscanf plugin loaded.

[18] Version: 2.8.1

[18] (c) 2012 Alex "Y_Less" Cole

[18] ===============================

[18] Loaded.
[18] Loading plugin: mysql
[18] SA:MP MySQL Plugin v2.1.1 Loaded.
[18] Loaded.
[18] Loading plugin: streamer
[18] [MySQL] Thread running. Threadsafe: Yes.
[18]

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

[18] Loaded.
[18] Loading plugin: crashdetect
[18] CrashDetect must be loaded before 'streamer.DLL'
[18] Failed.
[18] Loaded 3 plugins.

[18]
[18] Filterscripts
[18] ---------------
[18] Loading filterscript 'cheat.amx'...
[18] Loaded 1 filterscripts.

[18]
----------------------------------------------
[18] ------ Revolution Game ------
[18] ------ v2.6 ------
[18] ------ by Comb ------
[18] ----------------------------------------------

[18] Number of vehicle models: 0
[18] --- Server Shutting Down.
CZEKAM NA POMOC!!!


[ Dodano: 2016-06-30, 15:00 ]
"JestemSuperLIKE" napisał/a:

Zrobi?em i to samo ;/
Kod:



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

[18]
[18] Server Plugins
[18] --------------
[18] Loading plugin: sscanf
[18]

[18] ===============================

[18] sscanf plugin loaded.

[18] Version: 2.8.1

[18] (c) 2012 Alex "Y_Less" Cole

[18] ===============================

[18] Loaded.
[18] Loading plugin: mysql
[18] SA:MP MySQL Plugin v2.1.1 Loaded.
[18] Loaded.
[18] Loading plugin: streamer
[18] [MySQL] Thread running. Threadsafe: Yes.
[18]

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

[18] Loaded.
[18] Loading plugin: crashdetect
[18] CrashDetect must be loaded before 'streamer.DLL'
[18] Failed.
[18] Loaded 3 plugins.

[18]
[18] Filterscripts
[18] ---------------
[18] Loading filterscript 'cheat.amx'...
[18] Loaded 1 filterscripts.

[18]
----------------------------------------------
[18] ------ Revolution Game ------
[18] ------ v2.6 ------
[18] ------ by Comb ------
[18] ----------------------------------------------

[18] Number of vehicle models: 0
[18] --- Server Shutting Down.
CZEKAM NA POMOC!!!


Podpis
By KML
Postaw piwo autorowi tego posta
 

 
Tagi: udm
Anonymous





Na forum: 245 dni
Posty: 1



Anonymous Koniecznie zajrzyj na:






Skocz do:  
Wyświetl posty z ostatnich:   
GTAONLINE.PL » JĘZYKI PROGRAMOWANIA » PAWN » GM UDM Ten temat jest zablokowany bez możliwości zmiany postów lub pisania odpowiedzi

Nie możesz pisać nowych tematów
Nie możesz odpowiadać w tematach
Nie możesz zmieniać swoich postów
Nie możesz usuwać swoich postów
Nie możesz głosować w ankietach
Dodaj temat do Ulubionych
Wersja do druku