Username:    Password:        Click Here To Signup     Forgotten Password
Main Menu
Online
Members: 0

Guests: 13

112.111.x.x forum
117.26.x.x news
175.42.x.x forum
175.44.x.x forum
178.255.x.x content
192.119.x.x news
198.56.x.x forum
220.160.x.x comment
220.161.x.x news
23.22.x.x forum
46.48.x.x forum
61.241.x.x forum
95.112.x.x comment

Last Seen

Zipps Thu 04:14
xiagang Thu 03:36
ksjd Wed 23:03
Dodgeitorelse Wed 20:01
qwas Wed 19:14

Newest Members

Forums
Richard Perry - GreyCube.com :: Forums :: Live Game Server List
Go to page   <<        >>     
Cool: Dynamic Server Image for LGSL
Djakonda
Sat Mar 13 2010, 08:59AM
Posts: 19
Joined: Thu Mar 11 2010, 02:59PM
Registered Member #5868
Demonik wrote ...

ver nice makz :d
Djakonda : Speak frekin english ! its an english forum !


Я не говорю по английски! Если тебе нужно то говори на Русском!
Я не виноват, что вы не понимаете русский.
Я благодарен, что администрация понимает русский язык! И старается обеспечить поддержку на разных языках!
Огромное им спасибо, от всего сердца...

Website
MadMakz
Sat Mar 13 2010, 09:16AM

Posts: 154
Joined: Wed Sep 24 2008, 07:46AM
Registered Member #4406
Djakonda wrote ...

Demonik wrote ...

ver nice makz :d
Djakonda : Speak frekin english ! its an english forum !


Я не говорю по английски! Если тебе нужно то говори на Русском!
Я не виноват, что вы не понимаете русский.
Я благодарен, что администрация понимает русский язык! И старается обеспечить поддержку на разных языках!
Огромное им спасибо, от всего сердца...

i told you already, that even if translators are mostly bad it helps non russian people to get started.
thise is the last time i´m translating that on myself, if you have further questions shot your message through google translate first. since i do the same effort all the time so you can follow it better than nothing. otherwise don´t be surprised if no one is trying to help you, or have to wait untill a russian mate is comming along. thanks.

wrote ...
Я уже сказал вам, что даже если переводчики в основном плохо помогает, не русскому народу, чтобы начать.
thise последнее время я переводить, что на себя, если у Вас есть дополнительные вопросы выстрелил ваши сообщения через Google Translate в первую очередь. поскольку я все же усилия, время, чтобы вы могли следить лучше, чем ничего. В противном случае не удивляйтесь, если никто не пытается вам помочь, или нужно ждать, пока русский Мать идет вперед. спасибо.



SpiffyTek
Website
Djakonda
Sat Mar 13 2010, 11:14AM
Posts: 19
Joined: Thu Mar 11 2010, 02:59PM
Registered Member #5868
MadMakz I have understood you =)...
Thanks for дополние in a plug-in (2x bbCode, 1x HTML).

Here still a problem, I make change in the form of Russian translation in a file "gsl_details.php" and "lgsl_config.php" accordingly I keep these files in a format utf-8 for display of Russian font.
Then banners cease to be displayed. In what there can be a reason? Also what will be if in a file ".htaccess" to add a line " AddDefaultCharset utf-8 " ??? Whether it Will affect on work ability of a plug-in?

Forgive for English, it is translated Im'translator 3.3.3

Website
Flesh
Sat Mar 13 2010, 11:17AM

Posts: 63
Joined: Mon Oct 19 2009, 07:16AM
Registered Member #5495
Djakonda
Вот правильный код
Извини что тогда дал плохой
$output .= "<div align=\"center\"><img src='http://".$_SERVER['HTTP_HOST'].rtrim(dirname($_SERVER[PHP_SELF]),'/\\')."/lgsl_files/lgsl_image.php?s={$server['o']['id']}&type=normal'></img>
       <div><b>HTML-код:</b></div> 
       <div><textarea cols=\"70\" rows=\"2\">&lt;a href="http://".$_SERVER['HTTP_HOST'].rtrim(dirname($_SERVER[PHP_SELF]),'/\\')."/index.php?s={$server['o']['id']}" target="_blank"&gt;&lt;img src="http://".$_SERVER['HTTP_HOST'].rtrim(dirname($_SERVER[PHP_SELF]),'/\\')."/lgsl_files/lgsl_image.php?s={$server['o']['id']}&type=normal" /&gt;&lt;/a&gt;</textarea></div> 
       <div><b>BB-код:</b></div> 
       <div><textarea cols=\"70\" rows=\"2\">[url=http://".$_SERVER['HTTP_HOST'].rtrim(dirname($_SERVER[PHP_SELF]),'/\\')."/index.php?s={$server['o']['id']}][img]http://".$_SERVER['HTTP_HOST'].rtrim(dirname($_SERVER[PHP_SELF]),'/\\')."/lgsl_files/lgsl_image.php?s={$server['o']['id']}&type=normal[/img][/url]</textarea></div><br>";


Website
Djakonda
Sat Mar 13 2010, 12:35PM
Posts: 19
Joined: Thu Mar 11 2010, 02:59PM
Registered Member #5868
Flesh ты из России? Давай поболтаем мой Skype: djakonda..



Website
Djakonda
Sun Mar 14 2010, 05:37AM
Posts: 19
Joined: Thu Mar 11 2010, 02:59PM
Registered Member #5868
Dear managers how to solve a problem with translation of monitoring into Russian?
I translate files ' gsl_details.php ' and ' lgsl_config.php ' and I keep them in a format utf-8 for normal display of Russian font.
But there is a problem, scripts cease to work in the coding utf-8...
What to do? And how to be?
In advance thanks...

Website
MadMakz
Sun Mar 14 2010, 01:29PM

Posts: 154
Joined: Wed Sep 24 2008, 07:46AM
Registered Member #4406
does the banner not show cyrillic chars or the details page?
if it´s not about the banners you may ask in the exiting russian thread. i think you have better chances there to get quicker help and it would keep this thread free from too much offtopic.
if it is about the banners not showing cyrillic chars post or PM me an IP of an server wich does use cyrillic in servername and i´ll have a look or try using unifont or arialuni or a localized font. you can change servername fonts by changeing the $text_font0 entries in lgsl_image.php

SpiffyTek
Website
dcum
Sun Mar 14 2010, 04:01PM
Posts: 14
Joined: Sat Feb 06 2010, 11:31AM
Registered Member #5775
мужики help, пишет изображение не может быть показано, так как содержит ошибки. Извиняюсь если уже обсуждалось.
Website
Flesh
Mon Mar 15 2010, 07:21AM

Posts: 63
Joined: Mon Oct 19 2009, 07:16AM
Registered Member #5495
Какая версия LGSL ?

Website
MadMakz
Mon Mar 15 2010, 08:15AM

Posts: 154
Joined: Wed Sep 24 2008, 07:46AM
Registered Member #4406
dcum wrote ...

мужики help, пишет изображение не может быть показано, так как содержит ошибки. Извиняюсь если уже обсуждалось.

open lgsl_files/lgsl_image.php

find and edit
error_reporting(0);

to
error_reporting("E_ALL");


find
Header("Content-type: image/png");

and comment it
//Header("Content-type: image/png");


find
imagepng($im);

comment it
//imagepng($im);


now open a image directly in browser and you´ll see any error. post the output here or link to that file.

SpiffyTek
Website
dcum
Mon Mar 15 2010, 02:20PM
Posts: 14
Joined: Sat Feb 06 2010, 11:31AM
Registered Member #5775
Flesh wrote ...

Какая версия LGSL ?

5.7
MadMakz wrote ...

now open a image directly in browser and you´ll see any error. post the output here or link to that file.

LGSL PROBLEM: REQUESTED SERVER NOT IN DATABASE: '92.241.176.65 : 27021 : 27021 : 0 : 0 : '
GD есть
Website
MadMakz
Mon Mar 15 2010, 03:16PM

Posts: 154
Joined: Wed Sep 24 2008, 07:46AM
Registered Member #4406
is not an lgsl_image.php problem. it sais that this server does not exist, so make sure you query for a valid server ID.
i actually intended to implent a sort of a proper error message graphic, but it is not possible due the way lgsl is handleing errors in its core, via exit(); code.

SpiffyTek
Website
Djakonda
Mon Mar 15 2010, 08:56PM
Posts: 19
Joined: Thu Mar 11 2010, 02:59PM
Registered Member #5868
Prompt how to change color of a font on a banner, with black on white or orange?

Website
Rich
Mon Mar 15 2010, 09:18PM
Posts: 1700
Joined: Wed Nov 26 2003, 04:30PM

MadMakz wrote ...

i actually intended to implent a sort of a proper error message graphic, but it is not possible due the way lgsl is handleing errors in its core, via exit(); code.


In the code: $lookup = lgsl_lookup_id($_GET['s']);
Will return nothing if the server ID does not exist, so like the lgsl_details.php add:
if (!$lookup) { return graphic with message }
Website
MadMakz
Tue Mar 16 2010, 09:01AM

Posts: 154
Joined: Wed Sep 24 2008, 07:46AM
Registered Member #4406
Rich wrote ...

MadMakz wrote ...

i actually intended to implent a sort of a proper error message graphic, but it is not possible due the way lgsl is handleing errors in its core, via exit(); code.


In the code: $lookup = lgsl_lookup_id($_GET['s']);
Will return nothing if the server ID does not exist, so like the lgsl_details.php add:
if (!$lookup) { return graphic with message }


omg, now i feel stupid :S and while i look at it it´s so clear (mysql_fetch_array) *facepalm*

http://sourcepowered.net/_inc/lgsl/s_localhost_12345.png

Djakonda wrote ...

Prompt how to change color of a font on a banner, with black on white or orange?

change $text_color0 and/or $text_color1.
http://php.net/imagecolorallocate


SpiffyTek
Website
Aerosol
Thu Mar 18 2010, 02:45PM
Posts: 8
Joined: Mon Feb 08 2010, 08:04AM
Registered Member #5782
huhu,

got an question. How to make the Signature of an Server with Password, without the Text with password ?
Website
Djakonda
Tue Mar 23 2010, 03:17PM
Posts: 19
Joined: Thu Mar 11 2010, 02:59PM
Registered Member #5868
Kind time of day of the Lord...
At me have collected still Question's.

1) Prompt please how in general list of monitoring of games to clean all variants of games and to leave only one game steam source?

2) How to replace or add, admissible формать cards in monitoring? That is, all cards go in a format (.png), whether it is possible to add still a format (.gif)???

3) How to make in monitoring a rating of servers?

In advance thanks..

I shall forgive pardons for bad translation on English..

Website
JTRipper
Thu Mar 25 2010, 06:50PM
Posts: 6
Joined: Sat Jun 03 2006, 05:35PM
Registered Member #1515
for the maps & icon do I need the images in folders under images, I cant get to show up
Website
Djakonda
Sun Mar 28 2010, 03:00PM
Posts: 19
Joined: Thu Mar 11 2010, 02:59PM
Registered Member #5868
Kind time of day of the Lord...
At me have collected still Question's.

1) Prompt please how in general list of monitoring of games to clean all variants of games and to leave only one game steam source?

2) How to replace or add, admissible формать cards in monitoring? That is, all cards go in a format (.png), whether it is possible to add still a format (.gif)???

3) How to make in monitoring a rating of servers?

In advance thanks..

I shall forgive pardons for bad translation on English..

Website
MadMakz
Wed Mar 31 2010, 06:38AM

Posts: 154
Joined: Wed Sep 24 2008, 07:46AM
Registered Member #4406
Djakonda wrote ...

Kind time of day of the Lord...
At me have collected still Question's.

1) Prompt please how in general list of monitoring of games to clean all variants of games and to leave only one game steam source?

2) How to replace or add, admissible формать cards in monitoring? That is, all cards go in a format (.png), whether it is possible to add still a format (.gif)???

3) How to make in monitoring a rating of servers?

In advance thanks..

I shall forgive pardons for bad translation on English..

1) i´m not sure but i think this is discussed in another topic already. i hardly understand your question so i´m not exactly sure of what you want :S
2) yes, i will add support for gif, jpeg and png in the next release. however i´m not going to support animated gif´s because i simply see no point of having this.
3) do you mean implenting the rateing result into the image? if so i´d implent it if there´s a proper maintained rating script for LGSL.

for all: the next update for my image script will come along as soon rich releases his new version of LGSL
and will also include caching of images to reduce the load and proper error messages as image, so no longer
LGSL PROBLEM: REQUESTED SERVER NOT IN DATABASE: '92.241.176.65 : 27021 : 27021 : 0 : 0 : '
if the server doesn´t exist in DB.
also, i´m going to replace many of the "if" statements by using the php switch() function.


SpiffyTek
Website
Go to page   <<        >>   

Jump:     Back to top


You are not logged in - Click Here To Signup

Username:    Password:   

Mini Buttons

.... © GreyCube.com - Richard Perry - Powered by e107.org