Jump to content

Metin2FW


ionutxp

Recommended Posts

What is Metin2Framework ?
- It's an old project (metin2 homepage) made 2 years ago, when I started learning OOP.
- Has all features from the official with the old design.
- Is mature and stable
- It's in Romanian for the moment
 
TODO:
- Rewrite the site using modern code practices.
  - Remove garbage mysql_* functions
  - Add full MVC support
  - Remove noobish code
- Split the code in modules
- Improve theme system
- Implement a plugin system
- Add multi-language support
 
This homepage was tested on production env for my server and many other romanian servers, meaning
that all security bugs founded were fixed.
Soon i'll post a live demo.
 
How to install:
1. Drop the files in a directory
2. Edit the .htaccess Change "RewriteBase /" to "RewriteBase /metin2" if you put the files in a subdir or leave as it is if you don't.
3. Edit application/config/config.php & application/config/database.php & application/config/email.php
4. Change account table structure:
CREATE TABLE IF NOT EXISTS `account` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `login` varchar(30) NOT NULL DEFAULT '',
  `password` varchar(45) NOT NULL DEFAULT '',
  `social_id` varchar(7) NOT NULL DEFAULT '',
  `email` varchar(64) NOT NULL DEFAULT '',
  `create_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `is_testor` tinyint(1) NOT NULL DEFAULT '0',
  `status` varchar(8) NOT NULL DEFAULT 'OK',
  `availDt` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `mileage` int(11) NOT NULL DEFAULT '0',
  `gold_expire` datetime NOT NULL DEFAULT '2012-01-01 00:00:00',
  `silver_expire` datetime NOT NULL DEFAULT '2012-01-01 00:00:00',
  `safebox_expire` datetime NOT NULL DEFAULT '2012-01-01 00:00:00',
  `autoloot_expire` datetime NOT NULL DEFAULT '2012-01-01 00:00:00',
  `fish_mind_expire` datetime NOT NULL DEFAULT '2012-01-01 00:00:00',
  `marriage_fast_expire` datetime NOT NULL DEFAULT '2012-01-01 00:00:00',
  `money_drop_rate_expire` datetime NOT NULL DEFAULT '2012-01-01 00:00:00',
  `coins` int(11) unsigned NOT NULL DEFAULT '0',
  `jd` int(11) unsigned NOT NULL DEFAULT '0',
  `register_token` varchar(64) NOT NULL,
  `register_expire` int(11) NOT NULL,
  `passlost_token` varchar(64) NOT NULL,
  `socialid_token` varchar(64) NOT NULL,
  `socialid_expire` int(11) unsigned NOT NULL DEFAULT '0',
  `new_email` varchar(64) NOT NULL,
  `email_token` varchar(64) NOT NULL,
  `email_expire` int(11) unsigned NOT NULL DEFAULT '0',
  `email_step` tinyint(2) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `login` (`login`),
  KEY `social_id` (`social_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=big5;
 
Here is a github link if you want to post a issue or send a patch:
This is the hidden content, please
Here is the latest stable build from the master branch:
 
All this, meanwhile I work at metin2cms that will be written in php with Laravel as framework.
 
  • Love 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.