1. Hello James, Bryan & Matthew,

    i have recently bought your "World of Warcraft Programming" and am delighted...Money well spent I say...Thank you very much....

    However since I am speaking of money, I have noticed that the reference to the getMoney function on your website is full of bugs and doesn't work as it is depicted....

    Here is the correct version of the code

            money = GetMoney()

            gold = floor(abs(money / 10000))

            silver = floor(abs(mod( money / 100, 100)))

            copper = floor(abs(mod(money,100)))

    Hope this helps....

    Andy

     

  2. Hello James, Bryan & Matthew,

    i have recently bought your "World of Warcraft Programming" and am delighted...Money well spent I say...Thank you very much....

    However since I am speaking of money, I have noticed that the reference to the getMoney function on your website is full of bugs and doesn't work as it is depicted....

    Here is the correct version of the code

            money = GetMoney()

            gold = floor(abs(money / 10000))

            silver = floor(abs(mod( money / 100, 100)))

            copper = floor(abs(mod(money,100)))

    Hope this helps....

    Andy

     

  3. Thanks for the update.  All of these pages are are editable by any logged in user so feel free to edit them next time!  I've changed the example in this case.

  4. Olla,

    i did not realise I could do that, but i will sure to change anything i come across....

    thanks again for the great book...

    Andy