[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
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?
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
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
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
Archived author: Ashvory • Posted: 2024-01-03T03:27:06.545000+00:00
Original source
Thanks for suggestions !
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
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
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
Archived author: Ashvory • Posted: 2024-01-03T03:33:54.741000+00:00
Original source
i already made it
Archived author: Ashvory • Posted: 2024-01-03T03:34:19.379000+00:00
Original source
ofc crypted