Jump to content
simmaster07

Revisiting Prop Pox and Prop Theory

98 posts in this topic Last Reply

Highlighted Posts

1 hour ago, monkeywater said:
On 19/01/2018 at 1:01 PM, simmaster07 said:

will probably cause memory to leak when you save the game.

huh?

According to one definition, it's related to system memory:
 

Quote

Memory Leak

"A bug in a program that prevents it from freeing up memory that it no longer needs. As a result, the program grabs more and more memory until it finally crashes because there is no more memory left."

Source: https://www.webopedia.com/TERM/M/memory_leak.html

 

But seeing as @simmaster07 has patched up the leaks in the 1.0.7 stable release of SC4Fix, it's no longer a cause for concern. This updated DLL still contains the aforementioned fix for Prop Pox, just is no longer deemed an "experimental" version release recommended for testing only.

As explained here:

On 21/01/2018 at 5:21 AM, simmaster07 said:

Thanks for the feedback and kind words, everyone. I just fixed the experimental DLL leaking memory on every save — it was a small amount, maybe 1-2MB each time, but I wanted to fix it before marking this as stable.

*;)

Share this post


Link to post
Share on other sites
1 hour ago, RandyE said:

Actually I stand corrected it was known a bit longer than 2 years ago, and its about as simple as programming an introductory 'hello world' program in BASIC.

 

http://www.simpeg.xyz/

Well, well, well, either they exploited the name or this is where pop pox buddy moved on to.   I think 'pop' pox is an appropriate typo, but just to be a stickler for accuracy, that is, 'prop pox'.

Well I'm not really sure what you mean when you say it was "already known," but Simpeg has been down for several years now (see link) and I'm not entirely sure what you're getting at.

Share this post


Link to post
Share on other sites

A DAT file won't fix Prop Pox since fixing Prop Pox requires writing new game code (in C++) to fix the problem. A DAT file can't contain executable code except in very few rare circumstances (Even then, they're still DLL files, they're just inside a DAT). DATs can contain LUA scripts, but LUA can't fix Prop Pox.

I would go over the extensive history regarding Pegasus and Prop Pox, but it involved inter-site drama. IIRC, that's not permitted on here.

Suffice it to say, Pegasus did absolutely nothing to prevent Prop Pox and made no effort to fix it or prevent its spread.

 

Still, it's awesome that it's now fixed!

Share this post


Link to post
Share on other sites
2 hours ago, jdenm8 said:

A DAT file can't contain executable code except in very few rare circumstances (Even then, they're still DLL files, they're just inside a DAT).

The wording above is a bit confusing if not intentionally.  The SC4 community and the freeware generated within it is reliable within reasonable standards as can be expected on public network media, and sometimes even exceptionally, but to keep it clear for those who are not very experienced with using freeware or open source,

Loading a DLL can be a high security risk, and that's important to know, again caution should always be taken when approaching the use of any software, especially freeware

Normally a community of gamer/hackers would be exceedingly 'protective' of member's/user's free and safe use of their hobby work.   Its part of the 'honor' system that ST and the SC4 community operates by.   As for Pegasus, and the reason for abandoning the problem,

2 hours ago, jdenm8 said:

Pegasus did absolutely nothing to prevent Prop Pox and made no effort to fix it or prevent its spread

That may be true, but there may be mitigating circumstances by which the project had to be abandoned. 

2 hours ago, jdenm8 said:

Still, it's awesome that it's now fixed!

It seems so.  I often wondered why I never encountered prop pox.  I have used a wide variety and volume of user created content, including PEGPROD over 2 years and never a hint of anything akin to prop pox.

 

Just to make it clear that my assertion regarding prop pox is that it has been a known as to what the process is for quite awhile.  A fix for it may not have been developed until now.  If the fix requires loading a DLL then so it is, and so the community will ensure its healthy reputation.

Share this post


Link to post
Share on other sites

Where was I the last few days that I missed this? 

Absolutely incredible. Nothing short of amazing. I'm not sure how Peg would feel about this but I feel a bit sad he's not around to hear that regardless of whether he thought his files were responsible for the problem, it's now been fixed for good!

Anyways, thanks so much for this. I've never had prop pox AFAIK, even when I had the BDK in my plugins, but to never have to worry about again? Well, I can't thank you enough for that peace of mind.

Share this post


Link to post
Share on other sites
4 hours ago, RandyE said:

 I often wondered why I never encountered prop pox.  I have used a wide variety and volume of user created content, including PEGPROD over 2 years and never a hint of anything akin to prop pox

Simple. You won't unless you're using a pre-2009 version of a number of Prop Packs (most of which were fixed, then later combined into mega packs), a few packs that were no longer available in 2009, or the BDK Prop Pack mentioned. Which is still available, still causes Prop Pox without this patch, and carried no warning of that for many years.

For Prop Pox to happen, you basically need to fill an entire large city tile with lots with lots of props. Most people don't have this happen so they don't see the issue. I've only had it happen twice myself.

Share this post


Link to post
Share on other sites

Now, retrospectively speaking, we have to be thankful to the pox for a beautiful side effect: MMP painting wouldn't have been a thing if pro CJers could simply use nice lots with many props on them. The extra difficulty of painting a city with really small flora was a hard threshold, and only the risk of losing the whole city could sway the players through it.

 

Oh, and Randy: relax! This isn't the moment to blame or to fear, but to fix long-dusted cities and play. If you are still doubtful about the fix, the source code is available for you to check it line by line. And yes, we all had an idea about what could be causing the pox, but until this development, nobody had the means to prove it, nor the adequate insight to find the specific coding error causing it. It doesn't matter who resolved it or when, it is resolved by now, modified props are safe to use now (be them by Peg or Vortext or Barby or whoever). Just go along with the joy!

Share this post


Link to post
Share on other sites

Wow, this is amazing, as said earlier by others this needs a spot light on the page, as for the functionality of a modded game it is extremely important, some of my earlier city journals were hit by the prop pox, and thankfully now we have the "vaccine". Man, just imagine the other things we can do! Great work simmaster!

Share this post


Link to post
Share on other sites
42 minutes ago, matias93 said:

Oh, and Randy: relax!

I use @simmaster07 's Extra Cheats DLL (SievertBeGone), and especially the Real Upgrade City Halls, so its important to me as well as anyone else using these that the community can reasonably support the quality and security of this member's work as it does involve deeper programming than messing with some exemplars in iReader.   Now the community has rationally and reasonably given sufficient support for the material.  

Thank-you everybody.  

Its nothing of blame or fear, its just normal security and quality control measures.  So now anybody reading this thread can get a good idea about Prop Pox and why the community is so ecstatic over this fix.  Its also helps all members with using free user created content on ST, and anyone may decide freely for themselves which material they want to use or not. 

Share this post


Link to post
Share on other sites

On this IT stuff it's always the same. If you don't understand one thing - all the rest after this point you won't understand neither.

So what I did understand:

He did it again. Simmaster07 inhaled an overdose of kryptonite and did the impossible. 

He faced evil Mr. Proppox in a dark alley and when evil Mr. Propox tried to burn Simmaster07 with his burning laser eyes - with a quick lucky punch, Simmaster07 beat evil Mr. Propox down and made Simmunity free of this despot.

Sounds like a fictional story?

To me too. But this time, folks, it's real.

I'm throwing my hat. And repeat it three times like once ago it was good habbit:

Vivat! Vivat! Vivat!

 

Share this post


Link to post
Share on other sites

Have I been living under a rock or what?? I'm gone for several weeks and they come up with the cure for that dreaded plague??

I have been lucky enough not to see prop pox in any of my cities, but this is fantastic! Last year I made the decision not to use the BDK lots as they were said to be the cause of it. And not only is this a permanent fix, but it reverses the pox too!

Instant download! And I propose we make this an essential one every user should have! While we're at it, Simmaster07 should be declared a Simtropolis Hero for the fix!

Share this post


Link to post
Share on other sites

I can't find the old SC4Devotion thread that listed all of the known lots that have been confirmed to cause Prop Pox, but more importantly with this breakthrough fix can we now disregard that list and once again safely use those flagged lots freely as long as we have the fix installed?

There is one particular building on that list I'd want to use in my cities again that I regrettably had to remove from my plugins folder to avoid the Pox back in the day, the Madison Square Gardens pack.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an Account  

Sign up to join our friendly community. It's easy!  

Register a New Account

Sign In  

Already have an account? Sign in here.

Sign In Now


  • Similar Content

    • By etg-nc2nyc
      My apologies if this has been covered - I've searched extensively and can't find the answer and would like some help, please. 
      All of the trees and MMPs have disappeared from my latest city. I gather this is a result of "prop pox." So I read each of the following carefully: 
      https://community.simtropolis.com/forums/topic/74667-revisiting-prop-pox-and-prop-theory/
      https://community.simtropolis.com/files/file/32047-sc4macinjector-a-dynamic-code-plugin-loader-for-mac/
      https://community.simtropolis.com/files/file/30883-sc4fix-third-party-patches-for-sc4/
      https://community.simtropolis.com/forums/topic/70495-game-framework-compatible-dll-loading-and-other-modding-discoveries/
      I downloaded the sc4macinjector and ran it. All seems unchanged - no harm done. (I backed up plugins and regions just in case.)
      I downloaded sc4fix - which seems to be doing wonders for our Windows friends - YAY!!! It is a .dll file. I have no clue what to do with it. My VERY basic computer knowledge is that .dll files can't run on Mac. Regarding the sc4macinjector it says the following on its page:
      "What does this do
      SC4MacInjector allows the Mac equivalent of .dll mods to be loaded on Aspyr's port of SimCity 4 for Intel Macs.
      Note: you will not be able to use Windows .dll mods directly. They need to be targeted specifically for Macs as .so files."
      OK. I comprehend those words, but haven't a clue as to what that means in action - or if there is something I can do to target a .dll file as an .so file. <insert very confused llama, perhaps >
      1. Do I actually have prop pox? Have I made the correct assumption that the pox caused my MMPs and props on small residentials to disappear?
      2. Can someone guide on what, if anything, there is to be done about it? I feel clueless and in way over my head from a technological standpoint. Like... I understand technology better than your 90 year old grandma who just made you those amazing cookies*, but ... sometimes... not much.
      *A hypothetical grandma. Now I want cookies.
    • By simmaster07
      What does this do
      Fixes a serialization bug that could corrupt the savegame, particularly when mods are installed that modify existing exemplars (i.e. prop pox). Resolves a crash-to-desktop when hovering NAM puzzle pieces over transit-enabled lots. Allows other DLLs to load into SC4's memory without a GZCOM framework. Requirements
      This fix is made for versions 640 and 641 of SimCity 4 on Windows. Version 640 is a fully-patched SC4 retail copy, and version 641 is a fully-patched digital distribution version (i.e. Steam, Origin, GOG). Although v641 is supported, it has only been officially tested on Steam.
      Installation
      Unzip to Documents\SimCity 4\Plugins.
      To see if SC4Fix is working properly, check the title of your game window. If you are playing in fullscreen mode, alt-tab out and hover over the SimCity taskbar icon. The titlebar will show "SC4Fix (version #)" if loaded properly.
      Repairing cities already affected by prop pox
      Thanks to kingofsimcity for these instructions:
      In the region view, open the graphics settings and change City Detail to Low. Close and relaunch SC4. Open the offending city tile and save immediately. Exit to region without saving and change City Detail back to High. Close and relaunch SC4. Open the offending city tile and save again. Demonstration
      Click here for a video showing the ability to hover puzzle pieces over transit-enabled lots with this DLL.
      Development Thread and Source Code
      Development Thread
      Source Code
    • By Tyberius06
      Hi!
      1. So I ran into a little problem after a longer hiatus from the game. I started to change a coulple of lot which were redone during the last couple of months, when I so the phenomena on the first picture. The diagonal roads which has any plopped item next to it reverts US style double yellow line road instead of the white dashed  european stlye, which is my NAM setting. The funny thing is, that the zones are not affecting to the road, only the plopables. My question is: could it be a NAM issue OR maybe one of @rsc204 or @rivit mod does this. I'm using NAM 36 with rsc/mgb204's No Grass NAM (NGN), with the Side Walk NAM 1.0 PSS (SWN) and rivit's Tarsealed Streets and the latest RUM for RRW v5. I used the same mods before NAM36 and I didn't experience any problem like this.
      2. I ran into this problem now I think the 2nd or 3rd times (first was sometimes end of summer, than today now 2 times.) I have a back-up from 8th october, and I didn't have any problem with that save file, however when I started to play and saved the city and quit, I don't know what happened, but the SC4 Save says I have Prop Pox. It used to come out (with a different map) when my save file reached the 12-ish MB, but now my save file is 43,2 MB and when I save the city it drops back to 42 MB, and the props from the right side of the map are completely wiped out. I brought back the file from the back up and import it into the map replacing the "damaged" file, but after little modification and saving the city I got the same result. It can't be the typical Prop Pox, since I don't have the BDK kit, and never was non of my cities, since I started to play with this map, and I don't remember I've ever met with this offset buffer error, but I don't really remeber either what is the standard prop pox error message. And the funny thing, that I don't have disabled props... So what the...?
      Any help or advise would be appreciated! 
      Thanks in advance!
      - Tyberius
    • By nRVOUS
      its only in one tile so should I wipe It and just move on to another region or do more? So far i deleted all my peg lots since they seem to be considered a problem so should I do anything else?
    • By TekindusT
      I've read a bit about prop pox at SC4D and one thing is sure: this picture got me very worried:




      As you may see, I lack a bunch of props of that side of the city. In this moment, it seems to be the only "poxed" district, but I'm truly afraid of a pox expansion to other places. It is my capital city and the last thing I want is to lose it.

      What can I do? Is any way to fix this? Can I avoid the expansion? Should I keep playing with this city? Please, help me.

      Some useful data about the city:
      - About a 85-90% of its landmass has been constructed.
      - My game is fully updated.
      - This city file size is 9.43 MB.
  • Recently Browsing   0 members

    No registered users viewing this page.

×

Thank You for the Continued Support!

Simtropolis relies mainly on member donations to continue operating. Without your support, we just would not be able to be entering our 15th year online!  You've really help make this a great community.

But we still need your support to stay online. If you're able to, please consider a donation to help us stay up and running, so that we can help keep bringing SimCity players together to share our creations.

Make a Donation, Get a Gift!

Expand your city with the best from the Simtropolis Echange.
Make a donation and get one or all three discs today!

stexcollection-header.png

By way of a "Thank You" gift, we'd like to send you our STEX Collector's DVD. It's some of the best buildings, lots, maps and mods collected for you over the years. Check out the STEX Collections for more info.

Each donation helps keep Simtropolis online, open and free!

Thank you for reading and enjoy the site!

More About STEX Collections