boozer Posted January 28, 2011 Posted January 28, 2011 after i have changed the db to the bigint for the money, crystals etc what do i have to change the int in the code to? Quote
Djkanna Posted January 28, 2011 Posted January 28, 2011 INT has a limit of 4294967295, honestly why would you need any more for a text based game? I just don't understand. Quote
a_bertrand Posted January 28, 2011 Posted January 28, 2011 Actually ints are from -2147483648 to 2147483647 in MySQL where in PHP it depends if you are in a 32 or 64 bit plateform. Also unsigned values in PHP do not exists and as soon as you try to make numbers bigger than what ints handle in PHP it is automagically converted to floats. Quote
Djkanna Posted January 28, 2011 Posted January 28, 2011 Actually ints are from -2147483648 to 2147483647 in MySQL where in PHP it depends if you are in a 32 or 64 bit plateform. Also unsigned values in PHP do not exists and as soon as you try to make numbers bigger than what ints handle in PHP it is automagically converted to floats. Good point, but still surely that's a high enough amount for a 'stable' TBG's economy unless it's one of those 'money making/coporate' type games. Quote
boozer Posted January 28, 2011 Author Posted January 28, 2011 The only reason why i am doing it is so that the people won't get made with a limit if they ever get that high. thank you all Quote
Paul Evans Posted January 28, 2011 Posted January 28, 2011 Personally i wouldn't let it get that bad it's called controlled economy something many of our governments should consider. Quote
boozer Posted January 28, 2011 Author Posted January 28, 2011 yeah I don't plan on it getting out of hand but i have seen it happen but any way you know where i can get the pre-reg mod?? Quote
Dayo Posted January 28, 2011 Posted January 28, 2011 thats what there doing keeping the ecomomy dowm, us brits are earning too much ... so they up taxes *cough* petrol *cough* i agree with the limit, The mercenary will have a $9,999,999 as with that ammount you can buy just about all the best things plus have a little left over ;) and to get to 9,999,999 you will have to play loads Quote
boozer Posted January 28, 2011 Author Posted January 28, 2011 that sounds very interesting, it is good to have a cap, econ can go out of wack very quick Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.