←  [RSS] Pluginy

AMXX.pl: Support AMX Mod X i SourceMod

»

[L4D,L4D2,TF2,CSGO] NativeVotes [Beta] (v0...

Adminek AMXX.PL - zdjęcie Adminek AMXX.PL 09.02.2013

(I apologize if you got here because this is marked as "Any". It only supports the 4 games listed up top.)Requires SourceMod 1.5-hg3755 or newer to compileHowever, the plugin itself should run on SourceMod 1.4.What is NativeVotes?NativeVotes is an API to generate vote panels using the game's own vote panels. It is the next version of the BuiltinVotes extension, but as a plugin.What's new since BuiltinVotes 0.5.8?
  • NativeVotes_Close must be called instead of CloseHandle or the plugin will leak handles.
  • The API was completed redesigned. Whenever possible, the API was moved to be closer to the SourceMod menu API.
  • NativeVotes has its own configuration file now.
  • CS:GO is now supported. Needs testing.
  • Fail screen is no longer automatically shown if you close a vote without sending a fail or pass screen. Closing it without sending one IS a mistake on the plugin developers part.
  • NativeVotes manipulates the server's vote_controller entity. This should address issues where vote counts weren't showing up.
CVars
  • nativevotes_version - NativeVotes API version
  • nativevotes_progress_hintbox - [0/1] def. 0 - Show current vote progress in a hint box
  • nativevotes_progress_chat - [0/1] def. 0 - Show current vote progress as chat messages
  • nativevotes_progress_console - [0/1] def. 0 - Show current vote progress as console messages
  • nativevotes_progress_client_console - [0/1] def 0 - Show current vote progress as console messages to clients
  • nativevotes_vote_delay - def 30 - Sets the recommended time in between public votes
Known Issues
  • Unloading NativeVotes while a vote panel is open may do bad things if the plugin isn't expecting it. The example plugin, NativeVotes MapChooser, doesn't expect it and will bomb.
  • NativeVotes_RegisterVoteManager currently does nothing and instead returns an error. This functionality will be added at a later time.
  • Yes/No votes may work, but "Yes" and "No" aren't being registered as answers correctly.
  • Natives dealing with adding and removing items shouldn't work on L4D and L4D2, but this isn't currently restricted.
  • NativeVotes_DisplayCallVoteFail does nothing on L4D and L4D2. I need more data about what they display when a vote fails to start.
NativeVotes API is in the attached nativevotes.inc. This is a work in progress and enum values in particular may change.What is votediagnostics.smx?votediagnostics is a special tool for people using the real vote panels that the game itself provides. It creates a logfile named vote_diagnostics.txtI need people to do this to gather information on the vote IDs and also what CS:GO does with its other team strings. Attached Files Posted Image nativevotes.inc (28.8 KB) Posted Image nativevotes 0.60.zip (71.7 KB) Posted Image Get Plugin or Get Source (votediagnostics.sp - 17.0 KB) Posted Image votediagnostics.smx (9.0 KB)

Wyświetl pełny artykuł
Odpowiedz