Gxxx/Dxxx Operators in Weap/Ammo Outfit Set Strings

After seeing 'The mrxak Challenge' get bumped back to the first page, I decided to give the Ship Hangar challenge a try using the theory that Aprosenf suggested. His basic outline is a good start, and with a few tweaks will accurately count, remember, and give back the correct number of outfits on command. I did however hit one major snag...

For some reason, Gxxx/Dxxx operators used in the On Buy or On Sell fields of weapon and ammo type outfits will prevent me from actually being given the outfit I tried to buy. The 'Buy' button is enabled, it will take my credits, and properly evaluate the On Buy set string (Gxxx or Dxxx). What it won't do is actually give me the outfit I tried to buy in the first place. When done with a non-weap/ammo type outfit, everything works perfectly.

So I set aside the Ship Hangar plug-in just in case I did something screwy and started a fresh simple plug-in. One new 'empty' outfit, and edited the stock Nova Light Blaster to Gxxx the empty outfit On Buy. Same problem. Tried with the Sensor Boost, no problem. Also, the Bxxx operator does not cause this problem to occur. (I didn't test all operators, just Bxxx, Gxxx, and Dxxx).

Just wondering if anyone else has encoutered this, or could think of what else I could possibly be doing wrong. I am a WinNova user, so it's possible that this is a platform specific bug. Thanks.

------------------

Well I can't say what the problem is, but you could work around it by simply making the outfit Gxxx itself OnBuy.

------------------
"The Macintosh may only have 10% of the market, but it is clearly the top 10%." — Douglas Adams

I think the issue is that none of the custom outfits afre actually given to the player.

Make sure you didn't set the flag to make it auto-delete itself, and that it isn't Dxxx'd anywhere. Stupid, silly mistakes are the most common.

------------------
The programmer's code of entomology: there's always another bug.
There are 10 types of people in the world: those who understand binary and those who have friends.
Windows users: stop asking for plugins. (url="http://"http://www.aznt.com/EVN/EVNEW/")Make one yourself.(/url)
(url="http://"http://www.cwssoftware.com")Sephil Saga Website(/url) | (url="http://"http://www.evula.org/infernostudios/search.html")Add-ons Search Engine(/url)

Quote

Originally posted by Guy:
Well I can't say what the problem is, but you could work around it by simply making the outfit Gxxx itself OnBuy.

That's a much better solution than what I came up with. I actually made a second outfit to grant. Thanks!

Quote

Originally posted by orcaloverbri9:
Stupid, silly mistakes are the most common.

I'm pretty much the king of stupid/silly mistakes. But, in this case, I think I had everything set up properly. It just doesn't work. (So far as I can tell, anyway).

------------------

Slouch, this is a bug I've complained about repeatedly. In Weapon and Ammo outfits, ONLY, if you include a Gxxx in the onPurchase field, the outfit will auto delete itself. The simplest fix I've found is to Gxxx the weapon/ammo itself.

------------------
~Charlie
Sephil Saga Homepage: (url="http://"http://www.cwssoftware.com")www.cwssoftware.com(/url)

Tanks for cooperating to my troubleshooting guide.

------------------
The (url="http://"https://secure.ambrosiasw.com/cgi-bin/store/hazel.cgi?action=serve&item;=breakdown.html&BREAKDOWN;_SKUID=1480")Ambrosia Mac CD(/url) with other registrations - 5$. Paying for (url="http://"http://www.ambrosiasw.com/games/evn/")EV Nova(/url) as it's such a great game - 30$.
The (url="http://"http://www.ambrosiasw.com/games/evn/tshirts.html")1337 EV Nova T-shirt(/url)(url="http://"http://www.ambrosiasw.com/webboard/Forum25/HTML/000003.html#ZachaPedro05-18-200409:42AM") (/url) - 22$. The (url="http://"http://w00tware.ev-nova.net/")NovaTools(/url) by wOOtWare to tinker with your Nova - FREE!
The feeling you're a Nova geek - priceless.
There are things money can't buy or that are free, for everything else, there's indeed Mastercard.

Quote

Originally posted by Zacha Pedro:
**Tanks for cooperating to my troubleshooting guide.

**

You mean contributing?

------------------
"The Macintosh may only have 10% of the market, but it is clearly the top 10%." — Douglas Adams

Surely, yes...