把游戏项目迁移到IOS64 上面又出现了自动寻路无效的BUG,在XCode Console中有提示AStarpath异常,
Bad date/time format in the zip file
在代码中查询得知是AStarpath在初始化时,会读取场景的寻路信息文件,但是由于DonetZip中的一个解析时间的Bug,导致异常,从而没有读取到场景自动寻路信息。
我们从谷歌下载到Do...
分类:
移动开发 时间:
2015-03-07 22:45:32
阅读次数:
257
定位了项目的一个问题,居然与strong有关系。首先说明一下项目是MRC内存管理的。一个NSDictionary变量在赋值一段时间后再次访问就会出现EXC_BAD_ACCESS错误,打印日志看了一下地址没变但是内容已经看不到,估计是...
分类:
其他好文 时间:
2015-03-07 11:42:24
阅读次数:
167
Several days ago, I was involved in an argument about choice of C or C++. What I ignored was "language is less important than coder". a bad C# write.....
分类:
其他好文 时间:
2015-03-06 16:12:30
阅读次数:
162
用了代理,即使在浏览器中关闭了,npm install -g grunt-cli的时候仍然报错proxy或bad network setting.在webstorm中也无法安装grunt。网上看到这个文章http://blog.csdn.net/loudyten/article/details/21...
分类:
其他好文 时间:
2015-03-04 22:36:16
阅读次数:
213
在Linux下编译cocos2d-x运行脚本的时候出现”/bin/bash^M: 坏的解释器: 没有那个文件或目录(bad interpreter: No such file or directory)“这样的错误如下图。
解决方法:
使用在终端输入sed -i 's/\r$//' make-all-linux-project.sh即可
其中make-all-linu...
分类:
其他好文 时间:
2015-03-03 18:43:53
阅读次数:
178
开工后,发现有个虚拟机的apache没起来,调用apache2 -k start 后,提示如下内容:apache2: bad user name ${APACHE_RUN_USER}apache 启动时,是由读取 /etc/apache2/apache2.conf 读取了运行 User而运行的use...
分类:
Web程序 时间:
2015-03-03 16:31:10
阅读次数:
155
遇到的问题:解决办法:1.电脑左下角开始--搜索”php.exe“,记录下路径,如我的是C:\xampp\php\2.点击phpstorm里的configured PHP Interpreter(见下图)3.点击下图里的红框4.在下图红框输入步骤1里的php的文件夹路径确认即可。PS:本人是新手在自...
分类:
Web程序 时间:
2015-03-02 10:59:29
阅读次数:
352
StrangeIoC: The Good, The Bad and the Strange (Part 1 of 2)https://www.youtube.com/watch?v=4ebReOBH15QStrangeIoC: The Good, The Bad and the Strange (P...
分类:
其他好文 时间:
2015-02-27 20:02:57
阅读次数:
261
"NetworkError: 400 Bad Request -http://localhost:8080/hdl/user/addOrUpdateUser.do?uuid=0&recordVersion=&createdTime=&createdByUser=&operation=add&user...
分类:
Web程序 时间:
2015-02-26 20:06:51
阅读次数:
139
Problem Description
The aspiring Roy the Robber has seen a lot of American movies, and knows that the bad guys usually gets caught in the end, often because they become too greedy. He has decided to w...
分类:
其他好文 时间:
2015-02-24 15:10:58
阅读次数:
196