Cookies


Vsroplus only uses the cookies it needs to keep you signed in and remember your language. No ads, no tracking.

Got it

Need to learn more? Privacy policy

Our guides are in English for now.

Update Character Icon

You will need to obtain the character ID for the character whose mark icon you want to update. You can use the following query to get the character ID from the database.

SELECT CharID FROM _OnlinePlayers WHERE CharName16 = 'character_name'

Note: To assign a specific icon to a character, you must first add the icon entry (ID and file path) into the _RefCharMark table.

Stored Procedure: _Char_UpdateIconLive

Parameters:

  • @CharID INT - Target character ID
  • @IconID INT - Icon ID

Let us first test whether the command works by using the following code, which will update the mark icon for a specific character.

USE [vPlus]
GO
DECLARE @CharID INT = (SELECT CharID FROM _OnlinePlayers WHERE CharName16 = 'character_name')
EXEC _Char_UpdateIconLive @CharID, 1;

For real usage, use @CharID directly from your calling procedure.

EXEC _Char_UpdateIconLive @CharID, 1;

Last updated: 8 December, 2023

An error has occurred. This application may no longer respond until reloaded. Reload 🗙