Coder Social home page Coder Social logo

lantern's People

Contributors

ceriswhite avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

vicrodh

lantern's Issues

BUG: ExportPals

Version:v1.5.2 win

in level.sav.json one player's nickname

													"NickName": {
														"id": null,
														"value": "< blank >",
														"type": "StrProperty"
													},
internal/fs/utils.js:230
    throw err;
    ^

Error: ENOENT: no such file or directory, open 'C:\Users\dooki\Desktop\PalSave\lantern_v152_win\Save\PalData\Player\< blank >_75f977b7-ac5e-44f3-9772-48b03109aced.json'
    at Object.openSync (fs.js:458:3)
    at Object.writeFileSync (fs.js:1283:35)
    at Stream.<anonymous> (C:\Users\dooki\Desktop\PalSave\lantern_v152_win\Lantern.js:1:71987)
    at Stream.emit (events.js:310:20)
    at drain (C:\Users\dooki\Desktop\PalSave\lantern_v152_win\node_modules\through\index.js:36:16)
    at Stream.stream.queue.stream.push (C:\Users\dooki\Desktop\PalSave\lantern_v152_win\node_modules\through\index.js:45:5)
    at Parser.parser.onValue (C:\Users\dooki\Desktop\PalSave\lantern_v152_win\node_modules\JSONStream\index.js:118:16)
    at Parser.proto.emit (C:\Users\dooki\Desktop\PalSave\lantern_v152_win\node_modules\jsonparse\jsonparse.js:337:8)
    at Parser.proto.pop (C:\Users\dooki\Desktop\PalSave\lantern_v152_win\node_modules\jsonparse\jsonparse.js:332:8)
    at Parser.proto.onToken (C:\Users\dooki\Desktop\PalSave\lantern_v152_win\node_modules\jsonparse\jsonparse.js:402:12) {
  errno: -4058,
  syscall: 'open',
  code: 'ENOENT',
  path: 'C:\\Users\\dooki\\Desktop\\PalSave\\lantern_v152_win\\Save\\PalData\\Player\\< blank >_75f977b7-ac5e-44f3-9772-48b03109aced.json'
}

Great tool

ExportInventory and ImportInventory break durability and weapons with ammo

From what I can tell, it looks like modifying inventory with ExportInventory and ImportInventory causes anything with durability or ammo like Armor, Crossbow, and Gun to no longer work. It gains a stack size indicator, loses the durability meter, and you cannot fire the weapons any longer. Sounds like those items may have different properties on them somehow?

Bug: ExportInventory Directory

Please note that this is untested:

When using ExportInventory it creates a subdirectory with the player(character) name. Multiple players might have the same Character name.

ImportingPals.cmd creating error "FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory"

Using version 1.5.7(I also tried the dev version found in issue #3 ) for windows during the importPals process, the Level.sav.json is created. But once it attempts to create the new.Level.sav.json I am presented with the following message:

UESave file. Converting to JSON...
Converted C:\Users\Games\Downloads\Saved\SaveGames\0\07D763118E504690AE0B7E9F76022A9F\Level.sav to JSON.

<--- Last few GCs --->

[39500:0000025F4B1FA060] 151988 ms: Mark-sweep 1976.3 (2096.0) -> 1976.3 (2096.0) MB, 381.3 / 0.0 ms (average mu = 0.132, current mu = 0.000) allocation failure scavenge might not succeed
[39500:0000025F4B1FA060] 152366 ms: Mark-sweep 1976.3 (2096.0) -> 1976.3 (2096.0) MB, 377.0 / 0.0 ms (average mu = 0.071, current mu = 0.000) allocation failure scavenge might not succeed

<--- JS stacktrace --->

==== JS stack trace =========================================

Security context: 0x0351096c08d1
0: builtin exit frame: stringify(this=0x0351096dec89 ,0,0x018cac6401b9 ,0x01c05c3d3471 ,0x0351096dec89 )

1: /* anonymous */ [000001DDFB0C2FB1] [C:\Users\Games\Downloads\node_modules\JSONStream\index.js:196] [bytecode=00000004225BE691 offset=28](this=0x01c05c3d33f9 <Stream map = 000000F7011...

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
1: 00007FF60F69C95F napi_wrap+112799
2: 00007FF60F63CF36 v8::base::CPU::has_sse+55702
3: 00007FF60F63DDC3 v8::base::CPU::has_sse+59427
4: 00007FF60FE59D9E v8::Isolate::ReportExternalAllocationLimitReached+94
5: 00007FF60FE41E71 v8::SharedArrayBuffer::Externalize+833
6: 00007FF60FD0E30C v8::internal::Heap::EphemeronKeyWriteBarrierFromCode+1436
7: 00007FF60FD19540 v8::internal::Heap::ProtectUnprotectedMemoryChunks+1312
8: 00007FF60FD16064 v8::internal::Heap::PageFlagsAreConsistent+3204
9: 00007FF60FD0B863 v8::internal::Heap::CollectGarbage+1283
10: 00007FF60FD09ED4 v8::internal::Heap::AddRetainedMap+2452
11: 00007FF60FD31B8F v8::internal::Factory::NewRawTwoByteString+95
12: 00007FF60FA1FE7B v8::internal::StringStream::ClearMentionedObjectCache+9579
13: 00007FF60FC44AA5 v8::internal::TimedHistogram::Stop+2373
14: 00007FF60FC459EB v8::internal::TimedHistogram::Stop+6283
15: 00007FF60FC469B7 v8::internal::TimedHistogram::Stop+10327
16: 00007FF60FC469B7 v8::internal::TimedHistogram::Stop+10327
17: 00007FF60FC483E4 v8::internal::TimedHistogram::Stop+17028
18: 00007FF60FC4741E v8::internal::TimedHistogram::Stop+12990
19: 00007FF60FC469B7 v8::internal::TimedHistogram::Stop+10327
20: 00007FF60FC469B7 v8::internal::TimedHistogram::Stop+10327
21: 00007FF60FC469B7 v8::internal::TimedHistogram::Stop+10327
22: 00007FF60FC469B7 v8::internal::TimedHistogram::Stop+10327
23: 00007FF60FC483E4 v8::internal::TimedHistogram::Stop+17028
24: 00007FF60FC4AFF0 v8::internal::TimedHistogram::Stop+28304
25: 00007FF60FDD3624 v8::internal::Builtins::builtin_handle+84900
26: 00007FF6102A726D v8::internal::SetupIsolateDelegate::SetupHeap+546893
27: 00007FF61022C11C v8::internal::SetupIsolateDelegate::SetupHeap+42748
28: 0000014F10FDB4C1
Import complete
Press any key to continue . . .

Linux executable missing JSONStream

Upon running the released Linux executable (v1.5 at the time of writing, no arguments), I get a Error: Cannot find module 'JSONStream'.

After installing JSONStream in the same dir with npm install JSONStream, it works as expected.

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.