Force Gem Xor

Newbie Spellweaver
Joined
Apr 18, 2025
Messages
20
Reaction score
17
We're searching for the Xor responsible for the Reserved1 entry in the force gem table under Server01.
Didn't seem to find them in the functions so far, if anyone happens to have it, we'd greatly appreciate a share.

Sadly the only obvious one was the Alz part (Alz ^ 0xB91A5CEF7A381B4C).

Thanks in advance!
 
Hello, EP35 cannot send emails to strangers. What is the problem? Can it be solved?
 
Upvote 0
SQL:
USE [Server01]
GO
/****** Object:  StoredProcedure [dbo].[AddForceGemtoCharacter]    Script Date: 8.11.2025 01:10:39 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[AddForceGemtoCharacter]
    -- Number of GEMs and UserNum Provided Upon Execution
    @GEM BIGINT, @UserNum INT
AS
BEGIN
DECLARE @XOR_KEY BIGINT = 0x7A381B4C    --Xor key
DECLARE @encrypted BIGINT                        --Xor'ed GEM
SET @encrypted = @GEM ^ @XOR_KEY                --Xor Process

    -- Insert statements for procedure here
    UPDATE Server01.dbo.cabal_forcegem_table SET ForcegemHave = @GEM, Reserved1 = @encrypted WHERE UserNum = @UserNum

END
 
Upvote 0
Back