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

Members Online

»
0 Active | 47 Guests
Online:

LATEST FORUM THREADS

»
I don't have .ff files
CoD4 MP Mapping

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 II: Jedi Outcast MOD Support
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: file transfers and pk3 registration
stubert~rb
General Member
Since: Dec 23, 2006
Posts: 7
Last: Dec 23, 2006
[view latest posts]
Level 0
Category: Jedi Knight II: Jedi Outcast MOD Support
Posted: Sunday, Jun. 12, 2005 11:29 pm
hi, i'm the author of a mod called redslushie for jedi academy


i've been designing a meathod of having my clients download maps in pk3 form that the servers don't have.


the meathod i'm working now involves the use of pthreads and libcurl to have a file downloading while the game is being played (with neglegable imact on performance, like 5-6 fps). i've got my transfer system working, i've even got a status indicater on the clientside hud that shows the progress of the transfer, so my clients can play a map they do have while downloading the next map a server will have up (if they don't have the file).

yes, i did test a file transfer and i played JA at 125 fps at the same time

it'd work like this..

1) when the level.time counter is halfway to the timelimit on a map, the server tells all the clients were they can download the next map

2) the client checks to see if it has that map. if it has it, it does nothing, if it does not have it a file transfer is spawned that will download the map to the proper folder

3)when level.time is up, the client has the pk3 in the proper place.. but at this point how do you get the engine to recognize it?

my question is, when the game has completed it's transfer, how do you guys get the engine to recognize the new file? as far as i know that is only read at startup. is there a procedure i can use for this?
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Jedi Knight : Jedi Knight II: Jedi Outcast MOD Support

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

»