[DiscordArchive] Hey do you guys have any tips for avoiding rollbacks? I decided to change some configs so I logged o
[DiscordArchive] Hey do you guys have any tips for avoiding rollbacks? I decided to change some configs so I logged o
Archived author: NOD • Posted: 2022-10-29T13:41:43.553000+00:00
Original source
Hey do you guys have any tips for avoiding rollbacks? I decided to change some configs so I logged off my character and I shut down the server but when I logged back in my character was in a position where I was 5 minutes before I logged and turned the server off. Loot and xp acquired in that time frame were lost. How does the character saving work generally?
Archived author: NOD • Posted: 2022-10-29T13:42:55.629000+00:00
Original source
Maybe I didn't log out, I just exited and didn't wait the 20 seconds that it would take to log the character off properly. Could've that been the problem?
Archived author: Revision • Posted: 2022-10-29T14:00:51.414000+00:00
Original source
If you didn't properly shut it down, it didn't save. Using .server shutdown or .server restart will save all characters just before shutting down but unless you manually trigger .saveall just before shutting down it won't be.
Archived author: Revision • Posted: 2022-10-29T14:03:05.574000+00:00
Original source
It only saves so often.
Archived author: NOD • Posted: 2022-10-29T14:16:53.856000+00:00
Original source
Oh I see thank you
Archived author: blacknightt • Posted: 2022-10-29T14:19:54.638000+00:00
Original source
`$ranged = $_altNPCs->getBaseStats('ranged');`
Archived author: blacknightt • Posted: 2022-10-29T14:20:01.064000+00:00
Original source
`$modes['ranged'][] = sprintf($modeRow, $m, Lang::nf($ranged[0]).' - '.Lang::nf($ranged[1]));`
Archived author: blacknightt • Posted: 2022-10-29T14:22:31.232000+00:00
Original source
Can someone help me with this code
I want to make a condition for this code that if the number of the column = 0, ranged will be hidden or it will not be displayed and more than 0 will be displayed.