Advertisement
Guest User

Dark Souls 3 - Clear Area Of Enemies (Not Working)

a guest
Mar 19th, 2017
309
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 10.96 KB | None | 0 0
  1. [ENABLE]
  2.  
  3.  
  4. aobscanmodule(INJECT,DarkSoulsIII.exe,89 83 D8 00 00 00 E9 D5) // should be unique
  5. alloc(newmem,$1000,"DarkSoulsIII.exe"+44E3201)
  6.  
  7. label(code)
  8. label(return)
  9. label(MakeEnemyHealthZero)
  10.  
  11. newmem:
  12.  
  13. code:
  14.  
  15. MakeEnemyHealthZero:
  16.     mov ptr[rbx+D8],00000000
  17. ret
  18.  
  19.  
  20.     GetAndCompareNPC:
  21.  
  22.   mov [rbx+000000D8],eax
  23.  
  24.     cmp dword ptr[rbx+D8],00000000
  25.     je return
  26.  
  27.  
  28.     cmp DWord ptr[rbx+132],00330031
  29.     jne short EndOfBKGSCheck
  30.     cmp DWord ptr[rbx+136],00300030
  31.     jne short EndOfBKGSCheck
  32.     call MakeEnemyHealthZero
  33.  
  34.     EndOfBKGSCheck:
  35.  
  36.  
  37.     cmp DWord ptr[rbx+132],00330031
  38.     jne short EndOfLycanCheck
  39.     cmp DWord ptr[rbx+136],00300036
  40.     jne short EndOfLycanCheck
  41.     call MakeEnemyHealthZero
  42.  
  43.     EndOfLycanCheck:
  44.  
  45.  
  46.     cmp DWord ptr[rbx+132],00330031
  47.     jne short EndOfLycanHuntCheck
  48.     cmp DWord ptr[rbx+136],00300037
  49.     jne short EndOfLycanHuntCheck
  50.     call MakeEnemyHealthZero
  51.  
  52.     EndOfLycanHuntCheck:
  53.  
  54.  
  55.     cmp DWord ptr[rbx+132],00340031
  56.     jne short EndOfHollowScreamCheck
  57.     cmp DWord ptr[rbx+136],00360034
  58.     jne short EndOfHollowScreamCheck
  59.     call MakeEnemyHealthZero
  60.  
  61.     EndOfHollowScreamCheck:
  62.  
  63.  
  64.     cmp DWord ptr[rbx+132],00340031
  65.     jne short EndOfHollowMageCheck
  66.     cmp DWord ptr[rbx+136],00310034
  67.     jne short EndOfHollowMageCheck
  68.     call MakeEnemyHealthZero
  69.  
  70.     EndOfHollowMageCheck:
  71.  
  72.  
  73.     cmp DWord ptr[rbx+132],00300032
  74.     jne short EndOfLargeDogCheck
  75.     cmp DWord ptr[rbx+136],00300032
  76.     jne short EndOfLargeDogCheck
  77.     call MakeEnemyHealthZero
  78.  
  79.     EndOfLargeDogCheck:
  80.  
  81.  
  82.     cmp DWord ptr[rbx+132],00320032
  83.     jne short EndOfCrabGiantCheck
  84.     cmp DWord ptr[rbx+136],00300037
  85.     jne short EndOfCrabGiantCheck
  86.     call MakeEnemyHealthZero
  87.  
  88.     EndOfCrabGiantCheck:
  89.  
  90.  
  91.     cmp DWord ptr[rbx+132],00320032
  92.     jne short EndOfCrabSmallCheck
  93.     cmp DWord ptr[rbx+136],00310037
  94.     jne short EndOfCrabSmallCheck
  95.     call MakeEnemyHealthZero
  96.  
  97.     EndOfCrabSmallCheck:
  98.  
  99.  
  100.     cmp DWord ptr[rbx+132],00300031
  101.     jne short EndOfPoisonBrumerCheck
  102.     cmp DWord ptr[rbx+136],00320033
  103.     jne short EndOfPoisonBrumerCheck
  104.     call MakeEnemyHealthZero
  105.  
  106.     EndOfPoisonBrumerCheck:
  107.  
  108.  
  109.     cmp DWord ptr[rbx+132],00310031
  110.     jne short EndOfHollowDeserterCheck
  111.     cmp DWord ptr[rbx+136],00300030
  112.     jne short EndOfHollowDeserterCheck
  113.     call MakeEnemyHealthZero
  114.  
  115.     EndOfHollowDeserterCheck:
  116.  
  117.  
  118.     cmp DWord ptr[rbx+132],00300032
  119.     jne short EndOfMedDogCheck
  120.     cmp DWord ptr[rbx+136],00310032
  121.     jne short EndOfMedDogCheck
  122.     call MakeEnemyHealthZero
  123.  
  124.     EndOfMedDogCheck:
  125.  
  126.  
  127.     cmp DWord ptr[rbx+132],00310031
  128.     jne short EndOfLargeHollowHalberdCheck
  129.     cmp DWord ptr[rbx+136],00350030
  130.     jne short EndOfLargeHollowHalberdCheck
  131.     call MakeEnemyHealthZero
  132.  
  133.     EndOfLargeHollowHalberdCheck:
  134.  
  135.  
  136.     cmp DWord ptr[rbx+132],00320031
  137.     jne short EndOfLothricKnightSwordCheck
  138.     cmp DWord ptr[rbx+136],00300038
  139.     jne short EndOfLothricKnightSwordCheck
  140.     call MakeEnemyHealthZero
  141.  
  142.     EndOfLothricKnightSwordCheck:
  143.  
  144.  
  145.     cmp DWord ptr[rbx+132],00320031
  146.     jne short EndOfLothricKnightSwordBlueCheck
  147.     cmp DWord ptr[rbx+136],00320038
  148.     jne short EndOfLothricKnightSwordBlueCheck
  149.     call MakeEnemyHealthZero
  150.  
  151.     EndOfLothricKnightSwordBlueCheck:
  152.  
  153.  
  154.     cmp DWord ptr[rbx+132],00320031
  155.     jne short EndOfUndeadWorkerCheck
  156.     cmp DWord ptr[rbx+136],00300034
  157.     jne short EndOfUndeadWorkerCheck
  158.     call MakeEnemyHealthZero
  159.  
  160.     EndOfUndeadWorkerCheck:
  161.  
  162.  
  163.     cmp DWord ptr[rbx+132],00320031
  164.     jne short EndOfUndeadSlaveCheck
  165.     cmp DWord ptr[rbx+136],00300030
  166.     jne short EndOfUndeadSlaveCheck
  167.     call MakeEnemyHealthZero
  168.  
  169.     EndOfUndeadSlaveCheck:
  170.  
  171.  
  172.     cmp DWord ptr[rbx+132],00320031
  173.     jne short EndOfEvangelistCheck
  174.     cmp DWord ptr[rbx+136],00300033
  175.     jne short EndOfEvangelistCheck
  176.     call MakeEnemyHealthZero
  177.  
  178.     EndOfEvangelistCheck:
  179.  
  180.  
  181.     cmp DWord ptr[rbx+132],00320031
  182.     jne short EndOfHollowManservantCheck
  183.     cmp DWord ptr[rbx+136],00300036
  184.     jne short EndOfHollowManservantCheck
  185.     call MakeEnemyHealthZero
  186.  
  187.     EndOfHollowManservantCheck:
  188.  
  189.  
  190.     cmp DWord ptr[rbx+132],00300033
  191.     jne short EndOfCageSpiderCheck
  192.     cmp DWord ptr[rbx+136],00300039
  193.     jne short EndOfCageSpiderCheck
  194.     call MakeEnemyHealthZero
  195.  
  196.     EndOfCageSpiderCheck:
  197.  
  198.  
  199.     cmp DWord ptr[rbx+132],00310032
  200.     jne short EndOfRatSmallCheck
  201.     cmp DWord ptr[rbx+136],00300031
  202.     jne short EndOfRatSmallCheck
  203.     call MakeEnemyHealthZero
  204.  
  205.     EndOfRatSmallCheck:
  206.  
  207.  
  208.     cmp DWord ptr[rbx+132],00320032
  209.     jne short EndOfRatLargeCheck
  210.     cmp DWord ptr[rbx+136],00300038
  211.     jne short EndOfRatLargeCheck
  212.     call MakeEnemyHealthZero
  213.  
  214.     EndOfRatLargeCheck:
  215.  
  216.  
  217.     cmp DWord ptr[rbx+132],00340031
  218.     jne short EndOfHollowCathedralCheck
  219.     cmp DWord ptr[rbx+136],00300034
  220.     jne short EndOfHollowCathedralCheck
  221.     call MakeEnemyHealthZero
  222.  
  223.     EndOfHollowCathedralCheck:
  224.  
  225.  
  226.     cmp DWord ptr[rbx+132],00320031
  227.     jne short EndOfGraveWardenCathedralCheck
  228.     cmp DWord ptr[rbx+136],00300035
  229.     jne short EndOfGraveWardenCathedralCheck
  230.     call MakeEnemyHealthZero
  231.  
  232.     EndOfGraveWardenCathedralCheck:
  233.  
  234.  
  235.     cmp DWord ptr[rbx+132],00330031
  236.     jne short EndOfGrandArchivesScholarCheck
  237.     cmp DWord ptr[rbx+136],00300034
  238.     jne short EndOfGrandArchivesScholarCheck
  239.     call MakeEnemyHealthZero
  240.  
  241.     EndOfGrandArchivesScholarCheck:
  242.  
  243.  
  244.     cmp DWord ptr[rbx+132],00310032
  245.     jne short EndOfGargoyleCheck
  246.     cmp DWord ptr[rbx+136],00300039
  247.     jne short EndOfGargoyleCheck
  248.     call MakeEnemyHealthZero
  249.  
  250.     EndOfGargoyleCheck:
  251.  
  252.  
  253.     cmp DWord ptr[rbx+132],00310031
  254.     jne short EndOfHollowDeserterGrandArchivesCheck
  255.     cmp DWord ptr[rbx+136],00320030
  256.     jne short EndOfHollowDeserterGrandArchivesCheck
  257.     call MakeEnemyHealthZero
  258.  
  259.     EndOfHollowDeserterGrandArchivesCheck:
  260.  
  261.  
  262.     cmp DWord ptr[rbx+132],00300033
  263.     jne short EndOfSleepingGiantAnorLondoCheck
  264.     cmp DWord ptr[rbx+136],00300032
  265.     jne short EndOfSleepingGiantAnorLondoCheck
  266.     call MakeEnemyHealthZero
  267.  
  268.     EndOfSleepingGiantAnorLondoCheck:
  269.  
  270.  
  271.     cmp DWord ptr[rbx+132],00320035
  272.     jne short EndOfDeaconDeepTallAnorLondoCheck
  273.     cmp DWord ptr[rbx+136],00360032
  274.     jne short EndOfDeaconDeepTallAnorLondoCheck
  275.     call MakeEnemyHealthZero
  276.  
  277.     EndOfDeaconDeepTallAnorLondoCheck:
  278.  
  279.  
  280.     cmp DWord ptr[rbx+132],00320035
  281.     jne short EndOfDeaconDeepAnorLondoCheck
  282.     cmp DWord ptr[rbx+136],00370032
  283.     jne short EndOfDeaconDeepAnorLondoCheck
  284.     call MakeEnemyHealthZero
  285.  
  286.     EndOfDeaconDeepAnorLondoCheck:
  287.  
  288.  
  289.     cmp DWord ptr[rbx+132],00320035
  290.     jne short EndOfDeaconDeepAnorLondoFatCheck
  291.     cmp DWord ptr[rbx+136],00350032
  292.     jne short EndOfDeaconDeepAnorLondoFatCheck
  293.     call MakeEnemyHealthZero
  294.  
  295.     EndOfDeaconDeepAnorLondoFatCheck:
  296.  
  297.  
  298.     cmp DWord ptr[rbx+132],00330031
  299.     jne short EndOfSerpantManCheck
  300.     cmp DWord ptr[rbx+136],00300039
  301.     jne short EndOfSerpantManCheck
  302.     call MakeEnemyHealthZero
  303.  
  304.     EndOfSerpantManCheck:
  305.  
  306.  
  307.     cmp DWord ptr[rbx+132],00330031
  308.     jne short EndOfSerpantManLargeCheck
  309.     cmp DWord ptr[rbx+136],00310039
  310.     jne short EndOfSerpantManLargeCheck
  311.     call MakeEnemyHealthZero
  312.  
  313.     EndOfSerpantManLargeCheck:
  314.  
  315.  
  316.     cmp DWord ptr[rbx+132],00340031
  317.     jne short EndOfSilverKnightSwordCheck
  318.     cmp DWord ptr[rbx+136],00300031
  319.     jne short EndOfSilverKnightSwordCheck
  320.     call MakeEnemyHealthZero
  321.  
  322.     EndOfSilverKnightSwordCheck:
  323.  
  324.  
  325.     cmp DWord ptr[rbx+132],00320033
  326.     jne short EndOfRockLizardCheck
  327.     cmp DWord ptr[rbx+136],00300032
  328.     jne short EndOfRockLizardCheck
  329.     call MakeEnemyHealthZero
  330.  
  331.     EndOfRockLizardCheck:
  332.  
  333.  
  334.     cmp DWord ptr[rbx+132],00310031
  335.     jne short EndOfCarthusSkelSwordCheck
  336.     cmp DWord ptr[rbx+136],00300037
  337.     jne short EndOfCarthusSkelSwordCheck
  338.     call MakeEnemyHealthZero
  339.  
  340.     EndOfCarthusSkelSwordCheck:
  341.  
  342.  
  343.     cmp DWord ptr[rbx+132],00300031
  344.     jne short EndOfSkelSwordCheck
  345.     cmp DWord ptr[rbx+136],00300037
  346.     jne short EndOfSkelSwordCheck
  347.     call MakeEnemyHealthZero
  348.  
  349.     EndOfSkelSwordCheck:
  350.  
  351.  
  352.     cmp DWord ptr[rbx+132],00310031
  353.     jne short EndOfCarthusGraveWardenCheck
  354.     cmp DWord ptr[rbx+136],00300038
  355.     jne short EndOfCarthusGraveWardenCheck
  356.     call MakeEnemyHealthZero
  357.  
  358.     EndOfCarthusGraveWardenCheck:
  359.  
  360.  
  361.     cmp DWord ptr[rbx+132],00310032
  362.     jne short EndOfRottenFleshCheck
  363.     cmp DWord ptr[rbx+136],00300033
  364.     jne short EndOfRottenFleshCheck
  365.     call MakeEnemyHealthZero
  366.  
  367.     EndOfRottenFleshCheck:
  368.  
  369.  
  370.     cmp DWord ptr[rbx+132],00300032
  371.     jne short EndOfIrithyllSwordsmanCheck
  372.     cmp DWord ptr[rbx+136],00300033
  373.     jne short EndOfIrithyllSwordsmanCheck
  374.     call MakeEnemyHealthZero
  375.  
  376.     EndOfIrithyllSwordsmanCheck:
  377.  
  378.  
  379.     cmp DWord ptr[rbx+132],00330031
  380.     jne short EndOfIrithyllSlaveCheck
  381.     cmp DWord ptr[rbx+136],00300035
  382.     jne short EndOfIrithyllSlaveCheck
  383.     call MakeEnemyHealthZero
  384.  
  385.     EndOfIrithyllSlaveCheck:
  386.  
  387.  
  388.     cmp DWord ptr[rbx+132],00320035
  389.     jne short EndOfFireWitchCheck
  390.     cmp DWord ptr[rbx+136],00300034
  391.     jne short EndOfFireWitchCheck
  392.     call MakeEnemyHealthZero
  393.  
  394.     EndOfFireWitchCheck:
  395.  
  396.  
  397.     cmp DWord ptr[rbx+132],00310032
  398.     jne short EndOfSewerCentipedeCheck
  399.     cmp DWord ptr[rbx+136],00300030
  400.     jne short EndOfSewerCentipedeCheck
  401.     call MakeEnemyHealthZero
  402.  
  403.     EndOfSewerCentipedeCheck:
  404.  
  405.  
  406.     cmp DWord ptr[rbx+132],00300033
  407.     jne short EndOfSmolderGhruClericCheck
  408.     cmp DWord ptr[rbx+136],00300037
  409.     jne short EndOfSmolderGhruClericCheck
  410.     call MakeEnemyHealthZero
  411.  
  412.     EndOfSmolderGhruClericCheck:
  413.  
  414.  
  415.     cmp DWord ptr[rbx+132],00310032
  416.     jne short EndOfSmolderRottenFleshCheck
  417.     cmp DWord ptr[rbx+136],00320033
  418.     jne short EndOfSmolderRottenFleshCheck
  419.     call MakeEnemyHealthZero
  420.  
  421.     EndOfSmolderRottenFleshCheck:
  422.  
  423.  
  424.     cmp DWord ptr[rbx+132],00320031
  425.     jne short EndOfSmolderGhruCheck
  426.     cmp DWord ptr[rbx+136],00310031
  427.     jne short EndOfSmolderGhruCheck
  428.     call MakeEnemyHealthZero
  429.  
  430.     EndOfSmolderGhruCheck:
  431.  
  432.  
  433.     cmp DWord ptr[rbx+132],00330031
  434.     jne short EndOfBKGACheck
  435.     cmp DWord ptr[rbx+136],00300031
  436.     jne short EndOfBKGACheck
  437.     call MakeEnemyHealthZero
  438.  
  439.     EndOfBKGACheck:
  440.  
  441.  
  442.     cmp DWord ptr[rbx+132],00320033
  443.     jne short EndOfDemonStatueCheck
  444.     cmp DWord ptr[rbx+136],00300033
  445.     jne short EndOfDemonStatueCheck
  446.     call MakeEnemyHealthZero
  447.  
  448.     EndOfDemonStatueCheck:
  449.  
  450.  
  451.     cmp DWord ptr[rbx+132],00310032
  452.     jne short EndOfBasiliskCheck
  453.     cmp DWord ptr[rbx+136],00300034
  454.     jne short EndOfBasiliskCheck
  455.     call MakeEnemyHealthZero
  456.  
  457.     EndOfBasiliskCheck:
  458.  
  459.  
  460.     cmp DWord ptr[rbx+132],00340031
  461.     jne short EndOfBonewheelCheck
  462.     cmp DWord ptr[rbx+136],00300037
  463.     jne short EndOfBonewheelCheck
  464.     call MakeEnemyHealthZero
  465.  
  466.     EndOfBonewheelCheck:
  467.  
  468.  
  469.     cmp DWord ptr[rbx+132],00340031
  470.     jne short EndOfGraveWardenHollowCheck
  471.     cmp DWord ptr[rbx+136],00300033
  472.     jne short EndOfGraveWardenHollowCheck
  473.     call MakeEnemyHealthZero
  474.  
  475.     EndOfGraveWardenHollowCheck:
  476.  
  477.  
  478.     cmp DWord ptr[rbx+132],00320032
  479.     jne short EndOfCorvianStorytellerCheck
  480.     cmp DWord ptr[rbx+136],00300031
  481.     jne short EndOfCorvianStorytellerCheck
  482.     call MakeEnemyHealthZero
  483.  
  484.     EndOfCorvianStorytellerCheck:
  485.  
  486.  
  487.     cmp DWord ptr[rbx+132],00320031
  488.     jne short EndOfGhruSpearCheck
  489.     cmp DWord ptr[rbx+136],00300031
  490.     jne short EndOfGhruSpearCheck
  491.     call MakeEnemyHealthZero
  492.  
  493.     EndOfGhruSpearCheck:
  494.  
  495.  
  496.     cmp DWord ptr[rbx+132],00310033
  497.     jne short EndOfDarkwraithCheck
  498.     cmp DWord ptr[rbx+136],00300037
  499.     jne short EndOfDarkwraithCheck
  500.     call MakeEnemyHealthZero
  501.  
  502.     EndOfDarkwraithCheck:
  503.  
  504.  
  505.  
  506.   jmp return
  507.  
  508.  
  509. InjectHealth:
  510.   jmp GetAndCompareNPC
  511.   nop
  512. return:
  513. registersymbol(InjectHealth)
  514.  
  515. [DISABLE]
  516.  
  517. InjectHealth:
  518.   db 89 83 D8 00 00 00
  519.  
  520. unregistersymbol(InjectHealth)
  521. dealloc(newmem)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement