Thanks for the information. How about helping others by explaining the solution. This is like those who edit their post and write "solved". Why should anyone help if you don't want to help us in return.
The topic title is about how to make dereference in a plugin without using gamedata, not about what I need dereference for.
Quote:
Originally Posted by Silvers
How about helping others by explaining the solution.
Also I said earlier that the idea failed then what solution are you talking about?
Spoiler
Quote:
Originally Posted by BHaType
Thanks for the help, but dereferencing didn't solve the problem
The whole idea was to change the target for the tank using StoreToAddress but apparently it's all hardcoded
On Windows it is perfectly visible that some function is executed while on Linux it is not present.
Apparently my way will only work on Linux, but that's just guesswork
P.S I know how to get a TankAttack class from a regular tank.
if you want to change the target of the tank in L4D2 you can use l4downtown2 (you need to look around the last pages for a more updated version) where there is a callback available OnChooseVictim or someting similar like that. where you can change the target. This works for all special infected apart from the witch because missing of the function.
Not sure how much would need to be changed in the extension to make it work in l4d1
Last edited by xerox8521; 11-24-2019 at 10:31.
Reason: Added info about the specific game.
How many times do I have to repeat that this topic is about how to do dereference and not about how to get TankAttack and even more so I already said that the idea failed
I said earlier that windows is running some function, so even if I say about how to get TankAttack it does not help to solve the problem but maybe for Linux it makes sense, but I do not know how to get TankAttack on Linux
Quote:
Originally Posted by xerox8521
if you want to change the target of the tank in L4D2 you can use l4downtown2 (you need to look around the last pages for a more updated version) where there is a callback available OnChooseVictim or someting similar like that. where you can change the target. This works for all special infected apart from the witch because missing of the function.
Not sure how much would need to be changed in the extension to make it work in l4d1
I know about downtown but I have no desire to install a large extension in which I will only use 1 forward, so I thought to find another solution.