Weapon Merge Problem

04/15/2019 13:15 LookAtTheFlower#1
Hey, i noticed that just now, when i'm trying to merge any 2h weapons, the merge work just fine but after I restarting the server, the merge did not saved.
Does anyone have any idea how to solve this?

[Only registered and activated users can see links. Click Here To Register...]
04/15/2019 14:59 Naltalah#2
This is probably a reading/saving issue in the database server.

The world server merges the weapons correctly and while the Cache server is running, the correct cached data is used when relogging.

However, on a server restart, there is no cached data and either the reading of the Awake or the saving of the Awake is not correct.
04/15/2019 15:15 LookAtTheFlower#3
Quote:
Originally Posted by Naltalah View Post
This is probably a reading/saving issue in the database server.

The world server merges the weapons correctly and while the Cache server is running, the correct cached data is used when relogging.

However, on a server restart, there is no cached data and either the reading of the Awake or the saving of the Awake is not correct.
So how can i fix it? checking "DbManagerSave.cpp" was the only thing i could come up with , So i compared mine to another one (another source) but i didn't find any differences.
04/15/2019 15:18 Naltalah#4
Look at the database if the awake value is actually stored.

If it is, it's a loading issue. In that case, take a look at the DbManagerFun.cpp to see if it's being loaded correctly.
04/15/2019 20:38 Rhyder`#5
Quote:
Originally Posted by Naltalah View Post
Look at the database if the awake value is actually stored.

If it is, it's a loading issue. In that case, take a look at the DbManagerFun.cpp to see if it's being loaded correctly.
must be saved here:

Code:
CDbManager::SaveOneItem
04/15/2019 23:57 LookAtTheFlower#6
Quote:
Originally Posted by Rhyder` View Post
must be saved here:

Code:
CDbManager::SaveOneItem
Fixed. Thanks :).

I would also like to ask if this is possible to make 1handed weapon merged too? What do i need to change?
04/17/2019 10:54 LookAtTheFlower#7
I would also like to ask if this is possible to make 1handed weapon merged too? What do i need to change?
04/17/2019 12:47 Naltalah#8
Just look at the logic of the code, where it checks for 2handed weapons and remove that check, so that every weapon can be merged?

But why would you do that, it will kill any class balance.
04/17/2019 14:45 LookAtTheFlower#9
Quote:
Originally Posted by Naltalah View Post
Just look at the logic of the code, where it checks for 2handed weapons and remove that check, so that every weapon can be merged?

But why would you do that, it will kill any class balance.
Yeah u right :P
apparently i didn't fixed the problem as well. The merge is saved when im restarting the game , But if i have weapon with level in my inventory (leveling system) , they return back to Level 1.
06/05/2020 16:57 zeonlb03#10
Quote:
Originally Posted by LookAtTheFlower View Post
Hey, i noticed that just now, when i'm trying to merge any 2h weapons, the merge work just fine but after I restarting the server, the merge did not saved.
Does anyone have any idea how to solve this?

[Only registered and activated users can see links. Click Here To Register...]
Just wondering. How did you manage to get the fusion NPC work? Thanks
06/06/2020 10:05 LookAtTheFlower#11
Quote:
Originally Posted by zeonlb03 View Post
Just wondering. How did you manage to get the fusion NPC work? Thanks
What do you mean? How did i get the "Weapon Merge" window or how did i get the merge system in general?