FM Design
Would you like to react to this message? Create an account in a few clicks or log in to continue.

IMPORTANT

FM Design is in read-only mode, please click here for more information.

Latest topics
» Forumactif Edge - Releases
by Ange Tuteur Tue 03 Sep 2019, 11:49

» GIFActif - Giphy Button for the Editor
by Ange Tuteur Wed 08 May 2019, 17:21

» Forum Closure
by Ange Tuteur Mon 01 Jan 2018, 01:28

» Chit Chat Thread
by Valoish Sun 31 Dec 2017, 19:15

» Font/Text background color.
by Valoish Sun 31 Dec 2017, 19:11

» Forumactif Messenger - Instant Message Application for Forumotion
by Wolfuryo Sun 31 Dec 2017, 18:24

» [GAME] Count to One Million!
by brandon_g Fri 29 Dec 2017, 18:58

» Post Cards
by manikbiradar Wed 20 Dec 2017, 07:50

» [GAME] Countdown from 200,000
by Valoish Wed 13 Dec 2017, 23:22

» GeekPolice Tech Support Forums - GeekPolice.net
by Dr Jay Mon 11 Dec 2017, 19:12

» Asking about some plugin for Forumotion
by Dr Jay Mon 11 Dec 2017, 19:10

» [GAME] What are you thinking right now?
by Van-Helsing Sat 09 Dec 2017, 14:51

» Widget : Similar topics
by ranbac Wed 06 Dec 2017, 18:11

» Change the Background of the Forum and put an image and how to make prefixs?
by Clement Wed 06 Dec 2017, 15:19

» Hello from Western Australia
by SarkZKalie Wed 06 Dec 2017, 05:34

Recent Tutorials
Top posting users this month

Who is online?
In total there are 27 users online :: 0 Registered, 0 Hidden and 27 Guests :: 2 Bots

None

[ View the whole list ]


Most users ever online was 515 on Tue 14 Sep 2021, 15:24

[SOLVED] my site cash idea

View previous topic View next topic Go down

_Twisted_Mods_
_Twisted_Mods_

Gender : Male
Age : 37
Posts : 36
Points : 3509
Reputation : 20
Location : USA
Language : code
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : Other
http://liquidcode.forumotion.com/

Post_Twisted_Mods_ Fri 30 Jan 2015, 02:54

well as i told u already ange i wanted to create a forum cash system for forum stores and so on .. so when you make post or new topics and such it would add cash to a profile field well as awesome as it would be i think im gonna have to give up on the idea because people could turn off script and change profile field or they could just send the post script in scratchpad and then boom they hacked there cash so im pretty much out of ideas.. unless you can think of a more secure way.. only other thing i can think of would be to ur math and letters to encypt the cash value and decyrpit it but they could still use dev tools to get the script and figure it out .. witch i dought on 90% of these forum people will be able to get past that but still
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12014
Reputation : 2375
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur Fri 30 Jan 2015, 03:29

Yeah, the only problem with doing this stuff by JavaScript is that security-wise, it's crackable by someone with the same knowledge. Take the database I'm developing for example, if you know how to use the db methods, you can pretty much add to the tables or edit your own rows.

I know that you can use hex for numbers, for example :

x30 = 0

and

x31 = 1

We can convert these to a number and add to it : Number('\x31\x30') + 10 = 20

That seems pretty useless, but it can be useful in some places.. I do have an idea, as long as everything is contained within the local scope, there shouldn't be any problems. If they have JS disabled, you still got the noscript fallback, so they wouldn't be able to manage editing it. How were you planning to use it, like spending-wise ?
_Twisted_Mods_
_Twisted_Mods_

Gender : Male
Age : 37
Posts : 36
Points : 3509
Reputation : 20
Location : USA
Language : code
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : Other
http://liquidcode.forumotion.com/

Post_Twisted_Mods_ Fri 30 Jan 2015, 06:04

probably like a html store page

and when they buy somthing it make a post in a admin topic . so the admin knows and can give them what ever they payed for and it will automatically take cash away from profile field
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12014
Reputation : 2375
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur Fri 30 Jan 2015, 17:17

So when someone posts, do you get the field value, add to it, and then post it ? Now that I think about it, if anyone knows how to use AJAX, they could just post a new value to their field. I guess the only thing you could do, would be to punish the person who hacked their money. There's not a lot of people who would do that, but that's the only thing I can think of. If it's editable by the user, there isn't much you can do. Flustered
_Twisted_Mods_
_Twisted_Mods_

Gender : Male
Age : 37
Posts : 36
Points : 3509
Reputation : 20
Location : USA
Language : code
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : Other
http://liquidcode.forumotion.com/

Post_Twisted_Mods_ Fri 30 Jan 2015, 18:03

thats y i was saying encrypt and decrypt the value  so instead of showing there money in profile field it would be like 5lkj534kl5jlk5lk witch could hidden and mean $20.00 and i just show the decrypted value on profile .. so even if they used ajax they would have to have the encrypt and decrypt code to know what value to post of it wouldn't work
brandon_g
brandon_g

Gender : Unspecified
Age : 26
Posts : 458
Points : 4048
Reputation : 67
Location : USA
Language : English
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : phpBB2
http://broadcastingduo.forumotion.com

Postbrandon_g Fri 30 Jan 2015, 18:30

I may not be following this correctly but why not just use the standard points system and re name it? Then only Admins can edit the fields. Unlees your experimenting with a new project, in which case never mind.
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12014
Reputation : 2375
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur Fri 30 Jan 2015, 19:22

_Twisted_Mods_ wrote:thats y i was saying encrypt and decrypt the value  so instead of showing there money in profile field it would be like 5lkj534kl5jlk5lk witch could hidden and mean $20.00 and i just show the decrypted value on profile .. so even if they used ajax they would have to have the encrypt and decrypt code to know what value to post of it wouldn't work

That could work, but I've never played with encryption before.. You could also store the value has hex :
Code:
var value = 0x0000FF;
value += 0x000001

If it's a string, just convert it to a number :
Code:
Number('0x0000FF')

I'm sure you'll think of something, like you always do. Mr. Green
_Twisted_Mods_
_Twisted_Mods_

Gender : Male
Age : 37
Posts : 36
Points : 3509
Reputation : 20
Location : USA
Language : code
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : Other
http://liquidcode.forumotion.com/

Post_Twisted_Mods_ Fri 30 Jan 2015, 20:06

brandon im wanting to make a new cash system kinda like the points but you will be able to donate people your cash.. that way will make it easier to have shops like for graphics, custom forum names and w/e else you wanted .. it will be like points system but with more control over it
brandon_g
brandon_g

Gender : Unspecified
Age : 26
Posts : 458
Points : 4048
Reputation : 67
Location : USA
Language : English
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : phpBB2
http://broadcastingduo.forumotion.com

Postbrandon_g Fri 30 Jan 2015, 20:17

_Twisted_Mods_ wrote:brandon im wanting to make a new cash system kinda like the points but you will be able to donate people your cash.. that way will make it easier to have shops like for graphics, custom forum names and w/e else you wanted .. it will be like points system but with more control over it

Ahh ok!
Sponsored content

PostSponsored content

View previous topic View next topic Back to top

Create an account or log in to leave a reply

You need to be a member in order to leave a reply.

Create an account

Join our community by creating a new account. It's easy!


Create a new account

Log in

Already have an account? No problem, log in here.


Log in

 
Permissions in this forum:
You cannot reply to topics in this forum