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:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Makemypet
Author Message
Anarch Cassius
Master
**

Posts: 273
Likes Given: 19
Likes Received: 10 in 9 posts
Joined: Mar 2012
Reputation: 2



Post: #10
RE: Makemypet
Quote:You have done this long enough to know how to fix your syntax. Not trying to sound mean, but we went over this years ago.

New Sphere is incredibly picky about syntax to the point I'm not sure what is a bug and what is a feature. If something doesn't work in New Sphere I can't necessarily count on the old rules to be helpful.

For example, I ran some more tests... the trouble is apparently NEW gets cleared very easily. The lines in question work when they immediately follow the NEWNPC command but a call to SRC.ACT in between was somehow making NEW fail. There's no good reason that should be; I didn't make any new items. That sort of thing makes me nervous and I start second guessing every bit of codes and sticking with bizarre syntaxes just because I know they work. I happen to like the versatility and multiple nature of ACT but this does really seem like a place for NEW: I just had no idea why it wasn't working, that isn't a syntax issue I've ever seen before.

Now a lot of the syntax fixes seem logical... I had some QVAL/EVAL nests that started giving a division by zero warning because they started looking more deeply in all cases as they probably should have been all along. Other ones leave me baffled though.

I'm catching up on several years of changes all at once and if I knew how the syntax was broken I wouldn't ask.

Current Projects: Necromancy SCP overhaul. Custom Faction AI/System. Imbuing.
03-25-2016 02:07 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Makemypet - Van Glan Bloom - 02-17-2015, 12:08 AM
RE: Makemypet - XuN - 02-17-2015, 07:39 PM
RE: Makemypet - Van Glan Bloom - 02-18-2015, 02:06 AM
RE: Makemypet - XuN - 03-18-2016, 07:23 PM
RE: Makemypet - Anarch Cassius - 03-18-2016, 06:37 AM
RE: Makemypet - Khaos - 03-20-2016, 06:16 AM
RE: Makemypet - Anarch Cassius - 03-20-2016, 06:35 AM
RE: Makemypet - Coruja - 03-20-2016, 03:26 PM
RE: Makemypet - Khaos - 03-25-2016, 09:11 AM
RE: Makemypet - Anarch Cassius - 03-25-2016 02:07 PM
RE: Makemypet - Khaos - 03-25-2016, 03:41 PM

Forum Jump:


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