Jump to content
MakeWebGames

Recommended Posts

Posted

cityadmin.php

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

createcity.php

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

cron_day.php

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

monorail.php

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

viewmoreinfo.php

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Insert SQL

[mysql]DROP TABLE `cities` ;

CREATE TABLE `cities` (

`cityid` int(11) NOT NULL auto_increment,

`cityname` varchar(255) NOT NULL default '',

`citydesc` longtext NOT NULL,

`cityminlevelon` int(11) NOT NULL,

`cityminlevel` int(11) NOT NULL default '0',

`cityowneron` INT( 11 ) NOT NULL,

`cityowner` INT( 11 ) NOT NULL,

`citymost` INT( 11 ) NOT NULL,

`cityprice` INT( 11 ) NOT NULL,

`citydays` INT( 11 ) NOT NULL,

`citytax` INT( 11 ) NOT NULL,

`citytaxprice` INT( 11 ) NOT NULL,

PRIMARY KEY (`cityid`)

) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ;

INSERT INTO `cities` (`cityid`, `cityname`, `citydesc`, `cityminlevelon`, `cityminlevel`, `cityowneron`, `cityowner`, `citymost`, `cityprice`, `citydays`, `citytax`, `citytaxprice`) VALUES ('1', 'Default City', 'The games default city', '1', '1', '0', '0', '0', '0', '0', '0', '0');

CREATE TABLE `city_friends` (

`friend_ID` INT( 11 ) NOT NULL auto_increment,

`friend_GIVE` INT( 11 ) NOT NULL,

`friend_TAKE` INT( 11 ) NOT NULL,

`friend_ACCEPT` INT( 11 ) NOT NULL,

`friend_MSG` LONGTEXT NOT NULL,

PRIMARY KEY (`friend_ID`)

) TYPE=MYISAM ;

CREATE TABLE `banished_users` (

`ban_ID` int(11) not null auto_increment,

`ban_CITY` int(11) not null,

`ban_USER` int(11) not null,

primary key (`ban_ID`)

) TYPE=MYISAM ;[/mysql]

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Theres a few bugs it won't allow admins to create citys if they bought them :/ the main menu part causes bigger error and stuff :( I know i'm a noob but if someone could help me fix thank you :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...