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-nmm7 (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-nmm7 (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-nmm7 (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
Updating Tags & Clilocs
Author Message
Oxtar
Apprentice
*

Posts: 48
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Jul 2012
Reputation: 0



Post: #1
Updating Tags & Clilocs
Well i came across a problem that is not user friendly.

I'll explain the essential.

Once a player log in for the first time, he has to choose over 2 factions. A NPC with a gump. Once he make his choice, his stats, tag and events are set, and he gets Tele to a location.

2 players from the same faction, cannot attack/cast spells or use pets to hurt each other.

My problem comes from the moment they choose their faction. Here are the issues.

- The player can't attack anything
- The player can still cast spells
- The player's clilocs (showing his faction) is missing.

The only fix i found is to delog and relog. Then everything is fine.

Is there a way to update the clilocs and the tags to the client without logging out and in?
(This post was last modified: 12-19-2012 12:56 AM by Oxtar.)
12-19-2012 12:55 AM
Find all posts by this user Like Post Quote this message in a reply
Gil Amarth
Journeyman
*

Posts: 189
Likes Given: 2
Likes Received: 1 in 1 posts
Joined: May 2012
Reputation: 0



Post: #2
RE: Updating Tags & Clilocs
You can refresh the tooltip of a character or item with resendtooltip, this command refresh the client of everyone nearby.

But the tags... they donĀ“t need to relog to function okay, so there is something wrong in your scripts.
12-19-2012 01:30 AM
Find all posts by this user Like Post Quote this message in a reply
Oxtar
Apprentice
*

Posts: 48
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Jul 2012
Reputation: 0



Post: #3
RE: Updating Tags & Clilocs
Yeah, that's what i assumed.

I wonder if it comes from adding the event to the player.

Nevermind, it comes from the core script....
(This post was last modified: 12-19-2012 02:15 AM by Oxtar.)
12-19-2012 01:45 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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