PDA

View Full Version : VBArcade mod needed.


Deimos
10-05-2004, 08:38 AM
Hello all,

I need a mod done which allows the SWF arcade game files to be called from a remote server, rather than on the local server.
Does anyone know if this can be done?

Thanks for reading.

Colin F
10-05-2004, 08:39 AM
It's just a guess, but couldn't you just add the url of the other server? This is, of course, assuming they're all on one server...

Deimos
10-05-2004, 08:42 AM
Hiya, well, I cant' find anywhere to add that URL.....
I went into the database itself and in the Arcadeconfig table, there's a field which reads "/games/", which I changed to my other host's URL, but it still loaded the games from the local server...hrm
Maybe i'm missing something :P

*edit*
In the "Games" table, each game has the following field "file", which has the name of the file itself "snake.swf" for example

But i've no idea how to make it call the file from another location other than the local server.

AN-net
10-05-2004, 08:52 AM
i believe the template would have to be edited becaus i believe the paths are preset:)

peterska2
10-05-2004, 09:04 AM
it's the template 'arcade_play'

Deimos
10-05-2004, 09:29 AM
Aye I just modified it, seems to work aok, thanks alot!

peterska2
10-05-2004, 10:45 AM
np :)

nexialys
10-05-2004, 01:16 PM
it have to be preset, because the flash file have to redirect the results of the game to the arcade.php file, and this can't be done by remote locations...

Deimos
10-05-2004, 01:49 PM
Hmm.....
I noticed scores don't submit, but what do you mean preset?

nexialys
10-05-2004, 01:53 PM
preset because the location inside the flash files is set to be sent to the exact place where the games are placed by the script... if you want to move the flash games elsewhere, you REALLY need to edit all flash games to send the result in the right place.. and if you're not a real FLASH coder, i suggest you abandon right now.. lol

or ask John at v3arcade.com for such a feature!

Deimos
10-05-2004, 04:36 PM
Blargh :(
I guess it'd still be useful if there was no leaderboard/scoreboard.

nexialys
10-05-2004, 04:54 PM
you can disable the boards by deleting their parts in the templates...