Urban Terror Forums: Anyone know a good mac game server browser??? - Urban Terror Forums

Jump to content

 Login | Register 
Advertisement
  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • This topic is locked

Anyone know a good mac game server browser??? Rate Topic: -----

#1 User is offline   MeNoPausE (old) Icon

  • Joined: 08-February 04
  • Posts: 212
  • LocationNew York, NY

Posted 13 July 2004 - 07:10 PM

My friend needs one and I wanted to find it 4 him. He tried Only Mortal but it had no Urt listings and he couldn't figure out how to use it and since I have PC I couldn't help. If anyone knows we would appreciate it. :?

#2 User is offline   Oswald (old) Icon

  • Joined: 13-January 04
  • Posts: 6,603
  • LocationWishin' I was in SoCal

Posted 13 July 2004 - 07:31 PM

moved to the Mac Forum....more help than this one...

#3 User is offline   HornetOSX (old) Icon

  • Joined: 07-February 04
  • Posts: 332
  • LocationDenver CO Home of the Av's

Posted 13 July 2004 - 08:16 PM

only mortal WILL Work for UrT


I've not used in in a while .. I'm sure someone who has will pipe up soon and provide the answer you need I'm sure it is just a setting in OM

#4 User is offline   MeNoPausE (old) Icon

  • Joined: 08-February 04
  • Posts: 212
  • LocationNew York, NY

Posted 13 July 2004 - 09:14 PM

cool, thx... Oh and Os, Not as many peeps check the mac forums so I thought the 3.7 discussion would get a faster response but whatevs...

#5 User is offline   HornetOSX (old) Icon

  • Joined: 07-February 04
  • Posts: 332
  • LocationDenver CO Home of the Av's

Posted 14 July 2004 - 12:04 AM

but all the mac people read the mac fourms LOL

bullet_loaderAdvertisement

#6 User is offline   illogical Icon

  •   verified user   
    Retired Master Server Administrator
  • Account: illogical
  • Main tag: 6th|
  • Country:
  • Joined: 08-March 10
  • Posts: 2,349

Posted 14 July 2004 - 12:21 AM

If I could figure out how to add a URL handler to OSX (or someone else for that matter), then I would point you to the browser site I'm working on (still in development, but it is functional).

#7 User is offline   MeNoPausE (old) Icon

  • Joined: 08-February 04
  • Posts: 212
  • LocationNew York, NY

Posted 14 July 2004 - 12:53 AM

HornetOSx

Quote

but all the mac people read the mac fourms LOL

But everyone reads the 3.7 discussion and I wanted to find one within the hour so he could use it.

#8 User is offline   HornetOSX (old) Icon

  • Joined: 07-February 04
  • Posts: 332
  • LocationDenver CO Home of the Av's

Posted 14 July 2004 - 06:13 AM

acctually I have not read the 3.7 discussion even once so ............

since no one else is answering I'll DL OM and tell you the answer which is

just highlight the q3 icon .. hit get new list .. wait a min the select q3ut3 as the mod bam yer done .



ill.. from the source for MacUrT3

/*****************************************************************************
* Copyright © 2003
* $Id: $
*
* Authors: Derk-Jan Hartman <thedj at users.sf.net>
* Kade Behm <clublights at mac.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*****************************************************************************/

#import "UTOpenInterface.h"
NSString *UTQ3ALocationKey=@"Location of Quake3 10.2 G4.app";

@implementation UTOpenInterface

/* only one, shared instance/object of this entire class */
static UTOpenInterface *_o_sharedInstance = nil;

+ (UTOpenInterface *)sharedInstance
{
return _o_sharedInstance ? _o_sharedInstance : [[self alloc] init];
}

- (id)init
{
if (_o_sharedInstance) {
[self dealloc];
} else {
_o_sharedInstance = [super init];
}

/* Default prefs */
NSMutableDictionary *defaultValues=[NSMutableDictionary dictionary];
[defaultValues setObject: @"/Applications/Quake3/Quake3 10.2 G4.app" forKey: UTQ3ALocationKey];
[[NSUserDefaults standardUserDefaults] registerDefaults: defaultValues];

return _o_sharedInstance;
}

/* executed when the Interface is done loading */
- (void)awakeFromNib
{
/* Whenever the text in the URL dialog changes, run URLPathChanged */
[[NSNotificationCenter defaultCenter] addObserver: self
selector: @selector(URLPathChanged:)
name: NSControlTextDidChangeNotification
object: openURLTextfield];
}

- (IBAction)launchQ3A:(id)sender
{
[self runQuake3WithArg:[NSArray array]];
}

- (IBAction)launchUrT:(id)sender
{
[self runQuake3WithArg: [NSArray arrayWithObject: @"+set fs_game q3ut3"]];
}

/* Close the window. nothing else to do atm. */
- (IBAction)openCancel:(id)sender
{
[openURLWindow orderOut:self];
}

/* Retrieve the url from the textfield and if a valid URL, open it. */
- (IBAction)openURL:(id)sender
{
NSURL *a_url = [NSURL URLWithString: [openURLTextfield stringValue]];

if ( a_url )
[self openWithURL: a_url];
}

/* Open the q3ut url a_url */
- (void)openWithURL:(NSURL *)a_url
{
NSArray *argArray;
NSString *host, *port, *game;

if( a_url != nil )
{
/* add to open recent */
} else {
/* invalid url */
return;
}

host = [a_url host];
port = [[a_url port] stringValue];
game = @"q3ut3";

argArray = [NSArray arrayWithObject: [NSString
stringWithFormat: @"+set fs_game %@ +connect %@:%@", game, host, port]];

[openURLWindow orderOut:self];
[self runQuake3WithArg: argArray];
}

- (IBAction)showOpenURL:(id)sender
{
/* show the window */
[openURLWindow makeKeyAndOrderFront:self];
}

- (void)URLPathChanged:(NSNotification *)o_notification
{
/* Not currently used */
}

/* This does the actual launching */
- (void)runQuake3WithArg: (NSArray *)a_array
{
NSTask *qTask;
NSString *quakeBin = [[preferences stringForKey: UTQ3ALocationKey] stringByAppendingPathComponent: @"Contents/MacOS/Quake3 G4"];

qTask = [NSTask launchedTaskWithLaunchPath: quakeBin arguments: a_array];
}

@end

/* Used when a URL is being passed to the program */
@implementation UTGetURLScriptCommand

- (id)performDefaultImplementation {
NSString *o_command = [[self commandDescription] commandName];
NSString *o_urlString = [self directParameter];

if ( [o_command isEqualToString:@"GetURL"] ||
[o_command isEqualToString:@"OpenURL"] )
{
[[UTOpenInterface sharedInstance] openWithURL:
[NSURL URLWithString: o_urlString]];
}
return nil;
}

@end

#9 User is offline   illogical Icon

  •   verified user   
    Retired Master Server Administrator
  • Account: illogical
  • Main tag: 6th|
  • Country:
  • Joined: 08-March 10
  • Posts: 2,349

Posted 14 July 2004 - 06:32 AM

Would you be willing to throw together an install HOWTO for this? Just to make it semi-easy? I'd do it, but I haven't touched a Mac in years.

#10 User is offline   Roadkill (old) Icon

  • Joined: 07-February 04
  • Posts: 1,801
  • Locationroyal.stockholm.se

Posted 14 July 2004 - 11:26 AM

Damn codemonkeys :mrgreen:

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

Advertisement


Copyright © 1999-2024 Frozensand Games Limited  |  All rights reserved  |  Urban Terror™ and FrozenSand™ are trademarks of Frozensand Games Limited

Frozensand Games is a Limited company registered in England and Wales. Company Reg No: 10343942