Server usage

05/06/2018 07:58 Fricska#1
Dear Friends! :)

First of all, I made a new row in the db which tracks how many metin stones the respective player destroyed, let's call that "killcount". Unfortunately, it only works with pc.get_account_id(), which has a bug: all characters from the same account will have the same amount of metin stone kills. I tried with the pc.get_player_id() function, but an error said, that function wasn't declared.
So my first question: how can i solve this problem ?

Secondary, this metin2 stone counting, how effects my server, how much lagg will this make, or it is negligible ?

Thank you for your help sir, means a lot to me !

Fricska :handsdown:
05/06/2018 18:02 FetteRatte.#2
yoyo pc.get_player_id() is defined in the source just add
"pc.get_player_id" to the quest_functions file
05/06/2018 18:35 Fricska#3
That solved the issue, thank for your help buddy!