Search found 10 matches

by Pyrite
Fri Mar 22, 2019 9:44 pm
Forum: General Discussion
Topic: Serious question about Hawaiian excursions...
Replies: 82
Views: 21187

Re: Serious question about Hawaiian excursions...

haven't posted here since 2010, yikes.

just got back from my first Cruise (2019).

My advice: avoid Carnival, and cruises during Spring Break (unless you are cool with cigarette smoke in the hallways)

ok, back into hibernation for me
by Pyrite
Sun Jun 06, 2010 6:01 pm
Forum: Programming Discussion
Topic: Can you open a webpage from a button/link in Team Arena menu
Replies: 5
Views: 3070

Re: Can you open a webpage from a button/link in Team Arena menu

I bet if he distributes the ioquake3 engine build with his mod, he could add a new client command to do that in ioquake3, and then have the mod/sdk trigger that client command?
by Pyrite
Sun Jun 06, 2010 5:43 pm
Forum: Programming Discussion
Topic: Can you open a webpage from a button/link in Team Arena menu
Replies: 5
Views: 3070

Re: Can you open a webpage from a button/link in Team Arena menu

Does the mod/game code have any functions like exec() or system() where you can run a system command/program?
by Pyrite
Tue May 18, 2010 9:43 pm
Forum: Programming Discussion
Topic: Get Client Number on ioquake3
Replies: 4
Views: 2988

Re: Get Client Number on ioquake3

I tried what I thought would work, but didn't. May be someone can shed some light? int idnum; // contains the person you want to force to spec's client id number. char forceToSpec[25]; // command to force them to spec utilizing forceteam command. cl = &svs.clients[idnum]; // Force the Moderator ...
by Pyrite
Tue May 18, 2010 9:38 pm
Forum: Programming Discussion
Topic: Calling commands in sv_ccmds.c from within sv_ccmds.c ?
Replies: 2
Views: 2360

Re: Calling commands in sv_ccmds.c from within sv_ccmds.c ?

can't believe there isn't a way to utilize what's already there, but for now, I just copied the code from the function I wanted to use into my own custom function.
by Pyrite
Mon May 17, 2010 10:20 pm
Forum: Programming Discussion
Topic: Get Client Number on ioquake3
Replies: 4
Views: 2988

Re: Get Client Number on ioquake3

Thanks. I think you are right. To solve my problem for now, I just have the admin pass their own client number as a argument (they can obtain it themselves using status).

Now I just need to figure out the best way to move that client into spectator.
by Pyrite
Mon May 17, 2010 7:36 pm
Forum: Programming Discussion
Topic: Calling commands in sv_ccmds.c from within sv_ccmds.c ?
Replies: 2
Views: 2360

Calling commands in sv_ccmds.c from within sv_ccmds.c ?

How can I use a command defined in sv_ccmds.c from within that file?

Like in my function I want to call the function defined as:

static client_t *SV_GetPlayerByNum( void )

but it looks like it doesn't accept any parameters, as they are supplied elsewhere.
by Pyrite
Mon May 17, 2010 3:07 am
Forum: Programming Discussion
Topic: Get Client Number on ioquake3
Replies: 4
Views: 2988

Re: Get Client Number on ioquake3

Secondly, is there any API Documentation for ioquake3 or q3 source in general?
by Pyrite
Mon May 17, 2010 3:03 am
Forum: Programming Discussion
Topic: Get Client Number on ioquake3
Replies: 4
Views: 2988

Get Client Number on ioquake3

I haven't posted on these forums in a long long time. Greetz to Energon, Seg and raw if yall are still around. I recently started hacking some ioquake3 server builds. Pretty new to q3 source and all. When you enter the status command via rcon, it has the clientNumber as the first or second column. I...
by Pyrite
Sun Sep 25, 2005 6:02 pm
Forum: The Void
Topic: i bought my supermodel girlfriend a puppy
Replies: 89
Views: 9398

LOL, who stole Legally Blonde's dog?