Raised This Month: $32 Target: $400
 8% 

[L4D,L4D2,TF2,CSGO] NativeVotes (v0.8.3, 2014-10-16)


Post New Thread Reply   
 
Thread Tools Display Modes
vitorhnn
Junior Member
Join Date: Dec 2012
Location: Rio de Janeiro, Brazil
Old 02-23-2013 , 13:58   Re: [L4D,L4D2,TF2,CSGO] NativeVotes [Beta] (v0.6.1, 2013-02-11)
Reply With Quote #21

I'm no longer getting any errors, but UMC is still setting the nextmap randomly.
vitorhnn is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 02-23-2013 , 14:31   Re: [L4D,L4D2,TF2,CSGO] NativeVotes [Beta] (v0.6.1, 2013-02-11)
Reply With Quote #22

Quote:
Originally Posted by vitorhnn View Post
I'm no longer getting any errors, but UMC is still setting the nextmap randomly.
I just noticed this in your UMC log:
Code:
L 02/23/2013 - 14:24:15: [umc-nativevotes.smx] DEBUG: Vote Cancelled
I'm not sure why it'd be cancelled, unless this is part of the normal UMC tiered vote process.

Edit:
Oh right, it'll happen if no one votes. Derp.

Edit 2: Have clients reconnected since you loaded the latest version of nativevotes? I've noticed that clients don't like it if another vote comes up with the fail or success screen not showing.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 02-23-2013 at 14:38.
Powerlord is offline
vitorhnn
Junior Member
Join Date: Dec 2012
Location: Rio de Janeiro, Brazil
Old 02-23-2013 , 15:28   Re: [L4D,L4D2,TF2,CSGO] NativeVotes [Beta] (v0.6.1, 2013-02-11)
Reply With Quote #23

Do the clients need to reconnect or does a map change work?

In any case, it's been happening for 3 hours, long enough for new clients to connect, and I'm pretty sure UMC sends the success message after the first vote.
vitorhnn is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 02-23-2013 , 21:33   Re: [L4D,L4D2,TF2,CSGO] NativeVotes [Beta] (v0.6.1, 2013-02-11)
Reply With Quote #24

Here's version 0.7.2.

Changelog:
  • Votes should be registered again. See below as to what broke.
  • Fixed votes ending early if votes not on the list were selected (i.e. hitting F5 when there are 4 or less options).

After some back and forth talking with vitorhnn, I figured out what was causing votes to not register. The problem was actually with me accidentally removing too much code when replacing the vote array resizing code. I thought I'd restored the missing lines, but turns out I'd missed the one that sets the number of options in the vote.

With any luck, this is the last bug for a while. We can always hope, anyway!
Attached Files
File Type: sp Get Plugin or Get Source (nativevotes.sp - 104 views - 43.4 KB)
File Type: smx nativevotes.smx (32.6 KB, 136 views)
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 02-23-2013 , 22:35   Re: [L4D,L4D2,TF2,CSGO] NativeVotes [Beta] (v0.7.2, 2013-02-23)
Reply With Quote #25

You guys are probably getting tired of seeing all these rapid-fire updates, but here's another one.

0.7.3 Changelog:
  • If hintboxes are enabled, the hintbox is now drawn once when the vote starts. This is to clear the previous vote's entries
  • Eliminated duplicate code from the function that builds the hintbox list.
  • The above shared code now only sorts the votes that actually exist. Shouldn't make a difference, but just in case...
Attached Files
File Type: smx nativevotes.smx (32.5 KB, 139 views)
File Type: sp Get Plugin or Get Source (nativevotes.sp - 104 views - 43.2 KB)
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 02-24-2013 , 15:37   Re: [L4D,L4D2,TF2,CSGO] NativeVotes [Beta] (v0.7.3, 2013-02-23)
Reply With Quote #26

Release verison 0.7.4. This is a minor update.

Changelog:
  • Fixes that a vote's details or winner were one character shorter than they should be.
Attached Files
File Type: smx nativevotes.smx (32.5 KB, 142 views)
File Type: sp Get Plugin or Get Source (nativevotes.sp - 148 views - 43.2 KB)
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 02-24-2013 at 15:41.
Powerlord is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 02-28-2013 , 13:45   Re: [L4D,L4D2,TF2,CSGO] NativeVotes [Beta] (v0.7.4, 2013-02-24)
Reply With Quote #27

Release version 0.7.5. This is a minor update that mainly affects L4D.

Changelog:
  • nativevotes.inc now has a new NativeVotesCallFailType: NativeVotesCallFail_Generic. Necessary for L4D/L4D2 support.
  • L4D: DisplayVoteFail should now work on L4D.
  • L4D: Casting a vote now sends the VoteRegistered usermessage instead of the vote_cast_yes or vote_cast_no events. Let me know if this version breaks the vote counters on L4D for you.
  • L4D/L4D2: NativeVotes_DisplayCallVoteFail should now work on these, but probably only for NativeVotesCallFail_Generic and NativeVotesCallFail_Loading.


Also attached is a new version of votediagnostics, which now logs a few new things on L4D and L4D2.

Edit: I'm surprised this plugin got Approved already.
Attached Files
File Type: smx nativevotes.smx (32.4 KB, 109 views)
File Type: smx votediagnostics.smx (9.2 KB, 110 views)
File Type: sp Get Plugin or Get Source (votediagnostics.sp - 369 views - 17.7 KB)
File Type: zip nativevotes src.zip (42.0 KB, 106 views)
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 02-28-2013 at 15:25.
Powerlord is offline
Baron Rojo
Senior Member
Join Date: Dec 2011
Old 03-08-2013 , 09:15   Re: [L4D,L4D2,TF2,CSGO] NativeVotes [Beta] (v0.7.5, 2013-02-28)
Reply With Quote #28

Hi, could you please upload a screenshot of the csutom vote menu in csgo. Thx
Baron Rojo is offline
ss2miraitrunks
Senior Member
Join Date: Dec 2005
Old 03-10-2013 , 14:00   Re: [L4D,L4D2,TF2,CSGO] NativeVotes [Beta] (v0.7.5, 2013-02-28)
Reply With Quote #29

rock the vote doesn't work properly with umc and this
__________________


ss2miraitrunks is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 03-10-2013 , 14:12   Re: [L4D,L4D2,TF2,CSGO] NativeVotes [Beta] (v0.7.5, 2013-02-28)
Reply With Quote #30

Quote:
Originally Posted by Baron Rojo View Post
Hi, could you please upload a screenshot of the csutom vote menu in csgo. Thx
I'll have to set up a CS:GO server as I don't presently have one set up to get those.

Quote:
Originally Posted by ss2miraitrunks View Post
rock the vote doesn't work properly with umc and this
Are there any errors in the SourceMod error log? For that matter, is it just rock the vote or does a normal vote also not work?
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
Reply


Thread Tools
Display Modes

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 08:12.


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