[DiscordArchive] doesn't azerothcore come with an auto restart?
[DiscordArchive] doesn't azerothcore come with an auto restart?
Archived author: Revision • Posted: 2025-09-30T14:48:39.089000+00:00
Original source
For windows it's easy enough to do
```
@echo off
:world
worldserver.exe
goto world
```
Archived author: Blink • Posted: 2025-09-30T14:49:07.721000+00:00
Original source
Yea. I was doing some research and just came across that. Will do that later tonight.
Archived author: Mithria • Posted: 2025-09-30T14:49:10.228000+00:00
Original source
prob want to add a delay before the loop and a keypress option to cancel so it doesnt auto-restart immediately
Archived author: Revision • Posted: 2025-09-30T14:49:12.855000+00:00
Original source
can also add timeout and a number after worldserver.exe if you want it to wait x number of seconds before restarting
Archived author: Blink • Posted: 2025-09-30T15:02:58.033000+00:00
Original source
sick. ill work on this later
Archived author: Blink • Posted: 2025-09-30T15:03:01.248000+00:00
Original source
ty
Archived author: Blink • Posted: 2025-09-30T15:11:50.150000+00:00
Original source
this server stuff super fun tho
Archived author: Ryan Turner • Posted: 2025-09-30T15:12:05.637000+00:00
Original source
But how does it work as it's something that always confused me e.g blacksmith appreitence or shaman trainer. Their spells in npc trainer table is a negative spell, and it says on the wiki that if it's negative refers to the positive value of that spell, but i dont see any spell with that or im missing reading or not understanding
Archived author: Mithria • Posted: 2025-09-30T15:27:05.991000+00:00
Original source
the negative value refers to a positive value within npc_trainer.
if a trainer has -200000 then you look up 200000 in npc_trainer and you'll see all of that trainers spells
Archived author: Mithria • Posted: 2025-09-30T15:27:48.019000+00:00
Original source
basically, a negative value points to a reference list of spells so that multiple npc can all use that list and not need it to be recreated for each creature entry