Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some Issues #21

Closed
RavenWolflisk opened this issue May 16, 2017 · 1 comment
Closed

Some Issues #21

RavenWolflisk opened this issue May 16, 2017 · 1 comment

Comments

@RavenWolflisk
Copy link

RavenWolflisk commented May 16, 2017

Hi BoomerangAide,
First of all thanks a lot for your work updating GPTP, its really appreciated.

I have a problem using the new burrow tech hooks, basically the functions seems to never execute (or im missing something?)
I have called the hooks::injectBurrowTechHooks(); in the initialize.cpp, but when i burrow / unburrow units in the mod nothing change… (I tried print text at the begin of each function, setting units hp to 1, but nothing happens) Also tested with a clean mod and only that hook injected

And some minor mistakes
-In the recall_spell.cpp: the energy cost must be multiplied by 256 when checking if there is enough energy and when the energy cost is subtracted (lines 163 and 199)
-And in hallucination_spell.cpp: line 43 have counter == 0; where it should be counter = 0;

And finally, a request. It is possible to inject the code when the target position of the orders are given to units by the user? Specifically, I would like to change the target point assigned to units when a spell is issued to multiple units

@BoomerangAide
Copy link
Owner

About "And finally, a request. It is possible to inject the code when the target position of the orders are given to units by the user? Specifically, I would like to change the target point assigned to units when a spell is issued to multiple units" it should be possible with the new Receive Command hook, but the function is quite complex, and trial and error will be needed to find how it work on a specific case.

Repository owner deleted a comment from RavenWolflisk Jun 18, 2018
Repository owner deleted a comment from RavenWolflisk Jun 18, 2018
Repository owner deleted a comment from KYSXD Jun 18, 2018
Repository owner deleted a comment from RavenWolflisk Jun 18, 2018
Repository owner deleted a comment from RavenWolflisk Jun 18, 2018
Repository owner deleted a comment from RavenWolflisk Jun 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants