Re: Buy Item Quantity From Marketplace
Post the querys from sql on pastebin...There you will not spoil
Re: Buy Item Quantity From Marketplace
Re: Buy Item Quantity From Marketplace
Have fixed the single item purchase
Inside the Marketplacescreen.fla
Quote:
public function eventBuyQtyCallback (state:Boolean, text:String=""):void
{
if (state)
{
var q:uint = uint(text);
if(q>0)
FrontEndEvents.eventBuyItem (BuyItemID, BuyGamePoints, BuyGameDollar, q);
}
}
Red was the problem. Re-publish and should be fixed. I will uploaded a new swf. It was reading from variable initially set to 1 and never updated. It is not needed and will read directly from the box reply.
Re: Buy Item Quantity From Marketplace
@GetRektBambi
You could put the sql querys on pastebin? There he not mess anything. Please
Re: Buy Item Quantity From Marketplace
Quote:
Originally Posted by
hawkingsamcro
@
GetRektBambi
You could put the sql querys on pastebin? There he not mess anything. Please
Have done this :) Updated main thread
Updated: Check Main Thread for link (Fix for single purchase of items)
Anymore problems please let me know :)
Re: [Release] Buy Item Quantity From Marketplace
How disable for one item ?
Re: [Release] Buy Item Quantity From Marketplace
I did update the sql still get this error.
Code:
000053.542| WO_API: failed with error code 5 SQL Select Failed: Procedure or function 'WZ_BuyItem_GD' expects parameter '@in_Qty', which was not supplied.
000053.543| BuyItem FAILED, code: 5
Re: [Release] Buy Item Quantity From Marketplace
Quote:
Originally Posted by
hawkingsamcro
I did update the sql still get this error.
Code:
000053.542| WO_API: failed with error code 5 SQL Select Failed: Procedure or function 'WZ_BuyItem_GD' expects parameter '@in_Qty', which was not supplied.
000053.543| BuyItem FAILED, code: 5
Check Stage 2 Editing the API
that you did this correctly
- - - Updated - - -
Quote:
Originally Posted by
Oosmar02
How disable for one item ?
working on it :)
Question are ya'll building your api and updating this along with client/studio?
Re: [Release] Buy Item Quantity From Marketplace
Re: [Release] Buy Item Quantity From Marketplace
*** Confirmed Working ***
Follow the main thread fully and it will work. Also the download link for the Compiled FrontEnd.swf has also been updated. Thanks for all the bug reports. So credit to you all :)
Re: [Release] Buy Item Quantity From Marketplace
@GetRektBambi
Everythink works fine.
But there is one thing, when you try to change the character name
Code:
WO_API: failed with error code 5 SQL Select Failed: Procedure or function 'WZ_BuyItem_GP' expects parameter '@in_Qty', which was not supplied.
Everything is fine, just it, changing the characters name.
Re: [Release] Buy Item Quantity From Marketplace
Quote:
Originally Posted by
hawkingsamcro
@
GetRektBambi
Everythink works fine.
But there is one thing, when you try to change the character name
Code:
WO_API: failed with error code 5 SQL Select Failed: Procedure or function 'WZ_BuyItem_GP' expects parameter '@in_Qty', which was not supplied.
Everything is fine, just it, changing the characters name.
Looked into this, make sure you have edited the api_CharSlots.aspx.cs
(server\src\Scripts\WZBackend-ASP.NET\WZBackend-ASP.NET.sln)
Search for
Quote:
sqcmd.Parameters.AddWithValue("@in_BuyDays", 2000);
Add Under
Quote:
sqcmd.Parameters.AddWithValue("@in_Qty", 1);
This is where it buys the Rename item and @in_Qty is supplied. Make sure you publish the API and if necessary reboot IIS and Servers.
Re: [Release] Buy Item Quantity From Marketplace
Quote:
Originally Posted by
GetRektBambi
Looked into this, make sure you have edited the api_CharSlots.aspx.cs
(server\src\Scripts\WZBackend-ASP.NET\WZBackend-ASP.NET.sln)
Search for
Add Under
This is where it buys the Rename item and @in_Qty is supplied. Make sure you publish the API and if necessary reboot IIS and Servers.
Yes, it worked now. Excuse the question, but who are you? You know a lot, put much of interest.
Re: [Release] Buy Item Quantity From Marketplace
Quote:
Originally Posted by
hawkingsamcro
Yes, it worked now. Excuse the question, but who are you? You know a lot, put much of interest.
Glad its working ^.^
I am, Sean/TheGamingMonkey/Xuzia/SacrificeProductions (Ex DeadZ Dev)/GetRektBambi
Re: [Release] Buy Item Quantity From Marketplace
o.o nice release if i knew how to work with flash id add that for loop for maps and use this also