realbasic-games
[Top] [All Lists]

Re: Plugin Bug (Was: [ANN] Zombies 1.0b1 (Mac))

To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Subject: Re: Plugin Bug (Was: [ANN] Zombies 1.0b1 (Mac))
From: Troy Rollins <troy at rpsystems dot net>
Date: Sat, 1 Oct 2005 18:17:48 -0400
Delivered-to: realbasic-games at lists dot realsoftware dot com
References: <a06200701bf63967b90db at [10 dot 0 dot 1 dot 4]> <651583b0cb6507ad416ab7af84863b8b at rpsystems dot net> <a06200704bf63c246d478 at [10 dot 0 dot 1 dot 4]> <7f2d27a86c14ae7a092c68afd470c565 at rpsystems dot net> <C6580636-34CD-49AE-81CC-FB9618DACBE9 at chaoticbox dot com>

On Oct 1, 2005, at 4:25 PM, Frank Condello wrote:

...
  if not mSprites.HasKey(name) then
src = GetPicture(name) <-------------- Errors here with "item with same name" error
    if src = nil then return nil
...

Remove PNG Utilities or rename the "GetPicture" method and it should work. You've discovered a bug...

It looks like plugin module methods have global scope in Rb2005 when they should be restricted to the module namespace. Please report this if you can, or give me a day or so and I'll do it.

ah ha.

I'll probably defer to you to submit it Frank, since you have a handle on what causes it better than I. I'll certainly sign on though.

Makes me glad I brought it up.

--
Troy
RPSystems, Ltd.
http://www.rpsystems.net

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>