Author Topic: Climb Grenades  (Read 3428 times)

0 Members and 1 Guest are viewing this topic.

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Climb Grenades
« on: August 28, 2007, 04:13:04 pm »
Script Name: Climb Grenades
Script Description: Obviously, this script is meant for climb servers. The way the script works is that if the current map is listed in NadeMaps.txt, then players may do /nade or !nade and receive grenades, although there is a server-specific time limit (currently set to 10 seconds) before each player may use the command once again. I would prefer setting the grenade count to one on the servers that this script is on.
There are a few easy to learn admin commands: 1. /addnadec which adds the current map to the list of nade-allowed maps; 2. /addnade <map> which adds a specified map (spaces count) to the list of nade-allowed maps; and 3. /loadnades which loads nademaps.txt into the script in case you modified the file in the middle of the server running. Note that if your recompile, the nade maps list is reset to whatever is in nademaps.txt.
Original Author: Curt
Core Version: 2.6.2
Code Does anybody really copy and paste this anymore? Its probably 100 times easier to download and drag + drop the folder in the server, and let it run then having to go through all the fuss of coping it, pasting it, making sure you have it in the Includes.txt, making sure you have nademaps.txt, and stuff like that. I'm thinking of not even bothering to post the code on the pages anymore.
In request from BombSki`.
« Last Edit: August 28, 2007, 04:18:40 pm by DorkeyDear »

Offline Geistlort

  • Major(1)
  • Posts: 6
Re: Climb Grenades
« Reply #1 on: August 28, 2007, 04:44:18 pm »
thanks

Offline BombSki

  • Flagrunner
  • ****
  • Posts: 927
    • Climbing-soldiers.net
Re: Climb Grenades
« Reply #2 on: August 29, 2007, 11:01:14 am »
thanks ^^ ill go test it now.


Date Posted: August 29, 2007, 10:48:07 AM
works like a charm. the only thing that im missing is a '!nade is enabled' onmapchange and onjoin

Date Posted: August 29, 2007, 11:09:44 AM
the usa server crashed and wouldnt restart anymore until i had removed this script :o maybe we could talk on irc when u wake up ;)

Offline Ttil_Np.csWoW

  • Major
  • *
  • Posts: 55
  • The Berserkers Are Coming....
Re: Climb Grenades
« Reply #3 on: August 29, 2007, 12:53:39 pm »
nice script , people like to see the script and not download it to see it
I will be back to play soldat, just not now , but i will....... some day.

Offline BombSki

  • Flagrunner
  • ****
  • Posts: 927
    • Climbing-soldiers.net
Re: Climb Grenades
« Reply #4 on: August 29, 2007, 02:43:55 pm »
Also for anyone that might want to use this, heres a list of nade maps. The updated version can always be found here :
http://climbing-soldiers.net/index.php?topic=25.0

kz_tower
kz_Sky
kz_stair
ctf_platform
kz_maze_0-05
kz_sky2
ctf_aujv3fix
ctf_kz_vigland
ctf_vig_race
kz_hellsearch
kz_cave
kz_map
ctf_letters
kz_vig_climbo2
kz_vig_whoop
ctf_yks
ctf_yks2
ctf_yks3va
« Last Edit: August 29, 2007, 02:48:48 pm by BombSki »

Offline Opa!

  • Major(1)
  • Posts: 37
Re: Climb Grenades
« Reply #5 on: February 25, 2008, 12:02:52 pm »
lol --'
i tried to use the comand /nade
but i didn't get any grenade...

what can i do?

Offline Iq Unlimited

  • Flagrunner
  • ****
  • Posts: 864
  • mr. foobar2000
Re: Climb Grenades
« Reply #6 on: February 25, 2008, 05:39:35 pm »
It doesn't work on linux servers for some strange reason if your using it on linux. If its a windows server...I have no idea.

Offline Opa!

  • Major(1)
  • Posts: 37
Re: Climb Grenades
« Reply #7 on: February 25, 2008, 08:54:04 pm »
i use windows...
some idea?

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Climb Grenades
« Reply #8 on: February 26, 2008, 06:53:41 am »
I'll download it to double check that it works on at least my computer...

EDIT:
For me it works fine.
When you first DL the script, there are no maps in the maps allowing grenades to be used..
I made the first line of "nademaps.txt" (inside this script's folder) be "ctf_Ash"
I start the server
I go to ctf_Ash
I do !nade, it gives me nades (with the time delay working between them)
I go to ctf_Kampf
I do !nade, 'not allowed' message comes up
I do /addnadec (must be admin) and then !nade, and it works; and it does add it to the nademaps.txt file
I modify the nademaps.txt file and put "ctf_DropDown2" at the bottom
I do /loadnades (admin command) to load the list of maps
I goto ctf_DropDown2
I do !nade and it works

Make sure you are using the script correctly
When you first download the script, you extract the folder into scripts/ folder inside your dedicated server folder
(depending if you have a pre-built list of maps or not, you can add a list of maps to nademaps.txt file; for testing purposes, i wouldn't yet)
Start your server
If its already started, do "/recompile NadeMaps" (if u r admin) OR shut it down completely and start it back up again
When you first join, test !nade to make sure it doesn't work
Then basically do what I did to test if the script worked..
« Last Edit: February 26, 2008, 07:08:01 am by DorkeyDear »

Offline Opa!

  • Major(1)
  • Posts: 37
Re: Climb Grenades
« Reply #9 on: February 26, 2008, 09:20:11 am »
i did all you said, but it didn't get nothing...
i type !nade or /nade and i don't receive any grenade...


Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Climb Grenades
« Reply #10 on: February 26, 2008, 08:18:14 pm »
i did all you said, but it didn't get nothing...
i type !nade or /nade and i don't receive any grenade...
is there even a message saying that the command isn't available?