[FSOD] SlotTypes?

Posts 1–15 of 21 · Page 1 of 2
[FSOD] SlotTypes?
So I am making chest unlockers and basically, I wanna know what all the SlotTypes are.

Any idea? Cause I can't find them.
Quote Originally Posted by TemplateYTR View Post
So I am making chest unlockers and basically, I wanna know what all the SlotTypes are.

Any idea? Cause I can't find them.
What do you mean?
Code:
case ActivateEffects.UnlockVault:
                            Manager.Database.DoActionAsync(db =>
                            {
                                var acc = Player.Account.AccountId;
                                MySqlCommand cmd = db.CreateQuery();
                                cmd.CommandText = "INSERT INTO vaults(accId, items)  VALUES(@accId, '-1, -1, -1, -1, -1, -1, -1, -1' )";
                                cmd.Parameters.AddWithValue("@accId", acc.AccountId);
                                cmd.ExecuteNonQuery();
                                SendInfo("New vault chest unlocked successfully.");
                            });
							break;
Quote Originally Posted by SeXZeFPS View Post
What do you mean?
Code:
case ActivateEffects.UnlockVault:
                            Manager.Database.DoActionAsync(db =>
                            {
                                var acc = Player.Account.AccountId;
                                MySqlCommand cmd = db.CreateQuery();
                                cmd.CommandText = "INSERT INTO vaults(accId, items)  VALUES(@accId, '-1, -1, -1, -1, -1, -1, -1, -1' )";
                                cmd.Parameters.AddWithValue("@accId", acc.AccountId);
                                cmd.ExecuteNonQuery();
                                SendInfo("New vault chest unlocked successfully.");
                            });
							break;
I don't understand + I gave up.

- - - Updated - - -

Quote Originally Posted by SeXZeFPS View Post
What do you mean?
Code:
case ActivateEffects.UnlockVault:
                            Manager.Database.DoActionAsync(db =>
                            {
                                var acc = Player.Account.AccountId;
                                MySqlCommand cmd = db.CreateQuery();
                                cmd.CommandText = "INSERT INTO vaults(accId, items)  VALUES(@accId, '-1, -1, -1, -1, -1, -1, -1, -1' )";
                                cmd.Parameters.AddWithValue("@accId", acc.AccountId);
                                cmd.ExecuteNonQuery();
                                SendInfo("New vault chest unlocked successfully.");
                            });
							break;
Look:
Quote Originally Posted by TemplateYTR View Post
I don't understand + I gave up.

- - - Updated - - -



Look:
If you wanna proceed, don't give up.

I think it'd work if you'd remove "Player."
Quote Originally Posted by cxydsaewq View Post


If you wanna proceed, don't give up.

I think it'd work if you'd remove "Player."
Quote Originally Posted by TemplateYTR View Post
For that error it seems to be AccountId only, not Account.AccountId. 'Account' is an object (Aka used as a type like int, bool, or string)
Here's the slottypes for the chars:

 
Slottypes

// type: ["id", base, averages, maxes, slots]
classes = {
0x0300: ["Rogue", [150, 100, 10, 0, 15, 15, 15, 10], [625, 195, 29, 0, 43, 43, 24, 29], [720, 252, 50, 25, 75, 75, 40, 50], [2, 13, 6, 9]],
0x0307: ["Archer", [130, 100, 12, 0, 12, 12, 12, 10], [605, 195, 40, 0, 31, 31, 21, 29], [700, 252, 75, 25, 50, 50, 40, 50], [3, 15, 6, 9]],
0x030e: ["Wizard", [100, 100, 12, 0, 10, 15, 12, 12], [575, 290, 40, 0, 29, 43, 21, 31], [670, 385, 75, 25, 50, 75, 40, 60], [17, 11, 14, 9]],
0x0310: ["Priest", [100, 100, 12, 0, 12, 12, 10, 15], [575, 290, 31, 0, 40, 31, 19, 43], [670, 385, 50, 25, 55, 55, 40, 75], [8, 4, 14, 9]],
0x031d: ["Warrior", [200, 100, 15, 0, 7, 10, 10, 10], [675, 195, 43, 0, 26, 29, 38, 29], [770, 252, 75, 25, 50, 50, 75, 50], [1, 16, 7, 9]],
0x031e: ["Knight", [200, 100, 15, 0, 7, 10, 10, 10], [675, 195, 43, 0, 26, 29, 38, 29], [770, 252, 50, 40, 50, 50, 75, 50], [1, 5, 7, 9]],
0x031f: ["Paladin", [200, 100, 12, 0, 12, 10, 10, 10], [675, 195, 40, 0, 31, 29, 19, 38], [770, 252, 50, 30, 55, 45, 40, 75], [1, 12, 7, 9]],
0x0320: ["Assassin", [150, 100, 12, 0, 15, 15, 15, 10], [625, 195, 31, 0, 43, 43, 24, 38], [720, 252, 60, 25, 75, 75, 40, 60], [2, 18, 6, 9]],
0x0321: ["Necromancer", [100, 100, 12, 0, 10, 15, 10, 12], [575, 290, 40, 0, 29, 43, 19, 40], [670, 385, 75, 25, 50, 60, 30, 75], [17, 19, 14, 9]],
0x0322: ["Huntress", [130, 100, 12, 0, 12, 12, 12, 10], [605, 195, 40, 0, 31, 31, 21, 29], [700, 252, 75, 25, 50, 50, 40, 50], [3, 20, 6, 9]],
0x0323: ["Mystic", [100, 100, 10, 0, 12, 10, 15, 15], [575, 290, 38, 0, 31, 29, 24, 43], [670, 385, 60, 25, 60, 55, 40, 75], [17, 21, 14, 9]],
0x0324: ["Trickster", [150, 100, 10, 0, 12, 15, 12, 12], [625, 195, 38, 0, 40, 43, 21, 31], [720, 252, 65, 25, 75, 75, 40, 60], [2, 22, 6, 9]],
0x0325: ["Sorcerer", [100, 100, 12, 0, 12, 12, 10, 15], [575, 290, 40, 0, 40, 31, 38, 43], [670, 385, 70, 25, 60, 60, 75, 60], [8, 23, 14, 9]],
0x0326: ["Ninja", [150, 100, 15, 0, 10, 12, 10, 12], [625, 195, 43, 0, 29, 40, 19, 40], [720, 252, 70, 25, 60, 70, 40, 70], [24, 25, 6, 9]],
};


This is from muledump so credits to atomizer.
Quote Originally Posted by TemplateYTR View Post
So, what do I do?
You're pretty damn retarded sorry to say but the code should be player.Client.Account
Well, you must be pretty (Edited out cause I didn't wanna say it xd). Cause as I said, it doesn't work.

Quote Originally Posted by TemplateYTR View Post
Well, you must be pretty (Edited out cause I didn't wanna say it xd). Cause as I said, it doesn't work.

client.Player.Account.AccountId;
Quote Originally Posted by TemplateYTR View Post
My bad, it's Client not client. Seriously though, you need to try to troubleshoot yourself. Don't ask MPGH every time.
Quote Originally Posted by toby2449 View Post
My bad, it's Client not client. Seriously though, you need to try to troubleshoot yourself. Don't ask MPGH every time.
I am gonna give up soon, also I don't know how to do this shit. XD


Quote Originally Posted by TemplateYTR View Post
I am gonna give up soon, also I don't know how to do this shit. XD


Read the error, it literally says Player does not contain a definition for Account. Which means that 'Account' doesn't exist. I don't know what everyone else was talking about keeping Account. That doesn't exist anywhere in the source.
Posts 1–15 of 21 · Page 1 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us