Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Plugin Bug (Was: [ANN] Zombies 1.0b1 (Mac)) (Real Studio games Mailinglist archive)

Back to the thread list
Previous thread: Vertex Normals to Face Normals
Next thread: Re: [ANN] Puzzle Plunge 2


[ANN] Zombies 1.0b1 (Mac)   -   Joseph J. Strout
  Plugin Bug (Was: [ANN] Zombies 1.0b1 (Mac))   -   Frank Condello
    Re: Plugin Bug (Was: [ANN] Zombies 1.0b1 (Mac))   -   Troy Rollins

Plugin Bug (Was: [ANN] Zombies 1.0b1 (Mac))
Date: 01.10.05 21:25 (Sat, 1 Oct 2005 16:25:55 -0400)
From: Frank Condello
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>

Re: Plugin Bug (Was: [ANN] Zombies 1.0b1 (Mac))
Date: 01.10.05 23:17 (Sat, 1 Oct 2005 18:17:48 -0400)
From: Troy Rollins

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.