Skocz do zawartości

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

[L4D,L4D2,TF2,CSGO] NativeVotes [Beta] (v0.60, 2013-02-08)


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
Brak odpowiedzi do tego tematu

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156
Profesjonalista

  • Postów:7 488
  • Lokalizacja:AMXX.PL
Offline

Napisano 09.02.2013 08:05

(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 Dołączona grafika nativevotes.inc (28.8 KB) Dołączona grafika nativevotes 0.60.zip (71.7 KB) Dołączona grafika Get Plugin or Get Source (votediagnostics.sp - 17.0 KB) Dołączona grafika votediagnostics.smx (9.0 KB)

Wyświetl pełny artykuł




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych