gg_winner_display

Area to post and download Custom Addons, as well as ask the author/users for help or support.

gg_winner_display

Postby Warren on Fri Jan 22, 2010 9:31 pm

gg_winner_display

Description:
When someone wins the game, a MOTD window pops up containing information about the winner.

Image

Installation:
  • Extract this file to your server
  • Restart your server or reload GunGame
  • Edit the newly appeared ../cfg/gungame51/custom_addon_configs/gg_winner_display.cfg
  • Restart your server, reload GunGame, or run rcon gg_winner_display 0 then rcon gg_winner_display 1

      Customize **NOT REQUIRED** (host on your own web server):
        If you wish to adjust the layout of the page, you can host it on your own website. Save this code as gg5_win.php and adjust it to your likings:
        <html>
        <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>GunGame Winner</title>
        <style type="text/css">
        body {
            background:#CCCCCC;
            font-family:Verdana,Tahoma;
            color:#000000;
            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.gungame5.com/images/gungame5_logo.png">&nbsp;&nbsp;</td><td>
        <b><?php print ($_GET["winnerName"]); ?></b> Won!<hr><br />
        <b><?php print ($_GET["winnerName"]); ?></b> won the game by killing <b><?php print ($_GET["loserName"]); ?></b><br /><br />
        <b>Stats:</b><br />
        Wins: <b><?php print ($_GET["wins"]); ?></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://gungame5.com">http://www.gungame5.com</a></td></tr></table></td></tr></table>
        </body>
        </html>

        Also, you will need to edit gg_winner_display_page located in cfg/gungame51/custom_addon_configs/gg_winner_display.cfg

Servers running this addon:
http://www.game-monitor.com/search.php? ... e=variable

gg_winner_display.zip
(3.27 KiB) Downloaded 462 times
Warren

Site Admin
Site Admin
 
Posts: 735
Joined: Fri Sep 05, 2008 2:59 am
Location: Boston, MA
Xfire Name: WMA9000

Re: gg_winner_display

Postby candyland on Wed Apr 07, 2010 10:37 pm

Why when I install this and leave it stock it dont work for me?. have any idea? nothing pops up at end of map change just the score board. Did i for get to install somehting that would support it with GG 5.1?

Thanks CandyLand
candyland

Recruit
Recruit
 
Posts: 3
Joined: Sun Mar 28, 2010 10:35 pm

Postby candyland on Wed Apr 07, 2010 11:07 pm

never mind i got it to work thanks

candyland
candyland

Recruit
Recruit
 
Posts: 3
Joined: Sun Mar 28, 2010 10:35 pm

Re: gg_winner_display

Postby KeNSHiN on Mon Apr 19, 2010 10:02 pm

candyland wrote:never mind i got it to work thanks

candyland
candyland wrote:never mind i got it to work thanks

candyland

Could you please tell me what you exactly did to fix the problem?
KeNSHiN

Recruit
Recruit
 
Posts: 4
Joined: Mon Apr 19, 2010 9:51 pm
Steam Friends Name: morion21
Xfire Name: /

Re: gg_winner_display

Postby Warren on Mon Apr 19, 2010 10:19 pm

KeNSHiN wrote:Could you please tell me what you exactly did to fix the problem?

Did you follow the installation instructions in the first post? Are you running GunGame5.1? What's your server's IP?
Warren

Site Admin
Site Admin
 
Posts: 735
Joined: Fri Sep 05, 2008 2:59 am
Location: Boston, MA
Xfire Name: WMA9000

Re: gg_winner_display

Postby KeNSHiN on Tue Apr 20, 2010 1:57 pm

Warren wrote:Did you follow the installation instructions in the first post? Are you running GunGame5.1? What's your server's IP?

I Got it to work messed up somewhere in the installation im pretty new with gungame srry :cry: .
I was wondering if it also would be possible to create a top 10 winner display with this ?
Is there a place where i can find the codes voor these sorts of things like for example most nade kills most knive kills etc. ?
thnx allot for wanting to help btw appreciate it.

Greetz.
KeNSHiN
KeNSHiN

Recruit
Recruit
 
Posts: 4
Joined: Mon Apr 19, 2010 9:51 pm
Steam Friends Name: morion21
Xfire Name: /

Postby maccauk on Tue Apr 27, 2010 7:16 am

Is it possible to have the winner come from PsychoStats database or cstrike logs on to the logo ?

Cheerz
Macca
maccauk

Private
Private
User avatar
 
Posts: 61
Joined: Fri Nov 14, 2008 11:01 am
Location: england manchester
Steam Friends Name: macca

Re:

Postby Warren on Wed Apr 28, 2010 5:33 am

maccauk wrote:Is it possible to have the winner come from PsychoStats database or cstrike logs on to the logo ?

Cheerz
Macca

It is possible to pass any text to the PHP file, as long as you can get it within a python script.
Warren

Site Admin
Site Admin
 
Posts: 735
Joined: Fri Sep 05, 2008 2:59 am
Location: Boston, MA
Xfire Name: WMA9000

Postby maccauk on Wed Apr 28, 2010 6:25 pm

lost me only basic stuff i know
maccauk

Private
Private
User avatar
 
Posts: 61
Joined: Fri Nov 14, 2008 11:01 am
Location: england manchester
Steam Friends Name: macca

Re: gg_winner_display

Postby nad on Wed May 05, 2010 3:35 am

is it possible to disable the text written in the middle of the screen that overlaps on top of the html winner display? If you know what im talking about, its an advertisement like white text that displays the winner at the end.
nad

Private
Private
 
Posts: 57
Joined: Thu Oct 08, 2009 3:32 pm
Steam Friends Name: nadroj20



Return to Downloads

Who is online

Users browsing this forum: No registered users and 1 guest