解析array裡面dic的方法

以前我在抓array裡面資料的時候,一般都是用for去跑
像是

for (id x in y){
}

剛剛看到同事用
[y enumerateObjectsUsingBlock:^(id x, NSUInteger index, BOOL *stop){}];

好像也很厲害,雖然我討厭block,還是找了一下相關文章

When to use enumerateObjectsUsingBlock vs. for

有類似GCD的方法,來試看看好了

永恆戰士修改圖文教學


在案子比較輕鬆的時候,找了一下遊戲破解的方法
以下以最近很紅的永恆戰士二為例。
可以提醒我們做In App purche要注意的地方
例:
購買資料可以放在local端,但是server要有檢查機制
進遊戲的時候要先檢查user的購買資料,沒有在清單上的不讓使用者用

-----------以下開始------------

原本的樣子,天真的勇者
殊不知大人的世界多麼黑暗,要記住這張圖,因為後面看不到了


















改過以後的樣子,金光萬丈 瑞氣千條,頭上還長角
我才是魔王吧。要為小兵默哀了


















連金錢數字的camma都不見了.....也洗得太誇張了
2544的攻擊力是怎麼回事,亡靈塔的任何怪都可以一擊必殺



























這究竟是怎麼做到的呢(全部拆掉改造王口氣)
















[法一]要jb 
用八門神器,類似之前windows的gamemaster,刷銀幣好用,刷鑽石我還沒成功過

[法二]可能不用jb
開iTool 把別人的存檔取代/Documents/savegame.bin就好了

請先備份自己的存檔


可以看到他們也有埋flurry
預設會抓使用者的機型、版本、所在地區

savegane.bin不是sqlite 的db格式
要改只能從記憶體位置去改,
用八門神器我已經找到銀幣的記憶體位置
鑽石的還在試

[風險]
我改完以後就不能上網連線了,也不能把存檔放在icloud裡面
我猜是一次改的幅度太大的關係,所以現在採用漸進式修改,有看到曙光了
看能不能騙過去

iOS font

Family name: AppleGothic
Font name: AppleGothic
Family name: Hiragino Kaku Gothic ProN
Font name: HiraKakuProN-W6
Font name: HiraKakuProN-W3
Family name: Arial Unicode MS
Font name: ArialUnicodeMS
Family name: Heiti K
Font name: STHeitiK-Medium
Font name: STHeitiK-Light
Family name: DB LCD Temp
Font name: DBLCDTempBlack
Family name: Helvetica
Font name: Helvetica-Oblique
Font name: Helvetica-BoldOblique
Font name: Helvetica
Font name: Helvetica-Bold
Family name: Marker Felt
Font name: MarkerFelt-Thin
Family name: Times New Roman
Font name: TimesNewRomanPSMT
Font name: TimesNewRomanPS-BoldMT
Font name: TimesNewRomanPS-BoldItalicMT
Font name: TimesNewRomanPS-ItalicMT
Family name: Verdana
Font name: Verdana-Bold
Font name: Verdana-BoldItalic
Font name: Verdana
Font name: Verdana-Italic
Family name: Georgia
Font name: Georgia-Bold
Font name: Georgia
Font name: Georgia-BoldItalic
Font name: Georgia-Italic
Family name: Arial Rounded MT Bold
Font name: ArialRoundedMTBold
Family name: Trebuchet MS
Font name: TrebuchetMS-Italic
Font name: TrebuchetMS
Font name: Trebuchet-BoldItalic
Font name: TrebuchetMS-Bold
Family name: Heiti TC
Font name: STHeitiTC-Light
Font name: STHeitiTC-Medium
Family name: Geeza Pro
Font name: GeezaPro-Bold
Font name: GeezaPro
Family name: Courier
Font name: Courier
Font name: Courier-BoldOblique
Font name: Courier-Oblique
Font name: Courier-Bold
Family name: Arial
Font name: ArialMT
Font name: Arial-BoldMT
Font name: Arial-BoldItalicMT
Font name: Arial-ItalicMT
Family name: Heiti J
Font name: STHeitiJ-Medium
Font name: STHeitiJ-Light
Family name: Arial Hebrew
Font name: ArialHebrew
Font name: ArialHebrew-Bold
Family name: Courier New
Font name: CourierNewPS-BoldMT
Font name: CourierNewPS-ItalicMT
Font name: CourierNewPS-BoldItalicMT
Font name: CourierNewPSMT
Family name: Zapfino
Font name: Zapfino
Family name: American Typewriter
Font name: AmericanTypewriter
Font name: AmericanTypewriter-Bold
Family name: Heiti SC
Font name: STHeitiSC-Medium
Font name: STHeitiSC-Light
Family name: Helvetica Neue
Font name: HelveticaNeue
Font name: HelveticaNeue-Bold
Family name: Thonburi
Font name: Thonburi-Bold
Font name: Thonburi