|
||
|
|
#1 (permalink) |
|
Forum Expert
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
|
Here is a working postal worker that displays the correct custom item names. Includes SB info.
__________________
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:
|
|
|
|
|
|
#2 (permalink) |
|
Forum Expert
Join Date: Feb 2004
Location: Kenaz : The Rebirth =D
Age: 30
Posts: 487
|
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) |
|
|
|
|
|
#3 (permalink) |
|
Forum Expert
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
|
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:
|
|
|
|
|
|
#4 (permalink) |
|
Forum Expert
Join Date: Feb 2004
Location: Kenaz : The Rebirth =D
Age: 30
Posts: 487
|
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 =)
|
|
|
|
|
|
#5 (permalink) |
|
Forum Expert
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
|
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:
|
|
|
|
|
|
#6 (permalink) |
|
Forum Expert
Join Date: Feb 2004
Location: Kenaz : The Rebirth =D
Age: 30
Posts: 487
|
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 =) |
|
|
|
|
|
#7 (permalink) |
|
Forum Expert
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
|
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:
|
|
|
|
|
|
#8 (permalink) |
|
Forum Expert
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
|
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:
|
|
|
|
|
|
#9 (permalink) |
|
Forum Expert
Join Date: Feb 2004
Location: Kenaz : The Rebirth =D
Age: 30
Posts: 487
|
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*
|
|
|
|
|
|
#10 (permalink) |
|
Forum Expert
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
|
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:
|
|
|
|
|
|
#11 (permalink) |
|
Forum Expert
Join Date: Oct 2002
Age: 26
Posts: 1,797
|
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! |
|
|
|
|
|
#12 (permalink) |
|
Forum Expert
Join Date: Feb 2004
Location: Kenaz : The Rebirth =D
Age: 30
Posts: 487
|
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... =(
|
|
|
|
|
|
#13 (permalink) |
|
Forum Expert
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
|
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 ![]()
__________________
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:
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|