Official Soldat Forums

Server Talk => Scripting Releases => Topic started by: W* on April 16, 2008, 12:01:14 pm

Title: Knife Volleyball
Post by: W* on April 16, 2008, 12:01:14 pm
Script Name: Knife Volleyball
Original Author(s): W* (original idea by Dr.Thrax)
Core Version: 2.6.3



This is an implementation of volleyball in Soldat originally written for BombSki's MultiMode server.

 It uses knives as the ball (instead of a flag as Dr.Thrax original volley) in order to have a much faster action and to implement as much real-life rules as possible.

Rules:

How to play:

Technical considerations:
The game is NOT 100% bugs-free. There are many server-client lag issues which will result in disappearing knives, two knives present, etc. When playing remember that the SERVER decides, so don't trust your soldat client - if you see you got the knife but you don't see 'BALL', then you did NOT get the knife. The rule of thumb is: the more general lag, the more bugs. And as a corollary, the more players, the more bugs.
Anyway it is usually not much of a problem, and the game is perfectly playable and enjoyable even with the occasional bugs. This is not the case with Knife Basketball, for the inherently different gameplay that involves much more knife-exchanges (see the relevant post - when it's done) so in that script I had to implement much more checks - and generally undesirable and ugly anti-bugs stuff. Hence the proper place for a technical discussion about these things should be done in the Knife Basketball thread (again, when it's done).

Where to play:

edit: mappack added. As for how to do maps: charlie/delta spawn is where knife will spawn at serve, red/blue flag give x/y court boundary. It's really easy, just look at any map.

edit: added soldat.ini and mapslist.txt to archive for your convenience. Also a minor fix to the script so that it loads kv_weapons automatically at startup.
Title: Re: Knife Volleyball
Post by: DorkeyDear on April 16, 2008, 02:35:18 pm
Its really fun, you guys should try this. Its like Dr. Thrax's, but with knives, you can throw them more accuracy, unlike flags, just at the cost of a bit more bugs.
Title: Re: Knife Volleyball
Post by: BombSki on April 17, 2008, 09:54:12 am
Yea, this is great. You should add the maps though, and explain how to make them (its not that hard)
Title: Re: Knife Volleyball
Post by: W* on April 17, 2008, 07:44:33 pm
added maps and some minor stuff, see 1st post.
Title: Re: Knife Volleyball
Post by: NailsForLunch on October 18, 2008, 04:20:37 am
Script not starting at all?

Date Posted: October 18, 2008, 04:39:11 am
Nevermind... Fixed it..
Title: Re: Knife Volleyball
Post by: SpiltCoffee on October 19, 2008, 03:04:40 am
Fail. Includes.txt refers to a lowercase filename, which breaks on Linux. Fix it for the downloadable version, please. It has been causing Nails quite some annoyance.
Title: Re: Knife Volleyball
Post by: BombSki on October 20, 2008, 08:39:28 am
er, why not just fix it yourself? W* hasnt been active lately
Title: Re: Knife Volleyball
Post by: NailsForLunch on October 20, 2008, 08:45:28 am
Fail. Includes.txt refers to a lowercase filename, which breaks on Linux. Fix it for the downloadable version, please. It has been causing Nails quite some annoyance.

tbh, I think that was me n00bing out...

but should be okay.

Only major glitch is one map being totally stuffed...
Title: Re: Knife Volleyball
Post by: SpiltCoffee on October 21, 2008, 01:40:12 am
er, why not just fix it yourself? W* hasnt been active lately
I have been, and that's the problem. Nails comes to me each time he installs it, asking me what's wrong, and since he's a dumbass who doesn't understand how to open a .txt file (Notepad!), I have to make the change for him, which means I waste my time.

If W* didn't make the problem in the first place, then I wouldn't waste my time fixing Nails' problems.
Title: Re: Knife Volleyball
Post by: BombSki on October 21, 2008, 05:23:52 am
lol :P
well feel free to upload a new version with the proper file, since i doubt W* will have any time for it soon
Title: Re: Knife Volleyball
Post by: MetalWarrior on October 21, 2008, 05:37:48 am
Only major glitch is one map being totally stuffed...
Make sure extension is upper case (PMS).
Title: Re: Knife Volleyball
Post by: Mittsu on September 18, 2013, 12:15:25 pm
you just need to add ; at the end of the line

btw, knife volleyball is AWESOME!
Title: Re: Knife Volleyball
Post by: TheOne on September 19, 2013, 04:03:36 am
The line numbers seem not to be correct in this case.
I made the script compatible with current version and cleaned unneeded variables up.
Title: Re: Knife Volleyball
Post by: Bydlak on December 04, 2013, 05:24:52 pm
There are some lacks in this script and it's not working well. An example is when the knife falls out of the court there is no foul but players can pick the ball and play further. Other thing is there is a foul instead a point for a team.

Can anybody take a look in it? I would be very grateful :)
Title: Re: Knife Volleyball
Post by: TheOne on December 29, 2013, 11:28:12 am
Hey,

I'm very sorry for not replying earlier, I just overlooked it.
Do you still have problems with players being kicked and maps missing?

About the script bugs: I'm not familiar with the script itself yet, I just changed formalities so it would compile at all.
Those bugs are probably rather hard to spot, is there a playerbase who'd use this script? Otherwise it's probably not worth the work..
Title: Re: Knife Volleyball
Post by: rOy on December 30, 2013, 02:34:02 pm
Hi

Complete fix for this mode ;)
For Soldat 1.6.6 / Server 2.7.6

Tested just on Windows server: passed

- correct script
- correct soldat.ini
- correct maps

File kv_weapons.ini copy to directory soldatserver.
File soldat.ini copy to directory soldatserver.

Download files:
Title: Re: Knife Volleyball
Post by: Mittsu on December 30, 2013, 03:33:09 pm
wuoah, gotta check this out!
Title: Re: Knife Volleyball
Post by: PiStAcHo on December 30, 2013, 06:01:24 pm
Hi

Complete fix for this mode ;)
For Soldat 1.6.6 / Server 2.7.6

Tested just on Windows server: passed

- correct script
- correct soldat.ini
- correct maps

File kv_weapons.ini copy to directory soldatserver.
File soldat.ini copy to directory soldatserver.

Download files:

r0y the file compiles but when i serve and "score" instead of scoring it says "foul" and "maximum serve time", i ran it on linux with soldatserver, and with soldatserver_legacy it doesnt compile :D
Title: Re: Knife Volleyball
Post by: Beowulf Agate on January 05, 2015, 02:58:08 pm
Damn, this awesome script is broken in current version.  :( Anyone able to fix it?
Title: Re: Knife Volleyball
Post by: ExHunter on January 05, 2015, 03:33:17 pm
If you mean by broken, that it forces wrong weapons on players (instead of knife), then wait for 1.6.9. It will fix it.
Title: Re: Knife Volleyball
Post by: Izzy on January 08, 2015, 09:01:56 am
fix these scripts as soon as possible! Unfortunately I have no knowledge to be able to fix it.
Title: Re: Knife Volleyball
Post by: Knifeback on September 03, 2015, 03:35:07 pm
lol nice script
Title: Re: Knife Volleyball
Post by: TheOne on October 07, 2016, 11:26:04 am
Fixed this script recently, BlackTrigger asked me to upload it. Hope it works.
Title: Re: Knife Volleyball
Post by: Savage on October 08, 2016, 06:07:07 am
Hosted it here 137.74.194.30:23075
It's working quite good :)
Title: Re: Knife Volleyball
Post by: No-Mercy on October 08, 2016, 07:46:45 pm
Hosted it here 137.74.194.30:23075
It's working quite good :)

Yes, it works good just some little bugs. :)
Title: Re: Knife Volleyball
Post by: No-Mercy on October 09, 2016, 09:56:44 am
And please remove map "kv_turnier" is disadvantage for red team cause out is more near then it has to be. Sorry for my english hope you understend it.
Title: Re: Knife Volleyball
Post by: TheOne on October 10, 2016, 02:38:34 pm
Updated version, uses fast AppOnIdle now (6hz) to do all the important checks, should be a far smoother game experience.