February 23, 2018, 07:19:44 AM

* Site Menu

Author Topic: Installing custom packages  (Read 1067 times)

0 Members and 1 Guest are viewing this topic.

Offline Turtwig

Installing custom packages
« on: July 17, 2012, 12:26:54 PM »
I've created zip containing a PNG and swf file, that I made. I added the code:

Code: [Select]
sendscore.gscore = _root.score;
sendscore.gname = "Bop_the_ICOYAR";

To a button in the small game to send the score. Yes, my score variable is attached to the root and named root. My swf and png are both named Bop_the_ICOYAR, and the zip installs properly, but when a score is sent I get the error:

An error occurred while saving score

Anyone know what I did wrong? I am using SMF 2.0.2 and SMFArcade 2.5 RC1.1D.

Thanks for any help.


It didn't work with this code either:

Code: [Select]
[code]_root.sendscore.gscore = _root.score;
_root.sendscore.gname = "Bop_the_ICOYAR";
« Last Edit: July 17, 2012, 12:32:25 PM by Turtwig »

Offline Turtwig

Re: Installing custom packages
« Reply #1 on: July 17, 2012, 01:41:13 PM »
Nvm, I put a PHP file in the package and it worked.

Offline Skhilled

  • Administrator
  • Hero Member
  • *
  • Posts: 2845
  • Attack: 160
    Defense: 155
    Attack Member
  • Gender: Male
  • Retro Gamer!
    • Doc Skillz!
Re: Installing custom packages
« Reply #2 on: July 18, 2012, 07:39:10 AM »
Certain types of arcade games need that php file to work.