Using deprecated hook 'OnPlayerCorpse'Fixed
That is the error i see in the console. Just wanted to give a headsup. Many thanks for your great work on this plugin !:)
EDIT: Oh sorry i just see in the notifications this topic already was getting worked on. Great !
Warning from my console. I´m pretty sure I´m not the only one that noticed it.
If a thread like this already exists, please delete mine.
16:36:20 'Backpacks v3.2.1' is using deprecated hook 'OnPlayerCorpse', which will stop working on Friday, 01 January 2021. Please ask the author to update to 'OnPlayerCorpseSpawned(BasePlayer player, BaseCorpse corpse)'
WaveHolder
Warning from my console. I´m pretty sure I´m not the only one that noticed it.
If a thread like this already exists, please delete mine.
16:36:20 'Backpacks v3.2.1' is using deprecated hook 'OnPlayerCorpse', which will stop working on Friday, 01 January 2021. Please ask the author to update to 'OnPlayerCorpseSpawned(BasePlayer player, BaseCorpse corpse)'
its actually at the top of the page ! :)
'Backpacks v3.2.1' is using deprecated hook 'OnPlayerCorpse', which will stop working on Friday, 01 January 2021. Please ask the author to update to 'OnPlayerCorpseSpawned(BasePlayer player, BaseCorpse corpse)'
pookins
FRIDAY JANUARY 1st , so WHERE is the panic,
Yeah you still have 2 months but that doesn't mean you shouldn't update it. Also it is the job of a server owner to make sure you dont get warnings and errors in the console so there's that. It is distracting too. No reason to not update it as soon as possible.
GoldieYeah you still have 2 months but that doesn't mean you shouldn't update it. Also it is the job of a server owner to make sure you dont get warnings and errors in the console so there's that. It is distracting too. No reason to not update it as soon as possible.
As the server owner is the only one to see the console it doesnt really make any difference does it ? and you only get the warning once each time you restart the server, it doesnt appear any other time.
Is the plugin working ? is your server crashing ?
SO have patience and wait for the fix for an invisible non threatening hook warning.
OnPlayerCorpseCreated if it uses the corpse.misticos
Find and replace all `OnPlayerCorpse` with `OnPlayerCorpseCreate`, there should be only two mentions of it on lines 226 and 74.
pookins
its actually at the top of the page ! :)
Yes, I made a new post about it but Admin merged my post here. Thats why i may seem blind.