The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with dialog opening on wrong player
Author Message
escribano
Journeyman
*

Posts: 170
Likes Given: 16
Likes Received: 32 in 23 posts
Joined: Nov 2012
Reputation: 2

Dragon Shard

Post: #1
Help with dialog opening on wrong player
Dudes... im making a guild system to my shard and doind the recruit dialog (to recruited player confirm that he wants to join) i got this error..


First: when 2x click on the stone open the main dialog, in this dialog there is a button to recruit member.. this buton is do a "src.targetf f_guild_recruit <uid>" (send a funcion to the target sending the guildstone UID, all from the SRC.. with is the player that double clicked on the stone).

This funcion "f_guild_recruit" receives this parameters:
Code:
ref1 = <argv[0]> // Guild UID
ref2 = <argo> // Target recruited player
ref3 = <uid> // The player who wants to recruit

ok... to show the dialog, i store some information on a ctag:
Code:
ref2.ctag.invite_guild <ref1>
ref2.ctag.invited_by <ref3>

then... i tryed of EVERY way to open the dialog on the target player with no success. I've tryied this ways:
Code:
REF2.SDIALOG d_guild_invite
REF2.DIALOG d_guild_invite
UID.<REF2>.SDIALOG d_guild_invite
UID.<REF2.UID>.SDIALOG d_guild_invite
UID.<REF2>.DIALOG d_guild_invite
UID.<REF2.UID>.DIALOG d_guild_invite
TRY UID.<REF2>.SDIALOG d_guild_invite
TRY UID.<REF2.UID>.SDIALOG d_guild_invite
TRY UID.<REF2>.DIALOG d_guild_invite
TRY UID.<REF2.UID>.DIALOG d_guild_invite
REF2.f_open_dialog
UID.<REF2>.f_open_dialog
UID.<REF2.UID>.f_open_dialog
TRY UID.<REF2>.f_open_dialog
TRY UID.<REF2.UID>.f_open_dialog


The dialog always opens on the REF3 player... and i dunno why! Someone can help?
Thanks!

Never mind... tyed this way that works:

Code:
TRYSRC <ARGO> SDIALOG d_guild_invitation

Tongue

UltimaPHP - OpenSource Ultima Online Server v0.1-pre-alpha under development, we need help!
(This post was last modified: 07-07-2015 02:44 PM by escribano.)
07-07-2015 02:17 PM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes escribano's post
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)