Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] Afaik characters are cached (loaded into memory, whatever you wanna call it) so you can't just add t

[DiscordArchive] Afaik characters are cached (loaded into memory, whatever you wanna call it) so you can't just add t

[DiscordArchive] Afaik characters are cached (loaded into memory, whatever you wanna call it) so you can't just add t

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
01-03-2024, 02:39 AM
#1
Archived author: Revision • Posted: 2024-01-03T02:39:59.948000+00:00
Original source

Afaik characters are cached (loaded into memory, whatever you wanna call it) so you can't just add them manually while the server is running. It doesn't read data from the database after starting up, just write to it. At least that's what I've been told.
Edit: Actually, that's not quite right. I can change character looks from the DB while it's running with no issues so it has to load at least some parts, although that's obviously for already existing characters. I apologize. Did you miss something?
rektbyfaith
01-03-2024, 02:39 AM #1

Archived author: Revision • Posted: 2024-01-03T02:39:59.948000+00:00
Original source

Afaik characters are cached (loaded into memory, whatever you wanna call it) so you can't just add them manually while the server is running. It doesn't read data from the database after starting up, just write to it. At least that's what I've been told.
Edit: Actually, that's not quite right. I can change character looks from the DB while it's running with no issues so it has to load at least some parts, although that's obviously for already existing characters. I apologize. Did you miss something?

rektbyfaith
Administrator
0
01-03-2024, 03:21 AM
#2
Archived author: Foe • Posted: 2024-01-03T03:21:05.709000+00:00
Original source

Character data is loaded into memory on character login, sounds like missing data
rektbyfaith
01-03-2024, 03:21 AM #2

Archived author: Foe • Posted: 2024-01-03T03:21:05.709000+00:00
Original source

Character data is loaded into memory on character login, sounds like missing data

rektbyfaith
Administrator
0
01-03-2024, 03:23 AM
#3
Archived author: Foe • Posted: 2024-01-03T03:23:29.978000+00:00
Original source

I would suggest using RA or Soap or something similar to leverage the pdump load mechanism. You can create a "template" pdump file and generate a similar one with whatever php system you're creating, then using pdump to load that generated data correctly
rektbyfaith
01-03-2024, 03:23 AM #3

Archived author: Foe • Posted: 2024-01-03T03:23:29.978000+00:00
Original source

I would suggest using RA or Soap or something similar to leverage the pdump load mechanism. You can create a "template" pdump file and generate a similar one with whatever php system you're creating, then using pdump to load that generated data correctly

rektbyfaith
Administrator
0
01-03-2024, 03:23 AM
#4
Archived author: Foe • Posted: 2024-01-03T03:23:56.361000+00:00
Original source

This also ensures you don't break something like expected character guid that the server keeps track of during runtime
rektbyfaith
01-03-2024, 03:23 AM #4

Archived author: Foe • Posted: 2024-01-03T03:23:56.361000+00:00
Original source

This also ensures you don't break something like expected character guid that the server keeps track of during runtime

rektbyfaith
Administrator
0
01-03-2024, 03:27 AM
#5
Archived author: Ashvory • Posted: 2024-01-03T03:27:06.545000+00:00
Original source

Thanks for suggestions !
rektbyfaith
01-03-2024, 03:27 AM #5

Archived author: Ashvory • Posted: 2024-01-03T03:27:06.545000+00:00
Original source

Thanks for suggestions !

rektbyfaith
Administrator
0
01-03-2024, 03:30 AM
#6
Archived author: Ashvory • Posted: 2024-01-03T03:30:33.711000+00:00
Original source

But atm working on porting service , so player can t do the dump.The idea was to add player info and send items ,gem,currency via mail
rektbyfaith
01-03-2024, 03:30 AM #6

Archived author: Ashvory • Posted: 2024-01-03T03:30:33.711000+00:00
Original source

But atm working on porting service , so player can t do the dump.The idea was to add player info and send items ,gem,currency via mail

rektbyfaith
Administrator
0
01-03-2024, 03:31 AM
#7
Archived author: Ashvory • Posted: 2024-01-03T03:31:16.255000+00:00
Original source

but atm build a template and load it seems the better solution
rektbyfaith
01-03-2024, 03:31 AM #7

Archived author: Ashvory • Posted: 2024-01-03T03:31:16.255000+00:00
Original source

but atm build a template and load it seems the better solution

rektbyfaith
Administrator
0
01-03-2024, 03:33 AM
#8
Archived author: Foe • Posted: 2024-01-03T03:33:28.377000+00:00
Original source

What you could do is make an addon that dumps all the character info into a pdump friendly format, then you could load that. That said, allowing players to even touch the dump file in any way would end up with players being able to cheat by adding themselves whatever they want
rektbyfaith
01-03-2024, 03:33 AM #8

Archived author: Foe • Posted: 2024-01-03T03:33:28.377000+00:00
Original source

What you could do is make an addon that dumps all the character info into a pdump friendly format, then you could load that. That said, allowing players to even touch the dump file in any way would end up with players being able to cheat by adding themselves whatever they want

rektbyfaith
Administrator
0
01-03-2024, 03:33 AM
#9
Archived author: Ashvory • Posted: 2024-01-03T03:33:54.741000+00:00
Original source

i already made it
rektbyfaith
01-03-2024, 03:33 AM #9

Archived author: Ashvory • Posted: 2024-01-03T03:33:54.741000+00:00
Original source

i already made it

rektbyfaith
Administrator
0
01-03-2024, 03:34 AM
#10
Archived author: Ashvory • Posted: 2024-01-03T03:34:19.379000+00:00
Original source

ofc crypted
rektbyfaith
01-03-2024, 03:34 AM #10

Archived author: Ashvory • Posted: 2024-01-03T03:34:19.379000+00:00
Original source

ofc crypted

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