[DiscordArchive] <@376821416105869315> where are the 5 new inventory slots in invslot enum?
[DiscordArchive] <@376821416105869315> where are the 5 new inventory slots in invslot enum?
Archived author: Tea • Posted: 2024-07-30T09:44:10.836000+00:00
Original source
useless
Archived author: MaxtorCoder • Posted: 2024-07-30T09:44:40.713000+00:00
Original source
Stop thinking that I look at everything <:kek:868839618898960414>
Archived author: MaxtorCoder • Posted: 2024-07-30T09:45:29.225000+00:00
Original source
Idek why they increased it
Archived author: MaxtorCoder • Posted: 2024-07-30T09:45:45.847000+00:00
Original source
I don’t remember hearing about a new system or something that made them increase the value
Archived author: olinux • Posted: 2024-07-30T09:57:30.936000+00:00
Original source
Hello everyone,
I’m a French user encountering several issues with the database setup for TrinityCore, and I would appreciate your help. Here are the details of the problems we’ve encountered:
Database Creation Issue:
When we execute the create_mysql.sql script, the databases world, characters, auth, and hotfixes don’t seem to be created properly. We’ve reviewed the script and it appears to be correct, but the databases are not present after execution.
User Creation and Privileges Issue:
The user trinity is supposed to be created with extended privileges, but it seems these privileges are not applied correctly. We used the CREATE USER and GRANT ALL PRIVILEGES commands, but we have doubts about their proper application.
Connection Issues:
Even after creating the databases and user, we encounter errors when trying to connect to MySQL with the trinity user. The errors are related to insufficient privileges or missing databases.
Other Issues:
We’re also having trouble with MySQL configuration settings (version, locale settings, etc.).
The specific errors we receive are not always clear, which complicates diagnosing the problem.
As a French speaker, I might struggle with some technical details in English, so any assistance or clarification would be greatly appreciated. We’re trying to get TrinityCore running correctly, and these problems are a major obstacle.
Thank you in advance for your help!
Archived author: Tea • Posted: 2024-07-30T10:00:49.422000+00:00
Original source
<@376821416105869315> fine then, what about PlayerDataElement? is that a int32 or float? (im working on release build so idk)
Archived author: MaxtorCoder • Posted: 2024-07-30T10:01:40.090000+00:00
Original source
```cs
public static IPlayerDataElement ReadCreatePlayerDataElement(Packet packet, params object[] indexes)
{
var data = new PlayerDataElement();
packet.ResetBitReader();
data.Type = packet.ReadBits("Type", 1, indexes);
packet.ResetBitReader();
if (data.Type == 1)
{
data.FloatField = packet.ReadSingle("FloatField", indexes);
}
if (data.Type == 0)
{
data.UlongField = packet.ReadUInt64("UlongField", indexes);
}
return data;
}
```
Archived author: Tea • Posted: 2024-07-30T10:02:42.676000+00:00
Original source
so its a float
Archived author: MaxtorCoder • Posted: 2024-07-30T10:02:52.268000+00:00
Original source
Correct
Archived author: Tea • Posted: 2024-07-30T10:03:34.492000+00:00
Original source
to be more precise, its a blz::variant<uint64, float>