|
||
|
|||||||
| 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 |
|
|
#201 (permalink) | ||
|
Newbie
Join Date: Mar 2008
Age: 23
Posts: 18
|
Quote:
Quote:
|
||
|
|
|
|
|
#202 (permalink) | ||
|
Forum Expert
Join Date: Mar 2004
Location: NorthCentral IL, USA
Age: 35
Posts: 3,852
|
Quote:
__________________
Quote:
Just a Simple Staff Tool You can leave me messages. Ernest Gary Gygax - Quote "I would like the world to remember me as the guy who really enjoyed playing games and sharing his knowledge and his fun pastimes with everybody else." |
||
|
|
|
|
|
#204 (permalink) |
|
Forum Expert
|
This works just fine with RC2 and the SVN releases. The only thing you need to do is that one change. I'm still baffled as to why you are having login problems after making the necessary change to this system.
I'm using this on SVN 286 w/ ML SVN 144 without any problems whatsoever.
__________________
In some cases stupid makes you win-Radwen |
|
|
|
|
|
#206 (permalink) |
|
Forum Expert
|
This change in GumpResponse.cs
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);
__________________
In some cases stupid makes you win-Radwen |
|
|
|
|
|
#207 (permalink) | |
|
Forum Expert
Join Date: Mar 2004
Location: NorthCentral IL, USA
Age: 35
Posts: 3,852
|
__________________
Quote:
Just a Simple Staff Tool You can leave me messages. Ernest Gary Gygax - Quote "I would like the world to remember me as the guy who really enjoyed playing games and sharing his knowledge and his fun pastimes with everybody else." |
|
|
|
|
|
|
#209 (permalink) |
|
Newbie
Join Date: Jul 2006
Posts: 91
|
Greetings. I seem to be having an issue when trying to demolish a rental property. We crash no matter if the house owner, the renter or a staff member tries to demolish the house or delete the house sign.
Using 2.0 RC1, with this edition and the patch also. Here is the error that keeps coming up. ![]() |
|
|
|
|
|
#210 (permalink) | |
|
Forum Expert
|
Quote:
__________________
In some cases stupid makes you win-Radwen |
|
|
|
|
|
|
#211 (permalink) | |
|
Newbie
Join Date: Jul 2006
Posts: 91
|
Quote:
Right.. but no crash log is generated. Console just says too much data pending and then sends a windows error message. =/ |
|
|
|
|
|
|
#215 (permalink) | |
|
Forum Expert
Join Date: Dec 2005
Location: Elk Grove Village, IL
Posts: 337
|
Quote:
I am using the latest RunUO2.0 SVN. Anyone found a solution to this problem before I go digging around with my limited experience? :P hehe |
|
|
|
|
|
|
#217 (permalink) |
|
Newbie
Join Date: Mar 2008
Age: 23
Posts: 36
|
EDIT: Nevermind, I re-mondified the scripts without trying to remove the intown rental access, just disabled it.
Works great now :P Mabye in the future, I will try to take out the extra features. Ok, so let me first say this house system is amazing great work! I am modifying the code for two reasons. - Removal of the "rental contracts" & code that goes along with it. I dont want my players renting out parts of their houses. - Removed the MURDERERS flag & replace with a custom "flag" I created on player accounts. Which is IntownAccess = true/false, this is updated with other code, that checks TIMESPAN and such. anyways, Here is my issue. I think that when I was removing all of the "rental" and "rental contract code snippets", I removed something that was needed by the main system. Everything works fine, EXCEPT for... - doors are inaccessable - cannot use house commands, "I wish to lock this down" ... etc So does anyone know if there are required functions in the addon files, that would cause this? Last edited by Moroth; 05-21-2008 at 02:38 PM. Reason: FIXED |
|
|
|
|
|
#218 (permalink) |
|
Newbie
Join Date: Jan 2006
Posts: 24
|
Would just like to say that this is a great script and I love it! Was so very easy to use that even a total newb like me can get it to work.
I have one suggestion though and if it isn't possible or if it already does it and I am just missing it...well you get the picture...anyway is there a way to show house boundries so that people buying will know what they are getting and then after for deco purposes? Thanks again! Keep up the good work. ![]() |
|
|
|
|
|
#219 (permalink) |
|
Lurker
Join Date: Feb 2008
Posts: 6
|
HI guys,..
When I try to compile the townhouses system I get the following error. What have I missed? 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: + Town Houses v2.01/TownHouseSign.cs: CS0101: Line 10: The namespace 'Knives.TownHouses' already contains a defini tion for 'Intu' CS0101: Line 13: The namespace 'Knives.TownHouses' already contains a defini tion for 'TownHouseSign' Scripts: One or more scripts failed to compile or no script files were found. - Press return to exit, or R to try again. Thanks! |
|
|
|
|
|
#220 (permalink) |
|
Newbie
Join Date: Jun 2008
Age: 27
Posts: 13
|
Using 1.0 Runuo and i get this error. I seen you posted a different version of gump reponse so Ill try that one but for now I get this error please post suggestion on correction.
Using RunUO 1.0 Code: Scripts: Compiling C# scripts...failed (1 errors, 0 warnings) - Error: Scripts\TestCenter\Town Houses v2.01\Misc\GumpResponse.cs: CS0234: ( line 3, column 26) The type or namespace name 'Generic' does not exist in the cl ass or namespace 'System.Collections' (are you missing an assembly reference?) Scripts: One or more scripts failed to compile or no script files were found. - Press return to exit, or R to try again. I tried removing the line and it started giving me errors about the gumps crap like the guys using 2.0 were getting. so I think its a 1.0 issue as well. Please post a fully patched version if you get a chance or Ill post a corrected version if i get mine to work. |
|
|
|
|
|
#221 (permalink) | |
|
Lurker
Join Date: Feb 2008
Posts: 6
|
Quote:
|
|
|
|
|
|
|
#222 (permalink) |
|
Forum Expert
|
Hey....having a problem when i demolish the house....or delete the sign....or anything that would normally remove the house.
It's the only one to my knowledge so.... Code:
Server Crash Report =================== RunUO Version 2.0, Build 2357.32527 Operating System: Microsoft Windows NT 5.1.2600 Service Pack 3 .NET Framework: 2.0.50727.832 Time: 7/5/2008 10:55:09 PM Mobiles: 4430 Items: 42691 Clients: - Count: 1 + 127.0.0.1: (account =xxxxx) (mobile = 0x4 'xxxxx') Exception: System.NullReferenceException: Object reference not set to an instance of an object. at Server.Map.RemoveMulti(BaseMulti m, Sector start, Sector end) at Server.Map.OnLeave(Item item) at Server.Item.Delete() at Server.Gumps.HouseDemolishGump.OnResponse(NetState state, RelayInfo info) in d:\RunUO Server 2.0\Scripts\Gumps\HouseDemolishGump.cs:line 118 at Server.Network.PacketHandlers.DisplayGumpResponse(NetState state, PacketReader pvSrc) at Server.Network.MessagePump.HandleReceive(NetState ns) at Server.Network.MessagePump.Slice() at Server.Core.Main(String[] args) Last edited by Pyro-Tech; 07-06-2008 at 12:06 AM. |
|
|
|
|
|
#224 (permalink) |
|
Lurker
Join Date: Nov 2006
Posts: 1
|
could someone plz tell me, how to make this .01-file work? i really don't know, what to do with it. i placed it in a custom-directory and started run-uo. but it won't do anything.
okay... i found out, what went wrong. it would be helpful to have a note, that this townhouses.01-file should be renamed in .zip ![]() but now... the old bug: // List<Gump> gumps = state.Gumps; List<Gump> gumps = ((List<Gump>)state.Gumps); but: Errors: + custom/aus dem netz/Town Houses v2.01/Misc/GumpResponse.cs: CS0246: Line 29: The type or namespace name 'List' could not be found (are y ou missing a using directive or an assembly reference?) CS0246: Line 29: The type or namespace name 'List' could not be found (are y ou missing a using directive or an assembly reference?) CS0021: Line 33: Cannot apply indexing with [] to an expression of type 'Lis t<Server.Gumps.Gump>' Scripts: One or more scripts failed to compile or no script files were found. - Press return to exit, or R to try again. i tried both runuo 1.0 final and 2.0 both came up with the same error-message Last edited by Thalassa; 09-21-2008 at 01:45 PM. |
|
|
|
|
|
#225 (permalink) | |
|
Forum Novice
|
I've used this on RunUO 1 Final and on RunUO2 RC2. Works fine on both:
Quote:
To make it work on RunUO 1 you need to edit RUOVersion.cs Code:
/* * The two lines following this entry specify what RunUO version you are running. * In order to switch to RunUO 1.0 Final, remove the '//' in front of that setting * and add '//' in front of '#define RunUO_2_RC1'. Warning: If you comment both * out, many commands in this system will not work. Enjoy! */ #define RunUO_2_RC1 //#define RunUO_1_Final using System; using System.Collections; using System.Collections.Generic; using Server; using Server.Multis; using Server.Network;
__________________
The Hand Controls The Sword, The Mind Controls The Hand. |
|
|
|
|