Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Fix] Play Xnova in Internet Explorer/Opera

Status
Not open for further replies.
Newbie Spellweaver
Joined
Aug 13, 2006
Messages
47
Reaction score
1
Well its a so simple fix XD (Credits to the XNova Team)

For those who didnt fixed it already ;P

It allow you to play in the browser Internet Explorer and (dunno about the rest of browsers coz i only use those and they are the most popular browsers beside FireFox) because before the frames.php was not loading correctly, it just did stay in a blank window after u logged...

(There is an IE Fix (to replace the skins/xnova/formate.css) but that fix the skin so u need change in every skin or so o.o anyways if u use the fix of this thread it doesnt fix the size, etc only allow u to see the frames XD)

Just move the line 36:
$page .= "<body>";
to the line 40.
after the line:
$page .= "<noframes>";

so it will be something like this:

Code:
<?php

/**
 * frames.php
 *
 * @version 1.0
 * @copyright 2008 by e-Zobar for XNova
 */

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

$InLogin = false;

$XNova_Host    = $_SERVER['HTTP_HOST'];
$XNova_Script  = $_SERVER['SCRIPT_NAME'];
$Uri_Array     = explode ('/', $XNova_Script);
// Transfer the script
array_pop($Uri_Array);
$XNova_URI     = implode ('/', $Uri_Array);

$XNovaRootURL  = "http://". $XNova_Host ."/". $XNova_URI ."/";

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

	$page  = "<html>";
	$page .= "<head>";
	$page .= "<meta http-equiv=\"Content-Type\" content=\"text/html;charset=". $langInfos['ENCODING']."\">";
	$page .= "<link rel=\"shortcut icon\" href=\"favicon.ico\">";
	$page .= "<title>". $game_config['game_name'] ."</title>";
	$page .= "</head>";
	$page .= "<frameset framespacing=\"0\" border=\"0\" cols=\"190,*\" frameborder=\"0\">";
	$page .= "<frame name=\"LeftMenu\" target=\"Mainframe\" src=\"leftmenu.php\" noresize scrolling=\"no\" marginwidth=\"0\" marginheight=\"0\">";
	$page .= "<frame name=\"Hauptframe\" src=\"overview.php\">";
	$page .= "<noframes>";
	$page .= "<body>";
	$page .= "<p>". $lang['NoFrames']."</p>";
	$page .= "</noframes>";
	$page .= "</frameset>";
        $page .= "</body>";
	$page .= "</html>";

	echo $page;

// -----------------------------------------------------------------------------------------------------------
// History version
// 1.0 - Euuhh ... I do not know any more ...
?>

Well here the fixed frames.php for the ppl who didnt modified the default xnova 8.0 frames.php and are lazy to edit XD.
Download from one of the next mirrors: |

PS:
if you see the text fonts too small, opacity too low, etc in the default xnova skin recommend u download the formate.css from the thread: http://forum.ragezone.com/showthread.php?t=406894 to replace the skins/xnova/formate.css
 
Last edited:
Mythic Archon
Loyal Member
Joined
Oct 31, 2007
Messages
762
Reaction score
14
Lol, i see nothing wrong as long as there's credits :)

And pls dont fight, we're a very very little part of rz, and we dont want to split up and die out, do we ? :p
 
Status
Not open for further replies.
Back
Top