-
Notifications
You must be signed in to change notification settings - Fork 10
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
attr_group_overheal_uber doesn't work after the update #79
Comments
Hi — please update your report with the information specified in the attribute bug report template. |
Hi, I have updated the report with the template |
I'm unable to reproduce this with a current build of the plugin. Make sure that TF2 Utils is up to date; the 2023-01-05 update did change the offset of |
I've tested with the latest TF2 utils and the latest from this repository, with the new update it now causes seg fault. Related to the find entitysphere https://crash.limetech.org/ruj6g6dqqjq6 I'm using the gamedata and version from this repo as well as the latest from the tf2utils and updated the gamedata there as well. I am on Linux. EDIT: Are there any other dependencies needed? |
TF2 Utils is the only third-party dependency that would require gamedata updates (the attribute framework does not). Excluding this project, of course. The crash looks like a bad dereference on Can you post |
Filename: bmod/mannedmachines/mmattributes/attr_group_overheal_uber.smx I don't know how to get the eax value from the first stack entry, as I don't know what you mean or what that is. If it's on the top page then it's eax: 0xffffffff |
I also tested this with attribute adapter, and the same crash happens. |
Despite running identical plugins and setup, my test server crashes, while on my production servers nothing happens, no crash, very bizzarre, I've tried to isolate by removing other plugins, updating sourcemod but it remains the same |
@nosoop When I reverted the function from "CGlobalEntityList::FindEntityInSphere()" to "CGlobalEntityList::FindEntityInSphere" it worked, both in gamedata and plugin. Will changing it back to not use the () affect the other plugins that use this function? |
Further testing shows that it now works on my test server, but not in production, but the crashes are gone |
It never did not have the This sounds a lot like the underlying issue causing alliedmodders/sourcemod#1879, but since the SDKCall is being prepared immediately after loading the gamedata, it shouldn't be pulling anything else. Perhaps you're referencing the name in other gamedata files? |
When chainging ti not use the () It throws this error on every frame: L 02/03/2023 - 16:43:09: [SM] Exception reported: Invalid Handle 0 (error 4) But it still works as before as far as I can tell from my testing |
That error indicates that it shouldn't work at all (really, it should fail to load completely, but doesn't due to missing checks similar to #31). I've rechecked and still am unable to reproduce this in my environment. Here's a few more things to check:
If |
If you'd like to try a refactored version that switches out the Could potentially be a bad DHooks interaction from another plugin; I've seen plenty of inexplicable crashes stemming from those. |
The build you shared in the above post solved it , it now works when I had the correct gamedata with tf2utils updated. |
It sounds like something is blocking execution of It's probably worth migrating away from |
With the latest package as of this post, the attr_group_overheal_uber.smx does nothing when the uber is activated.
Previously it threw errors in the console, but now with the updated game data no error is thrown, it's just that nothing happens. The uber doesn't come out and the AOE heal doesn't happen with no effects being applied.
EDIT:
Initial troubleshooting checklist
sm plugins list
on the server.)Describe the bug
Removes functionality of Uber when used. But no AOE heal or effects are applied. No errors are thrown
To Reproduce
Apply the attribute to a medigun and deploy uber at 100%
Code used:
TF2CustAttr_SetString(Weapon2,"medigun charge is group overheal", "range=800.0 heal_rate=145.0 overheal_ratio=1.05 overheal_duration_mult=0.25");
This is used on a weapon that we create on the player, not the weapon the player spawns with.
Expected behavior
AOE uber should heal and provide visual effect as well as sound effect like it did previously.
Server environment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: