WooTheFck This is not the ip of your computer that must be changed but that of the vm 192.168.1.130
You must be registered to see links
namespace Game
{
class ServerListManager {
//public static string SrcURL = "http://124.193.167.190/lxmobile/server/";
I think I found or had to change the ip of the customer. You have to decompress the client with ApkTool.
Then you have to go to the folder 'res' then 'raw' and uncompress the file 'data' go to the folder 'config' and look at the file 'urlconfig.xml' modify it and then recompile the client without forgetting to sign them files.
You must be registered to see links
the other files are also to modify
there may be other places I continue to search
Unity 5.4.2f2What is the unity version used here?
Why extract the client when you can compile it with the right IP in the first place?I think I found or had to change the ip of the customer. You have to decompress the client with ApkTool.
Then you have to go to the folder 'res' then 'raw' and uncompress the file 'data' go to the folder 'config' and look at the file 'urlconfig.xml' modify it and then recompile the client without forgetting to sign them files.
You must be registered to see links
the other files are also to modify
there may be other places I continue to search
Why extract the client when you can compile it with the right IP in the first place?
trunk/dist/server_list.txt <-- must be hosted on a WebServer
trunk/GameWindows4.2.0/Data/config/urlconfig.xml <-- Has the link to the server_list.txt (It's the same you showed in the extracted APK..).
Why extract the client when you can compile it with the right IP in the first place?
trunk/dist/server_list.txt <-- must be hosted on a WebServer
trunk/GameWindows4.2.0/Data/config/urlconfig.xml <-- Has the link to the server_list.txt (It's the same you showed in the extracted APK..).
1. You managed to compile it? if yes, can u guide us ? i am getting lot's of errors when i am loading the project in unity for the first time (in console), and also i have some missing prefabs on some scenes.
2. Do we need to run the webserver before loading the project in unity? (when i loaded the project for the first time in unity, i got some yaml errors)
3. The title says "doc" included but i can't find it for the unity project
4. Is this the complete source?
Thank you!
1.
a) "Compiled it" -> Yes
b) "Guide us" -> No. There is nothing special about it. Just loaded up the Project into Unity and it worked.
2. No?! The client only connects to the Webserver after you hit play... Otherwise it would be stupid..
3. As far as I can tell, this release here does not have "full" documentation, only 2-3 stuff about setting up an sdk and how to build..
4. Idk? Haven't look much into it. Just because I accidentally changed the Project from Windows to Android yesterday and it took a good chunk of the day to convert.
Resource Update process
0 Generate different platform art resources (ios, Android, scene only upload changes)
1 svn 更到最新 运行genConfig.bat 生成配置
2 运行code 目录下 buildcode.bat
3 运行dist 目录下 更新配置.bat
4 svn 提交dist 下android目录
5 然后 http:/10.12.7.122/lxmgr/lx-designer.html 上 点击android测试 包更新,会生成安卓版本号和md5提交到svn,然后本地再更新下来
6 (针对外网)bitvise链接外网资源更新服,执行cd/home/root/lxmobile/ 执行./sync_all_dist_trunk.sh
6 (针对内网)用wincip打开内网更新服,把dis下对应更新的东西同步到右边服务器上(本地svn地址到/var/www/html/lxmobile/dist)
7 叫黄强把dist 资源发到外边
Formal package process (for everyone to test)
1 svn 更到最新 最好运行genConfig.bat 生成配置
2 运行code 目录下 buildcode.bat(ios加密 tools下Encode LuaFile with UTF-8 (转换编码)和 Encrypt lua scripts for ios(加密))
3 运行dist 目录下 更新配置.bat
4 svn 提交dist 下android目录
5 然后 http:/10.12.7.122/lxmgr/lx-designer.html 上 点击android测试 包更新
6等到网页界面上提示操作完毕后 svn 更新dist目录
7运行dist目录下 deployAndroid.bat 脚本(ios 是deployIos.sh )
8等脚本运行完毕 在unity File->Building Settings->Build打包
打自己测试用的包流程
1 svn更新dist
2 运行code 目录下 buildcode.bat
3 运行dist 目录下 更新配置.bat
4 运行dist目录下 deployAndroid.bat 脚本(如果第二次打的时候资源没改动 可以不运行这个脚本 直接把 script 拷到StreamingAssets下)
5 在unity File->Building Settings->Build打包