Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Josh @ Dreamland

Issues Help Desk / Re: Download for the Tutorial is Broken
« on: October 21, 2017, 03:29:46 PM »
I'll figure out who owns that Dropbox link and see about getting the file re-hosted.

Off-Topic / Re: Gamepad/ Joystick Devices
« on: October 21, 2017, 03:21:05 PM »
I use an iBuffalo SNES Controller and a standard Nintendo GameCube controller using the Mayflash adapter. Been a Nintendo fan my entire life; Nintendo controllers are all I know how to use.

Announcements / Re: I'll be upgrading CentOS today.
« on: October 21, 2017, 10:22:45 AM »
The old server has been decommissioned—this migration is officially complete.  I am still investigating the email problem, but otherwise, the site should be at 100 percent.

EDIT[2017-10-21@UTC+20:08]: Email is fixed.

Announcements / Re: I'll be upgrading CentOS today.
« on: October 18, 2017, 03:07:22 PM »
That will require a little more work. My biggest priority for the site right now is to get the email server working—I started a thread on the SMF support forums; feel free to follow along, there. If they can't give me a way to debug SMF's direct interaction with Google's SMTP server, I will have to change it so SMF contacts localhost, and my own MTA contacts Google.

Once that's done, I can take another look into the EDC, I suppose.

Announcements / Re: I'll be upgrading CentOS today.
« on: October 17, 2017, 12:03:59 PM »
The plan for now is to update the Wiki software to the latest version and install a new SMF adapter (the current one's pretty wonky).

The only other problem we've found is that I've broken the ErrorDocument handler.

Announcements / Re: I'll be upgrading CentOS today.
« on: October 16, 2017, 01:12:17 AM »
As expected, that took fifty times longer than it reasonably should, and the fallout is pretty ugly. I spent eight hours today cleaning up after that migration.

Here's what I know is broken:
  • The Wiki has some E_STRICT output at the top.
  • The EDC is somehow including literal PHP files in the page output (Don't worry; this whole site's open-source; this is not a security problem).
  • The email server is basically guaranteed not to be working.
  • If the server reboots, this entire site will fall apart until I manually run some iptables calls and restart MariaDB. Neither of these should be necessary.

Sorry to leave the site in this state, but it's 2AM, and I have to work tomorrow. Please report any additional problems you see, here in this thread.

Announcements / I'll be upgrading CentOS today.
« on: October 15, 2017, 01:26:49 PM »
Expect the forum to enter maintenance mode. You will be unable to post for some window of time during this migration.

Do not be surprised when this happens. I will only activate maintenance mode during the database migration. This should last something like half an hour—The export will take fifteen minutes, but migrating the ENIGMA DNS to point to our new IP will take longer. I'm going to see if I can change the assigned IP over instead of updating DNS records. I will keep this thread up to date.

Issues Help Desk / Re: CLI on Ubuntu?
« on: May 03, 2017, 03:03:38 PM »
As I said oh GitHub, a core dump only does so much for us—it tells us something exploded, and, at best, that the control was in X function when shit hit the fan. What it doesn't tell us is why something exploded. Maybe it's because a sprite was deleted, but code references it (this is a little too simple; we have plenty of code that checks against dumb shit like that).  Maybe it's because the parser wrote string data out of bounds. Maybe it's a bizarre JNA memory sizing nuance. The best way to get a bug fixed is to give us a way to make it happen, every time, at the push of a button. So provide the game that caused it, or if you'd prefer not to, provide a minified test case (the smallest possible game or sequence of actions) that will consistently produce this bug.

Issues Help Desk / Re: Required packages to run ENIGMA games on Linux?
« on: April 29, 2017, 12:16:25 AM »
There's a comprehensive list on the wiki; you will want (at very least) g++ and the zlib dev package.

Issues Help Desk / Re: CLI on Ubuntu?
« on: April 29, 2017, 12:14:42 AM »
If LGM crashes, it's because ENIGMA crashed, so the CLI will do the same thing. File the crash as a bug report; it may have a simple fix.

Issues Help Desk / Re: Networking Issue
« on: April 09, 2017, 05:00:32 PM »
What networking system do you have enabled? I'm not sure which system would declare that function and not implement it...

Issues Help Desk / Re: Can't get ENIGMA to run on 64-bit Arch Linux
« on: July 10, 2016, 12:38:00 AM »
That 32-bit error sounds problematic... Arch has a set of C++ headers that don't agree with ENIGMA's parser. Try the fix posted here for a similar parse crash. It's been working for people with updated headers. It's a dirty hack, but it seems necessary for the time being.

General ENIGMA / Re: ENIGMA: Studio
« on: May 27, 2016, 09:25:10 PM »
Personally, I'm a fan of the current logo. Wouldn't change it. As for a banner, I'd prefer something that makes a bigger statement; something playful, but interesting.

I threw this together as an example:

Try hovering over it with your mouse.

The coloring's definitely off, and the shapes are off, but that's basically what I'm looking at.

What Robert is trying to say is that contained within ENIGMA's compiler is the parser part of a C++ compiler, which I called "Just Define It" (JDI). For ENIGMA's syntax checking and EDL parsing to work, JDI has to be able to read the engine file, as a C++ compiler would. While I coded in some support for C++11 when I wrote JDI, the specification was new at the time, and I didn't feel like meddling in it. So even though JDI has some C++11 features, I believe it's missing enough of them that I never told it to advertise support for the specification—it sets __cplusplus to reflect support only for like C++98/03.

This has never been a problem, because (A) all the STL headers are SUPPOSED to compile under C++98, and (B) the features of C++11 that you enjoy (and are using in ENIGMA) are blindingly easy to support in compilers, so I supported them. This was somewhat perforce, as GNU C++ has supported the bulk of these features since the dawn of time. That said, harder constructs, such as variadic template parameters, are missing from JDI, and I have no intentions of adding them. If you use them in ENIGMA's engine, this will create problems for the current compiler.

Since C++98 is still a thing, I don't know why JDI has suddenly been rendered incapable of parsing <string> correctly. I also don't know why it's printing only one error... did someone suppress the rest of them? I can't make a diagnosis without them. Still, I suspect it doesn't matter; no one actually relies on JDI knowing what string can do, as evidenced by the above working.

I'm sorry; I see the same problem on my Arch Linux install. I can only guess what's causing it, as the only error reported is a lack of support (by JDI) for C++11.

You can work around the issue temporarily by placing this at the top of SHELLmain.cpp:

Code: (C++) [Select]
  #include <string>
  #define _GLIBCXX_STRING 1
  template<typename T, typename traits = int> class basic_string {};
  typedef basic_string<char> string;

That's really ugly, and I always hoped no one would ever have to do that, but I can't tell why this is failing, and a proper fix seems far off.