Tom Morton is sharing code with you

Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.

Don't show this again

errant / eventscripts-xa

Welcome to the eXtensible Admin bug tracker and code repository. Please report all bugs you may find.

Clone this repository (size: 5.7 MB): HTTPS / SSH
hg clone https://bitbucket.org/errant/eventscripts-xa
hg clone ssh://hg@bitbucket.org/errant/eventscripts-xa

Issues

#70 [Module] XAAdminGive reports wrong value for cash give

Reported by Tom Morton

Reported by 101satoon101

Quote: (2010-07-12 00:08:54) es-dev: Stephen Toon: strInt = strInt[::-1] (2010-07-12 00:09:01) es-dev: Stephen Toon: that changes 16000 into '00061' (2010-07-12 00:09:11) es-dev: Stephen Toon: line 187 xaadmingive (2010-07-12 00:15:40) es-dev: Stephen Toon: formattedStr = formattedStr[:-1][::-1] (2010-07-12 00:16:15) es-dev: Stephen Toon: oh, wait, it should already do that in line 192...?

To add to that, figured out that the error was just when displaying the cash: Quote: Stephen: ah, it actually gives the correct cash, it just doesn't revert back to $16,000 when sending the message es-dev: Mattie: yeah, the dollar value was right, just displayed wrong Stephen: line 156 should be: Stephen: formattedStr = formattedStr[:-1][::-1] Stephen

Status: resolved Responsible: Tom Morton Type: bug Priority: major
Milestone: future-important Component: xa-modules Version: 1.1.1.x

Attachments

No attachments added for this issue yet.

Comments and changes

  1. #1 Tom Morton

    written

    • Changed status from new to resolved.

    fixes #70 (xadmingive reporting incorrect value)

    30007d64d2a8

Add comment / attachment

Verification: Please write the text from the image in the box (letters only)

captcha

Is that you, Humanoid? Is this me?