[DiscordArchive] Did anybody manage to make trinitycore pool_template work?
[DiscordArchive] Did anybody manage to make trinitycore pool_template work?
Archived author: Ryande • Posted: 2021-11-02T00:42:26.999000+00:00
Original source
Did anybody manage to make trinitycore pool_template work?
Archived author: <o> • Posted: 2021-11-02T14:24:52.547000+00:00
Original source
Definitely not that simple and for many data structures not realistic at all. The "this[55]" "this[84]" you see on the left is how assembly "reads" data from a struct: raw memory offsets. That's every single function that access the type, and not even starting with manually modifying memory allocations to hold it, change every single operation that uses that field etc (and then anything that reference those copies). If you somehow have unused memory on the struct and there are very few and simple functions that use that field you might be able to squeeze past it with some clever detour assembly, but increasing hard-coded limits like that is very difficult. If your type is extremely temporary, it might be simpler. I was able to increase the size of the char/race pair array on the cc screen to stop it from crashing with 10+ classes per race because the limit was only in a single function (and it was the last argument so I could just use grab some more stack, but I was extremely lucky for that)
Archived author: <o> • Posted: 2021-11-02T14:26:41.169000+00:00
Original source
if you just mean you want to increase the size of a single temporary variable that can be a lot simpler
Archived author: A2 • Posted: 2021-11-02T14:37:17.754000+00:00
Original source
And also if you would increase a declaration type that defines something in a file
Archived author: A2 • Posted: 2021-11-02T14:37:30.199000+00:00
Original source
you would most likely need to restructure every file as well