Secret Chest

Yvan Major

Squire
Nov 13, 2015
199
10
18
I wrote this as container a while ago.. Does it has any special ability?
Yes on OSi it let you have twice the area than a backpack to drop stuff in it and let you have more items... Just too bad i sold my accounts on Atlantic and cannot retrieve the exact informations but that's about it.

Asked the guy who bought it and its only the area that is twice a backpack to place items in it.
 
Last edited:

Crome969

Squire
Jan 9, 2014
195
20
18
33
Germany
www.RebirthUO.com
Shard Name
RebirthUO
Donate
Donate money to this user
Yes on OSi it let you have twice the area than a backpack to drop stuff in it and let you have more items... Just too bad i sold my accounts on Atlantic and cannot retrieve the exact informations but that's about it.

Asked the guy who bought it and its only the area that is twice a backpack to place items in it.
Lemme search it, it will be quiet easy
 

Crome969

Squire
Jan 9, 2014
195
20
18
33
Germany
www.RebirthUO.com
Shard Name
RebirthUO
Donate
Donate money to this user
Code:
//http://stratics.com/threads/secret-chest-resetting-passwords.365218/
//http://stratics.com/threads/how-to-open-a-locked-secret-chest.303130/
namespace Server.Items
{
  [Flipable(0x9706, 0x9707)]
  public class CombinationChest : LockableContainer
  {
  public override int DefaultGumpID { get { return 0x58E; } }
  public override int DefaultMaxItems { get { return 250; } }

  [Constructable]
  public CombinationChest() : base(0x9706)
  {
  Name = "Secret Chest";
  }

  public CombinationChest(Serial serial) : base(serial) { }

  public override void Serialize(GenericWriter writer)
  {
  base.Serialize(writer);

  writer.Write(0);
  }

  public override void Deserialize(GenericReader reader)
  {
  base.Deserialize(reader);

  reader.ReadInt();
  }
  }
}
This doesnt include the numlock of chest. As far as i researched when the chest is locked, you need to solve the numlock to reopen the chest.
this code can be entered 3 times wrong per day and there is a way to setup and reset the code.
 

Crome969

Squire
Jan 9, 2014
195
20
18
33
Germany
www.RebirthUO.com
Shard Name
RebirthUO
Donate
Donate money to this user
How do you get these chests? I'd love a chest with a larger GUMP.
They were obtainable for $$ on asian shards exclusive as far i remember. I know, that there were a lot of guys doing shard transfers getting those spread to atl\pac\df and other servers. Currently dealt for 1 platinum coin on stratics. I want to ask my contacts, maybe someone own one and i could generate the gumps with stealth for it,.
 
  • Like
Reactions: m309

Yvan Major

Squire
Nov 13, 2015
199
10
18
They were obtainable for $$ on asian shards exclusive as far i remember. I know, that there were a lot of guys doing shard transfers getting those spread to atl\pac\df and other servers. Currently dealt for 1 platinum coin on stratics. I want to ask my contacts, maybe someone own one and i could generate the gumps with stealth for it,.
That would be nice, i had 3 of them on Atlantic and they are very nice to spread ressources.
 

zerodowned

Moderator
ServUO Developer
Jun 28, 2014
1,829
250
83
Looking at fiddler, 0x58F - 0x599 are the combination gumps

0x58D is the chest closed and you can see slots on the front of it where the combination numbers go.

Capture.JPG
 
  • Like
Reactions: Lagatha

Crome969

Squire
Jan 9, 2014
195
20
18
33
Germany
www.RebirthUO.com
Shard Name
RebirthUO
Donate
Donate money to this user
So here is the analysis :


When the Chest is untouched following data is aquired :

Code:
* Info * : ID: $xxxxxxxx Name: NoName Type: $9706 Color: $0000
* Info * : Quantity: 1 X: 95 Y: 72 Z: 0
* Info * : Tooltip: secret chest|Weight: 5 stones|Contents: 0/125 items, 0/400 stones
The Chest stores a Serial, who sealed the chest. If this is empty you can click once onto the chest to get following context menu

Code:
[18:51:01:276] System: ContexMenu! MenuID $435AC4E5 EntriesNumber: 02
[18:51:01:276] System:  Entry0: Tag $01A4 Flags: 0000 Text: Set/Edit Key Number
[18:51:01:276] System:  Entry1: Tag $01A5 Flags: 0001 Text: Reset Key Number
When you Click Reset Key Number, it resets the tryouts, the Serial of "Sealer" and sets the number back to 00000.

If you Click "Set/Edit Key Number" following Gump will be made :

Code:
Serial: xxxxxxxxxx
GumpID: 23D1
X: 0000
Y: 0000
Pages: 1
Gump Options:

GumpPics: X  Y  ID  Hue  Page  ElemNum
GumpPic: 50  50  1421  0  0  1
GumpPic: 190  200  1423  0  0  14
GumpPic: 214  200  1423  0  0  15
GumpPic: 238  200  1423  0  0  16
GumpPic: 262  200  1423  0  0  17
GumpPic: 286  200  1423  0  0  18

GumpButtons: X  Y  Released_ID  Pressed_ID  Quit  Page_ID  Return_value  Page  ElemNum
0  GumpButton: 133  270  2074  2075  1  0  2  0  2
1  GumpButton: 320  270  2073  2072  1  0  0  0  3
2  GumpButton: 192  190  1420  1420  1  0  10  0  4
3  GumpButton: 192  230  1433  1433  1  0  11  0  5
4  GumpButton: 216  190  1420  1420  1  0  12  0  6
5  GumpButton: 216  230  1433  1433  1  0  13  0  7
6  GumpButton: 240  190  1420  1420  1  0  14  0  8
7  GumpButton: 240  230  1433  1433  1  0  15  0  9
8  GumpButton: 264  190  1420  1420  1  0  16  0  10
9  GumpButton: 264  230  1433  1433  1  0  17  0  11
10  GumpButton: 288  190  1420  1420  1  0  18  0  12
11  GumpButton: 288  230  1433  1433  1  0  19  0  13
So the Background, the Numbers are just Gump Pictures and have some buttons (2 per number + 1 ok 1 cancel button)

Once the Code is set the tooltips looks like following.

Code:
* Info * : ID: $xxxxxxxx Name: NoName Type: $9706 Color: $0000
* Info * : Quantity: 1 X: 95 Y: 72 Z: 0
* Info * : Tooltip: secret chest|Weight: 5 stones|Locked|Contents: 0/125 items, 0/400 stones
If the Sealer doubleclick the chest, it will open as before.

If a foreigner try to open the chest, he gets first time following Journal messages :

Code:
[18:55:58:172] You see: It appears to be locked.
[18:55:58:174] You see: Enter the key number to open.
[18:55:58:175] You see: Number of tries left: 3
Then the Gump stated above (same design\layout and handling kind as above).

The user can try to unlock the chest if he fail the gump reopens and shows :

Code:
[18:56:03:746] You see: The number which you have entered is wrong. You still can't open this chest...
[18:56:03:751] You see: Number of tries left: 2
The tryouts is limited to 3 times a day and bound to a character. This means if other person try to open it has its OWN chances.
If the foreigner fail 3 times he gets following message :

Code:
[19:12:16:577] You see: The number which you have entered is wrong. You still can't open this chest...
[19:12:16:578] You see: You have exhausted your unlock attempts for this chest; you must wait 24 hours to try again.
if he try to reopen again he gets following message
Code:
[19:12:57:864] You see: It appears to be locked.
[19:12:57:864] You see: You cannot access the chest now, having exhausted your number of attempts.
When its locked and a foreigner success to open it he gets the message
Code:
[19:10:57:837] You see: You succeed at entering the correct key number; you may open the chest now.
Until the code gets reseted\edited the foreigner can reopen the chest and get following message :

Code:
[19:11:26:579] You see: You remember the key number of this chest, so you can open this now.
After 2 hours OR if the Sealer changes the lock the tryout and locklist will be reseted this means if the sealer change the password, the users can retry 3 times again.
 

PyrO

Moderator
Jan 27, 2015
1,312
169
63
Well its simple. ItemID's are not the same as GumpID's.

ItemIDs are the items how they look like on the ground / inventory. The tiledata files contains them.
GumpIDs are the gump parts itself. Like container graphics or parts for dialogue messages from quests, vendor shop lists, ... and so on :)
 

PyrO

Moderator
Jan 27, 2015
1,312
169
63
Cirrect but if you look at the list of images with the corresponding id's you see the gump of it. You have to unlock it so it gives you an closed gump too
 

zerodowned

Moderator
ServUO Developer
Jun 28, 2014
1,829
250
83
So here is the analysis :


When the Chest is untouched following data is aquired :

Code:
* Info * : ID: $xxxxxxxx Name: NoName Type: $9706 Color: $0000
* Info * : Quantity: 1 X: 95 Y: 72 Z: 0
* Info * : Tooltip: secret chest|Weight: 5 stones|Contents: 0/125 items, 0/400 stones
The Chest stores a Serial, who sealed the chest. If this is empty you can click once onto the chest to get following context menu

Code:
[18:51:01:276] System: ContexMenu! MenuID $435AC4E5 EntriesNumber: 02
[18:51:01:276] System:  Entry0: Tag $01A4 Flags: 0000 Text: Set/Edit Key Number
[18:51:01:276] System:  Entry1: Tag $01A5 Flags: 0001 Text: Reset Key Number


When you Click Reset Key Number, it resets the tryouts, the Serial of "Sealer" and sets the number back to 00000.

If you Click "Set/Edit Key Number" following Gump will be made :

Code:
Serial: xxxxxxxxxx
GumpID: 23D1
X: 0000
Y: 0000
Pages: 1
Gump Options:

GumpPics: X  Y  ID  Hue  Page  ElemNum
GumpPic: 50  50  1421  0  0  1
GumpPic: 190  200  1423  0  0  14
GumpPic: 214  200  1423  0  0  15
GumpPic: 238  200  1423  0  0  16
GumpPic: 262  200  1423  0  0  17
GumpPic: 286  200  1423  0  0  18

GumpButtons: X  Y  Released_ID  Pressed_ID  Quit  Page_ID  Return_value  Page  ElemNum
0  GumpButton: 133  270  2074  2075  1  0  2  0  2
1  GumpButton: 320  270  2073  2072  1  0  0  0  3
2  GumpButton: 192  190  1420  1420  1  0  10  0  4
3  GumpButton: 192  230  1433  1433  1  0  11  0  5
4  GumpButton: 216  190  1420  1420  1  0  12  0  6
5  GumpButton: 216  230  1433  1433  1  0  13  0  7
6  GumpButton: 240  190  1420  1420  1  0  14  0  8
7  GumpButton: 240  230  1433  1433  1  0  15  0  9
8  GumpButton: 264  190  1420  1420  1  0  16  0  10
9  GumpButton: 264  230  1433  1433  1  0  17  0  11
10  GumpButton: 288  190  1420  1420  1  0  18  0  12
11  GumpButton: 288  230  1433  1433  1  0  19  0  13
So the Background, the Numbers are just Gump Pictures and have some buttons (2 per number + 1 ok 1 cancel button)

Once the Code is set the tooltips looks like following.

Code:
* Info * : ID: $xxxxxxxx Name: NoName Type: $9706 Color: $0000
* Info * : Quantity: 1 X: 95 Y: 72 Z: 0
* Info * : Tooltip: secret chest|Weight: 5 stones|Locked|Contents: 0/125 items, 0/400 stones
If the Sealer doubleclick the chest, it will open as before.

If a foreigner try to open the chest, he gets first time following Journal messages :

Code:
[18:55:58:172] You see: It appears to be locked.
[18:55:58:174] You see: Enter the key number to open.
[18:55:58:175] You see: Number of tries left: 3
Then the Gump stated above (same design\layout and handling kind as above).

The user can try to unlock the chest if he fail the gump reopens and shows :

Code:
[18:56:03:746] You see: The number which you have entered is wrong. You still can't open this chest...
[18:56:03:751] You see: Number of tries left: 2
The tryouts is limited to 3 times a day and bound to a character. This means if other person try to open it has its OWN chances.
If the foreigner fail 3 times he gets following message :

Code:
[19:12:16:577] You see: The number which you have entered is wrong. You still can't open this chest...
[19:12:16:578] You see: You have exhausted your unlock attempts for this chest; you must wait 24 hours to try again.
if he try to reopen again he gets following message
Code:
[19:12:57:864] You see: It appears to be locked.
[19:12:57:864] You see: You cannot access the chest now, having exhausted your number of attempts.
When its locked and a foreigner success to open it he gets the message
Code:
[19:10:57:837] You see: You succeed at entering the correct key number; you may open the chest now.
Until the code gets reseted\edited the foreigner can reopen the chest and get following message :

Code:
[19:11:26:579] You see: You remember the key number of this chest, so you can open this now.
After 2 hours OR if the Sealer changes the lock the tryout and locklist will be reseted this means if the sealer change the password, the users can retry 3 times again.
What program did you use to get all that packet info?