d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Looking For A Design/graph With Php
123Next
Add Reply New Topic New Poll
Member
Posts: 30,168
Joined: Jun 10 2010
Gold: 1,157.00
Jul 24 2015 02:12pm
Im not the best with php, I have googled alot.

I have found something I REALLY like which is called

jpgraph, but its too complicated for me...

I would like to turn



into something like this



Will pay fg :D

Must be dynamic. It has to be able to use a default picture than change the bar and chara,acc,time etc dynamic by a file


This post was edited by CyberGod on Jul 24 2015 02:12pm
Member
Posts: 5,167
Joined: Nov 23 2006
Gold: 11.01
Jul 24 2015 03:58pm
You could use javascript/jquery for the bar loading dynamically. Essentially you'd just be changing a % of the background from left to right to green. I'm not sure what that response is from?
Member
Posts: 30,168
Joined: Jun 10 2010
Gold: 1,157.00
Jul 24 2015 04:17pm
Quote (HoneyBadger @ Jul 24 2015 05:58pm)
You could use javascript/jquery for the bar loading dynamically. Essentially you'd just be changing a % of the background from left to right to green. I'm not sure what that response is from?


the precents must be their EXP out of

totalExp: [0, 0, 500, 1500, 3750, 7875, 14175, 22680, 32886, 44396, 57715, 72144, 90180, 112725, 140906, 176132, 220165, 275207, 344008, 430010, 537513, 671891, 839864, 1049830, 1312287, 1640359, 2050449, 2563061, 3203826, 3902260, 4663553, 5493363, 6397855, 7383752, 8458379, 9629723, 10906488, 12298162, 13815086, 15468534, 17270791, 19235252, 21376515, 23710491, 26254525, 29027522, 32050088, 35344686, 38935798, 42850109, 47116709, 51767302, 56836449, 62361819, 68384473, 74949165, 82104680, 89904191, 98405658, 107672256, 117772849, 128782495, 140783010, 153863570, 168121381, 183662396, 200602101, 219066380, 239192444, 261129853, 285041630, 311105466, 339515048, 370481492, 404234916, 441026148, 481128591, 524840254, 572485967, 624419793, 681027665, 742730244, 809986056, 883294891, 963201521, 1050299747, 1145236814, 1248718217, 1361512946, 1484459201, 1618470619, 1764543065, 1923762030, 2097310703, 2286478756, 2492671933, 2717422497, 2962400612, 3229426756, 3520485254, 0, 0],
nextExp: [0, 500, 1000, 2250, 4125, 6300, 8505, 10206, 11510, 13319, 14429, 18036, 22545, 28181, 35226, 44033, 55042, 68801, 86002, 107503, 134378, 167973, 209966, 262457, 328072, 410090, 512612, 640765, 698434, 761293, 829810, 904492, 985897, 1074627, 1171344, 1276765, 1391674, 1516924, 1653448, 1802257, 1964461, 2141263, 2333976, 2544034, 2772997, 3022566, 3294598, 3591112, 3914311, 4266600, 4650593, 5069147, 5525370, 6022654, 6564692, 7155515, 7799511, 8501467, 9266598, 10100593, 11009646, 12000515, 13080560, 14257811, 15541015, 16939705, 18464279, 20126064, 21937409, 23911777, 26063836, 28409582, 30966444, 33753424, 36791232, 40102443, 43711663, 47645713, 51933826, 56607872, 61702579, 67255812, 73308835, 79906630, 87098226, 94937067, 103481403, 112794729, 122946255, 134011418, 146072446, 159218965, 173548673, 189168053, 206193177, 224750564, 244978115, 267026144, 291058498, 0, 0],


which ever lvl they are at
Member
Posts: 20,190
Joined: Apr 7 2007
Gold: 425.00
Jul 27 2015 09:21pm
hello brother cyber
Member
Posts: 30,168
Joined: Jun 10 2010
Gold: 1,157.00
Jul 28 2015 07:14am
Quote (Cyb3R @ Jul 27 2015 11:21pm)
hello brother cyber


Hello.
I hate php..

Still willing to pay for this...

IDC how you do it just be able to read some stats from files and make an output.

Member
Posts: 29,723
Joined: Jun 11 2007
Gold: 279.52
Jul 28 2015 02:07pm
where is the file located?
Member
Posts: 30,168
Joined: Jun 10 2010
Gold: 1,157.00
Jul 28 2015 02:14pm
Quote (AkuuZ @ Jul 28 2015 04:07pm)
where is the file located?


its going to be located on a webserver

solitems.com/cyber/games/(somethinghere)
Member
Posts: 29,723
Joined: Jun 11 2007
Gold: 279.52
Jul 29 2015 02:03pm
Quote (CyberGod @ Jul 28 2015 08:14pm)
its going to be located on a webserver

solitems.com/cyber/games/(somethinghere)


is it a database or just a text file?

if its just a text file, just use javascript, you dont need php
Member
Posts: 30,168
Joined: Jun 10 2010
Gold: 1,157.00
Jul 29 2015 02:03pm
Quote (AkuuZ @ Jul 29 2015 04:03pm)
is it a database or just a text file?

if its just a text file, just use javascript, you dont need php


just files

how would i use javascript

not super knowledge with online stuf...
Member
Posts: 29,723
Joined: Jun 11 2007
Gold: 279.52
Jul 29 2015 02:09pm
Quote (CyberGod @ Jul 29 2015 08:03pm)
just files

how would i use javascript

not super knowledge with online stuf...


i need one more peice of info, how is the file updated on the server?
Go Back To Programming & Development Topic List
123Next
Add Reply New Topic New Poll