Server Script question

General discussion of the Project Reality: BF2 modification.
Post Reply
MCI
Posts: 431
Joined: 2007-08-28 21:47

Server Script question

Post 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?
Image
MCI
Posts: 431
Joined: 2007-08-28 21:47

Re: Server Script question

Post by MCI »

Is there any server admin who can help me out here?
Image
Jagular
Posts: 806
Joined: 2007-09-17 20:29

Re: Server Script question

Post 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
Xfire - jagular78rus aka =WNP= SPB.Jagular / http://www.wnp-clan.ru/ Click me for picture
Image
Setting up servers: game/web/mail/other win&nix/bsd
MCI
Posts: 431
Joined: 2007-08-28 21:47

Re: Server Script question

Post by MCI »

Ok how do I apply it on my server?
Image
e-Gor
Retired PR Developer
Posts: 3752
Joined: 2006-03-06 22:40

Re: Server Script question

Post 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
MCI
Posts: 431
Joined: 2007-08-28 21:47

Re: Server Script question

Post by MCI »

Ok, and can I apply this on other mod servers too (like Forgotten Hope 2)?
Image
Jagular
Posts: 806
Joined: 2007-09-17 20:29

Re: Server Script question

Post by Jagular »

yes
dload it on bf2tech.org
Xfire - jagular78rus aka =WNP= SPB.Jagular / http://www.wnp-clan.ru/ Click me for picture
Image
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

Post by dbzao »

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

Post 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?
"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

Post 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.
Image
Rhino
Retired PR Developer
Posts: 47909
Joined: 2005-12-13 20:00

Re: Server Script question

Post 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?
Image
AfterDune
Retired PR Developer
Posts: 17094
Joined: 2007-02-08 07:19

Re: Server Script question

Post by AfterDune »

No, that's just PR. He'll get some medal or badge message if he tries it in another mod, lol :D
Image
MCI
Posts: 431
Joined: 2007-08-28 21:47

Re: Server Script question

Post 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.
Image
BloodyDeed
Retired PR Developer
Posts: 4452
Joined: 2008-05-07 17:43

Re: Server Script question

Post 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?
Image
MCI
Posts: 431
Joined: 2007-08-28 21:47

Re: Server Script question

Post by MCI »

Thanks for the feedback guys! :D
Image
AfterDune
Retired PR Developer
Posts: 17094
Joined: 2007-02-08 07:19

Re: Server Script question

Post 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 :p ) 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.
Image
Post Reply

Return to “PR:BF2 General Discussion”