Joomla Gaming

The Gaming extensions for Joomla!

  • Increase font size
  • Default font size
  • Decrease font size
Home Forum
Welcome, Guest
Username Password: Remember me

Modify the new flash game of the variables.
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

TOPIC: Modify the new flash game of the variables.

Modify the new flash game of the variables. 1 year, 11 months ago #1662

  • barret
  • OFFLINE
  • Senior Boarder
  • Posts: 71
  • Points: 4989
I modify the new flash game only two variables. (gcasino & gmoney)

But there is no POST "enscore" this variable.

The game playing with no problem.


There will be problems?




The normal flash game settings::



if(yy.savescore==1){
if(ipb_score==undefined){
ipb_score=eval(_global.ipb_scoreVar);
}

xx=newLoadVars();

xx.gcasino=_global.ipb_get_gname();
xx.gmoney=ipb_score;
xx.enscore=(ipb_score*yy.randchar)*yy.randchar2;

xx.send("index.php?autocom=casino&do=savescore","self","POST");
stop();
}



The new flash game settings:


var gcasino="XXXX"
var gmoney=_root.cash

getURL ("index.php?autocom=casino&do=savescore", "_self", "POST");





cashout.php:

function submit($Itemid=0) {

$livesite = getPath('live_site');
// grab parameters
$gscore_real = ($_POST['gmoney']);
$gscore = ($_POST['enscore']);
$gname = ($_POST['gcasino']);

Re: Modify the new flash game of the variables. 1 year, 11 months ago #1663

  • Vanama
  • OFFLINE
  • Administrator
  • Posts: 712
  • Points: 5063069
enscore is needed for security. Without this cheaters can cashout any points without playing game.
Like You My Extensions? Please donate.
Please vote my extensions here. Thanks!

Re: Modify the new flash game of the variables. 1 year, 11 months ago #1664

  • barret
  • OFFLINE
  • Senior Boarder
  • Posts: 71
  • Points: 4989
Many games can only change two variables.

As long as the game fun like.

Increase the POINTS on my site is allowed.(Fun new game > Points)

So I can add a lot of new games.

At present I have 93 games in the JG.

Thank you for your reply.
Last Edit: 1 year, 11 months ago by barret.

Re: Modify the new flash game of the variables. 1 year, 11 months ago #1665

  • barret
  • OFFLINE
  • Senior Boarder
  • Posts: 71
  • Points: 4989
Is there any way I can cashout.php added security. (only two variables)


$enscore = ( isset($HTTP_POST_VARS['enscore']) ) ? true : false;

.......................
Last Edit: 1 year, 11 months ago by barret.

Re: Modify the new flash game of the variables. 1 year, 11 months ago #1676

  • barret
  • OFFLINE
  • Senior Boarder
  • Posts: 71
  • Points: 4989
barret wrote:
Many games can only change two variables.

As long as the game fun like.

Increase the POINTS on my site is allowed.(Fun new game > Points)

So I can add a lot of new games.

At present I have 93 games in the JG.

Thank you for your reply.




If it can receive two variables you can control the security.

That can add thousands of flash game.

(At present, only 68 kinds of games and the similarity is too high.)

Some people know the answer?
Last Edit: 1 year, 11 months ago by barret.

Re: Modify the new flash game of the variables. 1 year, 11 months ago #1679

  • Tinker
  • OFFLINE
  • Moderator
  • Posts: 404
  • Points: 36226
  • Casino Medal
I'm not following the point of this. If you are able to decompile/convert games You can just add the needed casino code to them.
The problem is there are only about 230 games suitable for casino use (games that have initial credit/points setting) + the possibility commercial internet casino games if you want to take that risk, though much more code edits are required to remove trackback and domain protection.

Changing the code to work with V32 arcade games, which is what it looks like your doing only makes this into a incorrectly working points based arcade.

If I'm missing something here please correct me.
Last Edit: 1 year, 11 months ago by Tinker.
  • Page:
  • 1
  • 2
Moderators: Tinker
Time to create page: 0.65 seconds