Welcome to MonJoomla forum board.

adding on winning credits.... not working

adding on winning credits.... not working

hi!

I've played the slot but everytime I've get pairs it doesn’t add to my credit?
my settingsdeduct = -1
2x = 2
3x = 100
4x = 500

I tried to put (+) sign on the points but it doesn't work also?

lgathana
useravatar
Offline
1 Posts
User info in posts
Administrator has disabled public posting

Re: adding on winning credits.... not working

Hi

This is weird, just test it here and it work great

Check if the Rules (MJ Slots Win 2X)  is publish

If everything seem to you perfect, send me a url and a test user (use the personal message)

Let me know

Bill

Thanks for your support

If you like my Joomla apps, please help support them with a review here:
http://extensions.joomla.org/

Thank you!

lebill
useravatar
Offline
1761 Posts
User info in posts
Administrator has disabled public posting

Re: adding on winning credits.... not working

the same problem here. It reduce the amount, but when i win some points, it doesn't increase my amount.

Sorry, problem allready solved.
It was in my options.

Just don't put any max. points to your users.

gayco
useravatar
Offline
1 Posts
User info in posts
Administrator has disabled public posting

Re: adding on winning credits.... not working

Hi there,

I have the same issue, but I absolutely need to have a max points per day (setted up at 644/days).

Here the config :
Play : -15
X2 : +15
X3 : +20
JACKPOT : +100

When you play, it deducts well but when you win, you lose the points or when you quit the slot machine, if you have won 15, 20 or 100 it isn't counted in your points number...
Could you help me ?

coo
useravatar
Offline
5 Posts
User info in posts
Administrator has disabled public posting

Re: adding on winning credits.... not working

Hello

If you need to have max point per day, dont give to much money on the win.

First your 2x is to high, max +5.

Also to do a good job if you need to have a limit you will need to do some modification in the game. This game is pure random, you never know when you won and we don;t have any control of the winning (pure luck)

Thanks

Thanks for your support

If you like my Joomla apps, please help support them with a review here:
http://extensions.joomla.org/

Thank you!

lebill
useravatar
Offline
1761 Posts
User info in posts
Administrator has disabled public posting

Re: adding on winning credits.... not working

Hello Lebill,
Look, I changed it that way :

Play : -10
X2 : 2
X3 : 15
X4 : 100

Effectively, it's better this way, but the problem is that on JomSocial you win a lot of points when you do actions and I am sure my future users will spend a lot of time commenting, sharing, creating groups etc... is there a way to show a message like the "Not enough points" and disable the spin button like you do when you have reached the max points per day ?

Thank you smile

coo
useravatar
Offline
5 Posts
User info in posts
Administrator has disabled public posting

Re: adding on winning credits.... not working

Hello

Yes you can do that, it's pure javascript, and only one file to play with.

If the chips is higher then 644, you display a alert with a message.

Regards

Thanks for your support

If you like my Joomla apps, please help support them with a review here:
http://extensions.joomla.org/

Thank you!

lebill
useravatar
Offline
1761 Posts
User info in posts
Administrator has disabled public posting

Re: adding on winning credits.... not working

Lebill, could I abuse you sweetness, could you write me what I have to put exactly and in which file ?
I assume I am a total shit in coding things, and so, I'd need help from you, mostly that your module is purely awesome...
Considerring I use AlphaUserPoints instead of the Jomsocial's Karma...
Thanks in advance !

coo
useravatar
Offline
5 Posts
User info in posts
Administrator has disabled public posting

Re: adding on winning credits.... not working

Well, If don;t know javascript it's useless I tell you what to do, sorry

because to do something like that you need to test it and adjust, it's easy to add the code, but not easy to make it work without any error.

But...

this is the file you need to modify

/modules/mod_mj_slots/assets/js/mj_slots.js

at line 492 you have this

Code:

this.myPoints = jsonObj.points;

replace with that

Code:

this.myPoints = jsonObj.points;

                                                if(jsonObj.points >= 644) {
                                                      alert("you have reach the limit of points");
                                                      this.myPoints = 0;
                                                }

I cannot help you more, and I didn;t test it and I cannot test it for you sorry. But if you show this to a person who knows little javascript he or she will understand what to do

regards

Thanks for your support

If you like my Joomla apps, please help support them with a review here:
http://extensions.joomla.org/

Thank you!

lebill
useravatar
Offline
1761 Posts
User info in posts
Administrator has disabled public posting

Re: adding on winning credits.... not working

Thank you for this, even if it doesn't work, I'll sort it out if I find someone wink
Thanks again for your patience

coo
useravatar
Offline
5 Posts
User info in posts
Administrator has disabled public posting

Board Info

Board Stats:
 
Total Topics:
850
Total Polls:
0
Total Posts:
167772694
Posts this week:
20
User Info:
 
Total Users:
4503
Newest User:
richardhallick
Members Online:
0
Guests Online:
413

Online: 
There are no members online

Forum Legend:

 Topic
 New
 Locked
 Sticky
 Active
 New/Active
 New/Locked
 New Sticky
 Locked/Active
 Active/Sticky
 Sticky/Locked
 Sticky/Active/Locked