Is it possible to somehow add (update a row) in the database from the server script?
For example:
File: HaramelInstance.java (GameServer\data\scripts\system\handlers\instance)
Update the value in the players_bosskill table (Which I created in advance in the game server database)
Need to change the value from 2 to 3 in the kill_hamerun column (you can see in the screenshot)
The request itself looks like this:
For example:
File: HaramelInstance.java (GameServer\data\scripts\system\handlers\instance)
Update the value in the players_bosskill table (Which I created in advance in the game server database)
Need to change the value from 2 to 3 in the kill_hamerun column (you can see in the screenshot)
The request itself looks like this:
SQL:
UPDATE players_bosskill SET kill_hamerun = kill_hamerun +1 WHERE player_id = 320140
Attachments
You must be registered for see attachments list