[DiscordArchive] maybe need save the character after execute?
[DiscordArchive] maybe need save the character after execute?
Archived author: LaHonder • Posted: 2023-04-30T19:15:19.362000+00:00
Original source
maybe need save the character after execute?
Archived author: jackpoz • Posted: 2023-04-30T19:15:42.127000+00:00
Original source
Well in your case you will need a { } block after the if to run your 2 statements
Archived author: Bench • Posted: 2023-04-30T19:16:18.604000+00:00
Original source
```cpp
if (firstLogin)
{
player->SetInGuild(1);
player->SetRank(0);
}```
Archived author: jackpoz • Posted: 2023-04-30T19:16:36.175000+00:00
Original source
But what you are doing the with guilds looks like not the intended way to join a guild maybe
Archived author: jackpoz • Posted: 2023-04-30T19:16:44.652000+00:00
Original source
So things might not work properly
Archived author: LaHonder • Posted: 2023-04-30T19:17:04.285000+00:00
Original source
i just set the new created character into a starter guild for new players
Archived author: LaHonder • Posted: 2023-04-30T19:18:36.680000+00:00
Original source
ahh damned my bad
Archived author: LaHonder • Posted: 2023-04-30T19:18:42.253000+00:00
Original source
setRank is wrong value
Archived author: LaHonder • Posted: 2023-04-30T19:18:49.645000+00:00
Original source
0 is leader i would use 4
Archived author: LaHonder • Posted: 2023-04-30T19:18:55.167000+00:00
Original source
Initiate