View Issue Details

IDProjectCategoryView StatusLast Update
0002448Infinitode 2[All Projects] Infinitode 2public2024-07-14 11:38
ReporterLdream Assigned Totherainycat  
PrioritylowSeverityminorReproducibilityalways
Status closedResolutionno change required 
PlatformDesktopOSWindowsOS VersionAny
Product Version1.9.0 (Season 3) 
Target VersionFixed in Version 
Summary0002448: [DEV MODE]Online share button will not share referenced script
Description

If you share a map online with a script in the map, the script reference a lua file, the referenced file won't submit to server.
The script will only share as the name of lua file.

Steps To Reproduce

Build a map with lua script then share it online.

Additional Information

https://beta.infinitode.prineside.com/?m=get_paste_bin&p=KNbtUFk5l4R3&id=5

{"_type":"BASIC_LEVEL_FULL","configuration":{"name":"minimal_map","stage":"-1","seed":8152,"difficultyExpectedPlaytime":1},"map":{"v":2,"w":2,"h":2,"tt":[{"type":"PLATFORM"},{"type":"SCRIPT","d":{"id":7414,"script":"dofile(\"scripts/levels/test_gauss.lua\")\n"}},{"type":"TARGET","d":{"da":false,"usgv":false,"gv":[]}},{"type":"SPAWN","d":{"d":1,"ae":[{"t":"REGULAR","f":1,"l":0}]}}],"t":[0,0,0,1,1,0,2,0,1,3,1,1]}}

TagsNo tags attached.

Activities

Ldream

Ldream

2024-06-08 19:04

trusted_reporter   ~0002495

The share link should delete two "amp;" string after "&"
idk whether this link can be worked.↓
https://beta.infinitode.prineside.com/?m=get_paste_bin&p=KNbtUFk5l4R3&id=5
If this link can not work, please delete these two "amp;" string.

therainycat

therainycat

2024-07-14 11:38

administrator   ~0002502

Lua files are not shared with the map and they will never be shared. You should put the contents of that file directly into the script tile - don't mind how it is done by the default scripts.
Develop and debug a script in a file and then just paste it into a script tile

Issue History

Date Modified Username Field Change
2024-06-08 19:01 Ldream New Issue
2024-06-08 19:04 Ldream Note Added: 0002495
2024-07-14 11:38 therainycat Note Added: 0002502
2024-07-14 11:38 therainycat Assigned To => therainycat
2024-07-14 11:38 therainycat Status new => closed
2024-07-14 11:38 therainycat Resolution open => no change required