Author
|
|
Veteran Member
Join Date: Aug 2016
Location: bed
|
Plugin ID:
|
8380
|
Plugin Version:
|
2.0.2
|
Plugin Category:
|
Statistical
|
Plugin Game:
|
Left 4 Dead
|
Plugin Dependencies:
|
|
Servers with this Plugin:
|
|
| |
Plugin Description:
|
announce profile game time for every player
|
|
|
02-07-2023
, 14:11
[L4D & L4D2] GameTime Announcer <fork> v2.0.2 [28-May-2023]
|
#1
|
about- a commision from my friend LindaFelicia, he request fix from source code, but i rewrited it
- must get a steam dev key from https://steamcommunity.com/dev
- must install extension "REST in Pawn", plugin can compile online but need that to work
- already tested on l4d1 and l4d2
Credits
ConVar
PHP Code:
// admin flag to access sm_gametime command and receives query results,
// a=reserved slots, empty=everyone, see more in /configs/admin_levels.cfg
gametime_access ""
// important: valve dev key to query, get on https://steamcommunity.com/dev
gametime_devkey ""
// print messages when gametime fetch failed 1=console 2=public chat 3=both
gametime_failure "3"
// which query is prefer, if got once then dont announce another, 1=steam profile 2=achievement stats 0=display every
gametime_prefer "2"
// which gametime data sources to be query 1=steam profile 2=stats of achievement 3=both
gametime_queries "3"
changelog- v2.0 (Start at 26-January-2023, Released at 8-February-2023)
- all translation support
- completely rewrite
- validate response http status and validate response JSON
- support lateload mode
- merge Profile and Stats features on single plugin
- fix player disconnected during requesting
- remove color.inc requirement, but not {red} support anymore
- solve memory leaks for handles
- prefer mode
- command access permission
- support L4D1
- dynamic wait dev key inputs
- show all player GameTime when message receive available
- sm_gametime [override *_prefer] display all of players gametime
- command support console view all data
- optional request failure actions
- v2.0.1 (8-March-2023)
- fix delay authorization cause gametime display not work
- v2.0.2 (28-May-2023)
- fix RESTInPawn extension not load automatically, thanks to Silvers
todo- maybe retry when request timeout or send fail
Installation- put l4d_gametime.smx on /plugins/
- put l4d_gametime.phrases.txt on /translations/
- required install extension "REST in Pawn", sourcemod cant handle network request by self
__________________
Last edited by NoroHime; 05-27-2023 at 16:24.
|
|
|
|