realbasic-games
[Top] [All Lists]

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

To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Subject: Plugin Bug (Was: [ANN] Zombies 1.0b1 (Mac))
From: Frank Condello <developer at chaoticbox dot com>
Date: Sat, 1 Oct 2005 16:25:55 -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>
On 1-Oct-05, at 11:33 AM, Troy Rollins wrote:

On Oct 1, 2005, at 12:35 AM, Joseph J. Strout wrote:

Now... should I be able to just load it up and compile?

Yep, works for me in 2005r3. What version of REALbasic are you using? And do you have any plugins installed?

The latest beta. My r3 kept unregistering. No plugins other than Frank's PNGutilities.

In the getSprite method of the Files module...

...
  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.

Frank.
–––––––––––––––––––––––––––––––––
Open Source RB Goodies and Shareware
<http://developer.chaoticbox.com/>
<http://www.chaoticbox.com/>
–––––––––––––––––––––––––––––––––

_______________________________________________
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>