Go Back   RunUO - Ultima Online Emulation > RunUO > RunUO Post Archive

RunUO Post Archive The Archvie

Reply
 
Thread Tools Display Modes
Old 09-12-2004, 10:34 AM   #1 (permalink)
Forum Expert
 
Join Date: Oct 2002
Age: 26
Posts: 1,797
Lightbulb Mongbatica's Mail System v2.0

With a few new mail systems being posted, I thought I'd offer the update to the original Mail System from Mongbatica, complete with post boxes, ability to send parcels, sealing wax and scrolls. Sealing wax on Mongbatica is made from Bees Wax (what else).

A big thankyou to Dian of Ancient Realms for the help testing it back in the day, and to all the folks on Mong for checking for bugs.

New features in this version:
(15/09/2004)
Book now displays number of entries in properties.
Entries now sorted alphabetically, ignoring deleted characters automatically.
Some general code tidying on book and gump.

(13/09/2004)
Weird occasional crash bug fixed
Other crash bug fixed, whereby closing the book opened the first entry, even if there wasn't one...
Added [AllNames command to fill book

(12/09/2004)
Names hold the hue of the character's access level
Semi-infinite number of names can be held instead of the previous 5.

Another big thankyou to Georox for bug testing and general help

Let me know your thoughts, and bugs you find, etc!
Attached Files
File Type: zip MailSystem.zip (10.1 KB, 440 views)
__________________
New shard coming soon!
Voran is offline   Reply With Quote
Old 09-12-2004, 10:47 AM   #2 (permalink)
 
Join Date: Apr 2004
Age: 53
Posts: 9
Default

Works great!!! well done
jethro is offline   Reply With Quote
Old 09-12-2004, 11:49 AM   #3 (permalink)
Forum Novice
 
Join Date: Jul 2004
Location: Lincoln, IL
Age: 35
Posts: 147
Send a message via MSN to Mad Clown
Default

My shard crashed when I attempted to use the AddressBook. I had 3 Sealingwax and 3 BlankScrolls added to it.

Here is my crashlog:

Server Crash Report
===================

Operating System: Microsoft Windows NT 5.1.2600.0
.NET Framework: 1.1.4322.573
Time: 9/12/2004 10:04:31 AM
Mobiles: 10048
Items: 71712
Clients:
- Count: 1

Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at Server.Gumps.AddressBookGump..ctor(Mobile owner, Int32 listPage, ArrayList list, Int32[] count, AddressBook hiya)
at Server.Items.AddressBook.OnDoubleClick(Mobile from)
at Server.Mobile.Use(Item item)
at Server.Network.PacketHandlers.UseReq(NetState state, PacketReader pvSrc)
at Server.Network.MessagePump.HandleReceive(NetState ns)
at Server.Network.MessagePump.Slice()
at Server.Core.Main(String[] args)




Not sure what I did.
Mad Clown is offline   Reply With Quote
Old 09-12-2004, 12:59 PM   #4 (permalink)
Forum Expert
 
Join Date: Oct 2002
Age: 26
Posts: 1,797
Default

Odd - never done that before, and I can't replicate it. Could you run the console with the -debug command and duplicate it?
__________________
New shard coming soon!
Voran is offline   Reply With Quote
Old 09-12-2004, 01:17 PM   #5 (permalink)
Forum Expert
 
Join Date: Aug 2003
Posts: 737
Send a message via ICQ to georox Send a message via AIM to georox
Default

this the one from the Czech or whatever site?
__________________
georox is offline   Reply With Quote
Old 09-12-2004, 01:50 PM   #6 (permalink)
Forum Expert
 
Join Date: Aug 2003
Posts: 737
Send a message via ICQ to georox Send a message via AIM to georox
Default

Server Crash Report
===================

Operating System: Microsoft Windows NT 5.1.2600.0
.NET Framework: 1.1.4322.573
Time: 9/12/2004 1:10:54 PM
Mobiles: 11303
Items: 96707
Clients:
- Count: 1
+ 169.254.237.230: (account = georox) (mobile = 0x1 'Geo')

Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at Server.Gumps.AddressBookGump..ctor(Mobile owner, Int32 listPage, ArrayList list, Int32[] count, AddressBook hiya)
at Server.Items.AddressBook.OnDoubleClick(Mobile from)
at Server.Mobile.Use(Item item)
at Server.Network.PacketHandlers.UseReq(NetState state, PacketReader pvSrc)
at Server.Network.MessagePump.HandleReceive(NetState ns)
at Server.Network.MessagePump.Slice()
at Server.Core.Main(String[] args)

Geo's Realm.
Added wax into the book, Crash!! If your willing to get on I can show you exactly what I did and how it happened. Geo's Realm. icq me at 161-928-321 or aim GeoL337 first.
__________________
georox is offline   Reply With Quote
Old 09-12-2004, 02:35 PM   #7 (permalink)
Forum Expert
 
Broadside's Avatar
 
Join Date: Jul 2004
Location: Minnesota
Age: 32
Posts: 1,488
Send a message via ICQ to Broadside Send a message via MSN to Broadside Send a message via Yahoo to Broadside
Default

Yep same here when wax is added to book bam, server crash. Is this a RunUo 1.0 compatible script?
__________________
Broadside ~AkA~ Bad Karma
Broadside is offline   Reply With Quote
Old 09-12-2004, 03:30 PM   #8 (permalink)
Tru
Forum Expert
 
Tru's Avatar
 
Join Date: Jan 2003
Location: California
Age: 39
Posts: 3,260
Default

I did a [add beeswa
and it brought up
BeesWax and
Beeswax

there appears to be a dirstro version and I've noticed in the past an issue like this will cause crashes
Tru is offline   Reply With Quote
Old 09-12-2004, 03:44 PM   #9 (permalink)
Forum Expert
 
Broadside's Avatar
 
Join Date: Jul 2004
Location: Minnesota
Age: 32
Posts: 1,488
Send a message via ICQ to Broadside Send a message via MSN to Broadside Send a message via Yahoo to Broadside
Unhappy

Yeah i took out the other Beeswax.cs But still crashed the server
__________________
Broadside ~AkA~ Bad Karma
Broadside is offline   Reply With Quote
Old 09-12-2004, 03:46 PM   #10 (permalink)
Forum Expert
 
Join Date: Aug 2003
Posts: 737
Send a message via ICQ to georox Send a message via AIM to georox
Default

who has a fix idea.. If i goto OPEN the book with wax+_scrols in it, it closes... :/
__________________
georox is offline   Reply With Quote
Old 09-12-2004, 03:47 PM   #11 (permalink)
Forum Expert
 
Join Date: Aug 2003
Posts: 737
Send a message via ICQ to georox Send a message via AIM to georox
Default

Quote:
Originally Posted by Broadside
Yeah i took out the other Beeswax.cs But still crashed the server
same.
__________________
georox is offline   Reply With Quote
Old 09-12-2004, 03:55 PM   #12 (permalink)
Tru
Forum Expert
 
Tru's Avatar
 
Join Date: Jan 2003
Location: California
Age: 39
Posts: 3,260
Default

Not quite sure what the wax itself is for but it looks like its looking for the sealingwax
Code:
else if ( dropped is SealingWax )
Besides if it was looking for the BeesWax that was added removing it isn't gonna help.
Tru is offline   Reply With Quote
Old 09-12-2004, 04:06 PM   #13 (permalink)
Master of Insanity
 
raisor's Avatar
 
Join Date: Sep 2004
Location: Mesa, Az
Age: 32
Posts: 220
Send a message via ICQ to raisor Send a message via AIM to raisor Send a message via MSN to raisor Send a message via Yahoo to raisor
Default

Oh, I see how it is. Voran's trying to out do me huh! just kidding. Script looks to be much more in-depth than mine. Can't wait until I can get home to test it out and see if I can help find/fix the bug with the bees wax. Not that I am saying I can, but who knows. Keep up da good work Voran and hope you can get this fixed for the others that are having problems.
raisor is offline   Reply With Quote
Old 09-12-2004, 04:07 PM   #14 (permalink)
Soul of Darkness
 
Draxus's Avatar
 
Join Date: Feb 2004
Location: In The Shadow of your mind!
Age: 22
Posts: 201
Send a message via AIM to Draxus Send a message via MSN to Draxus
Red face AddressBook

I had the same problem when I tried to open the AddressBook, The shard crashed, everything else seems to work, other than the AddressBook, This seems like a great idea, so I am hoping this error can be fixed.
Draxus is offline   Reply With Quote
Old 09-12-2004, 05:34 PM   #15 (permalink)
Forum Expert
 
Broadside's Avatar
 
Join Date: Jul 2004
Location: Minnesota
Age: 32
Posts: 1,488
Send a message via ICQ to Broadside Send a message via MSN to Broadside Send a message via Yahoo to Broadside
Default

Yes it must be in the address book gump i think. If i try and open the server crashes. The beeswax thing is np..sorry. Here is my crash message.
PHP Code:
Error:
System.ArgumentOutOfRangeExceptionIndex was out of range.  Must be non-negativ
and less than the size of the collection.
Parameter nameindex
   at System
.Collections.ArrayList.get_Item(Int32 index)
   
at Server.Gumps.AddressBookGump.OnResponse(NetState stateRelayInfo info)
   
at Server.Network.PacketHandlers.DisplayGumpResponse(NetState statePacketRe
ader pvSrc
)
   
at Server.Network.MessagePump.HandleReceive(NetState ns)
   
at Server.Network.MessagePump.Slice()
   
at Server.Core.Main(String[] args)
CrashBacking up...done
Crash
Generating report...done
Crash
Restarting...done
Warning
:
System.Threading.ThreadAbortExceptionThread was being aborted.
   
at System.Threading.Thread.Sleep(Int32 millisecondsTimeout)
   
at Server.TimerThread.TimerMain() 
__________________
Broadside ~AkA~ Bad Karma
Broadside is offline   Reply With Quote
Old 09-12-2004, 05:51 PM   #16 (permalink)
draco
Guest
 
Posts: n/a
Default

Iwe been waiting for a script like this in months! Great work!
  Reply With Quote
Old 09-12-2004, 05:54 PM   #17 (permalink)
Soul of Darkness
 
Draxus's Avatar
 
Join Date: Feb 2004
Location: In The Shadow of your mind!
Age: 22
Posts: 201
Send a message via AIM to Draxus Send a message via MSN to Draxus
Default

Quote:
Originally Posted by Broadside
Yes it must be in the address book gump i think. If i try and open the server crashes. The beeswax thing is np..sorry. Here is my crash message.
PHP Code:
Error:
System.ArgumentOutOfRangeExceptionIndex was out of range.  Must be non-negativ
and less than the size of the collection.
Parameter nameindex
   at System
.Collections.ArrayList.get_Item(Int32 index)
   
at Server.Gumps.AddressBookGump.OnResponse(NetState stateRelayInfo info)
   
at Server.Network.PacketHandlers.DisplayGumpResponse(NetState statePacketRe
ader pvSrc
)
   
at Server.Network.MessagePump.HandleReceive(NetState ns)
   
at Server.Network.MessagePump.Slice()
   
at Server.Core.Main(String[] args)
CrashBacking up...done
Crash
Generating report...done
Crash
Restarting...done
Warning
:
System.Threading.ThreadAbortExceptionThread was being aborted.
   
at System.Threading.Thread.Sleep(Int32 millisecondsTimeout)
   
at Server.TimerThread.TimerMain() 
Yea thats exactly what I had... I don't really think it has to do with the beeswax... maybe just the Gump
Draxus is offline   Reply With Quote
Old 09-12-2004, 07:19 PM   #18 (permalink)
Forum Expert
 
Join Date: Oct 2002
Age: 26
Posts: 1,797
Default

As I say, I've never had issues. It's been running fine for months (and yes, RC1.0)

Could someone who's managing to make it crash run their server with the -debug command and tell me which line is causing the crash? I can't duplicate it.
__________________
New shard coming soon!
Voran is offline   Reply With Quote
Old 09-12-2004, 07:46 PM   #19 (permalink)
Forum Expert
 
Broadside's Avatar
 
Join Date: Jul 2004
Location: Minnesota
Age: 32
Posts: 1,488
Send a message via ICQ to Broadside Send a message via MSN to Broadside Send a message via Yahoo to Broadside
Default

Exactly how do i do this debug thing?
__________________
Broadside ~AkA~ Bad Karma
Broadside is offline   Reply With Quote
Old 09-12-2004, 08:09 PM   #20 (permalink)
Hax Your Face.
 
Join Date: Jun 2004
Age: 21
Posts: 820
Default

Code:
Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
   at Server.Gumps.AddressBookGump..ctor(Mobile owner, Int32 listPage, ArrayList list, Int32[] count, AddressBook hiya) in c:\Program Files\RunUO Software Team\RunUO 1.0 RC0\Scripts\Custom\MailSystem\MailSystem\AddressBookGUMP.cs:line 109
   at Server.Items.AddressBook.OnDoubleClick(Mobile from) in c:\Program Files\RunUO Software Team\RunUO 1.0 RC0\Scripts\Custom\MailSystem\MailSystem\AddressBook.cs:line 82
   at Server.Mobile.Use(Item item)
   at Server.Network.PacketHandlers.UseReq(NetState state, PacketReader pvSrc)
   at Server.Network.MessagePump.HandleReceive(NetState ns)
   at Server.Network.MessagePump.Slice()
   at Server.Core.Main(String[] args)
I added 3 of each component ( wax and scrolls ) to the address book. When I double-clicked the book after, it crashed.

I could double-click the book before the items were added, so the exception is occuring in the path where the gump will be opened.
Waverian is offline   Reply With Quote
Old 09-12-2004, 09:36 PM   #21 (permalink)
Forum Expert
 
Join Date: Oct 2002
Age: 26
Posts: 1,797
Default

Thanks for that, Waverian, and a big thankyou to georox for helping me do another destruction test.

The file's updated. I've changed AddressBook.cs and AddressBookGump.cs
__________________
New shard coming soon!
Voran is offline   Reply With Quote
Old 09-12-2004, 10:18 PM   #22 (permalink)
Forum Expert
 
Join Date: Aug 2003
Posts: 737
Send a message via ICQ to georox Send a message via AIM to georox
Default

c-r-a-s-h
__________________
georox is offline   Reply With Quote
Old 09-12-2004, 10:22 PM   #23 (permalink)
Soul of Darkness
 
Draxus's Avatar
 
Join Date: Feb 2004
Location: In The Shadow of your mind!
Age: 22
Posts: 201
Send a message via AIM to Draxus Send a message via MSN to Draxus
Exclamation Crash

Quote:
Originally Posted by georox
c-r-a-s-h

Yup same here.....

Heres my crash log
PHP Code:
Exception:
System.NullReferenceExceptionObject reference not set to an instance of an object.
   
at Server.Gumps.AddressBookGump..ctor(Mobile ownerInt32 listPageArrayList list, Int32[] countAddressBook hiya)
   
at Server.Items.AddressBook.OnDoubleClick(Mobile from)
   
at Server.Mobile.Use(Item item)
   
at Server.Network.PacketHandlers.UseReq(NetState statePacketReader pvSrc)
   
at Server.Network.MessagePump.HandleReceive(NetState ns)
   
at Server.Network.MessagePump.Slice()
   
at Server.Core.Main(String[] args
Hopefully that will help you figure out the errors.... Its still in the AddressBook and addressbookgump... This is a great idea though Voran.. so hopefully these can be fixed
Draxus is offline