Super 3D Pig Feeder
-migrated-

Wondering where the hacks are at? Register or Sign In to find out!


Wondering where the sol files are at? Register or Sign In to find out!

Super 3D Pig Feeder

-migrated-
Last Updated: 05/25/2010 01:49

Sorry, there are no badges available for this game.

Game Dscription
A first person shooter, but without the violence! That totally doesn't defeat the purpose!
Super 3D Pig Feeder Posted on: 05/14/2010 4:16pm
Quote Post
http://www.newgrounds.com/portal/view/535880

Has medals, but they are not showing up yet. Maybe somebody can check what the medals are when looking for aob's?
Re: Super 3D Pig Feeder Posted on: 05/14/2010 5:37pm
Quote Post
System Bot
Its the same game as Doom just with different graphics. There will never ever be AoBs for this.

This post was imported from an account that no longer exists!
Previous Name: phreneticus
Re: Super 3D Pig Feeder Posted on: 05/14/2010 5:39pm
Quote Post
I figured as much. Is it possible to see what medals there are in the code?

Edit: Just checked the sol to see if they had a medal array, but they don't. Well, there are two sol files, and rag could only open the one called pigfeeder, which holds values for key bindings. The other one is called doomsaves, which if i had to guess, just has save points..
Re: Super 3D Pig Feeder Posted on: 05/14/2010 5:51pm
Quote Post
System Bot
Quote from: "xycho666"
I figured as much. Is it possible to see what medals there are in the code?
//2c 25
_as3_pushstring "Obtainsaw"
//2c 26
_as3_pushstring "Something's Wrong"
//2c 27
_as3_pushstring "Piggywinner"

This post was imported from an account that no longer exists!
Previous Name: phreneticus
Re: Super 3D Pig Feeder Posted on: 05/14/2010 6:07pm
Quote Post
Hmm well piggy winner is just beat the game

Didn't manage to find the saw anywhere, must be a secret in one of the levels

Somethings wrong? not sure.
Re: Super 3D Pig Feeder Posted on: 05/15/2010 4:49pm
Quote Post
Well, I thought i found "Something's wrong", but it didn't give me the medal. On level 5, once you get to the top (the blue room before the finish) go back down a level and up one of the 3 other choices. The loop didn't repeat, just gave me a dead end.

And for the saw, I think that's on level 4 behind the yellow door. Didn't get any secrets on that level, and i couldn't find the yellow key. Although this game is so poorly made, maybe he didn't even put a yellow key in the level.
Re: Super 3D Pig Feeder Posted on: 05/17/2010 7:59pm
Quote Post
Any chance you can make a walkthrough walls or have all the keys cheat?

No luck in finding what the other two medals do, but I think if i have those it would help.

Edit: Maybe aob's to switch? I tried the one's provided, but I get numerous results to change.
Re: Super 3D Pig Feeder Posted on: 05/17/2010 8:37pm
Quote Post
System Bot
Quote from: "xycho666"
Any chance you can make a walkthrough walls or have all the keys cheat?

No luck in finding what the other two medals do, but I think if i have those it would help.

Edit: Maybe aob's to switch? I tried the one's provided, but I get numerous results to change.
Medal AoBs which actually submit something are 3 bytes long so "xx xx xx". These are only 2 bytes long so these won't submit anything.

And as I said, there won't be any AoBs, because of the games programming. Just take a look into the .swf yourself and you will see whats going on there.

This post was imported from an account that no longer exists!
Previous Name: phreneticus
Re: Super 3D Pig Feeder Posted on: 05/17/2010 9:24pm
Quote Post
Okay so I just spend around an hour learning the basics of taking the .swf file and getting sothink to work and looking around the different forms of code.

This is probably nothing, but perhaps it's something you missed?

_as3_getproperty medal_name
//46 04 01
_as3_getproperty medalClassName
//46 22 01

Two different variables there, is it possible to switch either of the numbers in there? Found this in the newgrounds Medal API, so maybe it's nothing that would be encountered in the game. I dunno.

EDIT: I was hoping to find pictures of the weapons as a sprite, but I don't see any. Then maybe we could see where that sprite is called or something.

Maybe i'm just not able to find certain things in the swf, or maybe they are not there at all. Like when the guns are placed in the level or something. Shouldn't there be code when the level is chosen saying something like "play saw at (352, 263) " ?

If anything, shouldn't it say how the medal is unlocked. Like "if touch_saw then: send medal"
Re: Super 3D Pig Feeder Posted on: 05/18/2010 5:29am
Quote Post
System Bot
Quote from: "xycho666"
This is probably nothing, but perhaps it's something you missed?

_as3_getproperty medal_name
//46 04 01
_as3_getproperty medalClassName
//46 22 01
Thats just the code to get the medals name, not to send the actual medals.

Quote from: "xycho666"
Maybe i'm just not able to find certain things in the swf, or maybe they are not there at all. Like when the guns are placed in the level or something. Shouldn't there be code when the level is chosen saying something like "play saw at (352, 263) " ?
Since I started programming in Flash, I know a bit of the language (actionscript 3). If he didn't wrote a code to tell the game where the weapons are placed, then you won't be able to change something like that.

Anyways, since you made yourself the work and looked in the .swf I'm going to have a second look. (broken image removed)

Edit: Here the medal sprites which should someday show up on NG.
(broken image removed)(broken image removed)(broken image removed)

Code: [Select]
package
{
    import com.newgrounds.*;
    import flash.display.*;
    import flash.events.*;
    import flash.text.*;
    import flash.utils.*;

    dynamic public class NewgroundsAPIMedalPopup extends MovieClip
    {
        public var medal_icon:MovieClip;
        public var myBitmapData:BitmapData;
        public var medalValueText:TextField;
        public var bitmapClass:Class;
        public var pop_delay:Timer;
        public var medal_name:String;
        public var medal_id:uint;
        public var medal_value:String;
        public var medalClassName:String;
        public var medalNameText:TextField;

        public function NewgroundsAPIMedalPopup()
        {
            addFrameScript(0, this.frame1, 9, this.frame10);
            return;
        }// end function

        function frame10()
        {
            this.medalClassName = "Medal" + this.medal_id;
            try
            {
                this.bitmapClass = Class(getDefinitionByName(this.medalClassName));
            }
            catch (e:Error)
            {
                trace("Couldn't find medal image with class name " + medalClassName + "!");
            }
            if (this.bitmapClass)
            {
                this.myBitmapData = new this.bitmapClass(0, 0);
                this.medal_icon.addChild(new Bitmap(this.myBitmapData));
            }
            this.medalNameText.text = this.medal_name;
            this.medalValueText.text = this.medal_value;
            stop();
            return;
        }// end function

        public function unlockMedal(param1:String)
        {
            var _loc_4:String = null;
            this.pop_delay.stop();
            var _loc_2:* = NewgroundsAPI.getMedals();
            var _loc_3:* = null;
            for (_loc_4 in _loc_2)
            {
               
                if (_loc_2[_loc_4].medal_name == param1)
                {
                    _loc_3 = _loc_2[_loc_4];
                    this.medal_name = _loc_3.medal_name;
                    switch(this.medal_name)
                    {
                        case "Obtainsaw":
                        {
                            this.medal_id = 0;
                            break;
                        }
                        case "Something's Wrong":
                        {
                            this.medal_id = 1;
                            break;
                        }
                        case "Piggywinner":
                        {
                            this.medal_id = 2;
                            break;
                        }
                        default:
                        {
                            break;
                        }
                    }
                    this.medal_value = _loc_3.medal_value + "pts";
                    this.pop_delay.start();
                    visible = true;
                    gotoAndPlay(2);
                    break;
                }
            }
            return;
        }// end function

        function frame1()
        {
            this.pop_delay = new Timer(3000, 1);
            this.pop_delay.addEventListener(TimerEvent.TIMER, this.endDelay);
            this.medal_name = "?????";
            this.medal_value = "???";
            NewgroundsAPI.addEventListener(NewgroundsAPI.events.MEDAL_UNLOCKED, this.medalUnlocked);
            visible = false;
            stop();
            return;
        }// end function

        public function endDelay(param1)
        {
            if (this.medal_icon.getChildAt(0))
            {
                this.medal_icon.removeChildAt(0);
            }
            gotoAndPlay(10);
            this.pop_delay.stop();
            return;
        }// end function

        public function medalUnlocked(param1:Object, param2:Object) : void
        {
            if (param1.success)
            {
                this.unlockMedal(param1.data.medal_name);
            }
            return;
        }// end function

    }
}


This post was imported from an account that no longer exists!
Previous Name: phreneticus
Re: Super 3D Pig Feeder Posted on: 05/18/2010 1:16pm
Quote Post
lol Thats funny, I was going to post pics of the medals cause I saw them when looking for sprites of the guns. We already knew the 2nd one was find the saw, the pic of the dinosaur doesn't really help any to figure out what the third medal is.

And doesn't there have to be something that places all the enemies and weapons on the map? I mean like maybe he calls a sub process before the game loads called "spawn guns/enemies" or something and were just missing it? Maybe I shouldn't have picked such a stupid game to start trying to find aob's... haha
Re: Super 3D Pig Feeder Posted on: 05/18/2010 1:26pm
Quote Post
System Bot
Quote from: "xycho666"
Maybe I shouldn't have picked such a stupid game to start trying to find aob's... haha
Definitly. :lol: I suggest you to pick the game(s) of the bytecode tutorials. Actually this was the worst game you could choose since its not even possible to hack it with AoBs.

This post was imported from an account that no longer exists!
Previous Name: phreneticus
Re: Super 3D Pig Feeder Posted on: 05/18/2010 1:29pm
Quote Post
I dunno Phren, you said medal switch was impossible with the greek and wicked game too, but KH looked to solve that one pretty easily.  :lol:  That's the reason why I posted the medal_names variables on the previous page, because it looks like that's what he switched.

Although iIm sure he pulled it from the actual game code and I think mine wont work because its just from the medal API that's implemented after the game is finished.
Re: Super 3D Pig Feeder Posted on: 05/18/2010 2:44pm
Quote Post
System Bot
Quote from: "xycho666"
I dunno Phren, you said medal switch was impossible with the greek and wicked game too, but KH looked to solve that one pretty easily. :lol:
Did you even try the method KH gave us? :lol:

This post was imported from an account that no longer exists!
Previous Name: phreneticus
Re: Super 3D Pig Feeder Posted on: 05/18/2010 2:45pm
Quote Post
I didn't, but i'd assume it was legit since he's pretty knowledgeable on what he does. Did it not work?