|
||
|
|||||||
| LearnUO Team Irro\'s Team of LearnUO and their Documentation for RunUO |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Forum Novice
Join Date: Jan 2006
Posts: 149
|
How many facets can a shard typically support? I mean, I want to have many facets, each representing a different world. Is there a limit to just how many I could/should have?
Also, this might be a long shot, but is there a way inwhich to patch several maps to make a particularly large, expansive facet. The given map parameters aren't large enough for my needs, much less the fact that one large map is almost impossible to draw. |
|
|
|
|
|
#2 (permalink) |
|
Forum Expert
|
You can have as many facets as you want. I dont remember the actual script that controls it. I believe its in mapdefinions.cs in scripts/misc
You cant combine all the maps into one physicaly, but you can get creative with it, like putting a cave inbetween maps. Like the way dungeon entrances/exits work. |
|
|
|
|
|
#3 (permalink) |
|
Forum Expert
Join Date: Mar 2004
Location: Germany
Age: 22
Posts: 300
|
Don't forget that the OSI client only supports the maps it already comes with. (i.e. map0, map2, map3 and map4)
__________________
RunUO RemoteAdmin - Control your shard remotely and keep an eye on the page queue MulEditor - Modify gump, art, tiledata, multimap, localization files and map/statics. CentrED - A Client/Server based multi-user map editor. |
|
|
|
|
|
#4 (permalink) |
|
Master of the Internet
|
the client will support the higher maps, you just have to put in specil ways for them to get there, and they have their size limits in forced, i am not sure if the zir after 4 is limited to tokuno size or reverts back to the tram size
__________________
http://www.AoAUO.com
:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :) |
|
|
|
|
|
#6 (permalink) |
|
Master of the Internet
|
i did a test a while back - so not sure fully what all i did at the time
but basicaly i copied all of the map 0 items (static, map, diff, etc files) and made them 5 instead of 0 i then went into mapdef file and basicaly followed their instructions for a new facet, set it winter, named it frozensomething lol, rulles trammel, sizing to match fel's, etc then restarted the server - i then set map = frozenwhatever on myself and i was able to walk around with no problem i did not test if the "wrap around" of the oceans still worked or not - but i would think they would either work at the tram/fel lines or the tokuno lines or not wrapping - but not sure which other than just walking around - i did not do any other testing - was going to set it up as a new map and never go around to it hope that helps
__________________
http://www.AoAUO.com
:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :) |
|
|
|
|
|
#7 (permalink) |
|
Forum Expert
Join Date: Oct 2002
Age: 45
Posts: 4,327
|
You couldn't have just renamed the Map and Statics files. The client expects Map0 - Map4 to be a certain size (the same size as those default maps), and has no support for a Map5.
Maybe you renamed the Diff files and got something to work with that, but I have a feeling that the client will only read the diff files it knows about too. Last edited by HellRazor; 02-16-2007 at 04:38 PM. Reason: Forgot that Tokuno was map4, not 5. |
|
|
|
|
|
#8 (permalink) |
|
Master of the Internet
|
0=fel
1=tram 2=ilsh 3=malas 4=tokuno 5 = equaled the one i used - as i said - i copied the "0"s and renamed them to 5, i then went into mapdef's as i said and added in the map there also, following the "instructions" it had in there 5 may not have been the number - may have been 32 or something else - but i did do it as i said - i did limited testing - but i was walking around in a winter britian with nothing spawned - did not go to ocello, or anyplace else - so do not know if the diff files worked or not, i just copied them over also but i was walking around on the new map
__________________
http://www.AoAUO.com
:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :) Last edited by Lord_Greywolf; 02-16-2007 at 03:12 PM. |
|
|
|
|
|
#10 (permalink) | |
|
Forum Expert
Join Date: Oct 2002
Age: 45
Posts: 4,327
|
Quote:
The map names and sizes are hardcoded into the client. You can't take map0 which is one size and copy it to Map2 which is another size. The client expects Map2 to be the size of Map2, not some new size. It will crash the client. You also can't copy it to Map5 because the client doesn't know about the existance of a map5 and will never load a Map5 (at least not until OSI adds an actual Map5). Also, there is no Map1. Trammel uses Map0 and the diff files contain the differences between the normal Map0 and Trammel (like Haven). |
|
|
|
|
|
|
#11 (permalink) | |
|
Forum Expert
Join Date: Oct 2002
Age: 45
Posts: 4,327
|
Quote:
Also there is no Map1 (see above). |
|
|
|
|
|
|
#12 (permalink) |
|
Master of the Internet
|
did you also modify the map def files?
i was using either SE or ML install at the time - no modified client it can be done ok - looking at the map defs - had to be map 32 then that i used - the 1st 32 numbers are reserved (0-21) here are the directions in the map def even for doing it: Code:
/* Example of registering a custom map: * RegisterMap( 32, 0, 0, 6144, 4096, 3, "Iceland", MapRules.FeluccaRules ); * * Defined: * RegisterMap( <index>, <mapID>, <fileIndex>, <width>, <height>, <season>, <name>, <rules> ); * - <index> : An unreserved unique index for this map * - <mapID> : An identification number used in client communications. For any visible maps, this value must be from 0-3 * - <fileIndex> : A file identification number. For any visible maps, this value must be 0, 2, 3, or 4 * - <width>, <height> : Size of the map (in tiles) * - <name> : Reference name for the map, used in props gump, get/set commands, region loading, etc * - <rules> : Rules and restrictions associated with the map. See documentation for details */ then set it up in there like this: Code:
RegisterMap( 0, 0, 0, 7168, 4096, 4, "Felucca", MapRules.FeluccaRules ); RegisterMap( 1, 1, 0, 7168, 4096, 0, "Trammel", MapRules.TrammelRules ); RegisterMap( 2, 2, 2, 2304, 1600, 1, "Ilshenar", MapRules.TrammelRules ); RegisterMap( 3, 3, 3, 2560, 2048, 1, "Malas", MapRules.TrammelRules ); RegisterMap( 4, 4, 4, 1448, 1448, 1, "Tokuno", MapRules.TrammelRules ); RegisterMap( 32, 0, 0, 7168, 4096, 3, "Iceland", MapRules.TrammelRules ); RegisterMap( 0x7F, 0x7F, 0x7F, Map.SectorSize, Map.SectorSize, 1, "Internal", MapRules.Internal );
__________________
http://www.AoAUO.com
:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :) |
|
|
|
|
|
#13 (permalink) |
|
Forum Expert
Join Date: Oct 2002
Age: 45
Posts: 4,327
|
You can only make more facets of an existing map, not actually make a physical copy of Map0.mul in the client and trying to get the client to read it.
The client doesn't know about the existance of any map that isn't there already. You can't just add Map32.mul to the client, the client will never load it because the client hasn't been programmed to handle Map32.mul. You might be able to take Map0 and make more facets of Map0. But you can't rename Map0.mul to Map5.mul, the client will never load Map5.mul. You also can't rename Map0.mul to Map3.mul because the client expects Map3.mul to be the size of Malas. You'll note that the example uses Map0.mul to make a new facet of Map0.mul. It doesn't create a new map, it creates a new facet. It also doesn't involve ANY copying of files in the client. Last edited by HellRazor; 02-17-2007 at 06:34 AM. |
|
|
|
|
|
#14 (permalink) |
|
Master of the Internet
|
well his question was to have more facets, and you can have more facets - and a lot of them from numbers 32 to 7C or 7B - which ever
they just have to be copies of existing maps is all so you can have 5 maps of each map - each with its own season and 1 in devestaion - then dupe all those again to have 1 set in tram rules and 1 set in fel rules and different spawning on the different facets and all (from standard spawns to futuristic spawns, etc) , endless possiblilities i just do not know the memory requirements this would cause on a server - i suspect it would add up pretty fast
__________________
http://www.AoAUO.com
:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :) |
|
|
|
|
|
#16 (permalink) |
|
Master of the Internet
|
i did copy map 0 to map 32 -- i may not have needed to though, but i did - just in case it did try to read info from it - it could have been a wasted copy (better to have wasted copy then to crash server for a dummy test)
if i were to have kept it - i may have found out if i truely needed it or not (may anyways - just to see -- to have a futuristic fel - star wars style stuff that would on work there on that map )
__________________
http://www.AoAUO.com
:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :) |
|
|
|
|
|
#17 (permalink) | |
|
Forum Expert
Join Date: Oct 2002
Age: 45
Posts: 4,327
|
Quote:
Trust me, it won't. The client has no way of knowing about any map other than the ones it has been coded to know about. The thing with facets is done by creating a virtual copy of a map that is already there. |
|
|
|
|
|
|
#19 (permalink) |
|
Forum Expert
Join Date: Oct 2002
Age: 45
Posts: 4,327
|
Not a brand new set of filenames, no.
Think of it this way. There are files in your client directory. How does the client know which files to read and how to handle them? The file names are hardcoded and there is code telling the client what to do with them. So if you add Statics236.mul to the client, the client won't magically understand that there is a new set of static files called statics236.mul and automatically add support for Map #236. The client's not written to do that. The client only has code to handle the specific maps, statics, and dif files that it has been programmed to read. |
|
|
|
|
|
#24 (permalink) |
|
Forum Novice
Join Date: May 2007
Age: 40
Posts: 127
|
I'd hug ya man
![]() ![]() You're little example just helped me add 10 new sample maps to my server; This OPENS up the door to a lot of fun!! Especially for RP: event maps, gm only maps... player worlds lol while keeping the tram and fel we all love! The only downfall, but not really is you have to manually put in new regions since the old ones deleted. Also I don't know how to add regions But I still wanna Hug Ya!!!! I'd try to give ya karma but wont let me lol bye man ![]() ![]() ![]() ![]() |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|