Forums Index >> Modding >> can't seem to unlock my server



Page : <1> :


I've been trying to host a server for some time now. The thing is, it keeps coming up locked. I've set the toggle to say otherwise, but it just won't do it. I also can't seem to get my bots to show up in the game. Once again, the toggle is correct, but no bots.

Whaddupwitdat?

Tuesday, January 17, 2006 at 7:28:30 AM

I keep having the locked server problem too.
Changing the prefs seems to be the only way I can unlock it.
$Pref::Server::PasswordEnabled = 0;

Tuesday, January 17, 2006 at 7:31:56 AM

 

 


$pref::Server::MaxBots = 6;
$Pref::Server::MaxChatLen = 120;
$Pref::Server::MaxPlayers = 12;
$Pref::Server::missionIndex = 3;
$pref::Server::missionWorld = 2;
$Pref::Server::Name = "Rabban's Geidi Prime";
$pref::Server::ObserverMode = 1;
$Pref::Server::PasswordEnabled = 0;
$Pref::Server::Port = 28000;
$pref::Server::ProjectileChangers = 1;
$Pref::Server::RegionMask = 2;
$pref::Server::ReplaceBots = 1;

 

That's whut I got.

Tuesday, January 17, 2006 at 7:36:39 AM

I had the same problem with the bots I deleted the tankdb.cs.dso file and the tankAI.cs.dso file and that seemed to work for me. Did Dash supply a way for you guys to lock an unlock the server from inside the game using his Admin Script?

4/1/1929 to 11/17/2006 Rest in Peace Bo. GO BLUE!!!

Last edited: Tuesday, January 17, 2006 at 7:50:33 AM

Tuesday, January 17, 2006 at 7:43:03 AM

Yep. I have to launch it 2 or 3 times before it finally takes hold. 1st couple of times I change both pref.cs files AND throw out the prefs.cs.dso, but it still comes up locked. Don't know why. Something to do with OS 10.4.4 maybe?

Tuesday, January 17, 2006 at 7:47:05 AM

Now that's interesting. I joined my own server and let a game play. When it restarted, it renamed the server to an old TBML title, but kept the lock on.

Tuesday, January 17, 2006 at 8:35:21 AM


Wow........ That is interesting. I have no idea.

4/1/1929 to 11/17/2006 Rest in Peace Bo. GO BLUE!!!

Tuesday, January 17, 2006 at 8:40:39 AM

I change my bots in game/server/prefs.cs and game/client/prefs.cs and delete prefs.cs.dsos and launch game, quit game and go see the both prefs, they are just before I changed the bots. My bots have been the same for one year now. Are some other scripts replacing prefs.cs everytime I quit TT?

Last edited: Monday, January 30, 2006 at 5:26:56 AM

Tuesday, January 17, 2006 at 9:16:30 AM

Some have had luck by also making it so the password itself is set to nothing. E.g:

 

$Pref::Server::Password = "";

 

 

 

 

 

 

Last edited: Tuesday, January 17, 2006 at 10:25:36 AM

Tuesday, January 17, 2006 at 10:25:05 AM

A quick glance at the scripts tells me that $pref::Server::PasswordEnabled doesn't actually do much of anything besides toggling the little checkbox in the GUI. Actually setting the password to "" seems to be the thing that would make a difference.

Hmm... The issue seems to go deeper....

 

 

 

 

Last edited: Tuesday, January 17, 2006 at 10:50:57 AM

Tuesday, January 17, 2006 at 10:29:43 AM

FINALLY!

I set the password to ="";

But it still didn't take.

I had to edit the file again, remove the password again, and THEN copy the prefs.cs file from the server folder to the client fold in order to get it to work.

And that's why I don't fool around with scripting. XD

Last edited: Tuesday, January 17, 2006 at 11:53:03 AM

Tuesday, January 17, 2006 at 11:38:25 AM

I usually delete the entire line.
$Pref::Server::Password = "";
but it still comes back locked with the same password.

Tuesday, January 17, 2006 at 11:42:20 AM

I hit that too until I copied the edited file into the client folder as well.

Tuesday, January 17, 2006 at 11:53:53 AM

Do you guys have the IP joiner script installed? That made the bots disappear on my server. Just delete that line off your main.cs. ;) That worked for me...

Tuesday, January 17, 2006 at 1:06:33 PM

I think setting it explicitly to be "" is better than deleting the line.

But there seems to be a larger issue of the dedicated server not reading in prefs properly.

 

 

 

 

Tuesday, January 17, 2006 at 1:25:08 PM

Do this:

- Start tt --> create --> choose name and password on/off and what it is.
- Start any map, after map has loaded shut down tt.

Now you have saved the most recently used password settings.

You don't have to let go of one rope before grabbing the other. But you'll have to let go of one if you want to swing forward.

Tuesday, January 17, 2006 at 2:02:17 PM

The best way I have found is what 56k just said
And it works everytime :)
I toggle the password on in pref and then use empty quotation marks as the pass
So that would read:

$Pref::Server::Password = "";
$Pref::Server::PasswordEnabled = 1;

 

Tuesday, January 17, 2006 at 2:08:34 PM

You have to play with it alot it happens with me When You Start Up your Think Tanks Click that Create thing then take away the Blue thing so that there is no password you gotta keep playing with it ;) Happens alot to me its why I dont play with it alot! Heh %)

HaHa ^^ You Just Got p00ne1) WanT SoMe MoRe?? 1v1 You Host It.

Friday, January 20, 2006 at 4:29:42 PM

Page : <1> :

insert quote insert url insert email insert image bold italic underline superscript subscript horizontal rule : : Help on using forum codes

Add comment:

HTML is disabled within comments, but ZBB Code is enabled.

Back to the top

Web site designed, maintained and funded by -z- and Dan MacDonald