Go Back   RunUO - Ultima Online Emulation > RunUO > Utility Support > PlayUO (Krrios' Client)

PlayUO (Krrios' Client) Support & Etc for Krrios's UO Client.

Reply
 
Thread Tools Display Modes
Old 08-18-2005, 07:49 PM   #1 (permalink)
Forum Expert
 
Join Date: Dec 2002
Posts: 730
Default Map Suggestion

I've been thinking of this for a while, there are many tools out there to edit the map by importing bmps (UO Landscaper & Dragon) or by editing the file tile by tile (Worldforge).. But sometimes thats not enough. What we really need is a way to edit the map real time from the client and see it instantaneously while playing the game. Obviously this is not possible on the original client, because it lacks a "Maptile" packet. So I have an idea that is not very hard to implement and that would revolutionize map making forever.

Basically it means making krrios' client able to receive a "maptile" packet, that would substitute a tile of the map file by the one in the packet. The packet would consist of the following:
(packet id) (x) (y) (tileid) (height)
Whenever the client got "on-screen" with a position that was sent by one of these packets, it would change that coordinate's tile by the one on the packet. This is a fairly simple process AFAIK, but we still need a way to send the packets, and here comes the server side implementation (on RunUO):
First a class deriving Item would be created and it would look like a little gem or the spawner graphic. It would be placed on the tile map that needs to be modifyed and would contain the information of the modification to that tile: tileid and height. When height gets changed it auto sets the z of that item accordingly. The item would be invisible, but whenever someone gets in "update range" of it, it would send the packet (maybe a GM-only-can-see setting here?) so the client would show up the new map tile instead of the old one. Maybe we should show this tile differently to GMs so that they know they edited it.. perhaps recolored or with a wireframe around it? This could be an optional boolean on the packet (RecolorForStaff).
At least, these items would be serialized just like the rest of the items on the shard, but maybe to a different file (MapTiles.bin?). There would also need to be a command [freezemaptiles that would work just like freeze does on statics, but on the map so you can send the new files for your players.

This opens a new range of cool stuff:
-Using the [tile command and [global to modify the map in big regions at once, like lowering the z level of all Britannia to Ilshenar-like level so we could have some 10-floor bouldings :P
-Easy tile-by-tile editing, no more need for worldforge
-New effects, like explosions that create craters, or fast modifications for quests (these would obviously need all player to be using krrios' client)
-A lot more that i just can't think of right now

Hope I didn't forget anything, it shouldn't be a hard implementation, so I thought I should post it here (oops, one last thing: real time static editing would also be cool, it could be made with more-or-less the same implementation)


EDIT:
Just thought of a good way to implement real time statics edition :P
Make a DisableStatic packet:
(packetid) (x) (y) (z) (itemid) (hue)
Then make a [disablestatic command server side, target a static and an item is created in the place it was (just a small ball), this item will only be visible to GMs and can be double clicked to bring the static back. When you do [freeze all statics that are disable this way will be permanently removed (or maybe add a RemoveFromFie boolean in the placeholder item?)
The disablestatic packet would be sent to everyone that got in range of it, so the client would ignore the static that corresponds and not show it. Would be nice to make a city destruction quest or something where people can rebuild it later without having to [freeze and [unfreeze
I dont think there is need for a packet to send statics to client as yu can either mark items unmovable or freeze them..
Atomic is offline   Reply With Quote
Old 08-18-2005, 08:39 PM   #2 (permalink)
Account Terminated
 
Join Date: Sep 2002
Location: New York
Age: 22
Posts: 476
Default

Creative idea, but I don't think enough people use PlayUO for this to be implented. Also just changing how the map looked wouldn't be enough, you'd need to change how the client interacted with the new look also.
Dipset is offline   Reply With Quote
Old 08-18-2005, 09:20 PM   #3 (permalink)
Forum Expert
 
Join Date: Dec 2002
Posts: 730
Default

Perhaps not many people use it for the quest suggestion, but it would definately be good for map editing, even if it was done and then frozen to the map file.

And by changing the way it looks you would change the ways its interpreted also
Atomic is offline   Reply With Quote
Old 08-18-2005, 09:34 PM   #4 (permalink)
Master of the Internet
 
bzk90's Avatar
 
Join Date: Jun 2003
Location: Nevada
Age: 18
Posts: 6,630
Send a message via AIM to bzk90 Send a message via MSN to bzk90 Send a message via Yahoo to bzk90
Default

why would you use such a heavy program to edit the map? the client would take huge amounts of resources compared to dragon or worldforge
bzk90 is offline   Reply With Quote
Old 08-18-2005, 10:58 PM   #5 (permalink)
Account Terminated
 
Join Date: Sep 2002
Location: New York
Age: 22
Posts: 476
Default

Quote:
Originally Posted by bzk90
why would you use such a heavy program to edit the map? the client would take huge amounts of resources compared to dragon or worldforge
Heavy program? PlayUO uses not even 10% of my CPU, and no there inst a memory leak, its called having everything you ever see on your screen minus statics cached in different arrays which arent cleaned untill you close the client.
Dipset is offline   Reply With Quote
Old 08-18-2005, 11:06 PM   #6 (permalink)
Forum Expert
 
Join Date: Dec 2002
Posts: 730
Default

Not heavy at all, it would take like 10 krrios' clients to create the lag one of the old worldforge does... (the new seems a bit faster, but still slower than the client)
Atomic is offline   Reply With Quote
Old 08-19-2005, 04:03 AM   #7 (permalink)
Newbie
 
Join Date: Feb 2004
Age: 26
Posts: 42
Default

I would personally love this, it would make my map editing MUCH easier.
Barn Hermit is offline   Reply With Quote
Old 08-27-2005, 10:33 AM   #8 (permalink)
Forum Expert
 
Join Date: Dec 2002
Posts: 730
Default

Sorry to bump this, but I'd really like input from krrios or one of the dev's, it's been more than one week already and no one seems to care should I also post in Core Mods so that the other dev's can see it?
Atomic is offline   Reply With Quote
Old 08-27-2005, 12:38 PM   #9 (permalink)
Account Terminated
 
Join Date: Sep 2002
Location: New York
Age: 22
Posts: 476
Default

They'll see it, don't worrie.
Dipset is offline   Reply With Quote
Old 08-28-2005, 12:50 AM   #10 (permalink)
Forum Expert
 
Join Date: Jan 2003
Location: Denver, CO
Age: 21
Posts: 282
Send a message via ICQ to irro Send a message via AIM to irro Send a message via MSN to irro Send a message via Yahoo to irro Send a message via Skype™ to irro
Default

Use the god client. You can find it at tanjiers.
irro is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5