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
SCP Quest Script - need help
Author Message
RanXerox
Master
**

Posts: 550
Likes Given: 1
Likes Received: 12 in 9 posts
Joined: Dec 2010
Reputation: 19



Post: #4
RE: SCP Quest Script - need help
In numerous places, the code looks like this:

Code:
365            if <def0.quest_<dtag0.quest<dlocal._for>.id>_namelocalized>
366                if <ehnum <def.quest_<dtag0.quest<dlocal._for>.id>_namelocalized>>
367                   xmfhtmlgumpcolor *0 *25 240 20 <eval <def.quest_<dtag0.quest<dlocal._for>.id>_namelocalized>> 0 0 32767
368                else
369                   dhtmlgump *0 *25 240 20 0 0 <def.bfont_white><def.quest_<dtag0.quest<dlocal._for>.id>_namelocalized>
370                endif
371            else
372               dhtmlgump *0 *25 240 20 0 0 <def.bfont_white><def.quest_<dtag0.quest<dlocal._for>.id>_name>
373            endif

Notice how it first looks if QUEST_516_NAMELOCALIZED exists, and if it does, it uses that... otherwise it uses QUEST_516_NAME ... so Xun's solution would likely work.

But if QUEST_516_NAMELOCALIZED exists... there is also an ehnum function that decides whether to use a xmfhtmlgumpcolor (which requires a cliloc number) or the dhtmlgump (which can use text.) So Mordaunt's claim that these used to work may also be true - which probably means that ehnum function (not shown) might be doing unexpected things.
10-25-2013 02:01 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
SCP Quest Script - need help - phibertap - 10-24-2013, 02:54 PM
RE: SCP Quest Script - need help - XuN - 10-24-2013, 03:44 PM
RE: SCP Quest Script - need help - RanXerox - 10-25-2013 02:01 AM
RE: SCP Quest Script - need help - XuN - 10-25-2013, 05:25 PM

Forum Jump:


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