Author |
Message |
|
|
Post subject: |
Re: potion macro ( from memory) |
|
|
Works perfect for me, Thanks
Works perfect for me, Thanks :D
|
|
|
|
Posted: Tue Sep 15, 2015 10:13 pm |
|
|
|
|
|
Post subject: |
Re: potion macro ( from memory) |
|
|
where do I paste this on?
where do I paste this on?
|
|
|
|
Posted: Tue May 01, 2012 5:18 pm |
|
|
|
|
|
Post subject: |
Re: potion macro ( from memory) |
|
|
Separating them in to two macros will also check for both mp and hp at the same time, so yea, that will probably be the best solution. I'm glad you found the video useful! And thank you for submitting them to the repository, it does make it a lot easier for others to benefit from them as well
Separating them in to two macros will also check for both mp and hp at the same time, so yea, that will probably be the best solution.
I'm glad you found the video useful!
And thank you for submitting them to the repository, it does make it a lot easier for others to benefit from them as well :)
|
|
|
|
Posted: Thu Nov 25, 2010 10:03 pm |
|
|
|
|
|
Post subject: |
Re: potion macro ( from memory) |
|
|
I've submitted the macro's to the repository I did try have mp and hp monitored in 1 macro but it seemed to lag for me so I separated them into 2 macro's and added pauses which made the macro’s much smoother, also your video on how to find base pointers was very helpful and now I understand cheat engine I will start attempting more macro’s for soma.
I've submitted the macro's to the repository I did try have mp and hp monitored in 1 macro but it seemed to lag for me so I separated them into 2 macro's and added pauses which made the macro’s much smoother, also your video on how to find base pointers was very helpful and now I understand cheat engine I will start attempting more macro’s for soma.
|
|
|
|
Posted: Thu Nov 25, 2010 9:06 pm |
|
|
|
|
|
Post subject: |
Re: potion macro ( from memory) |
|
|
Well done This is way better than using pixel analysis to determine when to use a pot! Any chance you could also submit this macro to the repository please?
Well done :)
This is way better than using pixel analysis to determine when to use a pot!
Any chance you could also submit this macro to the repository please?
|
|
|
|
Posted: Thu Nov 25, 2010 5:13 pm |
|
|
|
|
|
Post subject: |
potion macro ( from memory) |
|
|
Here’s an alternative pot macro that will work in windowed mode as well as full screen although I have only tried it on one server( soma dev test server) so the base pointers may be different on other servers in which case you would have to find them using cheat engine. If you want full screen replace “somawindow” with “SomaFull” Also remember you need to add the variable names to the variables box in the bottom left hand corner of create a macro. Code: Hp bot script
begin loop() Macro.Pause("300") Memory.Get value("SomaWindow", "SomaWindow.exe+2E6710,278,240", "4", "currentHP") Memory.Get value("SomaWindow", "SomaWindow.exe+2E6710,278,244", "4", "maxHP") Variable.Evaluate (Math)("({currentHP} / {maxHP}) * 100", "HPpercentage") if Variable.Is less than (Math)("HPpercentage", "60") begin Keyboard.Press key("{<f1>}") end end
Mp bot script
begin loop() Macro.Pause("300") Memory.Get value("SomaWindow", "SomaWindow.exe+2E6710,278,248", "4", "currentMP") Memory.Get value("SomaWindow", "SomaWindow.exe+2E6710,278,24c", "4", "maxMP") Variable.Evaluate (Math)("({currentMP} / {maxMP}) * 100", "MPpercentage") if Variable.Is less than (Math)("MPpercentage", "50") begin Macro.Pause("300") Keyboard.Press key("{<f2>}") end end
Here’s an alternative pot macro that will work in windowed mode as well as full screen although I have only tried it on one server( soma dev test server) so the base pointers may be different on other servers in which case you would have to find them using cheat engine. If you want full screen replace “somawindow” with “SomaFull”
Also remember you need to add the variable names to the variables box in the bottom left hand corner of create a macro.
[code]Hp bot script
begin loop() Macro.Pause("300") Memory.Get value("SomaWindow", "SomaWindow.exe+2E6710,278,240", "4", "currentHP") Memory.Get value("SomaWindow", "SomaWindow.exe+2E6710,278,244", "4", "maxHP") Variable.Evaluate (Math)("({currentHP} / {maxHP}) * 100", "HPpercentage") if Variable.Is less than (Math)("HPpercentage", "60") begin Keyboard.Press key("{<f1>}") end end
Mp bot script
begin loop() Macro.Pause("300") Memory.Get value("SomaWindow", "SomaWindow.exe+2E6710,278,248", "4", "currentMP") Memory.Get value("SomaWindow", "SomaWindow.exe+2E6710,278,24c", "4", "maxMP") Variable.Evaluate (Math)("({currentMP} / {maxMP}) * 100", "MPpercentage") if Variable.Is less than (Math)("MPpercentage", "50") begin Macro.Pause("300") Keyboard.Press key("{<f2>}") end end[/code]
|
|
|
|
Posted: Thu Nov 25, 2010 4:37 pm |
|
|
|
|