[DiscordArchive] there are 65 displayed with a 2 hour respawn. How do I change them to 15 min?
[DiscordArchive] there are 65 displayed with a 2 hour respawn. How do I change them to 15 min?
Archived author: Fixitman • Posted: 2025-01-04T18:11:16.647000+00:00
Original source
there are 65 displayed with a 2 hour respawn. How do I change them to 15 min?
Archived author: sudlud • Posted: 2025-01-04T18:11:38.289000+00:00
Original source
reduce the spawntimesecs to 15*60
Archived author: sudlud • Posted: 2025-01-04T18:13:33.203000+00:00
Original source
key for gameobject table is guid and id1
Archived author: sudlud • Posted: 2025-01-04T18:13:38.027000+00:00
Original source
or just by guid
Archived author: Fixitman • Posted: 2025-01-04T18:14:38.040000+00:00
Original source
do I have to edit each one individually, or can I change the original query to change all at one time?
Archived author: Revision • Posted: 2025-01-04T18:14:59.637000+00:00
Original source
Well if the same object is spawned in multiple places it makes sense to just update the id (it doesn't have multiple ids so there's no id1, id2 etc) rather than find and add all guids
Archived author: sudlud • Posted: 2025-01-04T18:15:25.149000+00:00
Original source
something like
Archived author: sudlud • Posted: 2025-01-04T18:15:41.151000+00:00
Original source
```sql
UPDATE `gameobject` SET `spawntimesecs` = (15*60) WHERE `id` IN (...);
``` or```sql
UPDATE `gameobject` SET `spawntimesecs` = (15*60) WHERE `guid` IN (...);
```
Archived author: Revision • Posted: 2025-01-04T18:16:27.539000+00:00
Original source
`id`, not `id1`
Archived author: sudlud • Posted: 2025-01-04T18:16:30.649000+00:00
Original source
true