Hello, 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.
i know how to make it free, but there is one and only problem.
i'm not that experienced with php, there is an XML files that should be edited:
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.
2. Purchase.xml which is everything in your wardrobe that you Bought and every new item you purchase goes immediately there.
3. I've downloaded their items which is (SWF Files) so it's like i have their stores locally in my host.
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.
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.
i'm not really experienced with php but i had a developer who made my loginform connect with their database so that peoples can't login randomly to my site. it has to be their real game accounts.
this is What he used:
$h = array(
'method' => 'POST',
'header' => 'Content-type: application/x-www-form-urlencoded'
);
$fields_string = "";
foreach($fields as $key=>$value) { $fields_string .= $key.'='.$value.'&'; }
rtrim($fields_string, '&');
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.
2. 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
And further more i noticed we wont be able to see into the store xml unless we play zwinky and are currently logged in so maybe an example of the xml file would make people understand this thread more and what your aiming at.
And further more i noticed we wont be able to see into the store xml unless we play zwinky and are currently logged in so maybe an example of the xml file would make people understand this thread more and what your aiming at.
I f you provided these "important" highlights sooner you might of had a finished product by now, like if you post a thread the people on this site are going to need sample code of the xml php and w/e is needed to make the finished product.
well that's all I can provide for now i cannot reach contact with my friend so i am not sure if she finished the code or is it still missing something but well its a web developers community so you guys supposed to be able to provide some help
I suggest you look closer to the u="" rather then anything else and the image locations themselves and maybe replace with a new image on the games server rather then using the cURL function.
You might not be entering the url in the proper format for there system to recognize thats why it probable doesn't work im guessing you want the finished product to look something like this http://zwiinky.info/img/example.tiff i suggest building a normal item purchase cart and build on it.
I just think you are jumping in without checking easier solutions first i think you are correct about ripping there xml data and i think you are right about downloading there swf files i just don't think the Curl is needed for what you are trying to accomplish and maybe try adding your own u="" to the ripped xml data.
I just think you are jumping in without checking easier solutions first i think you are correct about ripping there xml data and i think you are right about downloading there swf files i just don't think the Curl is needed for what you are trying to accomplish and maybe try adding your own u="" to the ripped xml data.
already worked on but it gives error validating clothes in wardrobe
and yeah your purchase card is exactly what i been trying to do but dont u think i need the same method still in order to build a shopping card?
Not necessary because there is always more then one hole in game store purchase methods, You just need to look deep enough to find them and i know there will be more then one way to get items from this games stores, Its just knowing what your looking for build your shopping cart form then the script behind it to purchase normally and then try building on it until you find a hole but you will at some point need to build the cart to get the items, You should build it first fully functional like the game cart works then look deeper.
Bookmarks