|
||
|
|||||||
| 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. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#151 (permalink) | |
|
Forum Expert
|
Quote:
__________________
"Morality is a lonely path." - Me |
|
|
|
|
|
|
#152 (permalink) |
|
Forum Expert
Join Date: Feb 2005
Location: USA
Age: 30
Posts: 335
|
The lock up isn't immediate but after it spams up both the renters screen and the rentee's the .NET crash happens. For example just to try it I rented out a section of the house for 1 gold. It spamed up the screen over and over saying 1 gold returned to bank and something about ending of contract of the renters screen.
If you need exact messages it spams the screen with right before the crash I can redo it and get what they say exactly.
__________________
Your GM's will have no excuse for missing a page.
Tintamar's Page In Queue Updated for RunUO 2.0: 6/18/2006 Need website/domain or patch hosting? Contact me UO Art - Customizing your world |
|
|
|
|
|
#153 (permalink) | |
|
Forum Expert
|
Quote:
__________________
"Morality is a lonely path." - Me |
|
|
|
|
|
|
#154 (permalink) |
|
Forum Expert
Join Date: Feb 2005
Location: USA
Age: 30
Posts: 335
|
Screenshots
![]() ![]()
__________________
Your GM's will have no excuse for missing a page.
Tintamar's Page In Queue Updated for RunUO 2.0: 6/18/2006 Need website/domain or patch hosting? Contact me UO Art - Customizing your world |
|
|
|
|
|
#155 (permalink) |
|
Forum Expert
Join Date: Feb 2005
Location: USA
Age: 30
Posts: 335
|
Figures I post screenshots and my host just went down lmao
On the renters screen it spams.. <Players name> has ended your rental agreement. Since they broke the contract, your are refunded the last payment. You have received a 1 gold deposit from your town house. On the house owner screen it spams.. You have ended your rental agreement with <Players name>. They will be refunded their last payment. *spelling error
__________________
Your GM's will have no excuse for missing a page.
Tintamar's Page In Queue Updated for RunUO 2.0: 6/18/2006 Need website/domain or patch hosting? Contact me UO Art - Customizing your world |
|
|
|
|
|
#156 (permalink) |
|
Forum Expert
Join Date: Feb 2005
Location: USA
Age: 30
Posts: 335
|
Temporary Solution if anyone is having people abuse this.
Open your RentalContract.cs file found in the items folder within your Townhouse folder. Find the OnDoubleClick section. And block off the section of the script and add this.Delete(); at the end. All mods marked in color. Code:
public override void OnDoubleClick( Mobile m )
{
//ValidateOwnership();
/*if ( Deleted )
return;
if ( c_RentalMaster == null )
c_RentalMaster = m;
BaseHouse house = BaseHouse.FindHouseAt( m );
if ( c_ParentHouse == null )
c_ParentHouse = house;
if ( house == null || ( house != c_ParentHouse && house != House ) )
{
m.SendMessage( "You must be in the home to view this contract." );
return;
}
if ( m == c_RentalMaster
&& !c_Completed
&& house is TownHouse
&& ((TownHouse)house).ForSaleSign.PriceType != "Sale" )
{
c_ParentHouse = null;
m.SendMessage( "You can only rent property you own." );
return;
}
if ( m == c_RentalMaster && !c_Completed && General.EntireHouseContracted( c_ParentHouse ) )
{
m.SendMessage( "This entire house already has a rental contract." );
return;
}
if ( c_Completed )
new ContractConfirmGump( m, this );
else if ( m == c_RentalMaster )
new ContractSetupGump( m, this );
else
m.SendMessage( "This rental contract has not yet been completed." );*/
this.Delete();
}
This is just a temp solution untill Kmwill gets it fixed.. This is just cause the deed to get deleted when double clicked. (if it wasn't obvious) ![]()
__________________
Your GM's will have no excuse for missing a page.
Tintamar's Page In Queue Updated for RunUO 2.0: 6/18/2006 Need website/domain or patch hosting? Contact me UO Art - Customizing your world |
|
|
|
|
|
#157 (permalink) |
|
Newbie
Join Date: Dec 2005
Posts: 87
|
I used your system a while ago, i had no prob, but i redownloaded it recently and when you put the townhouse public, buy a vendor contract at the banker, and place it in the house its fine, then u take it off and all the stuff and click Demolish House, my server crash :S
Oh and how you put so someone can own more than 1 townhouse ? Last edited by Kyler; 08-22-2007 at 04:36 PM. |
|
|
|
|
|
#158 (permalink) |
|
Forum Expert
Join Date: Jan 2003
Location: (Near) Atlanta, GA
Posts: 369
|
Are you running the patch?
I had a lot of problems with houses crashing when I went to demo them. I noticed once I upgraded to the SVN, that the problem went away (except for one... which the patch addressed.) I haven't had any town house crashes since then. What version of RunUO are you using? |
|
|
|
|
|
#163 (permalink) |
|
Forum Expert
Join Date: Jan 2003
Location: (Near) Atlanta, GA
Posts: 369
|
Well, according to this thread... (and I'm not sure about your 'vendor' issue you are talking about... just going on what I have read) there is apparently a bug with demo'n townhouses in RC1. To my knowledge, it was never fixed, because the bug was part of the RC1 sever, not so much in townhouses itself.
But... someone PLEASE correct me if I'm wrong here. |
|
|
|
|
|
#165 (permalink) |
|
Lurker
Join Date: Sep 2006
Posts: 7
|
Wanted to ask a question. I've made a Custom File for the Townhouses and put it all over the place in RunUO but i go to type the command it says unknown command. My question where exactly does the Custom file go to run this?
Sin
__________________
Lady of uDo Mystika-Mage Tamer §intalation-GM Mule, Macer, Mage Vendor-Sine @ 62°45'N,46°15'W [SIGPIC][/SIGPIC] |
|
|
|
|
|
#167 (permalink) |
|
Newbie
Join Date: Aug 2007
Age: 33
Posts: 13
|
RunUO - [www.runuo.com] Version 2.0, Build 2832.30691
Core: Running on .NET Framework Version 2.0.50727 + Misc/Town Houses v2.01/Misc/GumpResponse.cs: CS0266: Line 28: Cannot implicitly convert type 'System.Collections.Generic. IEnumerable<Server.Gumps.Gump>' to 'System.Collections.Generic.List<Server.Gumps .Gump>'. An explicit conversion exists (are you missing a cast?) Im getting this error anyone know what to fix? |
|
|
|
|
|
#170 (permalink) |
|
Newbie
Join Date: Feb 2004
Location: Canada
Age: 43
Posts: 68
|
Errors
It doesnt matter which version I run of your script its giving me errors, and I do not know how to fix this issue.with 1.0 I get Exception: System.NullReferenceException: Object reference not set to an instance of an object. at Knives.TownHouses.TownHouse.InitSectorDefinition() at Server.Timer.DelayCallTimer.OnTick() at Server.Timer.Slice() at Server.Core.Main(String[] args) with the latest I get simular cept its basemap issue. never mind I fixed the problem by removing the script, restarting server, removing all signs, installing the latest version and putting the save files back. thanks anyways Last edited by Rhionnan; 11-02-2007 at 01:52 AM. Reason: fixed it myself :) |
|
|
|
|
|
#171 (permalink) | |
|
Forum Novice
|
Quote:
|
|
|
|
|
|
|
#172 (permalink) | |
|
Forum Master
Join Date: Feb 2005
Location: ShatteredSosaria.com
Posts: 9,260
|
I installed this on my RunUO 2.0 SVN 264 shard. I installed the "Town Houses v2.0.1.zip" and "Patch1 Round3.zip" files, and I made the according modifications in the "Optional Patches" folder. Here are the compile errors I came across:
Quote:
1. Changed "Town Houses v2.0.1\Gumps\Gumps Plus Light\GumpPlusLight.cs" Code:
/*public void Clear()
{
Entries.Clear();
c_Buttons.Clear();
c_Fields.Clear();
}*/
public override void Clear()
{
Entries.Clear();
c_Buttons.Clear();
c_Fields.Clear();
base.Clear();
}
Code:
private List<Gump> m_Gumps;
...
public List<Gump> Gumps{ get{ return m_Gumps; } }
Code:
private List<Gump> m_Gumps;
...
public IEnumerable<Gump> Gumps {
get {
return m_Gumps;
}
}
Code:
public static void DisplayGumpResponse(NetState state, PacketReader pvSrc)
{
int serial = pvSrc.ReadInt32();
int typeID = pvSrc.ReadInt32();
int buttonID = pvSrc.ReadInt32();
// List<Gump> gumps = state.Gumps;
List<Gump> gumps = ((List<Gump>)state.Gumps);
|
|
|
|
|
|
|
#173 (permalink) |
|
Forum Expert
|
seem to have a problem here. i can't rent outhte houses. i created a townhouse, changed to player to buy it and nothing says i aint allowed to buy am i missing something here?
i even tried setting it to free and still nothing. is there a step i missed?
__________________
My online store - jdvaluestore.com A D&D shard - dodronline.com |
|
|
|
|
|
#174 (permalink) |
|
Forum Expert
|
ok i love the script it LOOKS great. but i seem to be having one problem. it wont let me finish the setup. i get everything setup. but no button to finish it so i right click it out. change to player and try to buy the house. nothing it tells me the setup aint finished what am i missing here?
i set the price, set the area, set the lockable and stuff, is there something else ? i never really used this script before so.... ok i feel stupid now i forgot to do the select bottom floor! it is working great now.
__________________
My online store - jdvaluestore.com A D&D shard - dodronline.com Last edited by drgsldr69; 11-08-2007 at 10:52 PM. Reason: ok i feel stupid |
|
|
|
|
|
#175 (permalink) |
|
Forum Novice
Join Date: May 2005
Location: Canada
Age: 24
Posts: 543
|
This update is amazing needless to say, but I am having one issue with it....
When you restart your server....the Rent Time does not appear to persist over the restart. Essentially if I have a week rent time...the player can snag a house....but if I restart the server to add content or update something...(or the dreaded black outs that sometimes happen) then the rent timer appears to restart back at it's original point. Is there a way to easily implement something so that if a player rents a house and it's a week rental fee.....the end time is set? Perhaps through the use of a DateTime for when they rent...and the generation of a DateTime for when the rent is due....? Anyways great system!
__________________
A sense of community is the lifeblood of RunUO. http://www.runuo.com/forums/announcements/67400-something-all-you-chew.html Satire, man's greatest weapon (Flame Wars!) The darkness is patient and in the end it always wins...but even the smallest light can overcome the blackest shadow. |
|
|
|