Im scanning 1000's of files and want to replace certain values to 0
The values here 750,15 need to be changed to 0 and pushshort changed to pushbyte.
pushshort could be between 1-10,000
time could be between 1-10,000
The whole code needs to be matched so it doesnt edit the wrong sections in files.
And any number in this set to 0, and pushshort changed to pushbyte.
Thanks
The values here 750,15 need to be changed to 0 and pushshort changed to pushbyte.
pushshort could be between 1-10,000
time could be between 1-10,000
The whole code needs to be matched so it doesnt edit the wrong sections in files.
PHP:
pushstring "costs"
pushstring "r1"
pushshort 750
pushstring "r2"
pushbyte 0
pushstring "r3"
pushbyte 0
pushstring "r4"
pushbyte 0
pushstring "time"
pushbyte 15
And any number in this set to 0, and pushshort changed to pushbyte.
PHP:
pushstring "repairTime"
pushbyte 30
pushbyte 60
pushbyte 120
pushshort 240
pushshort 480
pushshort 960
pushshort 1920
pushshort 3840
pushshort 7680
pushshort 15360
Thanks