vCity

Online Browser Game Platform


vCity is an online browser game platform that is developed with the latest web technologies. vCity is multifunctional game script that will help you to create your own online browser game to your liking, because it has many options and settings by which to modify and create your desired browser game.

vCity is an online browser game platform that is developed with the latest web technologies. vCity is multifunctional game script that will help you to create your own online browser game to your liking, because it has many options and settings by which to modify and create your desired browser game.

vCity can be easily customized to fit your needs and will help you to create the most respected virtual life game in the world.

Also one of the important features of vCity is that you can earn real money through the integrated paid services in the game – just invest as purchasing it here and create your own game from which you can make real money.

In the game players receive a free home and character to be able to start their virtual life in the game. Players can buy vehicles, properties, items, homes, garages, hangars, quays, pets and many other things to improve their respect. Players have the opportunity to go to work, school, gym, hospital and other places in the game to earn extra money, gold, experience and other bonuses with which to upgrade their character.

vCity is text-based RPG (MMORPG) online web browser game php script.

and many more...
  1. Upload the files from the "Source" folder of the script on your host
  2. Create a MySQL database (Your hosting provider can assist)
  3. Open and configure the "config.php" file as you fill the empty database variables
  4. Import the database file (SQL/Database SQL.sql) via PHPMyAdmin into the database (Your hosting provider can assist)
  5. Add ReCaptcha v2 keys on the Settings page of the Admin Panel

The default login details are: admin & admin [Username & Password]


(Click on selected image to view it in full size)



Note: If you are updating the script and your currently installed version is 2.2.x just replace all files except config.php. Open the config.php file and replace $connect with $mysqli.
Run the following SQL queries via PHPMyAdmin:
ALTER TABLE `settings` ADD `default_themeid` int(11) NOT NULL DEFAULT 1;

v2.5 update queries:

ALTER TABLE `settings` ADD `fight_race_win_money` int(11) NOT NULL DEFAULT 500;
ALTER TABLE `settings` ADD `fight_race_win_gold` int(11) NOT NULL DEFAULT 2;
ALTER TABLE `settings` ADD `fight_race_lose_money` int(11) NOT NULL DEFAULT 250;
ALTER TABLE `settings` ADD `max_power` int(11) NOT NULL DEFAULT 250;
ALTER TABLE `settings` ADD `max_agility` int(11) NOT NULL DEFAULT 250;
ALTER TABLE `settings` ADD `max_endurance` int(11) NOT NULL DEFAULT 250;
ALTER TABLE `settings` ADD `max_intelligence` int(11) NOT NULL DEFAULT 250;

v2.6 update queries:

ALTER TABLE `players` ADD `daily_bonus` VARCHAR(255) NULL DEFAULT NULL;
ALTER TABLE `settings` ADD `dailybonus_money` INT(11) NOT NULL DEFAULT '500' AFTER `max_intelligence`, ADD `dailybonus_gold` INT(11) NOT NULL DEFAULT '1' AFTER `dailybonus_money`;

v2.7 update queries:

ALTER TABLE `settings` ADD `system_email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'vcity@mail.com' AFTER `paypal_email`;
DELETE FROM themes WHERE name = 'Darkly';

Instructions:

https://developer.paypal.com/docs/api-basics/notifications/ipn/IPNSetup/#setting-up-ipn-notifications-on-paypal

Example Callback URL:

https://yoursite.com/paypal-ipn.php

The Site Key and Secret Key can be generated on this page: https://www.google.com/recaptcha/admin/create

Choose reCAPTCHA v2 -> “I’m not a robot” Checkbox. Then fill the other details and submit the form.


Finally the needed Keys can be found on this page:

Put the generated keys in the related fields on the Game Settings page of the Admin Panel.

You will need the following:

Follow the below steps to create a Facebook App and generate App ID & App Secret.

  • Go to the Facebook for Developers page and login with your Facebook account.
  • At the right corner of the top navigation bar, click the My Apps link and select Add New App.
    • Enter the Display Name and Contact Email.
    • Click the Create App ID button.
    • The new App will be created and redirected to the Facebook App Dashboard.
  • Navigate to the Settings » Basic page.
    • In App Domains field, specify the domain name of your website (Example: yourwebsite.com).
    • In Privacy Policy URL field, specify the privacy policy web page URL for login dialog (Example: https://www.yourwebsite.com/privacy-policy/)
    • Select the Category of your App.
    • Click the Save Changes button.
  • At the left navigation menu panel, click the PRODUCTS(+) link and navigate to the Add a Product page.
    • Select Facebook Login product and click the Set Up.
    • Select Web as the App platform.
    • Enter the Site URL (Example: https://www.yourwebsite.com).
    • Click the Save button.
  • Navigate to the Facebook Login » Settings page.
    • Go to the Client OAuth Settings section. In the Valid OAuth Redirect URIs field, specify the Redirect URL of your OAuth application (Example: https://www.yourwebsite.com/index.php).
    • Click the Save Changes.
  • Change App Status:
    • By default, the App will be In Development mode. To change the App status in Live, click the toggle switch at the top header.
    • On click the Status On/OFF switch, a confirmation dialog will appear. Confirm to make your app public.

Navigate to the Settings » Basic page, copy the App ID and App Secret. This App ID and App secret are required to access the Facebook APIs.

Note: The URL specified in Valid OAuth Redirect URIs must be matched with the Redirect URL specified in the script.

Finally copy the generated App ID and App Secret codes (keys), open the config.php file and fill the rows 9, 10 & 11 with the generated app keys and redirect URL.

Used resources: