[POMOC]server log

Započeo Savke_King
10. Jan. 2017.
633
pregleda
5
postova
Savke_King
3
Hustler
10. Jan. 2017.
Skripta koju koristim:UP
Detaljan opis problema:Kada pokrenem server ispisuje gresku u server logu, sve radi normalno ali mi to izbacuje.
Dio skripte😄ole
Neke slike/video za lakse dobivanje pomoci(neobavezno):
[15:31:20]  ======================================== 
[15:31:20]  |                                      |
[15:31:20]  |  Could not connect to update server  |
[15:31:20]  |    at this time, (your code will    |
[15:31:20]  |  still work (response was 003)).    |
[15:31:20]  |                                      |
[15:31:20]  ========================================
GhostPawno
5
OG Legend
10. Jan. 2017.
Pa ako ti radi sve, cepaj zaobidji to
Savke_King
3
Hustler
10. Jan. 2017.
Andrijevicâ„¢ wrote on January 10, 2017, 3:39 pm:
Pa ako ti radi sve, cepaj zaobidji to

A brate ne moze to tako, mora ovo da znaci nesto tipa mozda sporije nesto ucitava
James_SmithXDl
6
OG Legend
10. Jan. 2017.
y_version.inc nađi u \pawno\include\YSI\internal
otvori to i nađi public YVers_Callback i zamijeni ga sa ovim kodom
public YVers_Callback(index, code, data[])
{
print(" ");
if (code == 200)
{
// Got the remote page.
// The first line is the version data version.  This should be forward
// compatible, so new data is always added to the end of the file.
// Skip the first line - contains the response version.
new
pos = strfind(data, "\n") + 1;
if (strcmp(data, YSI_VERSION, false, 9))
{
//data[pos + 9] = '\0';
print(" ========================================== ");
print(" |                                        | ");
printf(" |  A new version (v%.9s) of YSI is  | ", data);
print(" |            available from:            | ");
print(" |                                        | ");
print(" |    www.y-less.com/YSI/YSI_1.0.zip    | ");
//printf("data: %c", data);
if (data == '2')
{
print(" |                                        | ");
print(" | Changelog:                            | ");
// Print the changelog.
new
last = pos + 13;
for ( ; ; )
{
pos = strfind(data, "\n", false);
//printf("%d %d %s", last, pos, data);
if (pos == -1)
{
// To break out in the middle of a loop.
break;
}
pos += last;
data[pos - 1] = '\0';
printf(" | %38s | ", data);
last = pos + 1;
}
}
print(" |                                        | ");
print(" ========================================== ");
}
/* else
{
print(" ====================================== ");
print(" |                                    | ");
print(" |  Congratulations! You are running  | ");
print(" |    the latest version of YSI!    | ");
print(" |                                    | ");
print(" ====================================== ");
} */
}
/*else
{
// Didn't get the remote page.
print(" ======================================= ");
print(" |                                    | ");
print(" |  Error: Could not connect to YSI  | ");
printf(" |  update server (response was %03d).  | ", code);
print(" |                                    | ");
print(" ======================================= "); */
}*/
}
ako ne zelis tako onda samo obrisi zadnja elsea s tim da ostavis 2 zatvorene }
ovo ti ispisuje to je jer ne radi Y_Lessova web stranica (www.y-less.com)
na verziji YSI 3.1 je to popravljeno ne znam koju verziju YSIa koristis al ubaci verziju YSIa 3.1 - to ti predlazem xd 😄
Savke_King
3
Hustler
10. Jan. 2017.
Hv
youngdeal wrote on January 10, 2017, 5:29 pm:
y_version.inc nađi u \pawno\include\YSI\internal
otvori to i nađi public YVers_Callback i zamijeni ga sa ovim kodom
public YVers_Callback(index, code, data[])
{
print(" ");
if (code == 200)
{
// Got the remote page.
// The first line is the version data version.  This should be forward
// compatible, so new data is always added to the end of the file.
// Skip the first line - contains the response version.
new
pos = strfind(data, "\n") + 1;
if (strcmp(data, YSI_VERSION, false, 9))
{
//data[pos + 9] = '\0';
print(" ========================================== ");
print(" |                                        | ");
printf(" |  A new version (v%.9s) of YSI is  | ", data);
print(" |            available from:            | ");
print(" |                                        | ");
print(" |    www.y-less.com/YSI/YSI_1.0.zip    | ");
//printf("data: %c", data);
if (data == '2')
{
print(" |                                        | ");
print(" | Changelog:                            | ");
// Print the changelog.
new
last = pos + 13;
for ( ; ; )
{
pos = strfind(data, "\n", false);
//printf("%d %d %s", last, pos, data);
if (pos == -1)
{
// To break out in the middle of a loop.
break;
}
pos += last;
data[pos - 1] = '\0';
printf(" | %38s | ", data);
last = pos + 1;
}
}
print(" |                                        | ");
print(" ========================================== ");
}
/* else
{
print(" ====================================== ");
print(" |                                    | ");
print(" |  Congratulations! You are running  | ");
print(" |    the latest version of YSI!    | ");
print(" |                                    | ");
print(" ====================================== ");
} */
}
/*else
{
// Didn't get the remote page.
print(" ======================================= ");
print(" |                                    | ");
print(" |  Error: Could not connect to YSI  | ");
printf(" |  update server (response was %03d).  | ", code);
print(" |                                    | ");
print(" ======================================= "); */
}*/
}
ako ne zelis tako onda samo obrisi zadnja elsea s tim da ostavis 2 zatvorene }
ovo ti ispisuje to je jer ne radi Y_Lessova web stranica (www.y-less.com)
na verziji YSI 3.1 je to popravljeno ne znam koju verziju YSIa koristis al ubaci verziju YSIa 3.1 - to ti predlazem xd 😄
Hvala brate radi sve,+ si lepo objasnio

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha