[DiscordArchive] shouldnt the first thought when you see incompatibility in a new tc version to be "check for new ver
[DiscordArchive] shouldnt the first thought when you see incompatibility in a new tc version to be "check for new ver
Archived author: Tea • Posted: 2023-09-01T10:03:26.964000+00:00
Original source
shouldnt the first thought when you see incompatibility in a new tc version to be "check for new version of script"?
Archived author: Krutok • Posted: 2023-09-01T10:03:42.030000+00:00
Original source
was one of the first custom scripts back when I started with TC
Archived author: Krutok • Posted: 2023-09-01T10:04:51.399000+00:00
Original source
Normally I do it like e.g. with the npcbot system, but with the teleNPC I really didn't think about it anymore
Archived author: Krutok • Posted: 2023-09-01T10:07:46.306000+00:00
Original source
<@200677690838220800> if (player->GetLevel() < 80)
AddGossipItemFor(player, 60000, 1, GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF + EXIT);
else
AddGossipItemFor(player, 60000, 0, GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF + CHALLENGE);
SendGossipMenuFor(player, DEFAULT_GOSSIP_MESSAGE, me->GetGUID());
return true; // I also get a compile warning now, but I don't know to what extent this line should be changed its a custom script
Archived author: Tea • Posted: 2023-09-01T10:08:27.704000+00:00
Original source
read the warning
Archived author: Tea • Posted: 2023-09-01T10:08:48.731000+00:00
Original source
its something about using operator + on two unrelated enum types
Archived author: Tea • Posted: 2023-09-01T10:09:04.988000+00:00
Original source
only one part of that code uses +
Archived author: Tea • Posted: 2023-09-01T10:09:19.310000+00:00
Original source
cast one of them to int32
![[Image: Screenshot_2023-09-01_120953.png?ex=690c...b2ce397ec&]](https://cdn.discordapp.com/attachments/376074396915335170/1147111460737130517/Screenshot_2023-09-01_120953.png?ex=690c744c&is=690b22cc&hm=4f7261616ef714d529962c7e1c9b451f95357961833acfb4c3dae28b2ce397ec&)
Archived author: Krutok • Posted: 2023-09-01T10:11:24.603000+00:00
Original source
They were all created for me
![[Image: Screenshot_2023-09-01_120953.png?ex=690c...b2ce397ec&]](https://cdn.discordapp.com/attachments/376074396915335170/1147111460737130517/Screenshot_2023-09-01_120953.png?ex=690c744c&is=690b22cc&hm=4f7261616ef714d529962c7e1c9b451f95357961833acfb4c3dae28b2ce397ec&)
Archived author: Tea • Posted: 2023-09-01T10:12:02.947000+00:00
Original source
its exactly what i said above