Team BlueWater Game Online Tutorial's
Bine ati venit la Team-BlueWater!!Tutorial's 4 all Games!

MuOnline Browser Based Game

View previous topic View next topic Go down

MuOnline Browser Based Game

Post  Karma on Fri Aug 19, 2011 7:27 am

Este un copy/paste ! dar lam adus si pe aici poate careva vrea sa se distreze cu el si il mai prelucreaza . bafta !!!

Screenshots:
Character creation: [You must be registered and logged in to see this link.]
Inventory/Status: [You must be registered and logged in to see this link.]
Chaos Machine: [You must be registered and logged in to see this link.]
Battle screen: [You must be registered and logged in to see this link.]

Code:
Already implemented game features:
* character creation/deleting (4 main classes are supported);
* drag & drop inventory/equipping items;
* item description on hover;
* dropping jewels on items in inventory (supported: bless, soul, life, harmony, refining stones);
* stats screen with real time calculations of stats depending on equipment;
* working npc: chaos machine, Lahap, Cherry Spirit, Jerridon, Osbourne;
* vault;
* opening/closing personal store;
* market listing all items from personal stores;
* browsing battle maps (currently three maps);
* battles with dynamically loading enemies depending on selected spot;
* item generator (for dropping items from defeated enemies).
* drinking potions and learning skills from inventory.

Tested and supported browsers: Internet Explorer 7/8, Google Chrome 9, Opera 11, Firefox 3, Safari 5.

Programmed in PHP, MySQL, Atentie script !.

Download: [You must be registered and logged in to see this link.] (3.5 MB)

Installation instructions:

Code:
1. create a MySQL database;
2. restore the database structure using muonline.sql backup file;
3. edit database.php file in "upload" folder, inserting data for your server (databse name, server, username, password);
4. upload all files from "upload" folder to your server.
Everybody willing can upload the game to their own server, modify or edit in any way they will find appropriate. I don't work on this project any longer. If somebody will continue developing it, I can suggest adding these features I considered necessary for completing the game: 1) chat; 2) trading; 3) PVP.

Short info on item codes used in the game:

Code:
Example: 1.13.1.0007.00.0.1025.0000.00.0.0.00.00.0.050.050.000000.short_sword

Where (number positions, starting from "0"):
0 - item type;
2,3 - size;
5 - subtype;
7-10 - effect;
12,13 - level;
15 - luck;
17-20 - requirement #1;
21 - should be "!" for 380 items;
22-25 - requirement #2;
27,28 - required class;
30 - skill;
32 - option;
34,35 - excellent (double excellent is reserved but not implemented);
37,38 - harmony option;
40 - guardian option (reserved, not implemented);
42-44 - current durability;
46-48 - maximum durability;
50-55 - reserved for socket options;
57 until end - item name.
If you want to understand how item codes work and should be edited to create new items for drops etc., read carefully "functions.overlib.js"


script db de bagat in query din phpmyadmin !
Code:
/*
SQLyog Community Edition- MySQL GUI v6.03
Host - 5.0.18-nt : Database - muonline
*********************************************************************
Server version : 5.0.18-nt
*/
/*!40101 SET NAMES utf8 */;

/*!40101 SET SQL_MODE=''*/;

create database if not exists `muonline`;

USE `muonline`;

/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;

/*Table structure for table `characters` */

DROP TABLE IF EXISTS `characters`;

CREATE TABLE `characters` (
  `id` int(11) NOT NULL auto_increment,
  `owner` int(11) default NULL,
  `name` varchar(20) character set utf8 collate utf8_bin default NULL,
  `class` int(11) default NULL,
  `level` int(11) default NULL,
  `strength` int(11) default NULL,
  `agility` int(11) default NULL,
  `stamina` int(11) default NULL,
  `energy` int(11) default NULL,
  `points` int(11) default NULL,
  `fruits` int(11) default NULL,
  `skills` mediumtext character set utf8 collate utf8_bin,
  `experience` int(25) default NULL,
  `hp_cur` int(11) default NULL,
  `mp_cur` int(11) default NULL,
  `inventory` mediumtext character set utf8 collate utf8_bin,
  `equipment` mediumtext character set utf8 collate utf8_bin,
  `monsters` int(11) default NULL,
  PRIMARY KEY  (`id`),
  UNIQUE KEY `id` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

/*Table structure for table `market` */

DROP TABLE IF EXISTS `market`;

CREATE TABLE `market` (
  `id` int(11) unsigned NOT NULL auto_increment,
  `item_code` varchar(256) default NULL,
  `owner_id` int(11) default NULL,
  `pstore_id` int(11) default NULL,
  `start_time` int(11) default NULL,
  `item_type` varchar(3) default NULL,
  `item_excellent` int(3) default NULL,
  `req_class` int(3) default NULL,
  `item_name` varchar(256) default NULL,
  `price` int(11) default NULL,
  PRIMARY KEY  (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

/*Table structure for table `users` */

DROP TABLE IF EXISTS `users`;

CREATE TABLE `users` (
  `id` int(11) unsigned NOT NULL auto_increment,
  `ip` varchar(20) default NULL,
  `regtime` int(11) unsigned default NULL,
  `username` varchar(30) default NULL,
  `password` varchar(40) default NULL,
  `email` varchar(255) default NULL,
  `lastvisit` int(11) unsigned default NULL,
  `active_char` varchar(11) default 'av1',
  `zen` int(11) unsigned default NULL,
  `pstore_open` int(11) unsigned default '0',
  `pstore_open_time` int(11) default NULL,
  `pstore` mediumtext,
  `npc32_kind` varchar(30) default NULL,
  `npc32` mediumtext,
  `vault` mediumtext,
  PRIMARY KEY  (`id`),
  UNIQUE KEY `id` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;

Credits: Batanaka [ RageZone ]

TEST SERVER FOR STARMEDIA : [You must be registered and logged in to see this link.]

_________________
[You must be registered and logged in to see this image.]
avatar
Karma
Admin
Admin

Mesaje : 1092
Data de inscriere : 2011-04-22
Varsta : 26
Localizare : Craiova

View user profile http://team-bluewater.forumz.ro

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum