User:Contra/Guide to Code Troubleshooting

From Paradise Station Wiki
Jump to navigation Jump to search
Sloth construction.png
Sloth construction.png
This article or section is a Work in Progress.
Assigned to:
None
Please discuss changes with assigned users. If no one is assigned, or if the user is inactive, feel free to edit.
Github

Banned from your own Local Server

Sometimes it will appear you are banned from your own server, despite being an admin/localhost. 99% of the time this is solved by signing into BYOND, as by default all guests are banned from playing.

Out of Date error

If your compiler claims you are out of date on BYOND, go to DreamMaker language client configuration settings in VSCode, and make sure DreamMaker: Autoupdate is enabled.

Testing on a Local Server with two clients

Config and preparation

First, compile your code, do not run it yet. Open up your config.toml, if you do not have one, copy config.toml from /config/example/config.toml to /config/config.toml. It is highly suggested you set guest_ban = false, guest_job_ban = false, and disable_cid_warning_popup = true. These will prevent the server yelling at you for having two accounts connected and allow you to join as a guest.

Running the Server

Then open up BYOND and make sure you are signed in. Open Dream Daemon and make sure that security is set to "Safe" or "Trusted" and the visibility is set to "Invisible." This will let you run your server without anyone else joining.

Then select your .dmb file and click "GO" to start the server with dream daemon. Once the server is started, join on your main account. You can do this by clicking the button next to the .dmb, clicking World > Join, or pressing Ctrl+J.

Wait a few seconds to make sure your client has loaded in correctly, then sign out of BYOND. If you have a secondary account, you can sign in with it now or just use a Guest account by not being signed in. Now Reopen Dream Daemon and join again.

You should now have two clients connected to the same server, with a few warnings from the server about someone (you) being connected from the same computer and IP address.


Contribution Guides
General Guide to Contributing, Game Resources category, Github Glossary
Setting up a server Setting up the Database, Creating your own paracode server
Coding Understanding SS13 Code, SS13 for experienced programmers, Text Formatting
Mapping Guide to Mapping,
Spriting Guide to Spriting,
Wiki Guide to Editing the Wiki