Welcome to Welcome to DNF.com™ - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars

If you are new to domains and looking to buy, sell and learn about domains then you have come to the right place. DNForum is the largest domain name community on the internet and continues to grow every day. There are over 105,000 domainers on DNForum doing everything from buying domains, selling domains, learning about domains and discussing domains. Take a minute and Register.

Register Today on DNForum IT'S FREE!

Results 1 to 4 of 4

Thread: Quick Favour!

  1. #1
    DNF Addict
    Mr.Domains's Avatar
    Join Date
    Sep 2004
    Location
    Geneva, Switz.
    Posts
    1,868
    Country

    Great Britain
    DNF$
    3,239
    Bank
    6,090
    Total DNF$
    9,329
    Donate  

    Cool Quick Favour!

    Can somebody who has an up-to-date vBulletin licence please do me a quick favour?

    Go to this page: http://www.vbulletin.org/forum/showthread.php?t=60666

    I want the "Converting Games" instructions.

    Under Converting Games, it says:

    ---

    Step 1.
    Create a blank movie clip, containing two keyframes.

    Step 2.
    On frame 1 of this blank movieclip, insert this code (not forgetting to change the gamename value to something unique - THIS PRESUMES THAT _root.score CONTAINS THE SCORE VALUE!):

    Block Disabled: Suspended or Unlicensed Members Cannot View Code.
    Step 3.
    Now, you need to let the game know when to finish the game and redirect the page. This is done by the setting of a new variable, "gameover". When _root.gameover==1, the game will end.

    Find the frame of the "Game Over" page, and add this actionscript to the frame:

    Block Disabled: Suspended or Unlicensed Members Cannot View Code.
    Save, and export the SWF movie to the appropriate place.

    ---

    Can someone please cut and paste the blocked parts for me, so I can have the code...

    Many thanks! ;-)
    Neil Hillman - Web Developer, Pixel Pusher...

  2. #2
    Bloody Hell
    Acro's Avatar
    Join Date
    Feb 2004
    Location
    USA
    Posts
    28,668
    Country

    Holy See
    DNF$
    15,591
    Bank
    0
    Total DNF$
    15,591
    Donate  
    Step 2:

    Code:
    // HERE THE ARCADE SESSION IS INITIATED
    // DON'T FORGET TO CHANGE THE GAMENAME VALUE!
    if (this.sessionstarted != 1) {
        this.arcade = new LoadVars();
        this.sessionvars = new LoadVars();
        this.arcade.gamename = "towerball";
        this.arcade.sessdo = "sessionstart";
        this.arcade.sendAndLoad("arcade.php", sessionvars, "POST");
        this.sessionstarted = 1;
    }
    
    // IF GAMEOVER=1, SUBMIT THE SCORE AND REDIRECT THE PAGE
    if (_root.gameover == 1) {
        if ((this.askpermission != 1) && (this.sessionvars.connStatus == 1)) {
            this.prequestvars = new LoadVars();
            this.pranswer = new LoadVars();
            this.prequestvars.gametime = this.sessionvars.gametime;
            this.prequestvars.fakekey = this.sessionvars.initbar;
            if (_root.score == 0) {
                this.prequestvars.score = -1;
            } else {
                this.prequestvars.score = _root.score;
            }
            this.prequestvars.id = this.sessionvars.lastid;
            this.prequestvars.sessdo = "permrequest";
            this.prequestvars.note = (this.prequestvars.id*this.prequestvars.score*this.prequestvars.fakekey);
            this.prequestvars.sendAndLoad("./arcade.php", this.pranswer, "POST");
            this.askpermission = 1;
        }
        if ((this.pranswer.validate == 1) && (this.finalsent != 1)) {
            this.burnscore = new LoadVars();
            this.burnscore.microone = this.pranswer.microone;
            this.burnscore.gametime = this.prequestvars.gametime;
            this.burnscore.id = this.prequestvars.id;
            if (_root.score == 0) {
                this.burnscore.noscore = 1;
            }
            this.burnscore.sessdo = "burn";
            this.burnscore.send("./arcade.php", "_self", "POST");
            this.finalsent = 1;
        }
    }


    ---------- Post added at 05:56 PM ---------- Previous post was at 05:54 PM ----------

    Step 3:

    Code:
    _root.gameover=1;

    DomainGang.com - Digital Entertainment for Domainers
    Acroplex - Web & Graphics
    Acro.net - My Blog

  3. #3
    DNF Addict
    Mr.Domains's Avatar
    Join Date
    Sep 2004
    Location
    Geneva, Switz.
    Posts
    1,868
    Country

    Great Britain
    DNF$
    3,239
    Bank
    6,090
    Total DNF$
    9,329
    Donate  
    Brilliant Acro! Many thanks.
    Neil Hillman - Web Developer, Pixel Pusher...

  4. #4
    Bloody Hell
    Acro's Avatar
    Join Date
    Feb 2004
    Location
    USA
    Posts
    28,668
    Country

    Holy See
    DNF$
    15,591
    Bank
    0
    Total DNF$
    15,591
    Donate  
    NP - enjoy

    DomainGang.com - Digital Entertainment for Domainers
    Acroplex - Web & Graphics
    Acro.net - My Blog

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Domain name forum recommended by Domaining.com