RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

[RunUO 2.0 RC1] Custom Regions in a Box V4.0

legall

Page
i got a problem plz help..

Errors:
Customs/Custom regions/CustomRegion.cs
CS0508: Line 28: 'Server.Regions.CustomRegion.Ondeath<ServerMobile>': return type must be'void' to match overridden member 'Server.Region.OnDeath<Server.Mobile>


Plz Help me.

i have put custom regions in my custom scripts folder and ... error?
 

legall

Page
something's wrong.

i used the scrips it works wery fine every region works fine.
But today every flags was disappeared...

When i trye to add custom region in a game nothing is happen.
A Region controller is not appear and when server saves then i got a crash because of bad item... regioncontroler.....


please help me this script is the most usefull script on my server.
 

SolusII

Sorceror
I got an error:

Code:
RunUO - [www.runuo.com] Version 2.0, Build 2959.20979
Core: Running on .NET Framework Version 2.0.50727
Core: Optimizing for 2 processors
Scripts: Compiling C# scripts...failed (1 errors, 0 warnings)
Errors:
 + Custom/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)'
Scripts: One or more scripts failed to compile or no script files were found.
 - Press return to exit, or R to try again.
 

culpress

Sorceror
I do not know whats going on in game but the region controllers are messed up I suppose I get this error from them.

Code:
RunUO - [www.runuo.com%5d Version 2.0, Build 3567.2838
Core: Running on .NET Framework Version 2.0.50727
Core: Optimizing for 2 64-bit processors
Scripts: Compiling C# scripts...done (cached)
Scripts: Skipping VB.NET Scripts...done (use -vb to enable)
Scripts: Verifying...done (2318 items, 538 mobiles)
ACC Registered: Server.ACC.PG.PGSystem
Regions: Loading...done
World: Loading...Error:
System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
   at System.IO.BinaryReader.FillBuffer(Int32 numBytes)
   at System.IO.BinaryReader.ReadInt32()
   at Server.World.Load()
   at Server.Core.Main(String[] args)
This exception is fatal, press return to exit

I know it's from them because it says so in the crash log.
 

shar.pak

Sorceror
Code:
Errors:
 + Custom/Custom Regions in a Box V4.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)'

This is the error I got when trying to run my server
 

M_0_h

Page
shar.pak;829863 said:
Code:
Errors:
 + Custom/Custom Regions in a Box V4.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)'

This is the error I got when trying to run my server

Which server version are you using?
 

M_0_h

Page
culpress;829721 said:
I do not know whats going on in game but the region controllers are messed up I suppose I get this error from them.

Code:
RunUO - [www.runuo.com%5d Version 2.0, Build 3567.2838
Core: Running on .NET Framework Version 2.0.50727
Core: Optimizing for 2 64-bit processors
Scripts: Compiling C# scripts...done (cached)
Scripts: Skipping VB.NET Scripts...done (use -vb to enable)
Scripts: Verifying...done (2318 items, 538 mobiles)
ACC Registered: Server.ACC.PG.PGSystem
Regions: Loading...done
World: Loading...Error:
System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
   at System.IO.BinaryReader.FillBuffer(Int32 numBytes)
   at System.IO.BinaryReader.ReadInt32()
   at Server.World.Load()
   at Server.Core.Main(String[] args)
This exception is fatal, press return to exit

I know it's from them because it says so in the crash log.

Hmm, seems like you messed something up in the serialization part... can you post your RegionControl file?
 

Crowley62

Sorceror
Shard crash when imbue used in controlled region

Exception:
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.Collections.BitArray.Get(Int32 index)
at Server.Items.RegionControl.IsRestrictedSkill(Int32 skill)
at Server.Regions.CustomRegion.OnSkillUse(Mobile m, Int32 skill)
at Server.Skills.UseSkill(Mobile from, Int32 skillID)
at Server.Network.PacketHandlers.TextCommand(NetState state, PacketReader pvSrc)
at Server.Network.MessagePump.HandleReceive(NetState ns)
at Server.Network.MessagePump.Slice()
at Server.Core.Main(String[] args)


Please help me fix this i have a controlled gateroom and cant have players going wild lol It is caused when a player clicks the new imbue button on the skills gump but only in a controlled region thx
 

Ice19999

Sorceror
Error

Core = RunUO 2.0 final

Error
Code:
[COLOR="Red"] + Custom Regions in a Box V4.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)'[/COLOR]
 

Sythen

Sorceror
This Version Of This Script Should Work... It Works For Me Using Callandor2k's Latest SVN
 

Attachments

  • Custom Map Regions.zip
    13.5 KB · Views: 46
  • Custom Map Regions.rar
    12.8 KB · Views: 36

Gorelord13

Wanderer
Mkay im not exactly sure what this does, can i add my own facet like felucca or Trammle or is this something completely dfferent, before i add this i would like to know what this actually is thanks
 

Vladamir

Sorceror
this error

Code:
Errors:
 + Customs/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)'

Getting this error. Any help?
 

PandoraUO

Wanderer
does anyone know if this is still working?

Seems like it works half the time on my shard. But it also has crashed it a few times.
 

Sythen

Sorceror
I've never had issues with any of the scripts I uploaded earlier for this system. I do think that there are portions of this system which are not functional... Like the guarded region in the [props of the Region Control flag. I use this script for small scale region editing. If you want to do large scale editing you need to go into the regions.xml and edit it accordingly.

An example of a good use for this system is:

On a facet with the Felucca ruleset > set up an arena where the middle of the arena is pvp > but the stadium seating around the area center is trammel ruleset > players inside the arena can't kill spectators > maybe if they try they get guardwhacked or something cool like that. :D
 
Top