GoldenEye: Source Forums

  • November 25, 2024, 07:10:55 am
  • Welcome, Guest
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Gameplay Voting, need help implementing  (Read 9044 times)

0 Members and 1 Guest are viewing this topic.

Govik_420

  • Agent
  • *
  • Posts: 15
  • Reputation Power: 1
  • Govik_420 has no influence.
  • Offline Offline
Gameplay Voting, need help implementing
« on: September 11, 2013, 07:29:24 am »

I would like to implement gamemode voting on my server I like the players to be able to control what the server is doing through voting so it's "community" driven. I have tried UMC but that isn't working. The mapvote works fine but when the server goes to change map it crashes. Any ideas how this can be done? any python scripts or anything? I've been looking into this and the only option I've found has been UMC which again crashes the server. Thanks in advance for any assistance or input you can give me.
Logged

Govik_420

  • Agent
  • *
  • Posts: 15
  • Reputation Power: 1
  • Govik_420 has no influence.
  • Offline Offline
Re: Gameplay Voting, need help implementing
« Reply #1 on: September 13, 2013, 01:30:12 pm »

Okay anyone looking to implement this you can use this plugin with sourcemod to custom make votes.

https://forums.alliedmods.net/showthread.php?t=72216

here is my custom playervotes.cfg is anyone is interested

goviksrealm.net/downloads/customvotes/playervotes.cfg
*you will need to right click and save target as to DL*

It goes in gesource/addons/sourcemod/configs/customvotes/ and replace the default.

Hope this helps someone, I'm just glad I was finally able to implement this feature!!!


P.S. Would still like to know what !gesrocks does or is supposed to do. I have !gameplay set up to start a vote to determine the gameplay mode
« Last Edit: September 13, 2013, 01:31:56 pm by Govik_420 »
Logged

killermonkey

  • GES Programmer
  • Retired Lead Developer
  • GE:S Fanatic
  • *
  • Posts: 5,473
  • Reputation Power: 346
  • killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!
  • Offline Offline
    • DroidMonkey Apps
Re: Gameplay Voting, need help implementing
« Reply #2 on: September 13, 2013, 06:29:06 pm »

You can use that chat trigger to signal doing something in a gamemode or plugin. Its bound to a key by default for easy use during play.
Logged

Troy

  • GE:S Coder
  • 00 Agent
  • ***
  • Posts: 821
  • Reputation Power: 260
  • Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!
  • Offline Offline
Re: Gameplay Voting, need help implementing
« Reply #3 on: September 13, 2013, 10:17:53 pm »

It's a bad idea to use Custom Votes.  It's unapproved for a reason.
Logged
Complete - Arsenal, One Bullet is Enough, Tournament DM v2, TurboDM
Defunct - Agent Under Fire
VC - Being such a dick, KM must be stroked before springing into action.

Govik_420

  • Agent
  • *
  • Posts: 15
  • Reputation Power: 1
  • Govik_420 has no influence.
  • Offline Offline
Re: Gameplay Voting, need help implementing
« Reply #4 on: September 14, 2013, 11:40:32 am »

It's a bad idea to use Custom Votes.  It's unapproved for a reason.

Could you maybe explain why? so far it's working good. and I have found no other way to do this.
Logged

Troy

  • GE:S Coder
  • 00 Agent
  • ***
  • Posts: 821
  • Reputation Power: 260
  • Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!
  • Offline Offline
Re: Gameplay Voting, need help implementing
« Reply #5 on: September 15, 2013, 12:39:15 am »

I recall it crashed my server a lot.  Once I removed it, the crashing stopped.  That and there's a few things that are broken with it.
Logged
Complete - Arsenal, One Bullet is Enough, Tournament DM v2, TurboDM
Defunct - Agent Under Fire
VC - Being such a dick, KM must be stroked before springing into action.

Govik_420

  • Agent
  • *
  • Posts: 15
  • Reputation Power: 1
  • Govik_420 has no influence.
  • Offline Offline
Re: Gameplay Voting, need help implementing
« Reply #6 on: September 15, 2013, 09:54:43 pm »

I recall it crashed my server a lot.  Once I removed it, the crashing stopped.  That and there's a few things that are broken with it.

Thanks for the info... So far hasn't crashed my server and the votes seem to be working fine. I'll stress test it some more. This is a feature that players on my server desire and I use other plugins for things like voteban and what not.
Logged

djuniah

  • 00 Newbie
  • Posts: 4
  • Reputation Power: 0
  • djuniah has no influence.
  • Offline Offline
Re: Gameplay Voting, need help implementing
« Reply #7 on: May 12, 2014, 05:06:21 pm »

Does anyone have a copy of that playervotes.cfg file?  The link seems to 404. 

EDIT: I seem to have found another one online in a google search (the search result went right to the file, so i'm not sure who to credit with it, but i copied it to pastebin so that anyone else seeing this can access it) http://pastebin.com/N7srxsjz
« Last Edit: May 12, 2014, 05:17:28 pm by djuniah »
Logged

Troy

  • GE:S Coder
  • 00 Agent
  • ***
  • Posts: 821
  • Reputation Power: 260
  • Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!
  • Offline Offline
Re: Gameplay Voting, need help implementing
« Reply #8 on: May 12, 2014, 10:39:48 pm »

That's my very old file.  I can post my latest if you want it.
Logged
Complete - Arsenal, One Bullet is Enough, Tournament DM v2, TurboDM
Defunct - Agent Under Fire
VC - Being such a dick, KM must be stroked before springing into action.

djuniah

  • 00 Newbie
  • Posts: 4
  • Reputation Power: 0
  • djuniah has no influence.
  • Offline Offline
Re: Gameplay Voting, need help implementing
« Reply #9 on: May 13, 2014, 01:51:36 am »

That would be really awesome of you if you could. Thanks!
Logged

Troy

  • GE:S Coder
  • 00 Agent
  • ***
  • Posts: 821
  • Reputation Power: 260
  • Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!
  • Offline Offline
Re: Gameplay Voting, need help implementing
« Reply #10 on: May 13, 2014, 03:08:25 am »

Code: [Select]
"Votes"
{
"jump"
{
"title" "Turn jump {!ge_allowjump|onoff|capitalize}?"
"type" "confirm"
"cmd" "ge_allowjump {!ge_allowjump}"
"trigger"
{
"command" "!jump"
"notice"    "%u wants to turn jump {!ge_allowjump|onoff|capitalize}."
"percent" "35"
}
}
"paintball"
{
"title" "Turn paintball {!ge_paintball|onoff|capitalize}?"
"type" "confirm"
"cmd" "ge_paintball {!ge_paintball}"
"trigger"
{
"command" "!paintball"
"notice"    "%u wants to turn paintball {!ge_paintball|onoff|capitalize}."
"percent" "35"
}
}
"radar"
{
"title" "Turn the radar {!ge_allowradar|onoff|capitalize}?"
"type" "confirm"
"cmd" "ge_allowradar {!ge_allowradar}"
"trigger"
{
"command" "!radar"
"notice"    "%u wants to turn the radar {!ge_allowradar|onoff|capitalize}."
"percent" "35"
}
}
"velocity"
{
"title" "Change the velocity?"
"cmd" "ge_velocity @1"
"trigger"
{
"command" "!velocity"
"notice"    "%u wants to change the velocity."
"percent" "35"
}
"options"
{
"1.0" "Normal"
"1.5" "Fast"
"1.85" "Lightspeed"
}
}
}
« Last Edit: May 13, 2014, 03:12:19 am by Troy »
Logged
Complete - Arsenal, One Bullet is Enough, Tournament DM v2, TurboDM
Defunct - Agent Under Fire
VC - Being such a dick, KM must be stroked before springing into action.

djuniah

  • 00 Newbie
  • Posts: 4
  • Reputation Power: 0
  • djuniah has no influence.
  • Offline Offline
Re: Gameplay Voting, need help implementing
« Reply #11 on: May 13, 2014, 03:23:57 am »

There's nothing in there about voting on gameplay modes like in the other config
Logged

Troy

  • GE:S Coder
  • 00 Agent
  • ***
  • Posts: 821
  • Reputation Power: 260
  • Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!
  • Offline Offline
Re: Gameplay Voting, need help implementing
« Reply #12 on: May 13, 2014, 04:41:38 am »

That's because I have two configs now.  One for players and one for admins.  Now that you've seen my scripts, you can make your own!
Logged
Complete - Arsenal, One Bullet is Enough, Tournament DM v2, TurboDM
Defunct - Agent Under Fire
VC - Being such a dick, KM must be stroked before springing into action.

djuniah

  • 00 Newbie
  • Posts: 4
  • Reputation Power: 0
  • djuniah has no influence.
  • Offline Offline
Re: Gameplay Voting, need help implementing
« Reply #13 on: May 13, 2014, 05:19:57 am »

Ahhh understood. Thanks again for making these! I really appreciate it
Logged
Pages: [1]   Go Up