Coder Social home page Coder Social logo

badvision / lawless-legends Goto Github PK

View Code? Open in Web Editor NEW
67.0 67.0 15.0 48.06 MB

Open-source code and assets from Lawless Legends and its supporting tools

License: Apache License 2.0

Java 60.06% JavaScript 21.32% HTML 0.90% CSS 0.04% Ruby 0.04% Assembly 8.56% C 5.28% Groovy 3.38% Python 0.23% Makefile 0.06% Shell 0.08% Batchfile 0.01% XSLT 0.04%

lawless-legends's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lawless-legends's Issues

//c disk access fails

Using a ROM 3 or ROM 255 Apple //c: Once LL is loaded and tries to start a new game, the drive light flickers briefly and asks for disk 1. If a second drive is added, it will be searched but will still ask for disk 1, even if it is in drive2. The same floppies work fine with an enhanced //e.

4-digit HP goes off screen

I cheated my way to this with sector editing, but it still might be an issue if someone allows unlimited leveling up.

I remember Bard's Tale III allowed for ++++/++++ once HP went above 9999 (using the INWO trick) and I'm wondering if the core technology can/should do the same (only 3 +++'s), or at least give a warning.

The way to reproduce this is
1 save a game state in AppleWin
2 download a hex editor like HXD. Search for player 1's name, or go to bytes ef96/efa3 if you're feeling lucky, and change the 2-byte entries to 08 08 or whatever...second byte should be >= 4.
3 try to use an item, then bail. Your new current/maximum HP will run off the screen.

Draft Mode brushes disappearing

When using "images" section the tools in "draft mode" section often disappear after a few uses. Then you have to shut it down and reload for them to appear again. Then the cycle repeats.

Call script from other scripts

Scripts should be able to call other scripts in the same scope (e.g. within same map) or declared in the global scope

Walking through wall corners creates problems in WIP

  1. god mode
  2. 14 10 8 14
  3. go forward a few times, then backwards. You can run through the corners and back, which creates a huge hole in the puzzles.

It looks like we need a small additional check before moving diagonally between squares.

if x(before) != x(after) and y(before) != y(after):
if x(before), y(after) is impermeable and x(after), y(before) is impermeable, reject the command.

The alternative would be to completely recreate a currently drawn map that has several dead ends that touch each other at corners. I'd love to see this feature added, as it'd allow for more complex maps in smaller areas and ultimately save disk space as opposed to just having the player expand maps to avoid this potential warp.

can't run from a HDD subdirectory

The call to ProRWTS init function happens after ProDOS is overwritten by the copy of ROM to LC RAM.
ProRWTS needs to call a ProDOS function to determine the current prefix, which fails if LC RAM was written first.
The fix is to call init before making the ROM to LC RAM copy.

Will not launch Outlaw Editor on MacOS X High Sierra 10.13.6

Can not launch the editor from MacOS X using
The most recent copy of Outlaw Editor (aka the Daily build) can be found here: https://www.dropbox.com/s/2tmqxde0ordz7ez/OutlawEditor.jar?dl=0

I tried launching from the command line and I get this:
java -jar OutlawEditor.jar
Error: Could not find or load main class org.badvision.outlaweditor.Application
Caused by: java.lang.NoClassDefFoundError: javafx/application/Application

The default Java version wasj ava version "11.0.2" 2019-01-15 LTS

I installed javafx 12 and jdk-12.0.1.jdk, but get the same error. I am not that familiar with Java so perhaps these newer versions are not compatible with a Java 8 application like yours?

Application quit works inproperly

Confirmation dialog shows in Linux, but application quits anyway. No dialog is shown in Mac OS, only a stack trace appears and then the application becomes unresponsive.

No font.bin for Apple platform build / additional platform questions

Hello, I'd like to test building an Apple II disk image, but there's no sample font.bin file included with the tool, and I couldn't find any specs for it/instructions for creating it. (I also assume the instruction to include an enemies.tsv in the data/world directory is outdated, that only a world.xml file is needed in data/world?).

Additionally, looking at the Ancient Legends example data, do all the Sheets it has in the Scripting tab (Ammo, Armor, Enemies, Items, Players and Weapons) need to be defined in a world.xml for it to correctly build?

(Apologies if there's docs on this I didn't find.)

Outlaw crash on startup - missing file?

Built Outlaw this morning and each time I start it I get the following stack trace as it crashes. Perhaps a "stylesheets" file wasn't checked in?

Property "stylesheets" does not exist or is read-only.
/Users/mhaye/Dropbox/Apple%20II/Projects/Lawless%20Legends/repo/OutlawEditor/target/classes/mapEditorTab.fxml:7
/Users/mhaye/Dropbox/Apple%20II/Projects/Lawless%20Legends/repo/OutlawEditor/target/classes/ApplicationUI.fxml:23
at com.sun.javafx.fxml.BeanAdapter.put(BeanAdapter.java:423)
at com.sun.javafx.fxml.BeanAdapter.put(BeanAdapter.java:37)
at javafx.fxml.FXMLLoader$Element.applyProperty(FXMLLoader.java:464)
at javafx.fxml.FXMLLoader$Element.processPropertyAttribute(FXMLLoader.java:287)
at javafx.fxml.FXMLLoader$Element.processInstancePropertyAttributes(FXMLLoader.java:195)
at javafx.fxml.FXMLLoader$ValueElement.processEndElement(FXMLLoader.java:586)
at javafx.fxml.FXMLLoader.processEndElement(FXMLLoader.java:2430)
at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2136)
at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2028)
at javafx.fxml.FXMLLoader$IncludeElement.constructValue(FXMLLoader.java:936)
at javafx.fxml.FXMLLoader$ValueElement.processStartElement(FXMLLoader.java:565)
at javafx.fxml.FXMLLoader.processStartElement(FXMLLoader.java:2314)
at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2131)
at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2028)
at org.badvision.outlaweditor.Application.start(Application.java:49)
at com.sun.javafx.application.LauncherImpl$5.run(LauncherImpl.java:319)
at com.sun.javafx.application.PlatformImpl$5.run(PlatformImpl.java:215)
at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:179)
at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:176)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:176)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:76)

Property "stylesheets" does not exist or is read-only.
/Users/mhaye/Dropbox/Apple%20II/Projects/Lawless%20Legends/repo/OutlawEditor/target/classes/mapEditorTab.fxml:7
/Users/mhaye/Dropbox/Apple%20II/Projects/Lawless%20Legends/repo/OutlawEditor/target/classes/ApplicationUI.fxml:23
at com.sun.javafx.fxml.BeanAdapter.put(BeanAdapter.java:423)
at com.sun.javafx.fxml.BeanAdapter.put(BeanAdapter.java:37)
at javafx.fxml.FXMLLoader$Element.applyProperty(FXMLLoader.java:464)
at javafx.fxml.FXMLLoader$Element.processPropertyAttribute(FXMLLoader.java:287)
at javafx.fxml.FXMLLoader$Element.processInstancePropertyAttributes(FXMLLoader.java:195)
at javafx.fxml.FXMLLoader$ValueElement.processEndElement(FXMLLoader.java:586)
at javafx.fxml.FXMLLoader.processEndElement(FXMLLoader.java:2430)
at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2136)
at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2028)
at javafx.fxml.FXMLLoader$IncludeElement.constructValue(FXMLLoader.java:936)
at javafx.fxml.FXMLLoader$ValueElement.processStartElement(FXMLLoader.java:565)
at javafx.fxml.FXMLLoader.processStartElement(FXMLLoader.java:2314)
at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2131)
at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2028)
at org.badvision.outlaweditor.Application.start(Application.java:49)
at com.sun.javafx.application.LauncherImpl$5.run(LauncherImpl.java:319)
at com.sun.javafx.application.PlatformImpl$5.run(PlatformImpl.java:215)
at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:179)
at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:176)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:176)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:76)

Exception in Application start method
Exception in thread "main" java.lang.RuntimeException: Exception in Application start method
at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:403)
at com.sun.javafx.application.LauncherImpl.access$000(LauncherImpl.java:47)
at com.sun.javafx.application.LauncherImpl$1.run(LauncherImpl.java:115)
at java.lang.Thread.run(Thread.java:724)
Caused by: com.sun.javafx.fxml.PropertyNotFoundException: Property "stylesheets" does not exist or is read-only.
at com.sun.javafx.fxml.BeanAdapter.put(BeanAdapter.java:423)
at com.sun.javafx.fxml.BeanAdapter.put(BeanAdapter.java:37)
at javafx.fxml.FXMLLoader$Element.applyProperty(FXMLLoader.java:464)
at javafx.fxml.FXMLLoader$Element.processPropertyAttribute(FXMLLoader.java:287)
at javafx.fxml.FXMLLoader$Element.processInstancePropertyAttributes(FXMLLoader.java:195)
at javafx.fxml.FXMLLoader$ValueElement.processEndElement(FXMLLoader.java:586)
at javafx.fxml.FXMLLoader.processEndElement(FXMLLoader.java:2430)
at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2136)
at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2028)
at javafx.fxml.FXMLLoader$IncludeElement.constructValue(FXMLLoader.java:936)
at javafx.fxml.FXMLLoader$ValueElement.processStartElement(FXMLLoader.java:565)
at javafx.fxml.FXMLLoader.processStartElement(FXMLLoader.java:2314)
at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2131)
at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2028)
at org.badvision.outlaweditor.Application.start(Application.java:49)
at com.sun.javafx.application.LauncherImpl$5.run(LauncherImpl.java:319)
at com.sun.javafx.application.PlatformImpl$5.run(PlatformImpl.java:215)
at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:179)
at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:176)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:176)

at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:76)

BUILD FAILURE

Total time: 5.846s
Finished at: Sun Jun 01 07:29:28 PDT 2014

Final Memory: 5M/22M

Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli) on project OutlawEditor: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1]

To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.

For more information about the errors and possible solutions, please read the following articles:
[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

Disallow/warn/convert smart quote characters?

Test case:

  • New game
  • Enter cheat mode
  • 3-d mode = 1, map 15, go to (5,9) and go forward

"Don Orolarge" appears instead of "Don Oro's large" and this is because there are multi-byte smart quotes in the XML file that an 8-bit computer was never meant to process. These are not easy to notice, so I wonder if the editor can/should check for the 0x201(8/9/c/d) hex characters.

So I guess there are three options as in the title.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.