fix login issue*

This commit is contained in:
2026-02-25 12:26:26 -07:00
parent da581f5a20
commit 2c3d0ab580
37 changed files with 4708 additions and 721 deletions

View File

@@ -59,7 +59,7 @@ defmodule Odinsea.Channel.Handler.Alliance do
# Handle deny separately
if op == 22 do
handle_deny_invite(client_pid, character_id, char_state, guild_id)
handle_deny_invite(client_pid, char_state)
else
handle_alliance_op(op, packet, client_pid, character_id, char_state, guild_id)
end
@@ -255,8 +255,15 @@ defmodule Odinsea.Channel.Handler.Alliance do
Also called when op == 22 in alliance operation.
Reference: AllianceHandler.DenyInvite()
## Parameters
- client_pid: The client process ID
- character_state: The character's current state (includes guild_id)
"""
def handle_deny_invite(client_pid, character_id, char_state, guild_id) do
def handle_deny_invite(client_pid, character_state) do
character_id = character_state.id
guild_id = character_state.guild_id
# Get invited alliance ID
# invited_alliance_id = World.Guild.get_invited_id(guild_id)