Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Database/World Building

Archive::Database/World Building Archive area for General Discussion's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 12-29-2003, 06:48 PM
Magick
Sarnak
 
Join Date: Feb 2003
Posts: 73
Default How to force load any model in any EQEMu zone.

WC was really really quick with an update so I'm posting this cut & paste from the upcoming EQEMu Guidebook 1.3 explaining how this works:

Download thread for ZoneProxy 1.1 (needed unless you do this locally):
http://www.everquestserver.com/forum...?p=63838#63838

-------------------------------------------------


I am very pleased to announce that during my efforts to catalog every model available in-game, I discovered (or more accurately
Reply With Quote
  #2  
Old 12-29-2003, 06:52 PM
mattmeck
Guest
 
Posts: n/a
Default

We need every mob added to every zone EQ has :lol:
Reply With Quote
  #3  
Old 12-29-2003, 07:00 PM
Magick
Sarnak
 
Join Date: Feb 2003
Posts: 73
Default

LOL.. I tested one zone by loading 130 additional models. That really strains the system memory.. lemme tell ya =)
Reply With Quote
  #4  
Old 12-29-2003, 08:13 PM
Muuss
Dragon
 
Join Date: May 2003
Posts: 539
Default

This is extremly interesting and increases a lot the possibilities for the custom content servers ! (deserves a sticky imho)

If you spawn a mob that way and someone else zones into your zone without having his txt file customized, i guess he sees the mob like a human male, right?
__________________
Muuss - [PEQGC] Dobl, the ogre that counts for 2 !
http://www.vilvert.fr/page.php?id=10
Reply With Quote
  #5  
Old 12-29-2003, 10:38 PM
Shadow-Wolf
Dragon
 
Join Date: Oct 2003
Posts: 511
Default

well the best way to do that is to test it, just create a mob and edit its model id to something the zone does not have since the txt file isn't forcing the client to load it you will either get a human or the client will crash heh.
Reply With Quote
  #6  
Old 12-29-2003, 11:28 PM
Lurker_005
Demi-God
 
Join Date: Jan 2002
Location: Tourist town USA
Posts: 1,671
Default

I'm sure it would just show as a human. The server is just supplying an invalid number for what models are loaded.
__________________
Please read the forum rules and look at reacent messages before posting.
Reply With Quote
  #7  
Old 12-30-2003, 03:15 AM
Magick
Sarnak
 
Join Date: Feb 2003
Posts: 73
Default

Quote:
Originally Posted by Muuss
This is extremly interesting and increases a lot the possibilities for the custom content servers ! (deserves a sticky imho)

If you spawn a mob that way and someone else zones into your zone without having his txt file customized, i guess he sees the mob like a human male, right?
It would be no different than changing a NPC to Race 300 in East Commons in the past. It shouldn't crash the zone, or if it did I would've never gotten as many models cataloged as I have You should just see a plain 'ol generic human model (male or female depending on gender I believe).

While I'm sure not everyone will use this "feature" this way, consider it really fits well with those Ops who create and use custom zones from Open Zone. That being said, players on those servers have to use ZoneProxy (which would insure the models/zones are available) or they'd be limiting the content available to them.

I haven't played on the Public servers for quite some time but I'd like to see "ZP" or something added to server names of those who are using custom _chr files or zones. That should help limit problems and let players know what to expect (ie., custom content).
Reply With Quote
  #8  
Old 12-30-2003, 04:39 AM
omper
Sarnak
 
Join Date: Oct 2003
Posts: 87
Default

well.. i am happy to say that this will end Project Genratex.. And thank the maker for it..

Gratz and wooohoo..

Omper
Reply With Quote
  #9  
Old 12-30-2003, 04:58 AM
Muuss
Dragon
 
Join Date: May 2003
Posts: 539
Default

Not that sure, omper. As Magick said, adding models to a zone heavily increases the memory use, could be nice to know what is available in each zone before starting to add stuff.
__________________
Muuss - [PEQGC] Dobl, the ogre that counts for 2 !
http://www.vilvert.fr/page.php?id=10
Reply With Quote
  #10  
Old 12-30-2003, 06:29 AM
Windcatcher
Demi-God
 
Join Date: Jan 2002
Posts: 1,175
Default

If you modify the _chr.txt file for an existing SOE zone, the player will still have to have their own local copies of the modified files. ZoneProxy doesn't transmit anything from the server to the client: it only lets the server tell the client to set up a third-party zone. It can't, for example, change something like ecommons_chr.txt or anything like that.

It *might* be possible to alter it so the server could tell it what to put in any zone's .txt file, but there's a risk of sharing violations. I found that the only reliable way to overwrite zone files with it is to open up the files for writing *before* the client can get to them and keep the files open. I have a feeling that this might be true for the .txt files as well, and that might make it impossible to change any .txt file on the fly since I doubt I can (or should) keep that many files open all at once.

If a server operator creates zones with OpenZone it means that players have to separately download the new content anyway, so I don't think it's too big a leap to have a central site where server operators can upload any custom content (including _chr.txt files) and have users download them from there.

WC
Reply With Quote
  #11  
Old 12-30-2003, 06:57 AM
Magick
Sarnak
 
Join Date: Feb 2003
Posts: 73
Default

Quote:
Originally Posted by Muuss
Not that sure, omper. As Magick said, adding models to a zone heavily increases the memory use, could be nice to know what is available in each zone before starting to add stuff.

I'm currently breaking down the model_id,file_id's from the old world so it'll be easier for World Builders and Ops to quickly reference what needs to be inserted to make xxx model available. I don't expect to have them all listed in this next release but hopefully I'll have a decent sized portion to play with. All of the newer models are already done (current GoC, LDoN, LoY, Veksar, some PoP, etc.).

I have not compared notes with omper (expect a PM b/c now I'm curious) to see exactly how many "unique" models the GenRaTex project was able to capture. If it's comparible to the amount cataloged in the Guidebook, it should be very easy for me "sort by zone" because they will be directly referenced to the zonename_chr files. World Builders and Ops alike can then check the graphic reference in the Guidebook and see what the model looks like and what texture/material settings are avilable.

Of course, if I find out that GenRaTex was able to double the number of models I have listed (ie., additional textures) then we have a problem


Quote:
Originally Posted by Windcatcher
If you modify the _chr.txt file for an existing SOE zone, the player will still have to have their own local copies of the modified files. ZoneProxy doesn't transmit anything from the server to the client: it only lets the server tell the client to set up a third-party zone. It can't, for example, change something like ecommons_chr.txt or anything like that.
Even if players have to download the _chr.txt files, that shouldn't be that big of an issue. Thankfully the files are about 150 bytes or so which means Ops could repopulate all 300 or so zones with a quick 10 second download by players.

The downside would be switching servers. If that new server doesn't have force loaded models, it's not a big deal. You'll just be using a little more memory because your client is loading unused models. If you switch to another custom server, that could be a hassle because you're doing alot of file overwriting for each server you log into.

If you were able to get ZP to alter the _chr.txt files that would really solve a ton of potential issues. One question if I may... ZP intercepts the client before it zones, right? If I understand how it operates correctly, until ZP tells the server that it is ready, the server doesn't actually zone the client. Is that correct?

eqgame.exe does not read any _chr.txt file until the client realizes it is zoning. I have altered _chr.txt files while zoning, and if my timing was right on the save the models would be available. I think the client loads zonename.s3d, zonename_obj.s3d, then moves to the zonename_chr.s3d and/or namename_chr.txt.

If ZP buffers the zoning procress, it might/should also be delaying the reading of the _chr.txt files - which might offer the chance to alter them. As you said, permissions will likely be any issue with some clients but I have faith
Reply With Quote
  #12  
Old 12-30-2003, 08:02 AM
Scorpious2k's Avatar
Scorpious2k
Demi-God
 
Join Date: Mar 2003
Location: USA
Posts: 1,067
Default

If you're going to do that with ZP, why not have the server send all the info and let it build the txt file. That way, no download for the player and no conflicts in file contents between servers....
__________________
Maybe I should try making one of these servers...
Reply With Quote
  #13  
Old 12-30-2003, 08:32 AM
DataMan4971
Sarnak
 
Join Date: Dec 2003
Location: Seattle
Posts: 46
Default

Why isn't anyone saying "great job" or, "good work". Good Job and Great Work! Finally, I can live and have a Solusek Ro Model in the Arena without having the butt ugly naked human!!
__________________
-Keep you friends close, and your enemies closer-The Art of War

Artemis, the Emperor of Assasins - Draclian Signus, GM Admin and complete follower of the way of Draclian Signus.
Reply With Quote
  #14  
Old 12-30-2003, 08:40 AM
mattmeck
Guest
 
Posts: n/a
Default

Quote:
Why isn't anyone saying "great job" or, "good work". Good Job and Great Work!
Because Magick knows he is the shiznat uber l33t h@xx0r

Quote:
Finally, I can live and have a Solusek Ro Model in the Arena without having the butt ugly naked human!!
uuummm you have issues :lol:
Reply With Quote
  #15  
Old 12-30-2003, 09:50 AM
Windcatcher
Demi-God
 
Join Date: Jan 2002
Posts: 1,175
Default

Quote:
One question if I may... ZP intercepts the client before it zones, right? If I understand how it operates correctly, until ZP tells the server that it is ready, the server doesn't actually zone the client. Is that correct?
That's exactly how it works. The server tells ZP, "set up this zone, and I'll sit here and wait for 30 seconds for your response". ZP copies the files and sends its response back. Only when the server gets the response (or if it times out after 30 seconds) does it tell the client to zone.

I originally had ZP open the files, overwrite them, and then close them every time you zoned, but it would only work the first time. Let's say you went to a third-party zone. Then you went to a different third-party zone. You have to overwrite the *same* alias zone to do this and tell the client to reload the (same) zone. That's when you run into sharing violations.

It might be possible to use two alias zones and ping-pong between them to alleviate the sharing violation stuff, but the only way to know is to test it. In that case we'd have to use tutorial and some other zone, have ZP tell the server the names of both alias zones and change the server ZP code to accommodate it. I don't think it's all that good of an idea, though.

As for changing servers, one possibility might be to have ZP install all custom content for a server just after login time. You might have to exit and restart the client to completely avoid possible sharing violations, but otherwise it would be really neat if the world server could ask ZP to set up all custom content for that particular server. We could assign subfolders to servers and ZP could merely have to copy everything from a particular subfolder up to the EQ folder before telling the world server that it's ready. It would have to be done after login and *before* the player entered the world, but I think it's possible. ZP could be set to remember the last server for which it was set up to avoid unecessary copying.

WC
Reply With Quote
Reply


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 On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 01:25 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3