Page 1 of 1
Server Script question
Posted: 2009-04-11 10:42
by MCI
First of all I don't know if this is the right place to post this (if not move it pls) but it seemed the right place to post this.
I often get on a PR who says:
YOU MUST JOIN A SQUAD
Where can i get this script and how do I apply it on my server?
Re: Server Script question
Posted: 2009-04-11 13:16
by MCI
Is there any server admin who can help me out here?
Re: Server Script question
Posted: 2009-04-11 13:39
by Jagular
its buletin into PR server side
to activate it you need to set PRSQUADLESS = 1
in realityconfig_common.py
<bf2>\mods\pr\python\game\
standalone version could be found on bf2tech.org
Re: Server Script question
Posted: 2009-04-11 13:55
by MCI
Ok how do I apply it on my server?
Re: Server Script question
Posted: 2009-04-11 14:08
by e-Gor
Exactly as Jagular said. Use the function built into PR.
To turn it on, go into your Battlefield 2 Server folder, then mods\pr\python\game. Open up realityconfig_common.py with notepad or similar, and change the line "PRSQUADLESS = 0" to PRSQUADLESS = 1
Re: Server Script question
Posted: 2009-04-11 15:06
by MCI
Ok, and can I apply this on other mod servers too (like Forgotten Hope 2)?
Re: Server Script question
Posted: 2009-04-11 15:44
by Jagular
yes
dload it on bf2tech.org
Re: Server Script question
Posted: 2009-04-11 15:49
by dbzao
MCI how are you a PR server admin and you are not registered in the forums as one?
Re: Server Script question
Posted: 2009-04-11 15:53
by Alex6714
Doesn´t the system only allow one admin and a few moderators? Maybe he is just part of the clan that has access, I assume.
Edit, maybe its not a PR server?
Re: Server Script question
Posted: 2009-04-11 16:07
by AfterDune
I think we're mixing two things here. There's this script that kicks players off a server that don't join a squad within x seconds and another thing that displays a (personal) message saying you need to join a squad, which is what the topicstarter is talking about, I think.
Which is this:
http://thirdforces.internationalconspir ... eamwork.py
To use it on your box:
- Open up __init__.py in mods/pr/python/game folder
- Add the following lines (the file tells you where to put it):
import ad_teamwork
ad_teamwork.init()
- Save the file
- Restart your server
You're done.
Re: Server Script question
Posted: 2009-04-11 16:13
by Rhino
Will the message work on anouther mod? I doubt it since we edited the awards system to allow us to get that message?
Re: Server Script question
Posted: 2009-04-11 16:22
by AfterDune
No, that's just PR. He'll get some medal or badge message if he tries it in another mod, lol

Re: Server Script question
Posted: 2009-04-11 17:52
by MCI
[R-DEV]dbzao wrote:MCI how are you a PR server admin and you are not registered in the forums as one?
Due financial problems we had to give it up but we're working on that atm, and only one of us got server admin status on the forums.
Re: Server Script question
Posted: 2009-04-11 18:18
by BloodyDeed
@AfterDune: I know your LiveBan Scripts and your Smartbalance/Adminscripts.
But Ive never realized your squadless-kick script.
Is there a overview over your fantastic scripts or are this just all?
Re: Server Script question
Posted: 2009-04-12 15:55
by MCI
Thanks for the feedback guys!

Re: Server Script question
Posted: 2009-04-12 16:46
by AfterDune
BloodyDeed wrote:@AfterDune: I know your LiveBan Scripts and your Smartbalance/Adminscripts.
But Ive never realized your squadless-kick script.
Is there a overview over your fantastic scripts or are this just all?
The squadless kick script is built in PR, I haven't written it. My script (it's tiny, barely a script

) just gives a private message to all squadless players every 10 seconds, saying "You must JOIN A SQUAD". And that's it really

.
I guess that's all, yeah. I've written more scripts, but the admin, smartbalance and global ban are the most relevant ones.