Raised This Month: $51 Target: $400
 12% 

Basic Votes (votemap, votekick, voteban)


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Kaschenko
SourceMod Donor
Join Date: Apr 2006
Location: Country: Russia; City: M
Old 06-15-2007 , 01:11   Re: [PLUGIN] basevotes (votemap, votekick, voteban)
#11

The good beginning. It would be not bad to make automatic voting. For example: automatic voting 3 minutes prior to the end map (for example: sm_votemapauto "3").

P.S. After creation of such command - at once I shall put SourceMod on a server.
__________________

Last edited by Kaschenko; 06-15-2007 at 13:26.
Kaschenko is offline
Send a message via ICQ to Kaschenko Send a message via MSN to Kaschenko Send a message via Skype™ to Kaschenko
Fisch.666
Junior Member
Join Date: May 2004
Old 06-15-2007 , 05:45   Re: [PLUGIN] basevotes (votemap, votekick, voteban)
#12

Quote:
Originally Posted by ferret View Post
Tested with R939, no more segfault, whee
Same here, thanks for this bugfix!!!
Fisch.666 is offline
Kaschenko
SourceMod Donor
Join Date: Apr 2006
Location: Country: Russia; City: M
Old 06-15-2007 , 07:32   Re: [PLUGIN] basevotes (votemap, votekick, voteban)
#13

What does it mean?
The flag is established - root.
The interdiction cannot be.
Attached Thumbnails
Click image for larger version

Name:	untitled.jpg
Views:	339
Size:	41.6 KB
ID:	17044   Click image for larger version

Name:	untitled2.jpg
Views:	312
Size:	80.0 KB
ID:	17045   Click image for larger version

Name:	untitled3.jpg
Views:	326
Size:	66.6 KB
ID:	17046  
__________________

Last edited by Kaschenko; 06-15-2007 at 13:25.
Kaschenko is offline
Send a message via ICQ to Kaschenko Send a message via MSN to Kaschenko Send a message via Skype™ to Kaschenko
ferret
SourceMod Developer
Join Date: Dec 2004
Location: Atlanta, GA
Old 06-15-2007 , 08:58   Re: [PLUGIN] basevotes (votemap, votekick, voteban)
#14

Quote:
Originally Posted by Kaschenko View Post
The good beginning. It would be not bad to make automatic voting. For example: automatic voting 3 minutes prior to the end map (for example: sm_votemapauto "3").

P.S. After creation of such command - at once I shall put SourceMod on a server.
In AMXX, this was a seperate plugin, mapchooser.sma. I may port it this weekend as well. Or try to. First I'll have to find out how to actually set the next map.
__________________
I'm a blast from the past!
ferret is offline
ferret
SourceMod Developer
Join Date: Dec 2004
Location: Atlanta, GA
Old 06-15-2007 , 09:01   Re: [PLUGIN] basevotes (votemap, votekick, voteban)
#15

Quote:
Originally Posted by Kaschenko View Post
What does it mean?
The flag is established - root.
The interdiction cannot be.
The second image, with the error report from IsVoteInProgress, is my fault. I'll fix.

The third image shows that you did NOT give yourself any admin privs.

sm_voteban requires ADMIN_BAN rights
sm_votekick requires ADMIN_KICK rights
sm_votemap requires ADMIN_CHANGEMAP rights
sm_vote and sm_votecancel require ADMIN_VOTE rights.

'z' gives you none of these. Please refer to this page:
http://wiki.alliedmods.net/Adding_Ad...28SourceMod%29
__________________
I'm a blast from the past!
ferret is offline
ferret
SourceMod Developer
Join Date: Dec 2004
Location: Atlanta, GA
Old 06-15-2007 , 09:04   Re: [PLUGIN] basevotes (votemap, votekick, voteban)
#16

Ok, maybe I should read the wiki, not you. 'z' is default "no access" in AMXX. I realize now that 'z' is "everything" in SM. Good to know!

I will try to figure out what's wrong tonight when I get home from work. It's probably because of the IsVoteInProgress.
__________________
I'm a blast from the past!
ferret is offline
supermj
Senior Member
Join Date: May 2004
Location: Georgia
Old 06-15-2007 , 11:26   Re: [PLUGIN] basevotes (votemap, votekick, voteban)
#17

Thanks for the much needed plugin!!! I'm assuming since I have z access, that's why it says unknown command?
__________________

Last edited by supermj; 06-15-2007 at 11:45.
supermj is offline
Kaschenko
SourceMod Donor
Join Date: Apr 2006
Location: Country: Russia; City: M
Old 06-15-2007 , 12:44   Re: [PLUGIN] basevotes (votemap, votekick, voteban)
#18

ferret
Goood!!
Respect man!
__________________

Last edited by Kaschenko; 06-15-2007 at 13:25.
Kaschenko is offline
Send a message via ICQ to Kaschenko Send a message via MSN to Kaschenko Send a message via Skype™ to Kaschenko
ferret
SourceMod Developer
Join Date: Dec 2004
Location: Atlanta, GA
Old 06-15-2007 , 12:47   Re: [PLUGIN] basevotes (votemap, votekick, voteban)
#19

Quote:
Originally Posted by supermj View Post
Thanks for the much needed plugin!!! I'm assuming since I have z access, that's why it says unknown command?
Try this (I won't be able to test this for another 5 hours, at work):

Remove this from the source code wherever it appears:

Code:
|| IsVoteInProgress(hVoteMenu)
Code:
|| !IsVoteInPr4ogress(hVoteMenu)
__________________
I'm a blast from the past!
ferret is offline
ferret
SourceMod Developer
Join Date: Dec 2004
Location: Atlanta, GA
Old 06-15-2007 , 18:02   Re: [PLUGIN] basevotes (votemap, votekick, voteban)
#20

Working out the kinks. So far I've gotten every bug out I've found, but I've ran into weird issues with translation.

http://ampaste.net/26350
http://ampaste.net/26354
__________________
I'm a blast from the past!
ferret is offline
Closed Thread



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 11:36.


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