Yvan Major
Member
5229? That's what the API says anyway.
I wrote this as container a while ago.. Does it has any special ability?
Lemme search it, it will be quiet easyYes 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.
//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();
}
}
}
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,.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,.
* 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
[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
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
* 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
[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
[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
[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.
[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.
[19:10:57:837] You see: You succeed at entering the correct key number; you may open the chest now.
[19:11:26:579] You see: You remember the key number of this chest, so you can open this now.
0x58D is the chest closed
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.
I use the stealth client. There are client sided commands you can send via prefix. in stealth.cfg you can set a CMDPrefix from , to anything else (because , is for chat on ea). I use ! as prefix and then can use commands described here : http://stealth.od.ua/Doc:Manual/Graphic_Client/Commands .What program did you use to get all that packet info?
it's working normally for me using the script Crome969 posted -> here <-did anyone ever figure this out? I can change the gumpID to match the correct chest, however the usable space doesn't change and can't be fully utilized.
We use essential cookies to make this site work, and optional cookies to enhance your experience.