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!

Premium Mod

Status
Not open for further replies.
Newbie Spellweaver
Joined
Sep 6, 2008
Messages
9
Reaction score
1
i have found this in my current ogame version; i don't know where are they from.

Download:
Extract first all files form the download in the right folders

1. Make a Sql order in your Datebase

Code:
ALTER TABLE `game_users` ADD `premium_activate` INT( 11 ) NOT NULL ,
ADD `premium_date` VARCHAR( 32 ) NOT NULL DEFAULT '0',
ADD `premium_anzahl` INT( 11 ) NOT NULL ;

2. Now insert in all sites who will be onley for Premium Members
after:
Code:
include($ugamela_root_path . 'common.'.$phpEx);
this:
Code:
if($user['premium_activate'] == '1'){
and on the end
befor:
Code:
?>
this:
Code:
}else{
message ('MESSAGE! MESSAGE! MESSAGE! MESSAGE!'  , 'ERROR');}

Current is in German
Translate it if you need!
Have Fun

~Aviran
Delete Post if one exist allready
 
Last edited:
Skilled Illusionist
Joined
Oct 28, 2008
Messages
379
Reaction score
47
If you don't know wich version it is, could you upload it ?
 
Newbie Spellweaver
Joined
Sep 6, 2008
Messages
9
Reaction score
1
what did you mean?
the downloadlink is already there (look first post)
 
Skilled Illusionist
Joined
Oct 28, 2008
Messages
379
Reaction score
47
No the link of your source, your source isn't 14kb (or something like that) big?
I'll look wich version it is ;D
 
Joined
Jan 1, 2009
Messages
384
Reaction score
20
You should have made a guide , for example:
If you want to make a member premium then you need to go to the prefix_users database ( prefix beeing the name you choose.. in your case is game) search for the member you want to make premium , go to the premium_activate columns and write the number 1. Also if you use xnova not ugamela you may need to search include($xnova_root_path . 'common.'.$phpEx); instead of include($ugamela_root_path . 'common.'.$phpEx);
 
Skilled Illusionist
Joined
Oct 28, 2008
Messages
379
Reaction score
47
but some versions of xnova have same root path
 
Skilled Illusionist
Joined
Oct 28, 2008
Messages
379
Reaction score
47
ok, ill do that next time, thx for advise :)
 
Status
Not open for further replies.
Back
Top