Arkania / ArkCORE-NG

Cataclysm 4.3.4 emulator.. with archeology..
http://gpn39f.spdns.de/forum1/
GNU General Public License v2.0
71 stars 93 forks source link

Secondary Skills. #295

Closed graham79 closed 6 years ago

graham79 commented 6 years ago

On my server the skills like cooking,fishing and first aid do not save to DB. start with 1/75 and practise raise level too 40/75...if player log out and later log in all seconday skills are back to 1/75?

Payers keep the spells learnt but not skill progress.

ReyDonovan commented 6 years ago

fix https://github.com/Arkania/ArkCORE-NG/pull/298/commits/93c25cb24dfa94d067923461accb32a29abfdf37

gpn39f commented 6 years ago

may i ask: what does OpenSSL have to do with the fact that the secondary skills are not stored in the database ???

ReyDonovan commented 6 years ago

what?

gpn39f commented 6 years ago

the question is: the skills like cooking,fishing and first aid do not save to DB. and youre answer is : replace the OpenSSL and i ask you: what has the OpenSSL to do with the sec skill..

ReyDonovan commented 6 years ago

https://github.com/ReyDonovan/ArkCORE-NG/commit/93c25cb24dfa94d067923461accb32a29abfdf37

ReyDonovan commented 6 years ago

this commit is included in the OpenSSL pull

graham79 commented 6 years ago

Update: I experient with character, If I give him materials to raise skill to 75/75 and gain next rank, Journeyman 1/150 then he can log out and skill rank and progress is saved to the DB. It seems only the first rank, apprentice 1/75 is affected by this bug.

graham79 commented 6 years ago

Update#2 I found out that fishing skill is affected most. The reason is your fishing skill 356 is not added to the DB when you first learn fishing rank 0 apprentice. If you check character_skills table, cooking, first aid skills appear here with rank and skill level, but after learn fishing is not present in the skills list, I suspect wrong spells used by trainer. I very much doubt it is the code, that has not been changed. I you add the skill to your characters skills list manually, your progress is then saved on logout.

graham79 commented 6 years ago

Update#2 I found out that fishing skill is affected most. The reason is your fishing skill 356 is not added to the DB when you first learn fishing rank 0 apprentice. If you check character_skills table, cooking, first aid skills appear here with rank and skill level, but after learn fishing is not present in the skills list, I suspect wrong spells used by trainer. I very much doubt it is the code, that has not been changed. I you add the skill to your characters skills list manually, your progress is then saved on logout.

graham79 commented 6 years ago

Udate: the problem still persist despite commit by Ray. b9c463ad385fcfbabd5451b521a75bc671a3f1aa

after more test, found that ALL Professions are affected.

graham79 commented 6 years ago

Update: problem seems to be fixed now.