Raised This Month: $ Target: $400
 0% 

[L4D,L4D2,TF2] BuiltinVotes 0.5.8 (2013-01-29)


Post New Thread Reply   
 
Thread Tools Display Modes
donrevan
AlliedModders Donor
Join Date: Jul 2010
Old 07-14-2012 , 03:34   Re: [L4D,L4D2,TF2] BuiltinVotes 0.5.7 (2012-03-06)
Reply With Quote #181

See previous Page:
Quote:
Originally Posted by Powerlord View Post
Hmm, the events have all the same names as their TF2 counterparts. It may be possible to just recompile the TF2 files against the CSGO SDK, I'm not certain.
EDIT:
csgo linux build - uses BuiltinVoteStyle_TF2
I have only tested ext. loading(works fine)
Attached Files
File Type: zip builtinvotes.ext.2.csgo.zip (113.3 KB, 154 views)

Last edited by donrevan; 07-14-2012 at 04:54.
donrevan is offline
Pasa
Junior Member
Join Date: Apr 2012
Old 08-07-2012 , 15:17   Re: [L4D,L4D2,TF2] BuiltinVotes 0.5.7 (2012-03-06)
Reply With Quote #182

Sorry for stupid question, but... Can i use this extension to get built-in vote screen with sm_vote command?
Pasa is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 08-07-2012 , 16:08   Re: [L4D,L4D2,TF2] BuiltinVotes 0.5.7 (2012-03-06)
Reply With Quote #183

I may look into writing a plugin version of this extension again soon... I've got a lot on my plate this month, so don't expect to see anything on it until at least September.

This change is coming because of a few reasons:
  1. I need to do some stuff with the vote_controller entity to fix some issues with vote numbers displaying incorrectly, which is apparently not easy to do with an extension.
  2. Extensions are really difficult to debug, with really obtuse error messages.
  3. A vote API plugin can't crash the entire server, while a voting extension clearly can.
There are a few downsides to doing this:
  1. Extensions would no longer be able to use the BuiltinVotes API. (Not that any do...)
  2. Making a plugin version will break compatibility with plugins that use the extension version. It also means that all natives will require different names to avoid collisions.
  3. I'll have to rewrite the voting logic, which means working around SourcePawn's limits, which includes...
  4. Losing the handle type-safety that extensions can do. (Likely, it'll pass around either an adt_array or DataPack handle storing other Handles for its various data structures)
If SourcePawn 2 is in a stable state by then, it may end up being an SP2 plugin rather than an SP1 plugin.

Quote:
Originally Posted by Pasa View Post
Sorry for stupid question, but... Can i use this extension to get built-in vote screen with sm_vote command?
Not unless someone writes a replacement for the sm_vote command that uses this. I've been meaning to, but I'm lazy.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 08-07-2012 at 16:15.
Powerlord is offline
Minoost
SourceMod Donor
Join Date: Aug 2011
Old 08-08-2012 , 10:47   Re: [L4D,L4D2,TF2] BuiltinVotes 0.5.7 (2012-03-06)
Reply With Quote #184

If someone revote via !revote (that during next map vote)
All player crash and disconnect from server..

If without BuiltinVotes problem not happend.

Code:
L 08/08/2012 - 23:59:16: "장삿배<1176><STEAM_0:1:39631941><Blue>" disconnected (reason "장삿배 timed out")
L 08/08/2012 - 23:59:16: "Lonesome Road<1172><STEAM_0:1:37262069><Red>" disconnected (reason "Lonesome Road timed out")
L 08/08/2012 - 23:59:17: "꺼절!<1150><STEAM_0:0:20646677><Blue>" disconnected (reason "꺼절! timed out")
L 08/08/2012 - 23:59:17: "R_[AsS]..MISS<1099><STEAM_0:0:38704145><Blue>" disconnected (reason "R_[AsS]..MISS timed out")
L 08/08/2012 - 23:59:17: "샬걀<1166><STEAM_0:0:53134282><Red>" disconnected (reason "샬걀 timed out")
L 08/08/2012 - 23:59:19: "어제무친연어<1134><STEAM_0:1:36415785><Blue>" disconnected (reason "어제무친연어 timed out")
L 08/08/2012 - 23:59:20: "245289736<1175><STEAM_0:0:54222027><Red>" disconnected (reason "245289736 timed out")
L 08/08/2012 - 23:59:21: "[KOR]CosMos<1173><STEAM_0:1:41620603><Red>" disconnected (reason "[KOR]CosMos timed out")
L 08/08/2012 - 23:59:22: "cl_qgz<1142><STEAM_0:1:13052944><Blue>" disconnected (reason "cl_qgz timed out")
L 08/08/2012 - 23:59:23: "콩주<1129><STEAM_0:0:42344678><Blue>" disconnected (reason "콩주 timed out")
L 08/08/2012 - 23:59:23: "Mino<1143><STEAM_0:1:38776801><Blue>" disconnected (reason "Mino timed out")
L 08/08/2012 - 23:59:23: "tingwu_w<1146><STEAM_0:1:54243571><Blue>" disconnected (reason "tingwu_w timed out")
L 08/08/2012 - 23:59:26: "라울(기부왕)<1153><STEAM_0:1:43229823><Red>" disconnected (reason "라울(기부왕) timed out")
L 08/08/2012 - 23:59:26: [BV] michi 님이 pl_frontier_final 에 투표했습니다.L 08/08/2012 - 23:59:27: "Bihyu<1154><STEAM_0:1:49630231><Red>" disconnected (reason "Bihyu timed out")
L 08/08/2012 - 23:59:28: "david1209yip<1151><STEAM_0:1:52671583><Red>" disconnected (reason "david1209yip timed out")
L 08/08/2012 - 23:59:28: "HOT-DOG<1163><STEAM_0:1:20870261><Blue>" disconnected (reason "HOT-DOG timed out")
Code:
[SM] Listing 56 plugins:
  01 "bonusroundrespawn" (1.2) by Ratty
  02 "[TF2] High Five Enemies" (1.1) by FlaminSarge
  03 "Steam Group Admins" (1.2.0) by psychonic
  04 "SaveChat" (SaveChat_1.2.1) by citkabuto
  05 "Trade Chat" (1.5) by Luki
  06 "Client Preferences" (1.4.2) by AlliedModders LLC
  07 "MapChooser Extended" (1.9.1) by Powerlord, Zuko, and AlliedModders LLC
  08 "Admin Menu" (1.4.2) by AlliedModders LLC
  09 "TF2 FF on during waiting for players" (1.1) by Ratty
  10 "Default Map Changer" (1.3) by TigerOx
  11 "Auto Recorder" (1.1.0) by Stevo.TVR
  12 "[ANY] Automatic Steam Update" (1.7.0) by Dr. McKay
  13 "[TF2] Force End Round" (1.0.1) by DarthNinja
  14 "Execute Configs" (1.0) by Tsunami
  15 "Basic Comm Control" (1.4.2) by AlliedModders LLC
  16 "Simple Chat Processor" (1.0.1) by Simple Plugins
  17 "SMAC Aimbot Detector" (0.8.0.4) by GoD-Tony
  18 "tDetailWinPanel" (0.0.3) by Thrawn
  19 "Fun Commands" (1.4.2) by AlliedModders LLC
  20 "[TF2Items] Manager" (1.4.1) by Damizean & Asherkin
  21 "Mapchooser Extended Sounds" (1.3) by Powerlord
  22 "Advance Restart" (1.0) by Darklord1474
  23 "Basic Commands" (1.4.2) by AlliedModders LLC
  24 "Basic Info Triggers" (1.4.2) by AlliedModders LLC
  25 "[TF2] Thirdperson" (2.1.0) by DarthNinja
  26 "Anti-Flood" (1.4.2) by AlliedModders LLC
  27 "Goomba Stomp Core" (2.0.2) by Flyflo
  28 "[TF2] Sydney Sleeper Extinguish" (1.0) by FlaminSarge
  29 "Spray Tracer" (5.8a) by Nican132, CptMoore, Lebson506th
  30 "Updater" (1.1.5) by GoD-Tony
  31 "Plugin Autoupdater" (1.5) by MikeJS
  32 "Admin Help" (1.4.2) by AlliedModders LLC
  33 "SourceMod Anti-Cheat" (0.8.0.4) by GoD-Tony, psychonic
  34 "Reserved Slots" (1.4.2) by AlliedModders LLC
  35 "Player-Teleport by Dr. HyperKiLLeR" (1.2.0.0) by Dr. HyperKiLLeR
  36 "Player Commands" (1.4.2) by AlliedModders LLC
  37 "IP range ban on MySQL" (1.0) by Cep>|< - Russian BugTrack Group
  38 "Basic Chat" (1.4.2) by AlliedModders LLC
  39 "[TF2] gScramble Team Manager" (3.0.11) by Goerge
  40 "Basic Votes" (1.4.2) by AlliedModders LLC
  41 "Sound Commands" (1.4.2) by AlliedModders LLC
  42 "MOTD Backpack" (2.2) by Munra, bottiger, 11530
  43 "Admin File Reader" (1.4.2) by AlliedModders LLC
  44 "AFK Manager" (3.4.3) by Rothgar
  45 "Project ADM" (0.4.1.8) by Mino
  46 "AllChat" (1.1.1) by Frenzzy
  47 "TF2 Fast Respawn" (1.2) by Tsunami
  48 "TF2 Class Restrictions" (0.6) by Tsunami
  49 "ChatLogEx" (1.3.7) by muukis (original author Nephyrin)
  50 "SourceBans" (1.4.9) by SourceBans Development Team
  51 "Nextmap" (1.4.2) by AlliedModders LLC
  52 "Fun Votes" (1.4.2) by AlliedModders LLC
  53 "Goomba Stomp TF2" (1.0.1) by Flyflo
  54 "BuiltinVotes Revote" (1.0) by Powerlord
  55 "AddTime" (1.0.4) by bl4nk
  56 "[ANY] Tidy Kick" (1.0.0) by Dr. McKay
Code:
[SM] Displaying 18 extensions:
[01] Automatic Updater (1.4.4): Updates SourceMod gamedata files
[02] Webternet (1.4.4): Extension for interacting with URLs
[03] TF2Items (1.5.2): TF2 Item Modifier
[04] Huntsman (0.1.2): Removes the restriction of firing in the air.
[05] TF2 Tools (1.4.4): TF2 extended functionality
[06] BinTools (1.4.4): Low-level C/C++ Calling API
[07] SDK Tools (1.4.4): Source SDK Tools
[08] SteamTools (0.8.2): SteamWorks for SourceMod.
[09] GeoIP (1.4.4): Geographical IP information
[10] Client Preferences (1.4.4): Saves client preference settings
[11] SQLite (1.4.4): SQLite Driver
[12] Builtin Votes (0.5.7): API to do votes using the L4D, L4D2, and Orange Box Valve game in-game vote interface
[13] Top Menus (1.4.4): Creates sorted nested menus
[14] SDK Hooks (2.1.0): Source SDK Hooks
[15] cURL Extension (1.3.0.0): cURL Extension
[16] Socket (3.0.1): Socket extension for SourceMod
[17] MySQL-DBI (1.4.4): MySQL driver implementation for DBI
[18] Connect (1.0.0):
Sorry for my poor english

Last edited by Minoost; 08-08-2012 at 10:53.
Minoost is offline
step
Senior Member
Join Date: May 2010
Old 08-13-2012 , 10:13   Re: [L4D,L4D2,TF2] BuiltinVotes 0.5.7 (2012-03-06)
Reply With Quote #185

seems like if I have bind f1 "vote yes" instead of "vote Yes" the vote doesn't count
step is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 08-14-2012 , 10:07   Re: [L4D,L4D2,TF2] BuiltinVotes 0.5.7 (2012-03-06)
Reply With Quote #186

It occurred to me that this won't work on CS:GO even if it does compile, simply because the translation strings are wrong.

Luckily, since I pre-ordered CS:GO, I should have access to its files... sometime this afternoon, since people who pre-ordered it will be given access to the beta today.

Side Note: I've started work on the plugin version, which will be referred to as "Native Votes" instead of "Builtin Votes."
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 08-14-2012 at 10:08.
Powerlord is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 08-15-2012 , 10:31   Re: [L4D,L4D2,TF2] BuiltinVotes 0.5.7 (2012-03-06)
Reply With Quote #187

I finally gotten my hands on the CS:GO beta, I took a look through csgo_english.txt. Unfortunately, I now have a nasty feeling that they changed the arguments to the CallVoteFailed and VoteFailed usermessages again, this time making them take translation strings instead of numerical argument.

I may need to write a new version of my TF2 vote monitoring plugin and see what values CS:GO is passing around to find out. This also helps me nail down which translation strings are used in the usermessages and which are used in the UI.

Quote:
Originally Posted by step View Post
seems like if I have bind f1 "vote yes" instead of "vote Yes" the vote doesn't count
The only reason it's done that way is because I was lazy and bound it to whichever the game was using at the time. I didn't actually think people would rebind their keys.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 08-15-2012 at 10:33.
Powerlord is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 08-15-2012 , 16:20   Re: [L4D,L4D2,TF2] BuiltinVotes 0.5.7 (2012-03-06)
Reply With Quote #188

It looks like Valve is changing some things around in TF2's voting system in today's update. Hopefully nothing breaks and they're just adding new vote options (for MvM missions).
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
step
Senior Member
Join Date: May 2010
Old 08-15-2012 , 16:31   Re: [L4D,L4D2,TF2] BuiltinVotes 0.5.7 (2012-03-06)
Reply With Quote #189

Can you add some of the options from vote manager to this extension? Options like pass or veto a vote, admin immunity, blocking spectators from voting/having a square for their vote?
step is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 08-15-2012 , 18:08   Re: [L4D,L4D2,TF2] BuiltinVotes 0.5.7 (2012-03-06)
Reply With Quote #190

Quote:
Originally Posted by step View Post
Can you add some of the options from vote manager to this extension? Options like pass or veto a vote, admin immunity, blocking spectators from voting/having a square for their vote?
This is an API and doesn't expose any commands directly to clients.

As for L4D/L4D2 and spectators, I thought most votes were restricted to a specific team?

To be honest, when I wrote this API, it was aimed more at TF2. The L4D and L4D2 parts were added on due to how similar they were.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:32.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode