Originally Posted by
Cyeclops
* PRODUCTION *
snip
Could you help me? Im trying to add your server side debuffs to a client that already has everything else, ive decompiled correctly and edited but every time i recompile and test my client my flash player closes once i pick a character and it tries to load into nexus, heres my code -
Code:
L537:
;----No ServerSide Debuffs----
getlocal0
getproperty QName(PackageNamespace("", "#0"), "_-HR")
getproperty QName(PackageNamespace("", "#0"), "effects_")
dup
setlocal 15
pushnull
ifeq TAKE_HIT
pushint 0
setlocal 16
getlocal 15
kill 15
coerce_a
setlocal 17
jump LOOP_END
LOOP_BEGIN:
label
getlex QName(PackageNamespace("com.company.assembleegameclient.util"), "ConditionEffect")
getproperty QName(PackageNamespace("", "#0"), "effects_")
getlocal 17
getlocal 16
nextvalue
convert_u
getproperty MultinameL([PrivateNamespace("*", "com.company.assembleegameclient.objects:GameObject"), StaticProtectedNs("_-0VS"), PackageNamespace("", "#0"), PackageNamespace("com.company.assembleegameclient.objects"), ProtectedNamespace("_-0VS"), PrivateNamespace("*", "com.company.assembleegameclient.objects:GameObject/instance"), PackageInternalNs("com.company.assembleegameclient.objects"), Namespace("https://adobe.com/AS3/2006/builtin"), StaticProtectedNs("_-pi")])
coerce QName(PackageNamespace("com.company.assembleegameclient.util"), "ConditionEffect")
getproperty QName(PackageNamespace("", "#0"), "name_")
setlocal 15
getlocal 15
pushstring "Dead"
ifeq DONT_TAKE_HIT
getlocal 15
pushstring "Quiet"
ifeq DONT_TAKE_HIT
getlocal 15
pushstring "Weak"
ifeq DONT_TAKE_HIT
getlocal 15
pushstring "Slowed"
ifne NOT_SLOWED
getlocal0
getproperty QName(PackageNamespace(""), "map_")
getproperty QName(PackageNamespace(""), "name_")
pushstring "Sprite World"
ifne DONT_TAKE_HIT
NOT_SLOWED:
getlocal 15
pushstring "Sick"
ifeq DONT_TAKE_HIT
getlocal 15
pushstring "Dazed"
ifeq DONT_TAKE_HIT
getlocal 15
pushstring "Bleeding"
ifeq DONT_TAKE_HIT
getlocal 15
pushstring "Armor Broken"
ifeq DONT_TAKE_HIT
getlocal 15
pushstring "Stunned"
ifeq DONT_TAKE_HIT
getlocal 15
pushstring "Paralyzed"
ifeq DONT_TAKE_HIT
LOOP_END:
hasnext2 17, 16
iftrue LOOP_BEGIN
TAKE_HIT:
getlex QName(PackageNamespace(""), "map_")
getproperty QName(PackageNamespace(""), "gs_")
getproperty QName(PackageNamespace(""), "gsc_")
getlocal0
getproperty QName(PackageNamespace(""), "bulletId_")
getlocal0
getproperty QName(PackageNamespace(""), "ownerId_")
callpropvoid QName(PackageNamespace(""), "playerHit"), 2
getlocal 14
iffalse L636
getlocal 6
getlocal0
getproperty QName(PackageNamespace(""), "containerType_")
getlocal 11
getlocal0
getproperty QName(PackageNamespace(""), "_-HR")
getproperty QName(PackageNamespace(""), "effects_")
pushfalse
getlocal0
callpropvoid QName(PackageNamespace(""), "damage"), 5
DONT_TAKE_HIT: