Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] What would be the cleanest way to update character's start location and make it so they all start at

[DiscordArchive] What would be the cleanest way to update character's start location and make it so they all start at

[DiscordArchive] What would be the cleanest way to update character's start location and make it so they all start at

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
10-15-2022, 08:57 PM
#1
Archived author: Mat • Posted: 2022-10-15T20:57:31.067000+00:00
Original source

What would be the cleanest way to update character's start location and make it so they all start at the same place? A module that clears and rewrites `playercreateinfo`?
rektbyfaith
10-15-2022, 08:57 PM #1

Archived author: Mat • Posted: 2022-10-15T20:57:31.067000+00:00
Original source

What would be the cleanest way to update character's start location and make it so they all start at the same place? A module that clears and rewrites `playercreateinfo`?

rektbyfaith
Administrator
0
10-15-2022, 08:58 PM
#2
Archived author: Bench • Posted: 2022-10-15T20:58:27.635000+00:00
Original source

I mean just a SQL query would do it
rektbyfaith
10-15-2022, 08:58 PM #2

Archived author: Bench • Posted: 2022-10-15T20:58:27.635000+00:00
Original source

I mean just a SQL query would do it

rektbyfaith
Administrator
0
10-15-2022, 08:58 PM
#3
Archived author: Mat • Posted: 2022-10-15T20:58:50.340000+00:00
Original source

right but where do you put it / how does it get executed?
rektbyfaith
10-15-2022, 08:58 PM #3

Archived author: Mat • Posted: 2022-10-15T20:58:50.340000+00:00
Original source

right but where do you put it / how does it get executed?

rektbyfaith
Administrator
0
10-15-2022, 09:00 PM
#4
Archived author: Bench • Posted: 2022-10-15T21:00:06.269000+00:00
Original source

You'd run it through a SQL client like HeidiSQL on your world DB
rektbyfaith
10-15-2022, 09:00 PM #4

Archived author: Bench • Posted: 2022-10-15T21:00:06.269000+00:00
Original source

You'd run it through a SQL client like HeidiSQL on your world DB

rektbyfaith
Administrator
0
10-15-2022, 09:00 PM
#5
Archived author: Mat • Posted: 2022-10-15T21:00:58.194000+00:00
Original source

yeah that makes sense, I'm looking to do it in a way that's portable and would be persisted next time I install the server on a brand new machine though, hence why I thought about the module approach and have a sql file part of the module but that might not be right approach
rektbyfaith
10-15-2022, 09:00 PM #5

Archived author: Mat • Posted: 2022-10-15T21:00:58.194000+00:00
Original source

yeah that makes sense, I'm looking to do it in a way that's portable and would be persisted next time I install the server on a brand new machine though, hence why I thought about the module approach and have a sql file part of the module but that might not be right approach

rektbyfaith
Administrator
0
10-15-2022, 09:02 PM
#6
Archived author: Bench • Posted: 2022-10-15T21:02:05.110000+00:00
Original source

I think the worldserver will run it if it's placed in /data/sql/custom
rektbyfaith
10-15-2022, 09:02 PM #6

Archived author: Bench • Posted: 2022-10-15T21:02:05.110000+00:00
Original source

I think the worldserver will run it if it's placed in /data/sql/custom

rektbyfaith
Administrator
0
10-15-2022, 09:02 PM
#7
Archived author: Mat • Posted: 2022-10-15T21:02:16.517000+00:00
Original source

sounds good, thank you
rektbyfaith
10-15-2022, 09:02 PM #7

Archived author: Mat • Posted: 2022-10-15T21:02:16.517000+00:00
Original source

sounds good, thank you

rektbyfaith
Administrator
0
10-15-2022, 09:02 PM
#8
Archived author: Bench • Posted: 2022-10-15T21:02:36.251000+00:00
Original source

Something like this would work
```UPDATE `playercreateinfo` SET `map`='number', `zone`='number', `position_x`='number', `position_y`='number', `position_z`='number', `orientation`='number';```
rektbyfaith
10-15-2022, 09:02 PM #8

Archived author: Bench • Posted: 2022-10-15T21:02:36.251000+00:00
Original source

Something like this would work
```UPDATE `playercreateinfo` SET `map`='number', `zone`='number', `position_x`='number', `position_y`='number', `position_z`='number', `orientation`='number';```

rektbyfaith
Administrator
0
10-15-2022, 09:17 PM
#9
Archived author: Dreadmaster • Posted: 2022-10-15T21:17:10.013000+00:00
Original source

there's still an uh
rektbyfaith
10-15-2022, 09:17 PM #9

Archived author: Dreadmaster • Posted: 2022-10-15T21:17:10.013000+00:00
Original source

there's still an uh

rektbyfaith
Administrator
0
10-15-2022, 09:17 PM
#10
Archived author: Dreadmaster • Posted: 2022-10-15T21:17:11.222000+00:00
Original source


[Image: unknown.png?ex=690c6797&is=690b1617&hm=3...3978d3457&]
rektbyfaith
10-15-2022, 09:17 PM #10

Archived author: Dreadmaster • Posted: 2022-10-15T21:17:11.222000+00:00
Original source


[Image: unknown.png?ex=690c6797&is=690b1617&hm=3...3978d3457&]

Pages (2): 1 2 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)