dataviruset / sm-hosties

The ultimate jailbreak plugin for SourceMod
https://forums.alliedmods.net/forumdisplay.php?f=155
GNU General Public License v3.0
29 stars 27 forks source link

Hot Potato crash #38

Closed Caaine closed 7 years ago

Caaine commented 8 years ago

https://crash.limetech.org/bpby3wcebtym

Hot Potato crashing the Server :sandal:

data-bomb commented 8 years ago

What are the steps to reproduce? What game? The closest line in Hosties would be https://github.com/dataviruset/sm-hosties/blob/master/addons/sourcemod/scripting/hosties/lastrequest.sp#L3983 Not sure why that would be causing a server crash.

Caaine commented 8 years ago

oh sry

CSGO and Player as a LR and the take Hot Potato on the menu and crash :(

i fund error logs:

L 01/05/2016 - 23:23:38: [SM] Plugin encountered error 4: Invalid parameter or parameter type L 01/05/2016 - 23:23:38: [SM] Native "PrintToChat" reported: Language phrase "Hot Potato Pickup" not found L 01/05/2016 - 23:23:38: [SM] Displaying call stack trace for plugin "sm_hosties.smx": L 01/05/2016 - 23:23:38: [SM] [0] Line 2083, C:\Users\Caainee\Desktop\pstudio-0.8.3\include\hosties/lastrequest.sp::OnWeaponEquip()

L 01/05/2016 - 23:23:38: [SM] Native "GetClientAbsOrigin" reported: Client 1 is not in game L 01/05/2016 - 23:23:38: [SM] Displaying call stack trace for plugin "sm_hosties.smx": L 01/05/2016 - 23:23:38: [SM] [0] Line 3983, C:\Users\Caainee\Desktop\pstudio-0.8.3\include\hosties/lastrequest.sp::InitializeGame() L 01/05/2016 - 23:23:38: [SM] [1] Line 3455, C:\Users\Caainee\Desktop\pstudio-0.8.3\include\hosties/lastrequest.sp::MainPlayerHandler()

data-bomb commented 8 years ago

The first error indicates you did not install your translation file correctly or you are missing translations. Fix the translation file issue first.

As to the other errors, we are checking if both T and CT clients are in game the same game tick as GetClientAbsOrigin is being called, so you should not receive that error if your Hosties and SourceMod are correctly installed.

awillinger commented 8 years ago

I too am getting crashes with Hot Potato, also the language phrase not found error, despite all translation files being installed correctly (and actually having the phrase).

https://crash.limetech.org/xothef36c66v

Had to disable it for now.

SM version: SourceMod Version Information: SourceMod Version: 1.7.3-dev+5280 SourcePawn Engine: SourcePawn 1.7, jit-x86 (build 1.7.3-dev+5280) SourcePawn API: v1 = 4, v2 = 6 Compiled on: Dec 9 2015 10:40:05 Built from: https://github.com/alliedmodders/sourcemod/commit/22a9ded Build ID: 5280:22a9ded http://www.sourcemod.net/

MM:S version: Metamod:Source version 1.10.7-dev Built from: https://github.com/alliedmodders/metamod-source/commit/019a388 Build ID: 948:019a388 Loaded As: Valve Server Plugin Compiled on: Sep 10 2015 Plugin interface version: 15:14 SourceHook version: 5:5 http://www.metamodsource.net/

dataviruset commented 8 years ago

Maybe there's something wrong with the encoding of the file. You should not get that error message if the phrase exists. How did you add the translation files to the addons/sourcemod/translations/ folders?

awillinger commented 8 years ago

Using SFTP via WinSCP default transfer setting.

data-bomb commented 8 years ago

Still unable to duplicate @awillinger @Caaine is this happening with the latest version?

Caaine commented 8 years ago

i have Enabled Hot Potato for Testing^^

awillinger commented 8 years ago

I have since closed my JB server, so can't tell anymore, sorry.

data-bomb commented 7 years ago

Unable to replicate. Closing this issue. @Caaine feel free to re-open if you have the sequence of steps to replicate.