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: #7
RE: Still have Main Threads error :( [last profiles]
(09-23-2012 07:58 PM)WRWR Wrote:  kill scripts with while and be happy )
In this case is not a problem.
Because "findid.i_item" will return 0 or 1
If the player don't have "i_item", it will do only one operation.
So, is better than check rescount at his pack and check of every air, fire, earth, water gem and talisman.

Or he can use:
PHP Code:
for 1 4
consume 
<rescount i_gema_<def.item.<dlocal._for>>> i_gema_<def.item.<dlocal._for>>
consume <rescount i_talisman_<def.item.<dlocal._for>>> i_talisman_<def.item.<dlocal._for>>
endfor 
or
PHP Code:
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 
lol
=D

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 01:01 AM by Extreme.)
09-24-2012 12:22 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 12:22 AM

Forum Jump:


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