-
Content Count
29 -
Joined
-
Last Visited
Community Reputation
56 PopularAbout jmak
-
Rank
Hitchhiker
Recent Profile Visitors
581 Profile Views
-
Hi everyone, I'm sorry for not being able to release this server code sooner. I was originally planning to rewrite the server code for public release, but I never got the time to do so because I've been really busy with uni and other life obligations. But several people have asked me for it over the years, so I suppose I can just release it as-is. Better than nothing, I guess! The biggest issue with the client is that it is hardcoded to point to the defunct PMR server. You can easily change this in the first few lines of the launcher source code, and I might make a last version of the launcher that allows you to choose custom servers if I have the time. **I am releasing this under the MIT license, provided AS-IS and use at own risk** ~ ~ ~ Hello, Here it is. I’ve been meaning to release the server source for a while now, but I never got around to making it more portable, so you’ll have to set it up manually on your server (you will need a web server with PHP/MySQL): https://drive.google.com/file/d/1-RGr3820NssS1Dzx6U_JcvZQhai9KyIh/view?usp=sharing 1. The database schema that the PMR software uses is defined in “___DBSCHEMA.sql” — you can use this to generate all the tables you need. 2. To connect to your database, fill in “sys/meekro.php” with your database credentials. 3. To add a region to the database for the first time, place the “.sc4” files in the “dat/import” folder and run “___PREPREGIONS.php” 4. The PMR client is hardcoded to point to the now-shuttered PMR server. To get around this, you can: a. Download the client source from GitHub, edit the PMR_SERVERPATH constant (here), and run it using Python b. Patch your hosts file to redirect from “api.getpmr.com” to whichever server you are using 5. To add users, register through the “___ADDUSER.php” file (I ripped this from the main server’s join page but it should still work) This is a bit cumbersome because this version was never intended to be publicly released, but it should work on other servers. If I ever manage to polish this up I’ll let you know. Best of luck. Julian pmr-server-a.zip
-
Hello again, the newest version of the PMR Launcher has just been finished! You can get the latest version from http://getpmr.com/download or from the STEX. The biggest change in this update is the ability to use your own plugins (such as NAM and others) with PMR! Take a look from the Basil region: As I've mentioned before, I could never really bundle NAM into the synchronized region plugins (even though the very kind NAM Team gave me permission to do so) because it's too large for every player to download from PMR. So, instead of downloading those plugins from PMR every time you load a new region, the client will just use your local copy. To set this up, simply move the plugins you want to use with PMR from your "SimCity 4\Plugins\" folder to the "SimCity 4\Plugins\_PMR\Plugins" folder that PMR creates. This way, PMR can access these plugins when running SimCity 4 from its working path, and you can still use these plugins when PMR isn't running (since the PMR folder is located within the standard plugins folder. This might all seem a little convoluted, but to me this sytem appears to be the best compromise so far. I suppose the client could do some of this automatically, but I know many people have their plugins folder organized a certain way, so I don't want the launcher to be messing with that stuff without the players being aware. Another small drawback is that user plugins cannot be synchronized, which may lead to some brown boxes / blank tiles when viewing other people's cities. Oh well... Let me know how it works, or if you have any questions. Thanks again! That sounds like a great idea! Here's an instant invite link, let me know it works or if you have any suggestions: https://discord.gg/ppAmeKf Awesome, glad to have you back! I just released version 1.0.0, which might be why it's throwing that notice (or it could be a small bug with the way the launcher handles user agent headers).
-
Hello everyone, I just wanted to share that another region "Basil" has been added to PMR, with 49 large tiles this time. Things have slowed down these past few months but I realized the Anise region is full and there are still many other players creating accounts, so now there are more free tiles. Also, if you claimed a tile in Anise you can still claim one more tile in Basil. I'm also working on polishing the server software so that other people can run it on their own servers (private regions etc) -- expect updates soon!
-
Yes, I’ve noticed this as well. It seems that RCI demand is fluctuating very widely because of the region’s explosive growth. (Adding thousands of CO$$$ jobs in one city can destroy demand for that in another city) I’ve been toying with the idea of overriding the default RCI mechanism to make it less volatile, while still responding to regionwide trends. What do you all think?
-
It's been a while since I updated the server software, so here goes. One of the many perks of tying SC4 cities to a database is that you can attach metadata to saves very easily. In this case, I have added the capability to log RCI populations with each save. I also retroactively grabbed these values from previous saves, allowing me to construct this quick population graph of the Anise region: So far only aggregated RCI populations are saved. However, I should be able to break things down to the $/$$/$$$ level, which should allow for some interesting statistics (maybe even a way to calculate regional GDP). P.S. Anise broke through more than 1,000,000 sims today, woo!
-
When exiting the PMR main window, clicking out the 'x' I also get an error message. Maybe needs an 'exit to system' subroutine and an 'Exit' button? This is a known issue, and seems to be caused by one of the launcher’s threads not closing properly on disconnect. This is perfectly harmless (since you’re already disconnected at this point), but I am definitely working to fix this for the next release. This also seems to be a bug: the launcher copies new plugins on top of each other instead of clearing the folder when a new version of the plugin pack is loaded. Just as with the first one, this is pretty harmless since duplicates don’t really change the behavior. However this is also planned to be fixed by next release. Glad to hear that! Since activity seems to be stabilizing with just under half of the region tiles claimed, I will probably increase the claims limit to 2 tiles/player soon. Will keep everyone posted.
-
Yep. Here's an extreme case from Quince, a city in PMR. This was taken when the city was completely new and without any significant jobs or population (so all traffic is just passing through): (Side note: Check out those starting RCI values! That's what you get in a diverse region of >100k) You bring up a good point about other modes of transport, and how sims generally avoid skipping tiles with those. It might have to do with the simulator's time cost -- I don't have the values on me, but I remember reading somewhere that very long ferry distances don't translate to particularly long commute times in-game. But the SC4 traffic simulator workings are still quite mysterious to me so I can't say for sure. Yes, I noticed this could certainly be an interesting feature of multiplayer SC4! I wonder if these can be set permanently if both neighbors agree to the same mayor deal and save around the same time (so the deal is reflected across both tiles).
-
Wow, amazing work! I didn't even know those properties existed in the game -- I had always assumed the reconcile tool could never be tamed. I've included your mod in the PMR plugin set, so everybody should be getting it the next time they sync. (I also included attribution to you in the Credits.txt file that is packed with the plugins). Thanks again!
-
Hey everyone! I just wanted to let you all know that I updated the plugins for the Anise region. I just added the NAM Traffic Simulator (set to the default Maxis-like values) and NAM data views since they fix a lot of gameplay issues without changing things too wildly. I want to add more NAM components eventually, but they are quite hefty in terms of filesize (the controller alone is about 80 MB) so I'll have to see about that. Let me know if there are technical issues with these new plugins. (There's no need to worry about irreversible damage, since every save can be rolled back on PMR) Glad you hear you're enjoying everything! Once Anise gets close to filling up, I'll probably add another region. The claim limit is only per-region, so if a new region were to open, you could claim another tile on that one as well. Speaking of which, I might make some modifications to the claims system, or even expand the number of tiles per player. This is all still a work in progress though, so I can't promise much yet. I'll keep you all posted though! Great points here. I, too, can't wait to see what we uncover
-
Wow, that looks really amazing! Kudos to all of you skilled mayors. I'll finally get started with my Quince tile tonight, ha-ha. That was my line of thinking as well. I also like that this solution allows for experimenting with your offline saves -- you can log out of the PMR launcher and make edits to your city that will be reverted, like a sandbox of sorts. I'm always open to hear what others think, though. The underwater ferry connectors are used to bridge ferry routes across all-water tiles. Sims will actually take the ferry across many tiles to find a job, provided that there is a continuous route connecting the residential and commercial/industrial tiles. However, ferry terminals must be placed in every connecting tile for the line to continue running. In some tiles (such as all-water ones) it is impossible to place a ferry terminal so the line is broken. With the underwater ferry connectors, however, the lines can be bridged across these all-water tiles. Here's what that looks like (the connections actually work and carry sims across all those tiles!)
-
Yep, I believe that's what's going on here. If anyone else is still skeptical they can certainly look at the source code and build it themselves (https://github.com/cizmic/pmr-client) I assure you, the only non-friendly thing here is SC4 and its pesky launch behavior!
-
Hi everyone, I just pushed Release Candidate 4 of the launcher to the STEX (Direct link to GitHub download here). I normally wouldn't bump the thread for this, but this is a pretty important update. Please update to RC4, even if you haven't experienced issues yet. There seems to be a bug with the threading mechanism in previous versions that would stop the launcher from working after running for a certain amount of time. RC4 completely fixes this issue and consolidates all of the recent hotfixes. Thanks!
-
Congrats on being the first populated tile! Since PMR is pretty new the region hasn't really had the chance to develop. I expect that we'll see more activity as the launcher rolls out smoothly to other players and becomes more well-known. I might also increase the number of tiles a player can claim so the region develops more quickly. I just connected to check things out, and it look likes your claim is all confirmed. Can't wait to see what you build!
-
Glad to hear it worked on your end, I checked the database and your saves went through without a problem! Completely agree. I think that SimCity 4 is just too picky with the launch flags to always open correctly on every machine, so I’ll just bundle some sort of explanatory guide with the launcher. That way, even if SC4 doesn’t open correctly on its own the users can still configure it manually as you did. Thanks again for your patience and helpful feedback; I’m glad we were able to get the launcher working again
-
That's correct! I just tested out the launcher on a non-DRM version of SC4 (which should behave closer to the GOG version) and it seems to work. I think you were right about needing a proper setup, so I bundled the latest hotfix into an installer. You can get it from https://github.com/cizmic/pmr-client/releases/download/rc3/launcher-rc3-hotfix4.zip (To be extra sure, I suppose you could delete the "SimCity 4\PMR Launcher" directory before running it so everything is 100% fresh) Hopefully the SC4 opening will work this time! If not, at least we know that the flags need to be escaped in a certain way before SC4 will even let itself launch. Even if we can't call the SC4 process directly, I could always explore some other methods (such as launching from an autogenerated batch file or shortcut as I described earlier).
