Register for your free account! | Forgot your password?

Go Back   elitepvpers > The Black Market > Other Trading > Coders Trading
You last visited: Today at 08:27

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Looking for a Coder PHP, mySQL + Javascript (need to be done today)

Discussion on Looking for a Coder PHP, mySQL + Javascript (need to be done today) within the Coders Trading forum part of the Other Trading category.

Reply
 
Old   #1

 
AT-RX's Avatar
 
elite*gold: 15
The Black Market: 106/1/0
Join Date: Jan 2012
Posts: 243
Received Thanks: 53
Looking for a Coder PHP, mySQL + Javascript (need to be done today)

Hey,


I am login for a coder of PHP, mySQL and Javascript.
I ooppen a one game website, and need register, login, deposit (deposit and withdrawls with work with .txt since python will check the deposits and write intio deposits and php writes into withdrawl and python makes the withdrawls)


Python bot is redy.

So what would be needed is a mini usersystem (they can register, login etc...) and a "Deposit" Button, if they click it then PHP gives them a random generated Code idk like 374A2 , ok then PHP saves this code to DB to the USer, if he do now the deposit (my python bot checks for it...) once it arrives then python write into deposits.txt:

code,amount
the amount is flexible but python will post exact amount the user has send.

PHP reads deposits.txt and with the code it knows OK its User X and value of currency is X (python posted how much arrived) so you put it to his balance.

with the Balance they can play the open source game.

Then if they want to withdrawl PHP will have a field: Amount + Username + Button.. they enter amount and they username PHP will write it like:

username,amount

to withdrawls.txt and python read it every minute and will send them the currency thats all.


easy easy.. the usersystem u can use any open source:

no need to code login, register nothing...

what u need is:

- generate one time Code
- PHP reads deposits.txt and add value to DB
- PHP write value to txt file and remove from DB
- PHP takes value from DB when they enter amount to bet

thats all smile emoji thats if u slow 2 hours

ANd the Javascript part:


Now I want that from the bettings 0.5% fixed stay in my cashier and 99.5% go into lets say "pot" and from there the Users wins... right now the Random Code is:
PHP Code:
// Function to determine the crash point
function getCrashPoint() {
    
** 32
    h 
crypto.getRandomValues(new Uint32Array(1))[0]
    
// if h % (100 / desired_precentage) is 0 then the game will crash immediately
    
if (33 == 0) return 1
    
return Math.floor((100 h) / (h)) / 100


so it should be take 0.5% away from amount that users are playing in the round and 99.5% are payout random (dont means that every game must pay out 99.5% no,.. it can be every 10.000 game and give 1 user very high win but it should can come with low pot or with middle pot or with high pot.


Discord: YT_Rotrox#8328
AT-RX is offline  
Reply


Similar Threads Similar Threads
Looking for Coder CURL / HTML /PHP /Javascript
09/20/2016 - Coders Trading - 0 Replies
German and English Possible. Looking for an coder to fix something on my API.
Done Done Done
01/17/2016 - Trading - 3 Replies
Done Done Done Done :mofo:
[B] Webapps mit HTML5, CSS3, JavaScript (+ jQuery ), PHP und MySQL [S] PayPal, PSC
02/04/2013 - Coders Trading - 5 Replies
Hey, Biete: Webapps mit HTML5, CSS3, JavaScript (+ jQuery ), PHP und MySQL. Kosten:
[PHP/Mysql/Javascript] Buch?
02/06/2011 - Web Development - 3 Replies
huhu da ich meine kenntnisse mit php / msyql und javascript etwas erweitern möchte habe ich beschlossen mir ein oder 2 bücher zu kaufen. Und wollte euch mal Fragen mit welchen büchern ihr gute erfahrungen hattet bzw habt. Am liebsten ein buch das etwas auf Homepagen oder registry für games / hps usw. eingeht hoffe ihr versteht die richtung die ich suche.^^ wen nicht fragt mich nochmal.^^ hoffe auf viele Antworten. Mfg Gamer



All times are GMT +1. The time now is 08:28.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.