[Help] Meme Invasion change code
meme invasion help
Meme Invasion change code Posted on: 12/29/2014 7:21pm
Quote Post

Meme Invasion
GAME > https://apps.facebook.com/meme_invasion/?fb_source=search&ref=ts&fref=ts
SWF FILE
http://www.mediafire.com/download/lfil6cc5et7x89b/movie.swf

--------------------------------------
=======================
 
file in swf >> (sistem,battle,units,base)
hi, need help to change this code, I'm looking for damage, tried changing the code more so far unable, I think the damage factor is 02, moved to 0a, plus the bullet does not harm the meme,
this has scripr damage and life.
need only damage.




--------------------------------------------------------
=====================================

      public function castOnUnit(param1:UnitViewBase) : void
      {
         if(!Utils.inArray(this.targets,param1))
         {
            param1.changeHP(-this.unitView.unit.stats.damage);
            if(this.disposable)
            {
               this.active = false;
               this.realise();
            }
            Utils.pushIfNotExist(this

----------------------------------------
=========================


code
trait method Qname(PackageNamespace(""),"castOnUnit") dispid 0
method
name null
param Qname(PackageNamespace("system.battle.units.base"),"UnitViewBase")
returns Qname(PackageNamespace(""),"void")
body
maxstack 3
localcount 2
initscopedepth 10
maxscopedepth 11
code
; d0
getlocal_0
; 30
pushscope
; 60 74
getlex Qname(PackageNamespace(""),"Utils")
; d0
getlocal_0
; 66 b2 0c
getproperty Qname(ProtectedNamespace("system.battle.units.base:BulletBase"),"targets")
; d1
getlocal_1
; 46 84 10 02
callproperty Qname(PackageNamespace(""),"inArray") 2
; 11 30 00 00
iftrue ofs0041
; d1
getlocal_1
; d0
getlocal_0
; 66 bc 08
getproperty Qname(PackageNamespace(""),"unitView")
; 66 cc 04
getproperty Qname(PackageNamespace(""),"unit")
; 66 c6 02
getproperty Qname(PackageNamespace(""),"stats")
; 66 a8 02
getproperty Qname(PackageNamespace(""),"damage")
; 90
negate
; 4f db 07 01
callpropvoid Qname(PackageNamespace(""),"changeHP") 1
; d0
getlocal_0
; 66 ad 0c
getproperty Qname(PackageNamespace(""),"disposable")
; 12 0a 00 00
iffalse ofs0036
; d0
getlocal_0
; 27
pushfalse
; 68 aa 08
initproperty Qname(PackageNamespace(""),"active")
; d0
getlocal_0
; 4f e2 07 00
callpropvoid Qname(PackageNamespace(""),"realise") 0
; 60 74
ofs0036:getlex Qname(PackageNamespace(""),"Utils")
; d0
getlocal_0
; 66 b2 0c
getproperty Qname(ProtectedNamespace("system.battle.units.base:BulletBase"),"targets")
; d1
getlocal_1
; 4f 86 10 02
callpropvoid Qname(PackageNamespace(""),"pushIfNotExist") 2
; 47
ofs0041:returnvoid
 

RE: Meme Invasion change code Posted on: 12/30/2014 12:10pm
Quote Post
Aobscan(_pos,24 45)

; d0
getlocal_0
; 66 bc 08
getproperty Qname(PackageNamespace(""),"unitView")
; 66 cc 04
getproperty Qname(PackageNamespace(""),"unit")
; 66 c6 02
getproperty Qname(PackageNamespace(""),"stats")
; 66 a8 02
getproperty Qname(PackageNamespace(""),"damage")

You can try to change this to something like

24 7f 24 7f a2 02 02 02 02 02 02 02 02 (127 * 127 =16129 damage )




RE: Meme Invasion change code Posted on: 12/30/2014 5:45pm
Quote Post
Ubi Maior Minor Cessat

woah a proper help request * MINDBLOWN *
gomorrah08
is right. Also you might look for the actual place where the hp is decreased aka the functions you are changing the calling args of should be unitviewbase->changehp in theory, haven't checked the swf
 

RE: Meme Invasion change code Posted on: 12/30/2014 6:01pm
Quote Post
gomorrah08 Posted on: 12/30/2014 7:10am

; d0
getlocal_0
; 66 bc 08
getproperty Qname(PackageNamespace(""),"unitView")
; 66 cc 04
getproperty Qname(PackageNamespace(""),"unit")
; 66 c6 02
getproperty Qname(PackageNamespace(""),"stats")
; 66 a8 02
getproperty Qname(PackageNamespace(""),"damage")

You can try to change this to something like

24 7f 24 7f a2 02 02 02 02 02 02 02 02 (127 * 127 =16129 damage )



yes really works 100%, but I could not change the code only

// 66 02 a8
getproperty QNAME (PackageNamespace (""), "damage")

????

 

RE: Meme Invasion change code Posted on: 12/31/2014 12:56am
Quote Post
Ubi Maior Minor Cessat

if you change only
// 66 02 a8
getproperty QNAME (PackageNamespace (""), "damage")
then the game will still look for stats->(whatyouputinsteadofdamage) instead of stats->damage.  The thing you input will not exist in the stats, so it will throw errors.
stats->cheese. There is no cheese in stats so I don't know what to do. Computers are dumb