Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 13 Guests
Online:

LATEST FORUM THREADS

»
warfare
CoD4 Map + Mod Releases
Voting menu on maps
CoD+UO General
Hauling 911
CoDBO3 General

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Jedi Knight
Category: Jedi Knight - Jedi Academy
General, mapping, modeling, scripting, etc. game questions, comments and chat.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Possible bug for Xbox compile
BaD_HeX~rb
General Member
Since: Dec 23, 2006
Posts: 10
Last: Dec 23, 2006
[view latest posts]
Level 0
Category: Jedi Knight - Jedi Academy
Posted: Wednesday, Jan. 7, 2004 07:20 pm
Located in q_shared.h
Code Sample
#ifdef _XBOX
#define MAX_CLIENTS 16
#else
#define MAX_CLIENTS 32 // absolute limit
#endif


in cg_local.h:
Code Sample
score_t scores[MAX_CLIENTS];


Lastly in cg_servercmds.c:
Code Sample
if (readScores > MAX_CLIENT_SCORE_SEND)
{
readScores = MAX_CLIENT_SCORE_SEND;
}

...
Code Sample

for ( i = 0; i < readScores; i++ ) {
cg.scores[i].client = atoi( CG_Argv( i * 14 + 4 ) );



MAX_CLIENT_SCORE_SEND is defined as 20... This would suggest that it's possible to loop passed the spot in memory causing a leak if more then 20 clients are sent by mistake.
Share |
Ryo..Ohki~rb
General Member
Since: Dec 23, 2006
Posts: 1774
Last: Dec 23, 2006
[view latest posts]
Level 8
Category: Jedi Knight - Jedi Academy
Posted: Thursday, Jan. 8, 2004 07:52 pm
Vivarious Visions did the Xbox version
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Jedi Knight : Jedi Knight - Jedi Academy

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»