Intro
TLSDZ Documentation
Section titled “TLSDZ Documentation”Effort to create The Last Stand: Dead Zone private server. Document everything we know about the game.
Our Progress
Section titled “Our Progress”TLSDZ uses PlayerIO backend service ↗. Our task is to design a server that mimics it.
If you follow the development instruction correctly, you should be at this screen:
What’s Next?
Section titled “What’s Next?”You can help the development of the private server directly by making a change in the code. You can also help us investigate and let others develop the server.
Our general principle is:
- Try to reach the point that our server is currently stuck at.
- Investigate what is wrong and figure out what changes should be made to the server to progress further.
- Write your research or make the changes directly.
- Repeat the process.
The general sequential flow of the game is in sequential flow. It’s a good start to see where are we currently at.
Technical Insights & Troubleshooting
Section titled “Technical Insights & Troubleshooting”During our investigation, we’ve uncovered some crucial details that are valuable for general development and troubleshooting, particularly concerning the Flash-JavaScript bridge:
Security.allowDomain
Restriction: It has been discovered thatSecurity.allowDomain
inpreloader/main.as@line 82
hardcodes the allowed domain for JavaScript callbacks to a specific address,ddeadzonegame.com
. If the domain where the SWF is loaded differs from this hardcoded value, the JavaScript callbacks (which are essential for communication between Flash and the web page) will not work.- Domain Manipulation Options: The allowed domain can be influenced by setting specific Flash variables when creating the player:
- If
local
is set to1
, the Flash application will utilize the domain of thecore.swf
file (passed in the Flash variables) for its domain checks.
- If
- Current Workaround: As a temporary solution, using the IP address
127.0.0.1
instead oflocalhost
seems to resolve the domain issue without requiring any modifications.