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
Still have Main Threads error :( [last profiles]
Author Message
Extreme
Grandmaster Poster
***

Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #9
RE: Still have Main Threads error :( [last profiles]
Try this for f_clear_elem
PHP Code:
[FUNCTION f_clear_elem]
SRC.TAG.CASTEANDOELEMENTAL =
FINDLAYER.layer_talisman.REMOVE
consume 
<rescount i_gema_airei_gema_aire
consume 
<rescount i_gema_tierrai_gema_tierra
consume 
<rescount i_gema_fuegoi_gema_fuego
consume 
<rescount i_gema_aguai_gema_agua
consume 
<rescount i_talisman_airei_talisman_aire
consume 
<rescount i_talisman_tierrai_talisman_tierra
consume 
<rescount i_talisman_fuegoi_talisman_fuego
consume 
<rescount i_talisman_aguai_talisman_agua 
conteoips fixed
PHP Code:
[FUNCTION conteoips]
IF <
SERV.CLIENTS> >= 1
 LOCAL
.IPLIST <SERV.CLIENT.0.ACCOUNT.LASTIP>
 
LOCAL.IP 1
 
IF <SERV.CLIENTS> >= 2
  
FOR X 1 <EVAL <SERV.CLIENTS>-1>
   IF !(
STRMATCH(*<SERV.CLIENT.<dLOCAL.X>.ACCOUNT.LASTIP>*,<LOCAL.IPLIST>))
    
LOCAL.IPLIST .= <SERV.CLIENT.<dLOCAL.X>.ACCOUNT.LASTIP>
    
LOCAL.IP ++
   ENDIF
  ENDFOR
 ENDIF
 
sysmessageloc 036,1060659IP's Reales, <dLOCAL.IP>
 RETURN <dLOCAL.IP>
ENDIF
RETURN 0 
If you are GM you can cast while eqquiped Big Grin

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
(This post was last modified: 09-24-2012 09:36 AM by Extreme.)
09-24-2012 09:25 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Still have Main Threads error :( [last profiles] - Extreme - 09-24-2012 09:25 AM

Forum Jump:


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