Author Topic: Unity3d mobile city of light Client+Server source  (Read 360 times)

Mystera

  • Overlord
  • Prestigious
  • *****
  • Posts: 170
  • Rep: +9/-0
Unity3d version: 4.6 above

Link:
页面不存在

Password: 2vkw

Decompression Pass: "http://9miao.com/" without quote
Pw : http://www.9miao.com/



Description:
Front end unity + back-end c +++ database

The city of light hand tour to light and dark the two forces of struggle for the background, creating a grand magic, urgent need to save the dark world. Players here become cute brave light warriors, began a fight with the dark demons adventure tour. You have to return to the classic Diablo world; gesture switching, skills inheritance, let you build their own exclusive role; a key to the world, so that you can not stop the role; Operation, cool cool blow, so you really experience the pleasure of action.

server configuration:

1. Create a new server project Please vcproj project files under the src under the second directory
Such as server \ src \ servers \ logingate \ logingate.vcproj

2. After creating, add the following attribute tabs to the project's Property Manager
Server \ src \ common \ common.vsprops Debug, Release all right, you can right on the project -> Add Existing Property Sheet ...
Server \ src \ common \ basicServerFramework \ sdnet.vsprops Debug
Server \ src \ common \ basicServerFramework \ sdnetRelease.vsprops Release

3. Modify the configuration of the new project and select All Configurations: All Configurations
And then modify the Configuration Properties -> General
Output Directory and Intermediate Directory to inherit the attribute <inherit from parents or project defaults>
Modify Project Defaults -> Character Set to Use Multi-Byte Character Set
Modify the C / C ++ -> General -> Code Generation -> Runtime Library to inherit the property <inherit from parents or project defaults>

4. Set dependencies:
Server \ src \ common \ basicServerFramework \ basicServerFramework.vcproj

5. Completed

Engine version: unity3d 4.6 above



PHP Script for arealist.php:
Code: [Select]
<?php
$arr 
= array(
"Areas" => array(
array(
"address" => "http://YOUR-SERVER-IP/" // This is for asset-bundle download.
),
array(
"ServerID" => "1",
"IP" => "YOUR-SERVER-IP",
"Port" => "8000",
"ServerName" => "Main"
),
"AreaNotice" => "",
"DefaultServerID" => "1",
"PushString" => array(
/*array(
"content" => "0,0,0,0,0,0,0,0,0,Hello World, HELLO WORLD"
),*/
),
)
);
header("Content-type: application/json");
$json json_encode($arr);
$json preg_replace("@\\\/@""/"$json);
die(
$json);
?>



File Name & Size:
1. 地城之光.zip (2.73 GB)
« Last Edit: January 18, 2024, 08:41:43 PM by Mystera »

Tags: