本站建议最低逻辑分辨率宽度720px
Loading...
模拟城市吧
NAM48发布 联机SC4MP
tid:8865510417
135344 0 0
楼主:n0099🏳️‍⚧最后回复:Xlcdm1
7楼1条
pid:149633021316
百度用户UID243784075 null n0099🏳️‍⚧ 的头像

n0099🏳️‍⚧

https://community.simtropolis.com/forums/topic/762508-introducing-the-simcity-4-multiplayer-project/

Introducing the SimCity 4 Multiplayer Project
Posted: July 15, 2023

Hello Simtropolis community
I'd like to share with you something I've been working on the past few months.
我想与大家分享一些我过去几个月一直在做的事情。
As many of you may remember, back in 2018, SimCity 4 got its first real multiplayer mod, in the form of Poppy Multiplayer Regions by @jmak. Many of you may also know that the mod is now deprecated as the main servers have long been shutdown. If you're anything like me and enjoy multiplayer SimCity 4, you might be wondering these past years whether there will ever be a real successor to PMR. That successor is finally here.
你们中的许多人可能还记得,早在 2018 年,《SimCity 4》就有了第一个真正的多人游戏模组,即@jmak 的 Poppy Multiplayer Regions 形式。你们中的许多人可能还知道该模组现已被弃用,因为主要服务器早已关闭。如果您像我一样喜欢多人 SimCity 4,您可能会想知道过去几年是否会有 PMR 的真正继任者。那个继任者终于来了。
These past months I've been working to revive multiplayer SimCity 4, in a project I'm now calling the SimCity 4 Multiplayer Project (SC4MP). This project takes many cues from PMR, while introducing many enhancements. Namely, the barrier of entry to joining and hosting servers has been drastically lowered. Anyone can join a server, without even registering an account, and anyone can host a server, so long as they know how to port forward and bypass firewalls (standard for almost all multiplayer game hosting).
在过去的几个月里,我一直致力于复兴多人游戏 SimCity 4,我现在将这个项目称为 SimCity 4 多人游戏项目 (SC4MP)。该项目借鉴了 PMR 的许多线索,同时引入了许多增强功能。也就是说,加入和托管服务器的准入门槛已大大降低。任何人都可以加入服务器,甚至无需注册帐户,任何人都可以托管服务器,只要他们知道如何端口转发和绕过防火墙(几乎所有多人游戏托管的标准)。
The code is all open source and on GitHub. And you can download the latest release of the client and/or server and start playing multiplayer SimCity 4 today. I also plan to put a more complete version on STEX in the coming months. There are still a few features planned and certainly some bugs that still need to be resolved.
代码全部开源并位于 GitHub 上。您可以下载最新版本的客户端和/或服务器并立即开始玩多人 SimCity 4。我还计划在未来几个月内在 STEX 上发布更完整的版本。仍有一些功能正在计划中,当然还有一些错误需要解决。
For now, I would like to list off some of the features of SC4MP that make it the most complete SimCity 4 multiplayer mod to date:
现在,我想列出 SC4MP 的一些功能,这些功能使其成为迄今为止最完整的 SimCity 4 多人游戏模组:
- "Sandboxed" launch directory: like PMR, the SC4MP launcher loads a server's plugins and regions to a special directory specifically for SC4MP, meaning playing on multiplayer will in no way interfere with your singleplayer plugins and regions.
- “沙盒”启动目录:与 PMR 一样,SC4MP 启动器将服务器的插件和区域加载到专门用于 SC4MP 的特殊目录中,这意味着多人游戏绝不会干扰您的单人游戏插件和区域。
- Claims system: SC4MP uses the same claims system as PMR, with the added feature now that servers can set a "claim duration," after which the claim on the city will expire and other players will be able to claim the abandoned city and continue where the previous player left off. This allows for dynamic region gameplay even late into the lifecycle of a region.
- 声明系统:SC4MP使用与PMR相同的声明系统,增加了服务器可以设置“声明期限”的功能,在此之后对城市的声明将过期,其他玩家将能够声明废弃的城市并继续前一位玩家离开了。这甚至允许在区域生命周期的后期进行动态区域游戏。
- Godmode filter: by default, servers disallow saving until a player has established a city. This means the cities that appear in the region view are the cities that have already been claimed. Every tile that appears unoccupied in the region view is actually unoccupied.
- Godmode过滤器:默认情况下,服务器不允许保存,直到玩家建立了一座城市。这意味着出现在区域视图中的城市是已经被占领的城市。在区域视图中显示为空闲的每个图块实际上都未被占用。
- Multiple regions per server: servers can host multiple regions at once. Players can switch between them without restarting their game.
- 每个服务器多个区域:服务器可以同时托管多个区域。玩家可以在它们之间切换,而无需重新启动游戏。
- Easy regions refreshing: refreshing regions in SC4MP requires zero interaction with the launcher. Simply load the region titled "Refresh..." and the launcher will do the rest of the work for you. The launcher is able to recognize when you switch into the refresh region by monitoring and parsing the "SimCity 4.cfg" file.
- 轻松刷新区域:SC4MP 中的刷新区域需要与启动器零交互。只需加载标题为“刷新...”的区域,启动器就会为您完成其余的工作。启动器能够通过监视和解析“SimCity 4.cfg”文件来识别您何时切换到刷新区域。
- Support for any region configuration: the SC4MP server is built to interpret save pushes from any region configuration. It does so using a dual-filter system. The first filter eliminates all tiles that do not border all the other tiles. The second compares checksums of the datetime subfiles of the incoming saves and compares them to the ones stored on the server. The second filter only accepts saves in which the in-game time has advanced. This however comes with the caveat that sometimes you are required to unpause your game to save.
- 支持任何区域配置:SC4MP 服务器旨在解释来自任何区域配置的保存推送。它使用双过滤系统来实现这一点。第一个过滤器消除不与所有其他图块接壤的所有图块。第二个比较传入保存的日期时间子文件的校验和,并将它们与存储在服务器上的校验和进行比较。第二个过滤器仅接受游戏时间提前的保存。然而,这需要注意的是,有时您需要取消暂停游戏才能保存。
- Custom plugins: the SC4MP Launcher allows local plugins to be loaded in alongside server plugins without any modification to your singleplayer plugins directory. Simply specify your singleplayer plugins directory in the launcher settings and your plugins will be loaded in the next time you join a server, so long as that server allows custom plugins.
- 自定义插件:SC4MP 启动器允许本地插件与服务器插件一起加载,而无需对单人游戏插件目录进行任何修改。只需在启动器设置中指定您的单人游戏插件目录,只要该服务器允许自定义插件,您的插件就会在您下次加入服务器时加载。
- Cache: the SC4MP Launcher keeps a rolling cache of files downloaded from servers, sorted by checksum. This allows for fast loading times on servers which you have previously joined. The size of the cache is configurable to save disk space.
- 缓存:SC4MP 启动器保留从服务器下载的文件的滚动缓存,并按校验和排序。这可以在您之前加入的服务器上实现快速加载。缓存的大小是可配置的以节省磁盘空间。
- Easy savegame retrieval in the event of server outages: the savegames from the last failed save push are automatically copied into the "downloads" subdirectory of the regions directory when connecting to a server for easy importing in-game.
- 服务器中断时轻松检索保存游戏:连接到服务器时,上次保存推送失败的保存游戏会自动复制到区域目录的“下载”子目录中,以便轻松导入到游戏中。
- Recurring server backups: the SC4MP Server comes with a recurring backup system built-in. The backup system comes with a configurable backup interval and is designed to save space as much as possible.
- 定期服务器备份:SC4MP 服务器内置定期备份系统。备份系统具有可配置的备份间隔,旨在尽可能节省空间。
- Server browser: the server browser allows players to view the list of active servers and connect to them seamlessly. Servers can be sorted by their ping, download size, claimed area and more.
- 服务器浏览器:服务器浏览器允许玩家查看活动服务器列表并无缝连接到它们。服务器可以按 ping、下载大小、声明区域等进行排序。
Here are the downloads on GitHub:
以下是 GitHub 上的下载:
client:
https://github.com/kegsmr/sc4mp-client/release

server:
https://github.com/kegsmr/sc4mp-server/releases

The official server is at:
官方服务器位于:
host: servers.sc4mp.org
port: 7240
Stay tuned for more updates. And check out the website:
敬请期待更多的更新。并查看网站:
http://www.sc4mp.org/
tbm@n0099.com https://github.com/n0099/open-tbm