lfnetwork.com mark read register faq members calendar

Thread: Rcon map bug and Jedi Master team chat request
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 04-02-2006, 12:26 PM   #1
Lathain Valtiel
Ex-Angel
 
Lathain Valtiel's Avatar
 
Join Date: Jul 2002
Posts: 929
LFN Staff Member 
Rcon map bug and Jedi Master team chat request

The bug:

Use rcon map.

You'll notice that you get a message in the console that goes "

PLAYERNAME connected with IP:

But there's no IP. That can't be right.

---

The request:

OK, this should be simple.

On Jedi Master you have 3 teams.

The Jedi Master (duh)
The Mercenaries
The Spectators

I want the second team, the mercenaries hunting the Jedi Master, to be able to have Team Chat. I mean, they're affected by whether team damage is allowed, so why can't they team chat?


Kurgan's Meatgrinder (JA Server: 72.5.248.212:29070)

Player tested, Valtiel approved.

Valtiel approved downloads for Meatgrinder: http://strategy.jediknight.net/jka/downloads.shtml
Lathain Valtiel is offline   you may: quote & reply,
Old 04-02-2006, 01:45 PM   #2
Kurgan
Headhunter
 
Kurgan's Avatar
 
Join Date: Nov 1997
Location: The Dawn of Time
Posts: 18,316
LFN Staff Member 10 year veteran! 
Good point. As long as this doesn't open up an exploit (like joining the JM team before the saber is grabbed or something).


Download JK2 maps for JA Server|BOOT CAMP!|Strategic Academy|
(JA Server: 108.178.55.189:29070)


"The Concussion Rifle is the weapon of a Jedi Knight Player, an elegant weapon, from a more civilized community." - Kyle Katarn
Kurgan is offline   you may: quote & reply,
Old 04-02-2006, 03:45 PM   #3
Lathain Valtiel
Ex-Angel
 
Lathain Valtiel's Avatar
 
Join Date: Jul 2002
Posts: 929
LFN Staff Member 
Cool Guy

It should be easy to prevent a weird join exploit from happening if it doesn't already... After all, it appears that the Mercs and JM are made into the teams the second someone grabs a saber.


Kurgan's Meatgrinder (JA Server: 72.5.248.212:29070)

Player tested, Valtiel approved.

Valtiel approved downloads for Meatgrinder: http://strategy.jediknight.net/jka/downloads.shtml
Lathain Valtiel is offline   you may: quote & reply,
Old 04-02-2006, 04:28 PM   #4
ensiform
The Stig
 
ensiform's Avatar
 
Join Date: Nov 2004
Location: Sawtooth Cauldron
Posts: 1,241
Current Game: Borderlands 2
the ip problem exists because it doesnt save... you need to can the cvar way of storing session and put some hacks in to keep ips over gametype changes... i posted that a while back using jkas mem hacks. oh and rcon is bugged because it cannot accept changing cvars with more than 1 word. + you cant like clear a cvar by doing rcon cvarname "". it just displays the current setting. you really cant fix that prob though without the engine

*bugs raven to release*


iojamp project lead / coder
ensiform is offline   you may: quote & reply,
Old 04-02-2006, 04:30 PM   #5
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,172
uh, what is rcon map supposed to do? I don't understand.

Anyway, the player IP issue is due to the bots. bots don't have IPs so they don't connect with one.


---Jedi Guardian of the Newbie Questions
---Masters of the Force Team Leader / Creator
---Open Jedi Project Lead Moderator / Co-Founder
razorace is offline   you may: quote & reply,
Old 04-02-2006, 04:38 PM   #6
ensiform
The Stig
 
ensiform's Avatar
 
Join Date: Nov 2004
Location: Sawtooth Cauldron
Posts: 1,241
Current Game: Borderlands 2
http://www.lucasforums.com/showpost....41&postcount=4


iojamp project lead / coder
ensiform is offline   you may: quote & reply,
Old 04-02-2006, 04:49 PM   #7
ensiform
The Stig
 
ensiform's Avatar
 
Join Date: Nov 2004
Location: Sawtooth Cauldron
Posts: 1,241
Current Game: Borderlands 2
Quote:
Originally Posted by Kurgan
Good point. As long as this doesn't open up an exploit (like joining the JM team before the saber is grabbed or something).
you really wouldnt have to make it team games, just modify the say functions ... pretty easy to do.


iojamp project lead / coder
ensiform is offline   you may: quote & reply,
Old 04-02-2006, 09:13 PM   #8
Lathain Valtiel
Ex-Angel
 
Lathain Valtiel's Avatar
 
Join Date: Jul 2002
Posts: 929
LFN Staff Member 
...Razor, it happens to humans too.

---

Jedi Master is already a team game.

When someone picks up the saber, it appears everyone who doesn't have the saber who is not spectating is instantly converted onto some kind of 'non-JM player' team. Kill the JM, it turns off and you can kill your former allies for... no points.


Kurgan's Meatgrinder (JA Server: 72.5.248.212:29070)

Player tested, Valtiel approved.

Valtiel approved downloads for Meatgrinder: http://strategy.jediknight.net/jka/downloads.shtml
Lathain Valtiel is offline   you may: quote & reply,
Old 04-03-2006, 12:59 AM   #9
ensiform
The Stig
 
ensiform's Avatar
 
Join Date: Nov 2004
Location: Sawtooth Cauldron
Posts: 1,241
Current Game: Borderlands 2
they arent really a team... the game just fools it that way. your all still team_free even the jm. i have improved on some of the things to check for if jm allies and such which helps a bit but client side is still fubared, at least with npcs anyway and it relies on the config string ...


iojamp project lead / coder
ensiform is offline   you may: quote & reply,
Old 04-03-2006, 09:18 PM   #10
Kurgan
Headhunter
 
Kurgan's Avatar
 
Join Date: Nov 1997
Location: The Dawn of Time
Posts: 18,316
LFN Staff Member 10 year veteran! 
Fake teams? Like maybe in coop? (can't hurt each other, but can't team chat each other) But then I'm not a coder, so maybe I just don't understand how it really works...


Download JK2 maps for JA Server|BOOT CAMP!|Strategic Academy|
(JA Server: 108.178.55.189:29070)


"The Concussion Rifle is the weapon of a Jedi Knight Player, an elegant weapon, from a more civilized community." - Kyle Katarn
Kurgan is offline   you may: quote & reply,
Old 04-04-2006, 04:55 PM   #11
ensiform
The Stig
 
ensiform's Avatar
 
Join Date: Nov 2004
Location: Sawtooth Cauldron
Posts: 1,241
Current Game: Borderlands 2
lololol the code in base just checks whos ps.isJediMaster and who isn't. and most of the teammate code is broken and doesnt check that.

i use this function for checking allies in JM on server.

Code:
/*
==============
JM_Allies
Returns qfalse if enemies or not in jm.
Returns qtrue if allies.
==============
*/
qboolean JM_Allies( gentity_t *ent1, gentity_t *ent2 ) {

	if ( g_gametype.integer != GT_JEDIMASTER ) {	// who cares if not in JM
		return qfalse;
	}

	if ( !ent1->client || !ent2->client ) {	// ent1 or ent2 isn't a client
		return qfalse;
	}

	if ( !G_ThereIsAMaster() ) {	// no master so everyone is an enemy
		return qfalse;
	}

	if ( ent1->client->ps.isJediMaster || ent2->client->ps.isJediMaster ) {	// if either ent1 or ent2 is the JM then not allies
		return qfalse;
	}

	return qtrue;
}
make sure G_ThereIsAMaster is declared above this or in g_local and make sure you declare this in g_local so u can access it in the other places on server.


iojamp project lead / coder
ensiform is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > JediKnight Series > Community > Hosted Forums > Open Jedi Project (OJP) > Rcon map bug and Jedi Master team chat request

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:59 AM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.