Not a bug
BYOND Version:471
Operating System:Windows XP Pro
Web Browser:Firefox 3.6.6
Applies to:Dream Seeker
Status: Not a bug

This is not a bug. It may be an incorrect use of syntax or a limitation in the software. For further discussion on the matter, please consult the BYOND forums.
Descriptive Problem Summary:
Using Persist=1 in world.Export throws an error, however, nulling file, and placing a 1 as the 3rd arg works.
Numbered Steps to Reproduce Problem:
Code below.
Code Snippet (if applicable) to Reproduce Problem:

Expected Results:
File to be overlooked, and Persist to be set to 1
Actual Results:
Runtime Error Gives:
Invalid network address in transmission () runtime error: illegal use of list2args() or named parameters proc name: EstablishConnection (/mob/verb/EstablishConnection) usr: Leur (/mob) src: Leur (/mob) call stack: Leur (/mob): EstablishConnection("localhost:666")
*Do note, it says localhost:666, however the full address typed was in fact byond://localhost:666

Does the problem occur:
Every time? Or how often? Everytime


BYOND's var naming convention always starts vars with lowercase; you used an uppercase P in persist. Your named argument is therefore wrong, and it's being set in the wrong place. This is of course assuming world.Export() even supports named arguments, which not all procs do. I don't see any indication that this is the case. I believe the only way to make this work is to use the latter format which puts the args in the correct order.