Go Back   RunUO - Ultima Online Emulation > RunUO > Custom Script Releases

Custom Script Releases This forum is where you can release your custom scripts for other users to use.

Please note: By releasing your scripts here you are submitting them to the public and as such agree to make them public domain. The RunUO Team has made its software GPL for you to use and enjoy you should do the same for anything based off of RunUO.

Reply
 
Thread Tools Display Modes
Old 07-06-2008, 04:33 PM   #201 (permalink)
Forum Novice
 
Join Date: Jul 2006
Location: Oklahoma
Age: 29
Posts: 482
Default

Quote:
Originally Posted by seanandre View Post
I'm getting the following error when I install this system:

Code:
CS0508: Line 28: 'Server.Regions.CustomRegion.OnDeath(Server.Mobile)': return type must be 'void' to match overridden member 'Server.Region.OnDeath(Server.Mobile)'
I'm not sure if it's because this was designed for RC1 and I'm running RC2. Most scripts that have beenr eleased for RC1 also work for RC2, so I don't know.

Thanks,
Sean
Try grabbing the regioncontrol.cs and customregion.cs posted by phoric on page 7 .
__________________
Friends Come and go but Enemies accumulate
oiii88 is offline   Reply With Quote
Old 07-15-2008, 01:25 PM   #202 (permalink)
Newbie
 
Join Date: Jul 2008
Location: Poland, Warsaw
Age: 17
Posts: 65
Send a message via AIM to pziemczyk Send a message via Skype™ to pziemczyk
Default

Hm, anybody know how to add auto cleaner dropped items (not locked)?
Example: Item on the ground deleted after 30 sec.
pziemczyk is offline   Reply With Quote
Old 07-15-2008, 01:33 PM   #203 (permalink)
Forum Expert
 
Vorspire's Avatar
 
Join Date: Jan 2005
Location: Newcastle, United Kingdom
Age: 21
Posts: 2,298
Send a message via ICQ to Vorspire Send a message via MSN to Vorspire Send a message via Skype™ to Vorspire
Default

Modify your global decay settings, or the decay property on the region controller.
__________________

WWW.RPK-UO.COM - The WoW-UO Cross-Over Shard
Vorspire is offline   Reply With Quote
Old 08-02-2008, 03:50 PM   #204 (permalink)
Newbie
 
Join Date: Jul 2008
Location: Poland, Warsaw
Age: 17
Posts: 65
Send a message via AIM to pziemczyk Send a message via Skype™ to pziemczyk
Default

I have one problem.
I trying to set ,,NoPlayerItemDrop" but this doesnt work :/
I set this to true and nothing.

Please help.
__________________
Coming soon will show a new pvp server..
Evil Wars..
pziemczyk is offline   Reply With Quote
Old 08-15-2008, 12:52 AM   #205 (permalink)
Newbie
 
Join Date: Aug 2008
Posts: 38
Default

Why cant i download this file?
I try and try, and it keeps displaying the message "Corrupted zip. file, or invalid file"
Ahkmenrah is online now   Reply With Quote
Old 08-15-2008, 12:56 AM   #206 (permalink)
Forum Novice
 
Join Date: Jul 2006
Location: Oklahoma
Age: 29
Posts: 482
Default

It downloaded fine for me.. So I will re-upload it here for you as a .rar
Attached Files
File Type: rar Custom Regions in a Box V4.0.rar (10.9 KB, 9 views)
__________________
Friends Come and go but Enemies accumulate
oiii88 is offline   Reply With Quote
Old 08-20-2008, 04:53 AM   #207 (permalink)
Forum Novice
 
Join Date: Jan 2004
Posts: 142
Send a message via ICQ to robinson
Default

can someone update this for SVN 300?
robinson is offline   Reply With Quote
Old 08-22-2008, 08:57 PM   #208 (permalink)
Forum Novice
 
Grom09's Avatar
 
Join Date: Apr 2007
Posts: 119
Default

im using svn and i get this
Errors:
+ CUSTOM/Custom Regions in a Box V4[1].0/CustomRegion.cs:
CS0508: Line 28: 'Server.Regions.CustomRegion.OnDeath(Server.Mobile )': retur
n type must be 'void' to match overridden member 'Server.Region.OnDeath(Server.M
obile)'
i get the same error as the guy above lol.
Grom09 is offline   Reply With Quote
Old 08-22-2008, 09:01 PM   #209 (permalink)
Forum Novice
 
Join Date: Oct 2003
Posts: 153
Default

Read back a few pages, there's fix for that
__________________
Developer BES Oasis
Blessed Items only bag / GetPet
Shard : BES Oasis
datguy is offline   Reply With Quote
Old 08-22-2008, 09:01 PM   #210 (permalink)
Forum Novice
 
Grom09's Avatar
 
Join Date: Apr 2007
Posts: 119
Default

u replied too fast. i was just doing that, give me a sec lol, more errors

A fix for:
Errors:
+ CUSTOM/Custom Regions in a Box V4[1].0/CustomRegion.cs:
CS0508: Line 28: 'Server.Regions.CustomRegion.OnDeath(Server.Mobile )': retur
n type must be 'void' to match overridden member 'Server.Region.OnDeath(Server.M
obile)'

change line 28 to

public override void OnDeath( Mobile m )

and lines 77 and 80

Code:
                return; // base.OnDeath(m);
            }

            return;// toreturn;
thanks datguy

Last edited by Grom09; 08-22-2008 at 09:08 PM.
Grom09 is offline   Reply With Quote
Old 08-23-2008, 06:16 PM   #211 (permalink)
Forum Novice
 
Grom09's Avatar
 
Join Date: Apr 2007
Posts: 119
Default

im getting problems

i changed to this already
Code:
        private Point3D m_CustomGoLocation;

        [CommandProperty(AccessLevel.GameMaster)]
        public Point3D CustomGoLocation
        {
            get { return (m_Region != null) ? m_Region.GoLocation : new Point3D(0,0,0); }
            set 
            { 
                if (m_Region != null)
                {
                m_Region.GoLocation = value;
                m_CustomGoLocation = value;
                UpdateRegion();           
            }
        }
and deleted logs from today.
i stil get this
Code:
RunUO - [www.runuo.com] Version 2.0, Build 3110.29262
Core: Running on .NET Framework Version 2.0.50727
Scripts: Compiling C# scripts...done (cached)
Scripts: Skipping VB.NET Scripts...done (use -vb to enable)
Scripts: Verifying...done (2732 items, 767 mobiles)
Regions: Loading...done
World: Loading...Error:
System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
   at System.IO.__Error.EndOfFile()
   at System.IO.BinaryReader.FillBuffer(Int32 numBytes)
   at System.IO.BinaryReader.ReadInt32()
   at Server.World.Load() in c:\SVN 297\Server\World.cs:line 386
   at Server.ScriptCompiler.Compile(Boolean debug, Boolean cache) in c:\SVN 297\
Server\ScriptCompiler.cs:line 627
   at Server.Core.Main(String[] args) in c:\SVN 297\Server\Main.cs:line 443
This exception is fatal, press return to exit

Last edited by Grom09; 08-27-2008 at 07:39 PM.
Grom09 is offline   Reply With Quote
Old 08-24-2008, 12:35 PM   #212 (permalink)
Newbie
 
Join Date: Jul 2008
Location: Poland, Warsaw
Age: 17
Posts: 65
Send a message via AIM to pziemczyk Send a message via Skype™ to pziemczyk
Default

Anybody can/want fix the NoPlayerItemDrop props?
its doesnt work
__________________
Coming soon will show a new pvp server..
Evil Wars..
pziemczyk is offline   Reply With Quote
Old 08-24-2008, 04:16 PM   #213 (permalink)
Forum Novice
 
Grom09's Avatar
 
Join Date: Apr 2007
Posts: 119
Default

when i go from a backup, it says i have no accounts and have to create admin again.
should this happen

even if i revert to the most recent, second, or third backup
it is telling me to create owner, and if i do, all the stuff on my shard is gone. how can i get it back....

Last edited by Grom09; 08-25-2008 at 04:45 PM.
Grom09 is offline   Reply With Quote
Old 08-26-2008, 08:04 PM   #214 (permalink)
Forum Novice
 
Grom09's Avatar
 
Join Date: Apr 2007
Posts: 119
Default

anyone please.
do i have to redeco and create custom caves again
Grom09 is offline   Reply With Quote
Old 08-26-2008, 11:43 PM   #215 (permalink)
Forum Novice
 
Join Date: Oct 2003
Posts: 153
Default

When you look in the Accounts folder in the backup, is there a accounts.xml file there?
__________________
Developer BES Oasis
Blessed Items only bag / GetPet
Shard : BES Oasis
datguy is offline   Reply With Quote
Old 08-27-2008, 12:08 AM   #216 (permalink)
Forum Novice
 
Grom09's Avatar
 
Join Date: Apr 2007
Posts: 119
Default

there is in the 2nd, and 3rd,
but not in the crashed folder in backup file.
Grom09 is offline   Reply With Quote
Old 08-27-2008, 03:33 PM   #217 (permalink)
Forum Novice
 
Grom09's Avatar
 
Join Date: Apr 2007
Posts: 119
Default

i finally got it, thank you!
*edit*
changed, thx again

Last edited by Grom09; 08-27-2008 at 07:39 PM.
Grom09 is offline   Reply With Quote
Old 08-27-2008, 07:30 PM   #218 (permalink)
Forum Novice
 
Join Date: Oct 2003
Posts: 153
Default

Awesome, make a few more of those backups


Did you change the CustomGo routine as well? the one you have up there is wrong.
__________________
Developer BES Oasis
Blessed Items only bag / GetPet
Shard : BES Oasis
datguy is offline   Reply With Quote
Old 09-01-2008, 10:29 AM   #219 (permalink)
Lurker
 
Join Date: Jan 2006
Posts: 7
Default help

added the script
tryed to [add RegionControl and nothing happens

dif comand??
Cawkwellhall is offline   Reply With Quote
Old 09-01-2008, 06:28 PM   #220 (permalink)
Forum Novice
 
Join Date: Oct 2003
Posts: 153
Default

That's the command, make sure you added it to the correct folder, sometimes I add to a folder & it's one I'm not using as the game folder tree
__________________
Developer BES Oasis
Blessed Items only bag / GetPet
Shard : BES Oasis
datguy is offline   Reply With Quote
Old 09-01-2008, 11:21 PM   #221 (permalink)
Forum Novice
 
Join Date: Nov 2006
Posts: 110
Default

Here is my error...

Code:
RunUO - [www.runuo.com] Version 2.0, Build 3118.36516
Core: Running on .NET Framework Version 2.0.50727
Core: Optimizing for 2 processors
Scripts: Compiling C# scripts...failed (1 errors, 0 warnings)
Errors:
 + Nerun's Distro/Customs/customregions/RegionStone.cs:
    CS0101: Line 13: The namespace 'Server.Items' already contains a definition
for 'RegionFlag'
    CS0101: Line 57: The namespace 'Server.Items' already contains a definition
for 'RegionControl'
Scripts: One or more scripts failed to compile or no script files were found.
 - Press return to exit, or R to try again.
peepeetree is offline   Reply With Quote
Old 09-02-2008, 07:16 AM   #222 (permalink)
Lurker
 
Join Date: Jan 2006
Posts: 7
Default help!

ok added it to custom folder and getting this Error
+ custom /Customs Regions in a Box V4.0/CustomRegion.cs:
CS0508: Line 28: 'Server.Regions.CustomRegion.OnDeath(Server.Mobile )': return type must be 'void' to match overridden member 'Server.Region.OnDeath(Server.Mobile)'
Cawkwellhall is offline   Reply With Quote
Old 09-02-2008, 07:42 AM   #223 (permalink)
Forum Novice
 
Join Date: Jul 2006
Location: Oklahoma
Age: 29
Posts: 482
Default

Quote:
Originally Posted by Cawkwellhall View Post
ok added it to custom folder and getting this Error
+ custom /Customs Regions in a Box V4.0/CustomRegion.cs:
CS0508: Line 28: 'Server.Regions.CustomRegion.OnDeath(Server.Mobile )': return type must be 'void' to match overridden member 'Server.Region.OnDeath(Server.Mobile)'
I believe this was the fix I used .. Found it some pages back.

Try changing

Code:
                return base.OnDeath(m);
            }

            return toreturn;
To

Code:
                return; // base.OnDeath(m);
            }

            return;// toreturn;
If that doesnt work check the post here [RunUO 2.0 RC1] Custom Regions in a Box V4.0 One of the fixes listed there will take care of it.
__________________
Friends Come and go but Enemies accumulate

Last edited by oiii88; 09-02-2008 at 07:46 AM.
oiii88 is offline   Reply With Quote
Old 09-02-2008, 07:43 AM   #224 (permalink)
Forum Novice
 
Join Date: Jul 2006
Location: Oklahoma
Age: 29
Posts: 482
Default

Quote:
Originally Posted by peepeetree View Post
Here is my error...

Code:
RunUO - [www.runuo.com] Version 2.0, Build 3118.36516
Core: Running on .NET Framework Version 2.0.50727
Core: Optimizing for 2 processors
Scripts: Compiling C# scripts...failed (1 errors, 0 warnings)
Errors:
 + Nerun's Distro/Customs/customregions/RegionStone.cs:
    CS0101: Line 13: The namespace 'Server.Items' already contains a definition
for 'RegionFlag'
    CS0101: Line 57: The namespace 'Server.Items' already contains a definition
for 'RegionControl'
Scripts: One or more scripts failed to compile or no script files were found.
 - Press return to exit, or R to try again.
You have duplicates of the same file.
__________________
Friends Come and go but Enemies accumulate
oiii88 is offline   Reply With Quote
Old 09-02-2008, 07:59 AM   #225 (permalink)
Forum Novice
 
Join Date: Nov 2006
Posts: 110
Default

Quote:
Originally Posted by oiii88 View Post
You have duplicates of the same file.
That is what I thought but upon searching for the files in the errors it could not find another copy of either of those files. In fact I can't even find a file called regionflag in my set of files and the only thing coming up in a search for region control is regioncontrol and regioncontrolgump both in the custom region folder.

Last edited by peepeetree; 09-02-2008 at 08:02 AM.
peepeetree 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