Server Script question
-
MCI
- Posts: 431
- Joined: 2007-08-28 21:47
Server Script question
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?
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?
-
MCI
- Posts: 431
- Joined: 2007-08-28 21:47
-
Jagular
- Posts: 806
- Joined: 2007-09-17 20:29
Re: Server Script question
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
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
Xfire - jagular78rus aka =WNP= SPB.Jagular / http://www.wnp-clan.ru/ Click me for picture
Setting up servers: game/web/mail/other win&nix/bsd
Setting up servers: game/web/mail/other win&nix/bsd
-
MCI
- Posts: 431
- Joined: 2007-08-28 21:47
-
e-Gor
- Retired PR Developer
- Posts: 3752
- Joined: 2006-03-06 22:40
Re: Server Script question
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
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
-
MCI
- Posts: 431
- Joined: 2007-08-28 21:47
Re: Server Script question
Ok, and can I apply this on other mod servers too (like Forgotten Hope 2)?
-
Jagular
- Posts: 806
- Joined: 2007-09-17 20:29
Re: Server Script question
yes
dload it on bf2tech.org
dload it on bf2tech.org
Xfire - jagular78rus aka =WNP= SPB.Jagular / http://www.wnp-clan.ru/ Click me for picture
Setting up servers: game/web/mail/other win&nix/bsd
Setting up servers: game/web/mail/other win&nix/bsd
-
dbzao
- Retired PR Developer
- Posts: 9381
- Joined: 2006-06-08 19:13
Re: Server Script question
MCI how are you a PR server admin and you are not registered in the forums as one?
-
Alex6714
- Posts: 3900
- Joined: 2007-06-15 22:47
Re: Server Script question
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?
Edit, maybe its not a PR server?
"Today's forecast calls for 30mm HE rain with a slight chance of hellfires"
"oh, they're fire and forget all right...they're fired then they forget where the target is"
-
AfterDune
- Retired PR Developer
- Posts: 17094
- Joined: 2007-02-08 07:19
Re: Server Script question
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.
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.

-
Rhino
- Retired PR Developer
- Posts: 47909
- Joined: 2005-12-13 20:00
Re: Server Script question
Will the message work on anouther mod? I doubt it since we edited the awards system to allow us to get that message?
-
AfterDune
- Retired PR Developer
- Posts: 17094
- Joined: 2007-02-08 07:19
Re: Server Script question
No, that's just PR. He'll get some medal or badge message if he tries it in another mod, lol 

-
MCI
- Posts: 431
- Joined: 2007-08-28 21:47
Re: Server Script question
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.[R-DEV]dbzao wrote:MCI how are you a PR server admin and you are not registered in the forums as one?
-
BloodyDeed
- Retired PR Developer
- Posts: 4452
- Joined: 2008-05-07 17:43
Re: Server Script question
@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?
But Ive never realized your squadless-kick script.
Is there a overview over your fantastic scripts or are this just all?

-
MCI
- Posts: 431
- Joined: 2007-08-28 21:47
-
AfterDune
- Retired PR Developer
- Posts: 17094
- Joined: 2007-02-08 07:19
Re: Server Script question
The squadless kick script is built in PR, I haven't written it. My script (it's tiny, barely a scriptBloodyDeed 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?
I guess that's all, yeah. I've written more scripts, but the admin, smartbalance and global ban are the most relevant ones.



