Hello, I need help creating a free php + curl shopping cart for a virtual world browser-game that I play to buy a free stuff from it.
the game is based on xml,swf and some peoples have already made a shopping cart for it.
Idea:
there is a multiplayer game that i Play called Zwinky and i as i said it's similar to Habbo hotel, Club pengiun. Now, obviously it has a stores to buy items and stuff and it's expensive.[/size][/font][/color]
[color=#3BAE33][font=Verdana, Arial, sans-serif][size=1]i know how to make it free, but there is one and only problem.[/size][/font][/color]
[color=#3BAE33][font=Verdana, Arial, sans-serif][size=1]i'm not that experienced with php, there is an XML files that should be edited:[/size][/font][/color]
[color=#3BAE33][font=Verdana, Arial, sans-serif][size=1]9.xml which is the main store file that has all the items in it and that's where the Prices should be changed.[/size][/font][/color]
[color=#3BAE33][font=Verdana, Arial, sans-serif][size=1]Purchase.xml which is everything in your wardrobe that you Bought and every new item you purchase goes immediately there.[/size][/font][/color]
[color=#3BAE33][font=Verdana, Arial, sans-serif][size=1]I've downloaded their items which is (SWF Files) so it's like i have their stores locally in my host.[/size][/font][/color]
[color=#3BAE33][font=Verdana, Arial, sans-serif][size=1]Now what i'm planning to do is editing the 9.xml and setting all the items to free, then uploading the 9.xml file to my own website but there is only one thing left that some peoples told me it can be done with php.[/size][/font][/color]
[color=#3BAE33][font=Verdana, Arial, sans-serif][size=1]something like Mysite/assets3/fds/Whatever.swf from my own database to their server but let's call it a zwinky php shopping cart "a free one"[/size][/font][/color]
[color=#3BAE33][font=Verdana, Arial, sans-serif][size=1]I need a php script or something that for example if i click "Add" a specific item to my Purchase.xml it automatically makes the changes in the game's real website and not locally.[/size][/font][/color]
[color=#3BAE33][font=Verdana, Arial, sans-serif][size=1]Im not really experienced with php and simplexml but i believe it requires some "cURL"[/size][/font][/color]
[color=#3BAE33][font=Verdana, Arial, sans-serif][size=1]Now i want to use the same method like connecting my website with the games wardrobes so that i can make any changes to my in-game wardrobe through my website, there was a guy who made a site where you login and purchase everything in the game for free through his site, that's why I believe it's possible.[/size][/font][/color]
[color=#3BAE33][font=Verdana, Arial, sans-serif][size=1]The game's store link is: zwinky.co...lothing/923.xml[/size][/font][/color]
[color=#3BAE33][font=Verdana, Arial, sans-serif][size=1]i'm gonna edit the 923.xml so i can change the prices and make them 0 so from My website it's gonna be Mysite.com/zwinky-world/catalog/clothing/923.xml Because you definately can't make the local changes take effect on the game ( not without having a server-side access) and that's so far.[/size][/font][/color]
[color=#3BAE33][font=Verdana, Arial, sans-serif][size=1]zwinky.co...heckout.jhtml < this is the link you get Once you purchase an item.[/size][/font][/color]
[color=#3BAE33][font=Verdana, Arial, sans-serif][size=1]and it goes to outfits.zwink...y/purchased.xml < after the Checkout..purchased.xml shows Everything you have purchased in your wardrobe.[/size][/font][/color]
[color=#3BAE33][font=Verdana, Arial, sans-serif][size=1]Extra links that might be useful for you guys to get my point hxxp://wxw.zwinky.com/zwinky-world/Checkout.jhtml?items=[[{id:20017510,species:babe,z:0,name:Whatever,url="assets.zwinky.com/assets3/fds/templates/stud/misc/5.swf"}]]&storeId=[0]&pType=[0]
^this one works but only from one store that I dont really need that much which is "assets3/fds/"[/size][/font][/color]
[color=#3BAE33][font=Verdana, Arial, sans-serif][size=1]So basically I wanna use my own php shopping cart for a game that I don't own in order to get the items for free, and if you think it's Impossible I would like to tell you it is impossible because 2 peoples have made 2 successful sites like this[/size][/font][/color]
[color=#3BAE33][font=Verdana, Arial, sans-serif][size=1]one of them[/size][/font][/color]
[color=#3BAE33][font=Verdana, Arial, sans-serif][size=1]Hope you guys can suggest or provide me with any tips or methods to get this complete, thanks
Pasted from another forum where I posted my problem I been trying to do this for a yeaarss but it never worked, some peoples said It can be done by decompiling the SWF item itself and changing the price of it to 0
also, I have tried all my best in soo many ways to purchase a zwinky item from my own website like this:
www.zwinky.com/zwinky-world/Checkout.jhtml?items=[[{id:20017510,species:stud,z:0,name:JustForTest,url=MyOwnWebsite.com/assets3/store/zwinky/stud/tops/01/Ptop16.swf"}]]&storeId=[0]&pType=[0]
Real url is: assets.zwinky.com/assets3/store/zwinky/stud/tops/01/Ptop16.swf
I could purchase it for free using this method but in wardrobe when I save the top it says "Error validating clothes"
so Is there any way that i can at least make it skip this error instead of changing the price?
Sorry for making it too long I just wanna make it as clear as possible because i'm really sick of looking for a solution in almost every forums and I never found a solution
hope I find it here, thanks.