BASTADITE PIECE OF SHIT~!

Moderators: Erik Mortis, (Shireroth) Steward, (Shireroth) Kaiser

Post Reply
User avatar
Kaiser Ometeotl II
Posts: 132
Joined: Mon Oct 15, 2012 5:38 pm

BASTADITE PIECE OF SHIT~!

Post by Kaiser Ometeotl II »

1million is not 1trillion!

2,764,472.32 is not 1,000,000,000,000 to be precise.

I'm working with floats... why is it stopping at 2.7 million wait... I think that's a magic number...

maybe not. PHP manual says 2,147,483,647....for in... yes... but somehow are truncating to a wierd float.

UPDATE bankaccounts SET funds='2764472.320000' WHERE username='admin'
1000000000000 created successfully.

LIES....

2764472.32/nUPDATE bankaccounts SET funds='2764472.320000' WHERE username='admin'1000000000000 created successfully.

MOREW LIES! but it means that the new_funds are wrong.. so.. sprintf is behaving..
So...... What is clean_funds outputing...

1000000000000 2764472.32 2764472.32 UPDATE bankaccounts SET funds='2764472.320000' WHERE username='admin'1000000000000 created successfully.

HAZAA! clean_funds() is not behaving.. I thought I fixed that...

1000000000000 1000000000000 1000000000000 UPDATE bankaccounts SET funds='1000000000000.000000' WHERE username='admin'1000000000000 created successfully.

It hepls when you upload changes to the your test server.

Kai Jackson

Re: BASTADITE PIECE OF SHIT~!

Post by Kai Jackson »

MONEY!!!

/me bathes in the new money

User avatar
Kaiser Ometeotl II
Posts: 132
Joined: Mon Oct 15, 2012 5:38 pm

Re: BASTADITE PIECE OF SHIT~!

Post by Kaiser Ometeotl II »

It doesn't exist yet.

User avatar
Jonas
Lord of the Fries
Posts: 5325
Joined: Sun Nov 28, 2010 4:39 pm
Location: Daocheng, Jingdao

Re: BASTADITE PIECE OF SHIT~!

Post by Jonas »

How do you want to introduce all that money in the system? Every nation an equal share? :neutral:
Important characters:
Frederik Alfons des Vinandy-Paravel, King of Batavia
Joseph Bartholomeus des Vinandy-Windsor, Prince-Regent of Batavia
Jin San, Diwang of Jingdao, Duke of Kildare

User avatar
Kaiser Ometeotl II
Posts: 132
Joined: Mon Oct 15, 2012 5:38 pm

Re: BASTADITE PIECE OF SHIT~!

Post by Kaiser Ometeotl II »

See my post in the SCUE forum http://hub.mn/forum/viewtopic.php?f=79& ... 126#p74126

It explains it. Multiply all accounts by 1,000,000. It'll get the result I want.

Post Reply

Return to “Esagila of Raynor”