Page 1 of 1

Help for gg_winner_display

PostPosted: Thu Aug 04, 2011 12:04 am
by TheGreatWarrior
Hi,

I have a problem with gg_winner_display... I think this is a mistake on my part :(

When i write : gg_winner_display_page "http://gungame.net/gg5_win.php"

Inside

gg_winner_display.cfg

all is ok , the MOTD is comming with all informations for Winner

BUT

When i use my custom gg5_win.php hosted on my private web site :

gg_winner_display_page "http://clan-mnd.com/gg5_win.php"

The MOTD is comming well... but without informations...as if the server does not transmit information to the file gg5_win.php

which file should I edit to make it work ?



My source code :




<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>GunGame Winner</title>
<style type="text/css">
body {
background:#BAB243;
font-family:Verdana,Tahoma;
color:#A0090C;
vertical-align:middle;
}
</style>
</head>
<body>
<table height="100%" topmargin="0" bottommargin="0" align="center" cellpadding="0" cellspacing="0">
<tr align="center" valign="middle">
<td valign="middle">
<table><tr><td>
<img src="http://www.clan-mnd.com/images/ggos.png">&nbsp;&nbsp;</td><td>
<b><br />
</b> Won!<hr><br />
<b><br />
</b> won the game by killing <b><br />
</b><br /><br />
<b>Stats:</b><br />
Wins: <b><br />
</b><br />
Place: <b><br />
</b> of <b><br />
</b></td></tr><tr><td colspan="2" align="center"><br><br>Powered by <a
href="http://clan-mnd.com">The Great Warrior</a></td></tr></table></td></tr></table>
</body>
</html>







My server Run : Mani Admin Plugin v1.2.22.6, MetaMod:Source v1.8.7V, EventScripts v2.1.1.370, SourceMod v1.3.9-dev, EsTool ok


j've followed the tutorial :

http://gungame.net/viewtopic.php?f=74&p=8632



Thanks for Helping :)

PostPosted: Thu Aug 04, 2011 1:25 am
by daggerclan
Remove ESTools. It doesn't work on the orangebox engine.

PostPosted: Thu Aug 04, 2011 6:20 am
by TheGreatWarrior
The probleme already exist...

i m testing the gungame without EST...


Are you sure about It doesn't work on the orangebox engine ?

I use this version :

http://addons.eventscripts.com/addons/view/est4css

isnt it good ?

PostPosted: Thu Aug 04, 2011 11:30 am
by tnarocks
nope es tools no longer works since they went to orangebox. to run gg you need es,and either mani or sm and spe to load gg.

PostPosted: Thu Aug 04, 2011 2:45 pm
by TheGreatWarrior
yes i know :) ll is right for me, my gungame works very very well but without my custom MOTD.

You think it dont work a cause of ES-Tools seriousely ?

PostPosted: Thu Aug 04, 2011 3:20 pm
by daggerclan
No, you are not running ESTools. You're running the replacement for ESTools which is fine.

The problem with your winner display is that your missing some PHP Print commands.

Try this:

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>GunGame Winner</title>
<style type="text/css">
body {
 background:#BAB243;
 font-family:Verdana,Tahoma;
 color:#A0090C;
 vertical-align:middle;
}
</style>
</head>
<body>
<table height="100%" topmargin="0" bottommargin="0" align="center" cellpadding="0" cellspacing="0">
<tr align="center" valign="middle">
<td valign="middle">
<table><tr><td>
<img src="http://www.clan-mnd.com/images/ggos.png">&nbsp;&nbsp;</td><td>
<b><br />
<b><?php print ($_GET["winnerName"]); ?></b> won the game by killing <b><?php print ($_GET["loserName"]); ?></b><br /><br />
</b><br /><br />
<b>Stats:</b><br />
Wins: <b><?php print ($_GET["wins"]); ?></b><br />
</b><br />
Place: <b><?php print ($_GET["place"]); ?></b> of <b><?php print ($_GET["totalPlaces"]); ?></b></td></tr><tr><td colspan="2" align="center"><br><br>Powered by <a
href="http://clan-mnd.com">The Great Warrior</a></td></tr></table></td></tr></table>
</body>
</html>

PostPosted: Thu Aug 04, 2011 5:23 pm
by TheGreatWarrior
OMG its working !

I hosted "gg5_win.php" on another web site ("http://mnd.speed-serv.fr/gg5_win.php") and its so good !!! :D


Thank you very much :)

PostPosted: Thu Aug 04, 2011 9:39 pm
by daggerclan
Glad it's working for you.