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

RunUO Post Archive The Archvie

Reply
 
Thread Tools Display Modes
Old 01-09-2005, 01:57 AM   #1 (permalink)
Forum Expert
 
Lucid Nagual's Avatar
 
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
Wink New Postal Vendor Plus Gift Bags

Here is a working postal worker that displays the correct custom item names. Includes SB info.
Attached Files
File Type: cs ThePostman.cs (9.4 KB, 112 views)
File Type: cs PostalRobe.cs (634 Bytes, 99 views)
File Type: cs BagsOfColor.cs (3.8 KB, 106 views)
__________________
Leader of the Anti-OSI Movement. Inventing a new game experience in an EA Games-free environment.

Don Juan Matus "The basic difference between an ordinary man and a warrior is that a warrior takes everything as a challenge, while an ordinary man takes everything as a blessing or as a curse."


My Customs:
Lucid Nagual is offline   Reply With Quote
Old 01-10-2005, 01:24 PM   #2 (permalink)
Forum Expert
 
Freya's Avatar
 
Join Date: Feb 2004
Location: Kenaz : The Rebirth =D
Age: 30
Posts: 487
Default

Hiyas, I put this in, and tried to buy a letter from it, and my shard crashed, this is the crash log. Not sure what happened =/ Any ideas? Thanks =)

Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at Server.Items.PlayerLetter.GetProperties(ObjectProp ertyList list)
at Server.Item.get_PropertyList()
at Server.Item.InvalidateProperties()
at Server.Item.set_Map(Map value)
at Server.Item.AddItem(Item item)
at Server.Items.Container.DropItem(Item dropped)
at Server.Items.BaseContainer.TryDropItem(Mobile from, Item dropped, Boolean sendFullMessage)
at Server.Mobile.PlaceInBackpack(Item item)
at Server.Mobile.AddToBackpack(Item item)
at Server.Mobiles.Gump_ThePostman.OnResponse(NetState sender, RelayInfo info)
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)
Freya is offline   Reply With Quote
Old 01-10-2005, 03:10 PM   #3 (permalink)
Forum Expert
 
Lucid Nagual's Avatar
 
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
Smile Crash

I tried to recreate the same problem by buying the letter. But my shard was fine. I wish I could help you,........................hum wait. Did you download a mailing system that has the letter? Cause I didn't include the letter with it. The vendor is only a MOD for someone elses system. Here is a link:

Diabetes

Hope this helps.
__________________
Leader of the Anti-OSI Movement. Inventing a new game experience in an EA Games-free environment.

Don Juan Matus "The basic difference between an ordinary man and a warrior is that a warrior takes everything as a challenge, while an ordinary man takes everything as a blessing or as a curse."


My Customs:
Lucid Nagual is offline   Reply With Quote
Old 01-10-2005, 03:33 PM   #4 (permalink)
Forum Expert
 
Freya's Avatar
 
Join Date: Feb 2004
Location: Kenaz : The Rebirth =D
Age: 30
Posts: 487
Default

Hmmm, yes, thats the mail system that I just put in... but when I went to use the postal worker, tried to purchase from him and server crashed and that was the log from it =/ Hmm when I first put in the script, it wouldn't compile, it said it couldn't find letter... that was in the postal worker script, so I looked at the mail system script and the letter was set up as PlayerLetter so I changed Letter in the mail worked script to PlayerLetter... because I thought maybe it was a typo or something and it compiled, but then it crashed when I went to purchase the letter... so maybe it's missing something in that mail system now? The only letter script in there was PlayerLetter.cs... but like I said, when I changed Letter in postal worker script to that so it would compile, it crashed =/ Thanks =)
Freya is offline   Reply With Quote
Old 01-10-2005, 05:09 PM   #5 (permalink)
Forum Expert
 
Lucid Nagual's Avatar
 
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
Smile Postal Letter

OK I may have two mail systems. Here are the letter scripts you can add to your system.
Let me know if this fixes it.

Edit* Files can now be found in ZIP below.
__________________
Leader of the Anti-OSI Movement. Inventing a new game experience in an EA Games-free environment.

Don Juan Matus "The basic difference between an ordinary man and a warrior is that a warrior takes everything as a challenge, while an ordinary man takes everything as a blessing or as a curse."


My Customs:
Lucid Nagual is offline   Reply With Quote
Old 01-11-2005, 12:43 AM   #6 (permalink)
Forum Expert
 
Freya's Avatar
 
Join Date: Feb 2004
Location: Kenaz : The Rebirth =D
Age: 30
Posts: 487
Default

Hmmm, I added that and then when compiling I recieved this error....
Code:
 - Error: Scripts\Custom\\MailSystem\Letter.cs: CS0246: (line 52, column 21) The type or namespace name 'LetterReadGump' could not be found (are you missing a using directive or an assembly ref
erence?)
 - Error: Scripts\Custom\MailSystem\Letter.cs: CS0246: (line 59, column 22) The type or namespace name 'ChangeLetterGump' could not be found (are you missing a using directive or an assembly r
eference?)
 - Error: Scripts\Custom\MailSystem\Letter.cs: CS0246: (line 65, column 22) The type or namespace name 'LetterWriteGump' could not be found (are you missing a using directive or an assembly reference?)

I attempted to change the name of the gumps in the Letter.cs to match the gumps I had, such as ReadLetterGump instead of LetterReadGump... but then it gave another error upon compiling, saying it had arguments in 3 places or something of the sort... Any other ideas? Thank you again for your help =)
Freya is offline   Reply With Quote
Old 01-11-2005, 03:21 AM   #7 (permalink)
Forum Expert
 
Lucid Nagual's Avatar
 
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
Smile Editing Names

You shouldn't have to change anything. Changing names will only cause more problems. Add those files without changing them. Then reinstall a fresh Postman.
__________________
Leader of the Anti-OSI Movement. Inventing a new game experience in an EA Games-free environment.

Don Juan Matus "The basic difference between an ordinary man and a warrior is that a warrior takes everything as a challenge, while an ordinary man takes everything as a blessing or as a curse."


My Customs:
Lucid Nagual is offline   Reply With Quote
Old 01-11-2005, 05:18 AM   #8 (permalink)
Forum Expert
 
Lucid Nagual's Avatar
 
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
Default Gumps

Nope. Sry there are other files I just found them. Here they are. It has been so long since I installed these I forgot about them.

Edit* Files are in ZIP below.
__________________
Leader of the Anti-OSI Movement. Inventing a new game experience in an EA Games-free environment.

Don Juan Matus "The basic difference between an ordinary man and a warrior is that a warrior takes everything as a challenge, while an ordinary man takes everything as a blessing or as a curse."


My Customs:
Lucid Nagual is offline   Reply With Quote
Old 01-11-2005, 03:21 PM   #9 (permalink)
Forum Expert
 
Freya's Avatar
 
Join Date: Feb 2004
Location: Kenaz : The Rebirth =D
Age: 30
Posts: 487
Default

Ok, this time it compiled, and didn't crash shard when purchasing something... but, now how do I send the letters bought from postal worker and such? When I put them in the post box it says "This is not a rubbish bin" lol Thanks again *Smile*
Freya is offline   Reply With Quote
Old 01-11-2005, 05:39 PM   #10 (permalink)
Forum Expert
 
Lucid Nagual's Avatar
 
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
Default Post Box

Which postbox do u have? Monbatica?
__________________
Leader of the Anti-OSI Movement. Inventing a new game experience in an EA Games-free environment.

Don Juan Matus "The basic difference between an ordinary man and a warrior is that a warrior takes everything as a challenge, while an ordinary man takes everything as a blessing or as a curse."


My Customs:
Lucid Nagual is offline   Reply With Quote
Old 01-11-2005, 06:16 PM   #11 (permalink)
Forum Expert
 
Join Date: Oct 2002
Age: 26
Posts: 1,797
Default

Yep - sounds like you have 2 different systems mixed together. The mongbatica one causes the crash when adding letters, since they're designed to be created by the Address Book, not added manually.
__________________
New shard coming soon!
Voran is offline   Reply With Quote
Old 01-11-2005, 07:49 PM   #12 (permalink)
Forum Expert
 
Freya's Avatar
 
Join Date: Feb 2004
Location: Kenaz : The Rebirth =D
Age: 30
Posts: 487
Default

Ya... I have Monbatica mail system... and like Voran said, it uses the Address book to send mail... so not able to get the letters or postal worker to work w/that mail system... =(
Freya is offline   Reply With Quote
Old 01-11-2005, 10:53 PM   #13 (permalink)
Forum Expert
 
Lucid Nagual's Avatar
 
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
Default Postal System

OK sry I just didn't want to get in trouble for resubmitting this. But looks like I have to........here it is:

Edit* Sry I feel bad for all your troubles
Attached Files
File Type: zip Postal System.zip (15.7 KB, 45 views)
__________________
Leader of the Anti-OSI Movement. Inventing a new game experience in an EA Games-free environment.

Don Juan Matus "The basic difference between an ordinary man and a warrior is that a warrior takes everything as a challenge, while an ordinary man takes everything as a blessing or as a curse."


My Customs:
Lucid Nagual 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



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5