少前拆包
少女前线r吧
全部回复
仅看楼主
level 9
cnnblike 楼主
1. 下载Apktools,地址:
http://ibotpeaches.github.io/Apktool/
2. 下载IL Spy,地址:
http://ilspy.net/
然后,第一条指令:
需要的内容:
Assembly-CSharp.dll就是我们需要的内容,将整个Managed文件夹拿出,放到windows里面,然后使用IL Spy就可以直接读取代码。
代码内容恕不截图了,反正也没啥好看的不是。
确实写得有点怪怪的。没仔细看。
2016年01月27日 01点01分 1
level 9
cnnblike 楼主
不过游戏最重要的还是舔图不是,各位安心。老司机的意思是一年内必须大改,不改就没新内容好加——那也得正常运营一年了再说,对不?也就服务器端炸了一下嘛,好说好说
2016年01月27日 01点01分 2
[滑稽]直接改后缀 从zip里边拉出来就行了 不用这么麻烦
2016年05月20日 15点05分
level 11
[阴险]这个可以的我给9分,还有一分怕你骄傲
2016年01月27日 01点01分 3
level 9
cnnblike 楼主
也不是很业余啦,人起码还是catch了错误的,就是写得这么复杂不大懂是为啥。
舰R从撕逼到iOS也就过了六个月,说明努力一下,希望还是有的。
多给程序员一点工资,找个靠谱的大腿,bang!代码不就修好了么?
2016年01月27日 01点01分 4
用switch来抛错误竟然还不业余,这里还好10条左右,这要是有100种错误类型的,他这得写到手酸。
2016年01月27日 05点01分
回复 中级搜索 :真正的业余代码是不catch错误的
2016年01月27日 05点01分
登录验证做的这么多[狂汗]
2016年01月27日 13点01分
网络通讯居然用的WWW。。。。。
2016年01月27日 14点01分
level 9
cnnblike 楼主
@不要迷茫w @蓝雨星华 @ANEZELIN @蜀道·难 @博丽神社の灵梦 @PRC_418 @wh1049429654 @iq被盗了
就这样吧,根本没啥好看的不是。图片之类的剧透太夸张啦。
重耦合是真的,直接把一堆东西写死在代码里面也是真的,改一改就好,哪儿用得到六个月,一两个月顶天了。
switch (this.type)
{
case RandomEvent.mp:
this.newsContent = "环保人士暴力占领了当地发电厂,并出于和平目的,捐赠给格里芬承包商。";
this.textRewardsTitle.text = "获得人力";
this.textRewardsNumber.text = "+" + this.parameter.ToString();
this.imageRewards.sprite = this.imageRewards.GetComponent<CommonPicController>().arrPic[0];
this.imageEvent.sprite = this.imageEvent.GetComponent<CommonPicController>().arrPic[1];
break;
case RandomEvent.ammo:
this.newsContent = "反战团体的伟大胜利!格里芬承包商兑现承诺,削减了总部仓库的弹药储备。";
this.textRewardsTitle.text = "获得弹药";
this.textRewardsNumber.text = "+" + this.parameter.ToString();
this.imageRewards.sprite = this.imageRewards.GetComponent<CommonPicController>().arrPic[1];
this.imageEvent.sprite = this.imageEvent.GetComponent<CommonPicController>().arrPic[1];
break;
case RandomEvent.mre:
this.newsContent = "据消息,大量过期罐头流入黑市,专家温馨提示,市民食用时请注意营养搭配。";
this.textRewardsTitle.text = "获得口粮";
this.textRewardsNumber.text = "+" + this.parameter.ToString();
this.imageRewards.sprite = this.imageRewards.GetComponent<CommonPicController>().arrPic[2];
this.imageEvent.sprite = this.imageEvent.GetComponent<CommonPicController>().arrPic[1];
break;
case RandomEvent.part:
this.newsContent = "机器人人权协会日前发表声明,否认有关其私下拆解并贩卖废弃人形的传言。";
this.textRewardsTitle.text = "获得零件";
this.textRewardsNumber.text = "+" + this.parameter.ToString();
this.imageRewards.sprite = this.imageRewards.GetComponent<CommonPicController>().arrPic[3];
this.imageEvent.sprite = this.imageEvent.GetComponent<CommonPicController>().arrPic[1];
break;
case RandomEvent.coin1:
this.newsContent = "格里芬承包商再创胜绩,发言人表示,大量技术将有机会投入公共事业建设。";
this.textRewardsTitle.text = "获得额外战斗记录";
this.textRewardsNumber.text = "+" + this.parameter.ToString();
this.imageRewards.sprite = this.imageRewards.GetComponent<CommonPicController>().arrPic[5];
this.imageEvent.sprite = this.imageEvent.GetComponent<CommonPicController>().arrPic[4];
break;
case RandomEvent.coin2:
this.newsContent = "格里芬承包商再创胜绩,发言人表示,大量技术将有机会投入公共事业建设。";
this.textRewardsTitle.text = "获得额外战斗记录";
this.textRewardsNumber.text = "+" + this.parameter.ToString();
this.imageRewards.sprite = this.imageRewards.GetComponent<CommonPicController>().arrPic[6];
this.imageEvent.sprite = this.imageEvent.GetComponent<CommonPicController>().arrPic[4];
break;
case RandomEvent.coin3:
this.newsContent = "格里芬承包商再创胜绩,发言人表示,大量技术将有机会投入公共事业建设。";
this.textRewardsTitle.text = "获得额外战斗记录";
this.textRewardsNumber.text = "+" + this.parameter.ToString();
this.imageRewards.sprite = this.imageRewards.GetComponent<CommonPicController>().arrPic[7];
this.imageEvent.sprite = this.imageEvent.GetComponent<CommonPicController>().arrPic[4];
break;
case RandomEvent.gun:
this.gotNewGun = false;
this.newsContent = "机器人人权运动推进顺利,更多人形已从城市服务业解脱,获得外出养老的机会。";
this.textRewardsTitle.text = "获得新的战术人形";
this.textRewardsNumber.text = "+1";
this.imageRewards.sprite = this.imageRewards.GetComponent<CommonPicController>().arrPic[8];
this.imageEvent.sprite = this.imageEvent.GetComponent<CommonPicController>().arrPic[0];
break;
case RandomEvent.loseammo:
this.newsContent = "反战团体近日武力摧毁了一处军工厂,传言称该厂是格里芬的军火供应商之一。";
this.textRewardsTitle.text = "丢失弹药";
this.textRewardsNumber.text = "-" + this.parameter.ToString();
this.imageEvent.sprite = this.imageEvent.GetComponent<CommonPicController>().arrPic[2];
this.imageRewards.sprite = this.imageRewards.GetComponent<CommonPicController>().arrPic[1];
break;
case RandomEvent.losemre:
this.newsContent = "人类人权组织炸毁了格里芬一处粮食储备地,声称贫民的权利应高于机器人。";
this.textRewardsTitle.text = "丢失口粮";
this.textRewardsNumber.text = "-" + this.parameter.ToString();
this.imageEvent.sprite = this.imageEvent.GetComponent<CommonPicController>().arrPic[2];
this.imageRewards.sprite = this.imageRewards.GetComponent<CommonPicController>().arrPic[2];
break;
case RandomEvent.runaway:
this.newsContent = "针对最近部分地区磁场偏转的现象,专家表示不必惊慌,“你们早见过末日了”。";
this.textSpecial.gameObject.SetActive(true);
this.imageRewards.gameObject.SetActive(false);
this.textRewardsTitle.gameObject.SetActive(false);
this.textRewardsNumber.gameObject.SetActive(false);
this.textLittle.gameObject.SetActive(true);
this.imageEvent.sprite = this.imageEvent.GetComponent<CommonPicController>().arrPic[3];
this.textSpecial.text = "当前梯队被撤离,可再次部署";
break;
case RandomEvent.enemy:
this.newsContent = "近日铁血部队活动猖獗,格里芬在此提醒市民,不要收养来历不明的机器小狗。";
this.textSpecial.gameObject.SetActive(true);
this.imageRewards.gameObject.SetActive(false);
this.textRewardsTitle.gameObject.SetActive(false);
this.textRewardsNumber.gameObject.SetActive(false);
this.textLittle.gameObject.SetActive(false);
this.textSpecial.text = "点击开始战斗";
this.imageEvent.sprite = this.imageEvent.GetComponent<CommonPicController>().arrPic[2];
break;
case RandomEvent.core:
this.newsContent = "格里芬承包商日前声明,号召民众集资捐赠人形,并承诺会妥善保管和利用。";
this.textRewardsTitle.text = "获得核心";
this.textRewardsNumber.text = "+" + this.parameter.ToString();
this.imageRewards.sprite = this.imageRewards.GetComponent<CommonPicController>().arrPic[4];
this.imageEvent.sprite = this.imageEvent.GetComponent<CommonPicController>().arrPic[1];
break;
}
this.textMaskNews.rectTransform.sizeDelta = new Vector2((float)(80 + this.newsContent.Length * 39), 82f);
this.textMaskNews.text = this.newsContent;
this.floatTextLength = this.textMaskNews.rectTransform.rect.width;
this.isTextMove = true;
2016年01月27日 01点01分 5
这就算菜逼都知道配表吧。。。
2016年01月27日 05点01分
2016年01月27日 05点01分
@放下那社长 第一眼真以为在看HOI的随机事件,例如妇女向军队捐献物资啦,首都举办盛大阅兵式啦,战争难民涌入军队啦啥的
2016年01月27日 09点01分
@Sam10113 hoi党真多[滑稽],另外说个笑话:coming soon.
2016年01月27日 13点01分
level 12
不明觉厉
2016年01月27日 01点01分 6
level 11
[滑稽][茶杯]
2016年01月27日 02点01分 8
level 1
不明觉厉,可怕(゚Д゚)ノ
2016年01月27日 02点01分 9
level 1
现在就希望少前努力修好,玩家建议吸收好。
2016年01月27日 02点01分 11
时间倒是无所谓,可以等,,只希望有一款好游戏。
2016年01月27日 02点01分
level 11
还打算今年去青鸟[滑稽]
2016年01月27日 02点01分 12
[喷]我是从那里出来的。还是不建议去
2016年01月27日 08点01分
@超越奇侠传🐑 我们这技校老师上课打坐,教都不教
2016年01月27日 08点01分
@兰奇布大爆炸 [喷]我现在出来做了4个月了。。上个月扔个源码给我,我直接懵了,看不懂。还不写注释的,我都想打死写这代码的人了。培训机构感觉学不到什么高深东西。只教点简单的基础。。
2016年01月27日 09点01分
@超越奇侠传🐑 [汗]去了培训学校也是自学为主,然而我们这教都不教
2016年01月27日 09点01分
level 1
[喷]不明觉厉。。楼主,你能预测一下烧钱重写写好代码的大概时间吗。。
2016年01月27日 02点01分 13
讲道理的话,客户端没啥问题的啊。虽然可能以后修改会很麻烦,但是又不是不能用
2016年01月27日 03点01分
level 11
技术贴必须要顶一下[滑稽]
2016年01月27日 02点01分 14
level 11
不明觉厉[惊讶]
2016年01月27日 03点01分 16
回复
great某张
:你的速度好快的[滑稽]说
2016年01月27日 15点01分
level 7
可啪[喷]
2016年01月27日 03点01分 17
1 2 3 4 5 6 尾页