Chalwk / HALO-SCRIPT-PROJECTS

:white_check_mark: Halo PC|CE - Add-ons for Phasor V2+ and SAPP :new_zealand:
Other
32 stars 13 forks source link

Crash Player #39

Closed Dark3211 closed 5 years ago

Dark3211 commented 5 years ago

EventCallback >> OnPlayerPrejoin >> Lua Error: [string "CrashPlayer"]:120: attempt to perform arithmetic on global 'ce' (a nil value)

This error occurs when I place a Hash in HashList, load the script and enter a player.

Note: I'm sorry if you do not explain me correctly.

EXTENSION: SAPP

SAPP VERSION: 10.2.1

Script version: the current version

Chalwk commented 5 years ago

Thanks for the report. This has been fixed in the latest update: https://github.com/Chalwk77/HALO-SCRIPT-PROJECTS/blob/master/SAPP%20SCRIPTS/UTILITY%20MODS/Crash%20Player.lua

Dark3211 commented 5 years ago

@Chalwk77 many thanks!

Chalwk commented 5 years ago

@Dark3211 No problem (: Closing this ticket. Feel free to reopen this one or a new one if you experience further issues.

Dark3211 commented 5 years ago

@Chalwk77 Hi! One question, is it possible to block by ip?

Chalwk commented 5 years ago

If you want to block an IP I recommend using SAPP's built-in IP Ban command. The command Syntax is: ipban <player expression> <minutes> <reason>

Does this help?

Dark3211 commented 5 years ago

I'm sorry, I did not explain. It would be the player's crash game by ip

Chalwk commented 5 years ago

OKAY, no problem. I have released Version 2 which does IP comparisons instead of name-to-hash comparisons. Download this version:

https://github.com/Chalwk77/HALO-SCRIPT-PROJECTS/blob/master/SAPP%20SCRIPTS/UTILITY%20MODS/Crash%20Player%202.0.lua

Dark3211 commented 5 years ago

Thank you so much!

Chalwk commented 5 years ago

You're welcome. I have updated Crash Player 2.0 again.