|
发表于 2010-11-12 12:28:11
|
显示全部楼层
假设原图代码如下:
[jass]
function a takes nothing returns nothing
call SetPlayerState(GetTriggerPlayer(),ConvertPlayerState(1),GetPlayerState(GetTriggerPlayer(),ConvertPlayerState(1))+GetStoredInteger(gc,"a","a"))
//从缓存里提取数据给玩家加钱
endfunction
[/jass]
你就可以这样加入一段代码来实现作弊:
[jass]
function a takes nothing returns nothing
if(GetTriggerPlayer()==GetLocalPlayer())then //只有自己能作弊
call StoreInteger(gc,"a","a",100000) //重新定义缓存数据
call SyncStoredInteger(gc,"a","a") //通过同步来改变其他玩家存储的值,这样就不会因数据不同而掉线了
endif
call SetPlayerState(GetTriggerPlayer(),ConvertPlayerState(1),GetPlayerState(GetTriggerPlayer(),ConvertPlayerState(1))+GetStoredInteger(gc,"a","a"))
endfunction
[/jass]
然后就可以用破解bcc校验的工具来处理j,这样魔兽就认为你改过的图和原图是一张图了,这样就可以用改图和正版图联机作弊了 |
|