Go Back   RunUO - Ultima Online Emulation > RunUO > Modification Suggestions

Modification Suggestions This is where you can suggest a modifcation to RunUO!

Reply
 
Thread Tools Display Modes
Old 01-28-2006, 02:17 AM   #1 (permalink)
 
Join Date: Oct 2005
Location: Salem, MA
Age: 42
Posts: 47
Send a message via MSN to mark01970 Send a message via Yahoo to mark01970
Default A Copy/Paste would be handy

Today I was trying to add a PvP arena to my shard, and after spending over an hour building and decorating the structure itself, I discovered that even with the "region controller" script, you can not allow PvP on the Trammel map. (well I couldn't get it to be allowed at least). So I thought I need to move the entire structure over to Felluca. Well, the only choice is that I have to wipe the one I made on Trammel and re-do it on Felluca I guess.

That's when I thought to myself, wouldn't it be handy if there was a copy and paste option where you could set a bounding box around anything you have built on the shard and copy and paste everything in the box to another location/map. just have it basically grab everything in the box that isn't static, store it in an array and then just paste it somewhere else.

I don't know if this is really a good modification suggestion or if this would be better off done as a script maybe. Unfortunately I am still teaching myself C# and Scripting so this is beyond my capabilities at this point.

Does anyone else think this would be good to have? Just to be able to up and move your custom built player lounge from one area to make room for a larger dungeon, etc.

Mark
aKa Spadanera
The Unexpected Shard
mark01970 is offline   Reply With Quote
Old 01-28-2006, 02:25 AM   #2 (permalink)
Forum Expert
 
A_Li_N's Avatar
 
Join Date: Apr 2004
Location: Another state of mind
Age: 27
Posts: 2,875
Default

[area set map felucca
A_Li_N is offline   Reply With Quote
Old 01-28-2006, 03:04 AM   #3 (permalink)
 
Join Date: Oct 2005
Location: Salem, MA
Age: 42
Posts: 47
Send a message via MSN to mark01970 Send a message via Yahoo to mark01970
Default

Using the [area set map would copy it to the same exact coordinates on the felluca map, right? I was thinking though, that it would be really handy to be able to just up and move it anywhere you want.

Quote:
This feature already exists, called looping through every Item and creating a new Item of the same type on another map.
I am not sure I am following you with that? What feature is this?
__________________
Mark01970
aKa Spadanera
The Unexpected Shard
http://mysite.verizon.net/mark01970/TheUnexpectedShard
mark01970 is offline   Reply With Quote
Old 01-30-2006, 04:40 PM   #4 (permalink)
Forum Expert
 
zetamine's Avatar
 
Join Date: Feb 2004
Location: New Jersey
Age: 24
Posts: 250
Default

As far as the "loop" procedure, I have no idea, and I'm sure Phantom knows much more than me, but if you wish to leave it in trammel, you could just go into MapDefinition.cs ( I believe) and change where it says TrammelRules to Felucca Rules. You can just copy and paste the wording next from the ruleset from Felucca. The same thing can be done for any other facet. I'm sorry I can't be more specific, I'm at work, if you need more details, please reply and I'll give you a better explanation when I get home. I'm a novice myself, but I know it's always nice to get some easy help, that you can actually understand.
zetamine is offline   Reply With Quote
Old 01-30-2006, 06:25 PM   #5 (permalink)
Forum Expert
 
milt's Avatar
 
Join Date: Nov 2003
Location: Lancaster, PA
Age: 20
Posts: 1,606
Send a message via AIM to milt Send a message via Yahoo to milt Send a message via Skype™ to milt
Default

One of the best methods that I have discovered for moving large things like this is actually not too hard.

Here's how I do it:

1. Go to your arena, building, structure, or whatever you built.
2. Find the topmost corner, which I beleive is NorthWest.
3. Do a "[get location" command on the topmost corner.
4. Record the location.
5. Go to the place that you would like to move the structure to, and find the topmost corner, get the location and record it.
6. Next, open up the Windows Calculator (or whatever your preference is...) and get the difference of the X's and Y's.
7. You then can execute "[group inc x <xdif> y <ydif>" where xdif and ydif would be the differences of the X's and Y's.
8. Make your bounding box of your arena, and it will automatically shoot over to where you would like it to go.

This is the method I use, and it works pretty good. I would recommend practicing this on something else before you try something really big, as if you do something wrong, you can mess all of your hard work up.

Not a bad idea for the copy/paste command, it wouldn't be hard at all to create. I might just make this for fun if I get a little time, although the proccess in doing it isn't really that hard.

Hope that helps!
__________________
--Milt, AKA Pokey
milt is offline   Reply With Quote
Old 01-30-2006, 07:03 PM   #6 (permalink)
Forum Novice
 
Solinari555's Avatar
 
Join Date: May 2004
Age: 20
Posts: 178
Default

If you static it to the map for felucca it also statics into Tram. I find this useful for making Instances, creating cpoies of a dungeon in every available map and then setting items that only allow in a certain amount of ppl at once. Very useful if you know just how to static items to a map with the [freeze command. There's ingame instructions.
Solinari555 is offline   Reply With Quote
Old 02-01-2006, 05:52 PM   #7 (permalink)
Master of the Internet
 
TMSTKSBK's Avatar
 
Join Date: Feb 2004
Location: NC/NC State Univ
Age: 23
Posts: 16,424
Default

I should make an "undo" command for RunUO
__________________
Goodbye, folks.
TMSTKSBK is offline   Reply With Quote
Old 02-01-2006, 06:04 PM   #8 (permalink)
Forum Expert
 
PerfectWing's Avatar
 
Join Date: Oct 2002
Location: USA, Ga.
Age: 24
Posts: 1,205
Send a message via ICQ to PerfectWing Send a message via AIM to PerfectWing Send a message via MSN to PerfectWing Send a message via Yahoo to PerfectWing
Default

You have no idea how many times I've done something and gone "sunuva!" and wished I could fix it with undo. *hangs head*
PerfectWing is offline   Reply With Quote
Old 02-02-2006, 02:42 AM   #9 (permalink)
Master of the Internet
 
TMSTKSBK's Avatar
 
Join Date: Feb 2004
Location: NC/NC State Univ
Age: 23
Posts: 16,424
Default

heh...the undo command would be somewhat involved, and probably only go back one or two levels...

I also wanted to make a "clipboard" for RunUO...that wouldn't be too hard, actually.
__________________
Goodbye, folks.
TMSTKSBK is offline   Reply With Quote
Old 03-04-2006, 10:38 AM   #10 (permalink)
Forum Novice
 
Solinari555's Avatar
 
Join Date: May 2004
Age: 20
Posts: 178
Default

oooooh the Undo command is a possibility... Just set an EventSink for when someone uses a command to log what kind of command it is in XML and what it effects, and set Undo to where it can go back like 3 or 4 logs... I'm going to start work on that one, it's a cool idea.
Solinari555 is offline   Reply With Quote
Old 03-05-2006, 06:34 PM   #11 (permalink)
 
Join Date: Oct 2002
Age: 23
Posts: 4,689
Default

What if you deleted all of the spawners in your shard on accident? Undoing that would be the biggest pain in the ass, especially if a save happens right after. The reason is becuase the memory is not freed right when you delete it, but after a save, it is garbage collected. Because of this, undeleting stuff would mean saving it to a new location, meaning until you clear the undo cache, you could have double of your whole shard (potentially).
XxSP1DERxX is offline   Reply With Quote
Old 03-05-2006, 06:35 PM   #12 (permalink)
 
Join Date: Oct 2002
Age: 23
Posts: 4,689
Default

Quote:
Originally Posted by Solinari555
If you static it to the map for felucca it also statics into Tram. I find this useful for making Instances, creating cpoies of a dungeon in every available map and then setting items that only allow in a certain amount of ppl at once. Very useful if you know just how to static items to a map with the [freeze command. There's ingame instructions.
The BEST way of making instances is to use Jakob's script (with many modifications of course), and turn your structure into a multi, and then add the structure to each instance of whatever you wanted.
XxSP1DERxX is offline   Reply With Quote
Old 03-06-2006, 07:24 PM   #13 (permalink)
Account Terminated
 
Join Date: Jul 2003
Posts: 177
Send a message via ICQ to Dragon Slayer Send a message via Yahoo to Dragon Slayer
Default

here is the best and easy way

go get addon gen

turn your areana into a addon in sections and use the deeds to replace it in felucca

some advice

Make sure you know what location you are in when making such things so never have this problem again.
Dragon Slayer is offline   Reply With Quote
Old 03-07-2006, 01:38 PM   #14 (permalink)
Forum Expert
 
TheOutkastDev's Avatar
 
Join Date: Sep 2002
Location: Houston, Texas
Age: 22
Posts: 3,933
Default

Quote:
Originally Posted by XxSP1DERxX
The reason is becuase the memory is not freed right when you delete it, but after a save, it is garbage collected.
Really?

Open your Spawner.cs and add this:

Code:
        ~Spawner()
        {
            Console.WriteLine("GC collection of Spawner");
        }
[Add spawner
[Delete
[Save

Tell me what shows up on the console.
TheOutkastDev is offline   Reply With Quote
Old 03-07-2006, 02:09 PM   #15 (permalink)
 
Join Date: Oct 2002
Age: 23
Posts: 4,689
Default

Quote:
Originally Posted by TheOutkastDev
Really?

Open your Spawner.cs and add this:

Code:
 
        ~Spawner()
        {
            Console.WriteLine("GC collection of Spawner");
        }
[Add spawner
[Delete
[Save

Tell me what shows up on the console.
I am going by what I saw in the code... because the Delete function does not execute the Dispose function, or destructor of the object. I could be wrong, but I thought thats how it worked. I will look over it again.
XxSP1DERxX is offline   Reply With Quote
Old 03-07-2006, 05:24 PM   #16 (permalink)
Forum Expert
 
TheOutkastDev's Avatar
 
Join Date: Sep 2002
Location: Houston, Texas
Age: 22
Posts: 3,933
Default

Quote:
Originally Posted by XxSP1DERxX
I am going by what I saw in the code... because the Delete function does not execute the Dispose function, or destructor of the object. I could be wrong, but I thought thats how it worked. I will look over it again.
Correct. Deleting an item removes it from the world; however even on world save, deleted items are not freed from memory which is contrary to what you originally asserted.
TheOutkastDev is offline   Reply With Quote
Old 04-08-2006, 04:16 PM   #17 (permalink)
Newbie
 
Join Date: Dec 2004
Age: 30
Posts: 87
Default

ok guys the very best way for this is a tool called uo architect your able to download it from http://www.orbsydia.ca/ its very easy to use there actually a video on how to install and use but your able to add towns buildings dungeons whatever you need in a click and delete it or move it up down all around you can save whole towns youve made and build them on maybe your friends shard anything you need for moving and adding buildings is in this tool
dangan10511 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