Author Topic: Script-Vote  (Read 4098 times)

0 Members and 1 Guest are viewing this topic.

Offline Stuffy

  • Soldier
  • **
  • Posts: 182
  • Very stuffy.
    • Climb-Zone Forum
Script-Vote
« on: February 09, 2011, 01:17:27 pm »
After a lot of problems and missunderstandings.

Script-Vote

Completly "reworked". Has a list now with scripts that are allowed to vote (scriptlist.txt).

Commands:

No vote running: !change <scriptname> will start one for the specified script.
Vote running: !change will vote for the current script-change.
Only one vote can run at the time.

Uhm, yeah, thats it. Hope there will be no more topics about it, I never thought there could be such a trouble about it.
« Last Edit: February 17, 2011, 11:42:19 am by Stuffy »
The truth is out there? Does anyone know the URL?
The URL is here

Offline daniel35

  • Major(1)
  • Posts: 19
Re: Script-Vote
« Reply #1 on: February 10, 2011, 06:27:37 pm »
it seems thatthere will be more topics on this subject ,there was an error :


Offline Stuffy

  • Soldier
  • **
  • Posts: 182
  • Very stuffy.
    • Climb-Zone Forum
Re: Script-Vote
« Reply #2 on: February 11, 2011, 05:22:41 am »
works for me, try to redownload.
The truth is out there? Does anyone know the URL?
The URL is here

Offline daniel35

  • Major(1)
  • Posts: 19
Re: Script-Vote
« Reply #3 on: February 11, 2011, 10:59:04 am »
Your script can build beyond. pas?
Your script also compiles maplist.txt soldat.txt etc ...

From: February 11, 2011, 11:05:03 am
For example when the script loads it will only use the maps of them, like a script from the script-volley will vote in his folder and load the maplist.txt
So one can do so?
« Last Edit: February 11, 2011, 11:10:04 am by daniel35 »

Offline Stuffy

  • Soldier
  • **
  • Posts: 182
  • Very stuffy.
    • Climb-Zone Forum
Re: Script-Vote
« Reply #4 on: February 11, 2011, 03:00:41 pm »
I think you mean if the script volley-ball is active, its uses the mapslist for volleyball? Yeah, thats possible. I'll script it for you.
« Last Edit: February 11, 2011, 03:04:43 pm by Stuffy »
The truth is out there? Does anyone know the URL?
The URL is here

Offline daniel35

  • Major(1)
  • Posts: 19
Re: Script-Vote
« Reply #5 on: February 12, 2011, 10:17:59 am »
I'm asking because when he changes his mod does not load maps, that is when it loads the mod's volleyball, which has the same map that was in my case was  ctf_kampf to play volleyball on the map ctf_kampf  :P  , and I do not I think he carries the soldat. txt also
« Last Edit: February 12, 2011, 11:45:59 am by daniel35 »

Offline daniel35

  • Major(1)
  • Posts: 19
Re: Script-Vote
« Reply #6 on: February 15, 2011, 06:53:24 am »
It takes  :(

Offline Stuffy

  • Soldier
  • **
  • Posts: 182
  • Very stuffy.
    • Climb-Zone Forum
Re: Script-Vote
« Reply #7 on: February 15, 2011, 03:39:19 pm »
Here it is, sorry for the time it took.

place a mapslist in your soldatserver mainfolder with the name: <scriptname>mapslist.txt without any spaces in it. Ofc you have to replace <scriptname> with the name of the script you like to use. Make sure the <scriptname> is exactly like the folder name of the script in your "scripts" folder. Otherwise it will not work.

Example:

ScriptName: volleyball
Name of the mapslist: volleyballmapslist.txt
« Last Edit: February 15, 2011, 03:43:46 pm by Stuffy »
The truth is out there? Does anyone know the URL?
The URL is here

Offline daniel35

  • Major(1)
  • Posts: 19
Re: Script-Vote
« Reply #8 on: February 17, 2011, 11:33:55 am »
Very good your script, though it can be improved, it is very good  ;D

From: February 17, 2011, 12:03:09 pm
damn I'll have to post a problem, I'll post things that will leave your best screenplay

"When he changes the script will have him to kick all the bots, for when it loads the script volleyball and he was still with zombie bots
-it needs to load the txt soldat.

Over time I'll post more errors  ::)

From: February 17, 2011, 12:08:22 pm
Here it is, sorry for the time it took.

place a mapslist in your soldatserver mainfolder with the name: <scriptname>mapslist.txt without any spaces in it. Ofc you have to replace <scriptname> with the name of the script you like to use. Make sure the <scriptname> is exactly like the folder name of the script in your "scripts" folder. Otherwise it will not work.

Example:

ScriptName: volleyball
Name of the mapslist: volleyballmapslist.txt
I want the map list to start after the vote on the script is finished
« Last Edit: February 17, 2011, 12:08:22 pm by daniel35 »

Offline Stuffy

  • Soldier
  • **
  • Posts: 182
  • Very stuffy.
    • Climb-Zone Forum
Re: Script-Vote
« Reply #9 on: February 18, 2011, 09:59:37 am »
Well, the script was never made to change script-gamemodes like this. Basically, my idea was to have the possibility to disable or enable certain scripts. I guess what you need is a script that only activates on mode at the moment, loads the mapslist, kicks the bots etc. That are very specific requirements. Because right now its possible to have two gamemode-scripts being active at the same time, Zombie RPG and Volleyball for example. I guess these two scripts doesnt fit very good to each other. A possibility would be to disable all the other scripts (except default ofc.), but that brings some problems with it. Theres no way to get a list of all the current scripts that are running on the server (as far as I know), so you'll have to make a list with all the scripts you've installed on your server. Its possible to do things like that (see Bomski(e?)s multimode), but I dont have the time and motivation to start working on a script like that. Maybe you should learn "scripting" yourself. Thats very helpfull if you running a server.

Back to the script:

The nextmap-thingy is easy, the botkicking-feature too, but as I mentioned before, there are still some problems in it. I'll do the kicking and nextmap-thingy for you, but if you want to have a fully-functional-gamemode-change-script you'll better start scripting yourself.
« Last Edit: February 18, 2011, 10:09:14 am by Stuffy »
The truth is out there? Does anyone know the URL?
The URL is here