I am using version 1.2.5
Printable View
Hi.
This may be a silly question, but I am hosting the game and going through all the files fixing things as I go along(well what I can, as I am quite new to this).
In the planet dropdown list in the topnavbar, I want to make the "moon" font in green or lime colour as was in some previous versions of the game. I can not find where to add the font colour. I thought I had it a few times but every time I add it into the code it gives me errors.
Please can someone help me and tell me where to find the correct file to edit and what the text to be added is.
Thanks in advance!
Is there a way to actually get this release without Tachyon Particles?
just remove them from the game, delete all instances in vars, remove from database and remove fro info.mo and tech.mo
This is really the best release ever!
Dark Matter starting amount can be changed by changing the default value of rpg_points in the `users` table of the database... Tachyon Particles have to be removed from a lot of seperate files... basically every file with any resource reference :(: There is no easy way to remove those..
.\includes\functions\ShowTopNavBar.php and
.\templates\OpenGame\topnav.tpl are the files for the header...
Dark Matter income is set in overview.php, but in OasisRage it is designed to be a donation item, so it may not increase the way it does in other releases...
Tachyon Particles are meant to be used for advanced ships and buildings, and I have only added a couple... The next release will include a fixed merchant so you can trade Tachyons for other resources... I am very close to having it ready to post on here... hopefully by Monday :): if not, then by Friday at least :(:
New release will include:
fixed Merchant :P:
Donor Store (to use dark matter for purchases)
fixed Fleet Scrapyard (to trade ships and defenses for resources)
fixed Max Galaxy/System/Planet settings
Adsense Manager (hopefully... if testing goes well)
*optional* Expiring Officers.... :tongue:
we only use the 5 ogame officers but I am sure that this code be converted easily.
for each officers eg rpg_raider you need to create a new row rpg_raider_exp, which should be int 11.
This file is provided as is, so please don't but me about it. It will most likely need editing to work with the Oasis Repack.
Code:<?php
/**
* officier.php
*
* @version 1.1
* @copyright 2008 By Tom1991 for XNova
*/
define('INSIDE' , true);
define('INSTALL' , false);
$xnova_root_path = './';
include($xnova_root_path . 'extension.inc');
include($xnova_root_path . 'common.' . $phpEx);
function ShowOfficierPage ( &$CurrentUser ) {
global $lang, $resource, $reslist, $_GET;
includeLang('officier');
$factor = DARK_MATTER_FACTOR;
//refers,lvl_minier,lvl_raid,off_spent
$CurrentUser['rpg_points'] = (($CurrentUser['refers'] + $CurrentUser['lvl_minier'] + $CurrentUser['lvl_raid']) / $factor);
doquery("UPDATE {{table}} SET `rpg_points` = '".$CurrentUser['rpg_points']."' WHERE `id` = '". $CurrentUser['id'] ."';", 'users');
$offipts = ($CurrentUser['rpg_points'] - $CurrentUser['off_spent']) * $factor;
$av2buy = floor($CurrentUser['rpg_points'] - $CurrentUser['off_spent']);
// Si recrutement d'un officier
if ($_GET['mode'] == 2) {
if ($av2buy >= 1) {
$Selected = idstring($_GET['offi']);
if ( in_array($Selected, $reslist['officier']) ) {
$Result = IsOfficierAccessible ( $CurrentUser, $Selected );
if ( $Result == 1 ) {
$CurrentUser[$resource[$Selected]] += 1;
if($_GET['time'] == "1"){
$CurrentUser[$resource[$Selected]."_exp"] = time() + (60 * 60 * 24 * 7);
$CurrentUser['off_spent'] += 1;
}elseif($_GET['time'] == "2"){
$CurrentUser[$resource[$Selected]."_exp"] = time() + (60 * 60 * 24 * 30 * 3);
$CurrentUser['off_spent'] += 10;
}
$QryUpdateUser = "UPDATE {{table}} SET ";
$QryUpdateUser .= "`off_spent` = '". $CurrentUser['off_spent'] ."', ";
$QryUpdateUser .= "`".$resource[$Selected]."` = '". $CurrentUser[$resource[$Selected]] ."', ";
$QryUpdateUser .= "`".$resource[$Selected]."_exp` = '". $CurrentUser[$resource[$Selected]."_exp"] ."' ";
$QryUpdateUser .= "WHERE ";
$QryUpdateUser .= "`id` = '". $CurrentUser['id'] ."';";
doquery( $QryUpdateUser, 'users' );
$Message = $lang['success'];
} elseif ( $Result == -1 ) {
$Message = $lang['Maxlvl'];
} elseif ( $Result == 0 ) {
$Message = $lang['Noob'];
}
} else {
$Message = $lang['NonExist']." (".$Selected.")";
}
} else {
$Message = $lang['NoPoints'];
}
$MessTPL = gettemplate('message_body');
$parse['title'] = $lang['Officier'];
$parse['mes'] = $Message;
$page = parsetemplate( $MessTPL, $parse);
} else {
// Pas de recrutement d'officier
$PageTPL = gettemplate('officier_body');
$RowsTPL = gettemplate('officier_rows');
$parse['off_points'] = $lang['off_points'];
$parse['alv_points'] = $offipts;
$parse['disp_off_tbl'] = "";
for ( $Officier = 601; $Officier <= 605; $Officier++ ) {
$Result = IsOfficierAccessible ( $CurrentUser, $Officier );
if ( $Result != 0 ) {
$expires = $CurrentUser[$resource[$Officier]."_exp"];
$oneday = (60 * 60 * 24);
$onehour = (60 * 60);
$timeleft = ($expires - time());
if($timeleft > $oneday){
$hiredfor = floor($timeleft / $oneday)." days.";
}elseif($timeleft > $onehour){
$hiredfor = floor($timeleft / $onehour)." hours.";
}else{
$hiredfor = floor($timeleft / 60)." minutes.";
}
$bloc['off_id'] = $Officier;
$bloc['off_tx_lvl'] = $lang['ttle'][$Officier];
if($CurrentUser[$resource[$Officier]] > 0){
$bloc['off_lvl'] = " : ".$lang['hireduntil']." ".$hiredfor;
}else{
$bloc['off_lvl'] = "";
}
$bloc['off_desc'] = $lang['Desc'][$Officier];
if ($Result == 1) {
$bloc['off_link'] = "<a href=\"officier.php?mode=2&time=1&offi=".$Officier."\"><font color=\"#00ff00\">". $lang['link'][1]."</font><br /><br />";
$bloc['off_link'] .= "<a href=\"officier.php?mode=2&time=2&offi=".$Officier."\"><font color=\"#00ff00\">". $lang['link'][2]."</font>";
} else {
$bloc['off_link'] = $lang['Maxlvl'];
}
$parse['disp_off_tbl'] .= parsetemplate( $RowsTPL, $bloc );
}
}
$page = parsetemplate( $PageTPL, $parse);
}
return $page;
}
$page = ShowOfficierPage ( $user );
display($page, $lang['officier']);
// -----------------------------------------------------------------------------------------------------------
// History version
// 1.0 - Version originelle (Tom1991)
// 1.1 - Réécriture Chlorel pour integration complete dans XNova
?>
Thanks :P:
I'll see if that will work with Oasis :D:
I've also removed the chat and used that code to add a shoutbox on the overview screen...
and I've got it working to add an [ADMIN] tag :): I'm so happy that part is finally working :P:
Is it only me or Ranking it's not working on 1.2.5
Nice release
xnova stat update will not work for large amounts of players or high levels of buildings. I completely recoed it for xnova redesigned to make it more efficient.
Basically every level of ever buildings requires a few calculation
So for 1000 players with 10 planets with 10 buildings of level 50 is about 5 mill calculations it has do to.
What happen to the galaxy menu/front page of your older oasis? I rember it haveing more servers and the galaxy menu looked kick ass? D: i wanted it xD
Also got this on Score Board :
Erreur, merci de contacter l'admin. Erreur n�: 22
Thanks =/
I have found a problem, and I am wondering if anyone else has the same problem.
DarkOasis maybe you know what is happening.
When the players on my game go into vacation mode and then come out of vac mode, for some reason they cannot build aything on buildings. Thay can build anything else, like ships and defense also research. So its a very confusing bug.
Please can you help out?
DarkOasis please help :O:
I have a mojor bug in the game. I am useing RO1.2.6
http://i613.photobucket.com/albums/t...eenShot_10.jpg
I built this entire fleet in 10 seconds with about 3 clicks of my mouse, It did not cost me any recourses or anything else, Just got it instantly.
I dont want to post here how I got it unless you ask me to. I can send you a pm if you wish.
But I think it needs to be adressed ASAP.
Thanks.
My System is working fine except of the Officer part of it.
We gotta get all the working scripts together and release a new release.
here is my revision. still needs a lot of cleaning up as i just added the code and uncommented the part that didn't work.
OasisRage v125 r2
http://www.megaupload.com/?f=9SEM6BKB This link is dead.
New Links:
http://www.megaupload.com/?d=1IY1330E
http://www.megaupload.com/?d=4W8NBRFG
dr.egoman what did you put into this? what's the difference between "clean" files of it?
How to completely erase officers from ogame?(to make it less buggy, and more classic)
http://xnovauk.darkevo.org/forum/index.php?topic=85.0
problem has already been fixed.
i know its a stupid question but how to make me an admin in this game ?
got to myphp admin click users click pencil next to your nickname you want to be an admin and make it authority level 3..thats how you make one of your nicknames an administrater... Oh by the way whats up peoples!
dead project
what are the bug fixes.. is acs, rapidfire and the above mentioned problem (solar plant) there
I haven't touched ACS or rapidfire for this release :(:
Solar plant shows up fine on my server, using the exact same files, so I don't know what the issue is with it not showing for ziomek :(:
Other than the stuff listing in the updated first post, bug fixes are all minor fixes and translations that I haven't really kept track of, so I can't list them properly :P:
Other remaining bugs that I am aware of are...
* espionage probes sometimes return double the number when they return to base
* intergalactic research network doesn't work properly (the fix is around here somewhere, I just haven't gotten it in yet :(:)
* something occasionally causes resources to go into negative - I haven't been able to find the cause yet, but that is the bug that I am putting the most time into :P:
* still no ACS... I have partial code for it... just have to get it functional before I add it :(:
Language:
-Solar Plant id is wrong
-Tachyon technologie is in onley in en files
-Administratorrank (4) in system.mo is not there
Images:
-Frighter / Elite Frighter has no Images
-Tachyon Technologies has no Images
-Tachyon buildings has no Images
-World Eater has no Image
-Ressouce in Weeks and Months are not compatible with game speed
Config/Game:
-If i set Ressource Spent on 0 its get a game error
-Missle Attak funktion don't work becouse the game don't found it and messages don't show
-my friend says me tonight that i get 2 moons (don't know if right)
-Ressouces get in negativ
-If you win battles you don't get the ressources
~Aviran
ps. its a nice Package ;), sorry for my bad english
I have a question. How can I add a language? I translated most of the language files into Dutch.
When I select the dutch language, all screens turn white...
if you put the language files into the '/language/de/' directory, you should be able to choose Dutch in the options menu... I think the files that are currently in the /language/de/ directory are actually German :(
if you want to add another language option, it is in options.php (lines 356-365) You can just copy and paste one of the $parse['opt_lst_lang_data'] lines and change it for whichever language you need.
All hello! Assembling simply super :thumbup: . For whom am fashions of officers which can be hired for a time (1 week 1 month 3 months ) and to choose a level (1-...) ? To this assembling very walked up :rolleyes: . I am sorry for my English. Wrote through translator)) :blushing:
I need some help! I'm using orgfree.com and when I upload overview.php to ftp client it just disapears! The rest of the files are there except overview! someone knows why?
It works now thanks =)
darkoasis you are doing an AMAZING job! keep up the awesome work!! ^^
EDIT: how can I change the welcome message? The message that someone receives when registers in the game! I want to change it from RageOnline to my server name
thanks ^^
EDIT2: Nevermind I found it ^^
EDIT3: When someone clicks in lost password, and receives an email with his new password it says: OasisRage: New Password
how do I change it to be SpaceInvaders: New Password?
Very nice work!
I have it set up and it works well. There are a couple bugs but nothing you don't know about. The admin panel is great and its all fairley easy to set up. Congratulations on the project!
P.S, the link for the fix wasn't working for me.
Hello and many thanks for the latest version.
I have a big problem - How can I add a function where users can buy Dark Matter (With SMS, Paypal, Card). Best solutions can be SMS. User send a message and he will receive a code, next will introduce on site and receive a number of Dark Matter. I think this function it`s very important for most of peoples who use this script.
How much will cost? Maybe I can pay for this. I want to translate this script in my language, but I want to know if I can put this function first.
Thanks
hey DarkOasis, man i got everything set up and stuff looks beautiful. im not sure if im running the absolute latest release. i have 2.0a and have done some minor fixing.. some translation stuff and im missing the add_declare.php which i used the template to get around but it looks like crap cause i barely know what im doing.
Awesome stuff though way above what i have seen from the original. i like where this has gone and hope that it continues and gets to full working release. def a +++rep
i have some question
someone is still developing this?
any bugs or errors?
and whats missing?
I am still working on it :P: just not as much as I would like...
There are still a few bugs :(: including the missing ACS and a problem with the fleet functions on the Galaxy page (ships sometimes vanish :(:)
Of course, anyone who wants to contribute their fixes or ideas to be included in the official OasisRage releases is welcome to message me :P:
what files do we need to edit to change game speed..production cost, production times and stuffs
I have a question about the DarkMatter.
If the standard 500DM are used, then i get 5000 DM extra?!?! even more with every click!
How is that possible
@Konink: I think it`s a bug. I turn it off that option from overview.php line 122/123 :
$LvlUpMinier = $user['lvl_minier'] + 1;
$LvlUpRaid = $user['lvl_raid'] + 1;
If some explain what`s happen here, what`s it`s lvlupminier and lvlupraid.
Another problem: How can I add scroll on chat and a function for admin to clear the chat? Please if someone can hlep me with this problem.
Tnx for your reply....gonna have a look at it.
+========EDIT========
I commented out those 2 lines....gonna do a fresh install now and see.
A fix for that bug would be nice! A very good release of this game.
No luck.
After four clicks allready have 20.000 DM :(
and....
I have problem with chat. I need code page windows-1251, how I can do it?
Ok guys, could someone please help me by telling me how to change time of buildings and ships and so on?
If you want the game to go faster, you can change the game speed in the admin menu. If you just want to change building times for a few things, the easiest way is to change the cost in vars.php. You can also change the formula for calculating the building times in GetBuildingTime.php if you want to change the times for a specific type of item.
where i can change start darkmatter?
DM starting amount is set in the database as the rpg_points default value. You can change it with phpMyAdmin.
I have been pretty busy with real life, trying to get bills paid, so I won't be releasing anything new for a while :(:
darkoasis, that do you think about chat? I cannot use russian, only Latin...
your problem is in chat_msg.php, line 26
The default character set for php is latin. There is a way to set it to russian, but I'm not sure how it works. You should be able to find something if you search online for php htmlentities()Code:$msg=htmlentities($v->message);
You can try this:
but make sure you have a backup copy of chat_msg.php because I don't know if that will work :(:Code:$msg=htmlentities($v->message, koi8-ru);
Ok you know the Chat box, is there a way to put it on scrolling cause I missed somethings people have said and so have other people, so if you could tell me how that work could you please tell me.
in overview_body.tpl, line 17:
change it to:Code:<tr><th><div id="shoutbox" style="margin: 5px; vertical-align: text-top; height: 85px; overflow:hidden;"></div></th></tr>
that might do it, but I can't test it right now so I'm not sure :(:Code:<tr><th><div id="shoutbox" style="margin: 5px; vertical-align: text-top; height: 85px; overflow:scroll;"></div></th></tr>
Oasis Thread Clening Up Part 1 - Please Make Clean Posts
[MOD] I'll clean the thread again if you continue to spam or go offtopic[/mod]
Hi! Where I can config construction time?
Thanks.
Hi to all !Thank you for ServerFiles !
1) I would like to change a defaoult Language, how can i do it ?!
2) Not working: Search for a player by IP and Modify access ?!
3) Not working: Change User Password!
Who can help me ?!
Thank you !!
verband.php not work...
I'm about ACS. Do you make it?
verband.php is an unused file from the rageonline files that I started with. I haven't removed it because I'm not sure if there is a reference to it somewhere in the game that I've overlooked, but it shouldn't be causing any problems.
for ACS, I've tried a version of madnessred's ACS script, but I couldn't get it working properly, so I took it out :(:
Bump, This project is death or still being developed ^^ ?
This project is dead because it was so bad.
Besides redesign which is very slow in progress, ( imaginable due to the quality they provide ).
This was the first working and by far best Ogame release out there...
So your statement there is worthless and not supported by facts.
Best you say? Guess you havent read the rest of this forum.
This was and still is crap.
The best is XGProject ;)
And we haven't seen them since recently,
Rather you just shut up since you have no clue what you are talking about.
I think I'm going to have to agree with msmith and yatios here, shadow destroy.
Of all the users and contributors on this forum, msmith, yatios, aropop, adrian401master, madnessred and myself are pretty much THE guys to talk to. And this release is horrible!
If you want a script thats going to be of any use to you, your best bet is the XGProject (currently at v2.91). The Xnova Redesigned Project is still at an early stage, and work on the Xnova Pegasus project is advancing rather slowly right now.
And please... before you go shouting your mouth off, do your research.
How to install this game?????
Please write info! I download and copied my webspace and not work!
don't understand, but why i cant batch sql file? ))
Thanks! :)
Does this has multi universe option.
If not, it should be added ^^.
Exp : 9579212 but dont exchange exp. points for dark mater.
New Mirror Please??
Hello those links are broken here can i find good one´s??tks
I find it on page 7 a new link , tks anyway!!
PLease post another download links... the one above are not working:) thanks