Welcome to RaGEZONE - MMORPG Development Forums (sponsored by tfn.gr) Mark forums read | View Forum Leaders
RaGEZONE - MMORPG Development Forums (sponsored by tfn.gr)

OGame Discuss, [FIX REQUEST] Score board at Server Developments forum; Im using rov11. 1) I set administrator access to my account. Then some days later i created special admin account, ...




Reply
Thread Tools
[FIX REQUEST] Score board
 
 
Member

Rank: Omicron


Reply With Quote
 
Join Date: Jan 2007
Location: Latvia
Posts: 31
11-16-2008, 07:01 PM
 
Im using rov11.
1)
I set administrator access to my account. Then some days later i created special admin account, cus when i set up admin acc, i can get to be showed in score board. So, i remove my admin access but i still dont get showed in score board! Im normal player.
I have Espionage Technology ( Level 26 )
But in score board top is Espionage Technology (18 lvl).
2)
In score board works only Technologies tab. All other tabs is empty. Why?
 
 
permalink
 

RaGEZONE is proudly sponsored by
 
Member

Rank: Omicron


Reply With Quote
 
Join Date: Jan 2007
Location: Latvia
Posts: 31
11-20-2008, 10:23 PM
 
Is there somehing funny? I know, my english is not perfect, but dont be racist!
 
 
permalink
 

 
Member

Rank: Omicron


Reply With Quote
 
Join Date: Jun 2008
Location: England
Posts: 47
11-21-2008, 03:01 AM
 
im not sure what agua was on about but are you sure your scores are calculated as an admin?

Correct me if I'm wrong, i don't use ro11
 
 
permalink
 


 
Member

Rank: Omicron


Reply With Quote
 
Join Date: Jan 2007
Location: Latvia
Posts: 31
11-22-2008, 10:31 PM
 
Yes. I removed admin status from myself! But still nothing from me in score board :/
And i found another bug. In ranking page, when i click PM icon, it sends me to a login page (index?)
 
 
permalink
 

 
Average Member

Rank: Omicron


Reply With Quote
 
Join Date: Jan 2007
Posts: 73
11-28-2008, 07:53 PM
 
The funny thing is "Level 26", I played ogame for over 3 years and nobody had that tech level.
Pd: someone deleted my msg, please dont be gorillas, be cool.
 
 
permalink
 

 
Member

Rank: Omicron


Reply With Quote
 
Join Date: Jan 2007
Location: Latvia
Posts: 31
12-23-2008, 11:55 PM
 
Bump... Un-fixable?
 
 
permalink
 

 
Average Member

Rank: Omicron


Reply With Quote
 
Join Date: Jan 2007
Posts: 73
12-26-2008, 09:08 PM
 
Score updates looks like is very hard to fix anyways the ogame community dont support too much this game. I been looking for a decent ogame code for years but it doesnt exist and that is because out there are a lot, really a lot of good coders and programmers but they dont put interest on ogame all the people continue the primitive steeps from ugamela and xnova plenty of bugs and what you can find are mods, too many people modding but dont create, program or coding, mostly just mod and in that way you will not never can find a decent code.
All the releases availables all over the net are just interesting and curiosity but far away to be a fully functional script.
 
 
permalink
 

 
Member

Rank: Omicron


Reply With Quote
 
Join Date: Jun 2008
Location: England
Posts: 47
12-27-2008, 05:20 PM
 
from what i can see to make a fully working game you have to keep it simple, not only that but taking things from different releases is pretty much the way forward.

Before anyone complains; its not stealing if i credit the original creators.
 
 
permalink
 

 
Average Member

Rank: Omicron


Reply With Quote
 
Join Date: Jan 2007
Posts: 73
12-27-2008, 07:47 PM
 
Quote: Originally Posted by davo savo View Post
from what i can see to make a fully working game you have to keep it simple, not only that but taking things from different releases is pretty much the way forward.

Before anyone complains; its not stealing if i credit the original creators.
Code:
Gameforge
 
 
permalink
 

 
Member

Rank: Omicron


Reply With Quote
 
Join Date: Dec 2008
Posts: 30
01-01-2009, 05:58 PM
 
:D I've finally got the scoreboard working! The default for id_level in the planets table of the db needs to be set to 0 It is initially set yo NULL :(

Ah, that one was so frustrating yet so simple... makes me sad
 
 
permalink
 

 
RaGEZONER

Rank: Omicron


Reply With Quote
 
Join Date: Jan 2009
Location: Romania
Posts: 86
01-01-2009, 06:28 PM
 
Ive done it to but it didnt fixed a thing
 
 
permalink
 

 
Newbie

Rank: Omicron


Reply With Quote
 
Join Date: Oct 2007
Posts: 12
01-08-2009, 02:15 AM
 
This is a working records.php
PHP Code:
        <?php

    define
('INSIDE'  true);
    
define('INSTALL' false);

    
$ugamela_root_path './';
    include(
$ugamela_root_path 'extension.inc');
    include(
$ugamela_root_path 'common.' $phpEx);

       
includeLang('records');

       
$RecordTpl gettemplate('records_body');
       
$HeaderTpl gettemplate('records_section_header');
       
$TableRows gettemplate('records_section_rows');

       
$parse['rec_title'] = $lang['rec_title'];

       
$bloc['section']    = $lang['rec_build'];
       
$bloc['player']     = $lang['rec_playe'];
       
$bloc['level']      = $lang['rec_level'];
       
$parse['building']  = parsetemplate$HeaderTpl$bloc);

       
$bloc['section']    = $lang['rec_specb'];
       
$bloc['player']     = $lang['rec_playe'];
       
$bloc['level']      = $lang['rec_level'];
       
$parse['buildspe']  = parsetemplate$HeaderTpl$bloc);

       
$bloc['section']    = $lang['rec_techn'];
       
$bloc['player']     = $lang['rec_playe'];
       
$bloc['level']      = $lang['rec_level'];
       
$parse['research']  = parsetemplate$HeaderTpl$bloc);

       
$bloc['section']    = $lang['rec_fleet'];
       
$bloc['player']     = $lang['rec_playe'];
       
$bloc['level']      = $lang['rec_nbre'];
       
$parse['fleet']     = parsetemplate$HeaderTpl$bloc);

       
$bloc['section']    = $lang['rec_defes'];
       
$bloc['player']     = $lang['rec_playe'];
       
$bloc['level']      = $lang['rec_nbre'];
       
$parse['defenses']  = parsetemplate$HeaderTpl$bloc);

       if ( 
SHOW_ADMIN_IN_RECORDS == ) {
          
$RecConditionP       " WHERE `id_level` = '0'";
          
$RecConditionU       " WHERE `authlevel` = '0'";
       } else {
          
$RecConditionP       "";
          
$RecConditionU       "";
       }

       foreach(
$lang['tech'] as $Element => $ElementName) {
          if (
$ElementName != "") {
             if (
$resource[$Element] != "") {

                if       (
$Element >=   && $Element <=  39 || $Element == 44) {

                   
$PlanetRow          doquery ("SELECT `id_owner`, `"$resource[$Element] ."` AS `current` FROM {{table}} WHERE `"$resource[$Element]. "` = (SELECT MAX(`"$resource[$Element] ."`) FROM {{table}} );"'planets'true);$UserRow            doquery ("SELECT `username` FROM {{table}} WHERE `id` = '".$PlanetRow['id_owner']."';"'users'true);
                   
$Row['element']     = $ElementName;
                   
$Row['winner']      = ($PlanetRow['current'] != 0) ? $UserRow['username'] : $lang['rec_rien'];
                   
$Row['count']       = ($PlanetRow['current'] != 0) ? pretty_number$PlanetRow['current'] ) : $lang['rec_rien'];
                   
$parse['building'] .= parsetemplate$TableRows$Row);
                } elseif (
$Element >=  41 && $Element <=  99 && $Element != 44) {

                   
$PlanetRow          doquery ("SELECT `id_owner`, `"$resource[$Element] ."` AS `current` FROM {{table}} WHERE `"$resource[$Element]. "` = (SELECT MAX(`"$resource[$Element] ."`) FROM {{table}} );"'planets'true);$UserRow            doquery ("SELECT `username` FROM {{table}} WHERE `id` = '".$PlanetRow['id_owner']."';"'users'true);
                   
$Row['element']     = $ElementName;
                   
$Row['winner']      = ($PlanetRow['current'] != 0) ? $UserRow['username'] : $lang['rec_rien'];
                   
$Row['count']       = ($PlanetRow['current'] != 0) ? pretty_number$PlanetRow['current'] ) : $lang['rec_rien'];
                   
$parse['buildspe'] .= parsetemplate$TableRows$Row);
                } elseif (
$Element >= 101 && $Element <= 199) {

        
$UserRow            doquery ("SELECT `username`, `"$resource[$Element] ."` AS `current` FROM {{table}} WHERE `"$resource[$Element] ."` = (SELECT MAX(`"$resource[$Element] ."`) FROM {{table}} );"'users'true);
                   
$Row['element']     = $ElementName;
                   
$Row['winner']      = ($UserRow['current'] != 0) ? $UserRow['username'] : $lang['rec_rien'];
                   
$Row['count']       = ($UserRow['current'] != 0) ? pretty_number$UserRow['current'] ) : $lang['rec_rien'];
                   
$parse['research'] .= parsetemplate$TableRows$Row);
                } elseif (
$Element >= 201 && $Element <= 399) {

                   
$PlanetRow          doquery ("SELECT `id_owner`, `"$resource[$Element] ."` AS `current` FROM {{table}} WHERE `"$resource[$Element]. "` = (SELECT MAX(`"$resource[$Element] ."`) FROM {{table}} );"'planets'true);$UserRow            doquery ("SELECT `username` FROM {{table}} WHERE `id` = '".$PlanetRow['id_owner']."';"'users'true);
                   
$Row['element']     = $ElementName;
                   
$Row['winner']      = ($PlanetRow['current'] != 0) ? $UserRow['username'] : $lang['rec_rien'];
                   
$Row['count']       = ($PlanetRow['current'] != 0) ? pretty_number$PlanetRow['current'] ) : $lang['rec_rien'];
                   
$parse['fleet']    .= parsetemplate$TableRows$Row);
                } elseif (
$Element >= 401 && $Element <= 599) {

                   
$PlanetRow          doquery ("SELECT `id_owner`, `"$resource[$Element] ."` AS `current` FROM {{table}} WHERE `"$resource[$Element]. "` = (SELECT MAX(`"$resource[$Element] ."`) FROM {{table}} );"'planets'true);$UserRow            doquery ("SELECT `username` FROM {{table}} WHERE `id` = '".$PlanetRow['id_owner']."';"'users'true);
                   
$Row['element']     = $ElementName;
                   
$Row['winner']      = ($PlanetRow['current'] != 0) ? $UserRow['username'] : $lang['rec_rien'];
                   
$Row['count']       = ($PlanetRow['current'] != 0) ? pretty_number$PlanetRow['current'] ) : $lang['rec_rien'];
                   
$parse['defenses'] .= parsetemplate$TableRows$Row);
                }
             }
          }
       }

       
$page parsetemplate$RecordTpl$parse );
       
display($page$lang['rec_title']);


    
?>

Last edited by PDude; 01-08-2009 at 07:18 AM.
 
 
permalink
 

Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT +1. The time now is 01:55 AM.
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RaGEZONE © 2001 - 2008





 
Evade Blackbelt School