1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Mod not working?

Discussion in 'Help' started by OneQuestion1, Jan 3, 2013.

  1. OneQuestion1

    OneQuestion1 Potential Patron

    Joined:
    Dec 19, 2012
    Messages:
    28
    Likes Received:
    0
    Hello all,

    Very new to modding, and I think this should work but does not seem to do anything. The value I have is an impossibly large value that I have entered so that the change would be 100% obvious if it were used.

    Code:
    package flash
    {
        public dynamic class Main extends flash.display.MovieClip
        {
    	public function initl(l){
    		 var him = l.him; //l.eDOM.getDefinition("obj.Him");
    		 
    		 him.MAX_PENIS_SIZE = 10.000000;
    		 l.unloadMod();
    	}
        }
    }
    This is then compiled using modguy's loader compiler. Loading the mod causes nothing to happen.
     
  2. ModGuy

    ModGuy Club Regular Content Creator

    Joined:
    Feb 17, 2011
    Messages:
    1,754
    Likes Received:
    21
    Try changing the size of the penis after loading and you'll see something interesting.
    Just in case you reached this confusion through a lack of knowledge, don't guess what code does but instead read through it.
     
  3. OneQuestion1

    OneQuestion1 Potential Patron

    Joined:
    Dec 19, 2012
    Messages:
    28
    Likes Received:
    0
    No I understand what it's supposed to do, what I'm saying is that after loading it, moving the slider does nothing. Has the compiler/loader been updated in the last 2 weeks?
     
  4. ModGuy

    ModGuy Club Regular Content Creator

    Joined:
    Feb 17, 2011
    Messages:
    1,754
    Likes Received:
    21
    Huh, you're right. Never tried compiling, just the one actual line.
    That exact code produces the following note on compile:

    Code:
    putting 10.000000 at 1
    Perhaps try a less unusual value?
    I'll have a few attempts at this and I'll find the answer in a sec.

    EDIT:

    Code:
    package flash
    {
        public dynamic class Main extends flash.display.MovieClip
        {
    	public function initl(l){
    		l.him.MAX_PENIS_SIZE = 100;
    		l.unloadMod();
    	}
        }
    }
    That exact code works for me.
    Although whilst testing it I found a bug in package loading resulting in the $OVER$ folder being ignored. It's unrelated.

    EDIT2:

    Doesn't need to be AFAIK.
     
  5. OneQuestion1

    OneQuestion1 Potential Patron

    Joined:
    Dec 19, 2012
    Messages:
    28
    Likes Received:
    0
    So I was a reference too shallow by the looks of it? Thanks! Back to the grind:)
     
  6. ModGuy

    ModGuy Club Regular Content Creator

    Joined:
    Feb 17, 2011
    Messages:
    1,754
    Likes Received:
    21
    Nope, it worked fine with that too:

    Code:
    package flash
    {
        public dynamic class Main extends flash.display.MovieClip
        {
    	public function initl(l){
    		var him = l.him;
    		him.MAX_PENIS_SIZE = 30;
    		l.unloadMod();
    	}
        }
    }
    Not really sure what was causing the issue haha.
    I think the compiler just didn't like the format of your literal.
     
  7. OneQuestion1

    OneQuestion1 Potential Patron

    Joined:
    Dec 19, 2012
    Messages:
    28
    Likes Received:
    0
    Welcome to bounding boxes T^T

    Thanks for the help though
     
  8. ModGuy

    ModGuy Club Regular Content Creator

    Joined:
    Feb 17, 2011
    Messages:
    1,754
    Likes Received:
    21
    If you want rid of the mask it's easy enough:

    Code:
    him.penis.mask.visible=false
    him.penis.mask = null;
     
  9. OneQuestion1

    OneQuestion1 Potential Patron

    Joined:
    Dec 19, 2012
    Messages:
    28
    Likes Received:
    0
    I think it's a lost cause because I do not want to spend the time trying to increase her mouth size. Unless there is a way to only increase length.
     
  10. ModGuy

    ModGuy Club Regular Content Creator

    Joined:
    Feb 17, 2011
    Messages:
    1,754
    Likes Received:
    21
    Well actually there is. I don't think I have the source any more but I did this a while back.
    Let me see if I can recreate it.

    EDIT:
    Turns out Dante's mirror is still alive:

    EDIT2:

    Should probably explain. This is a PoC to show that it's possible to modify either width or length independently.
    It's not too difficult to modify this for length instead of width.

    EDIT3:

    Modify max length to some absurd number as you've already done.
    Increase length therefore obstructing the view completely.
    Reduce width making his dick spaghetti.
     
  11. OneQuestion1

    OneQuestion1 Potential Patron

    Joined:
    Dec 19, 2012
    Messages:
    28
    Likes Received:
    0
    Is there a non-compiled version? I'd like to be able to keep your button functionality to increase length if you don't mind:)