XML files and codes
xml files for Marvel Avengers Alliance
RE: XML files and codes Posted on: 07/11/2015 5:33pm
Quote Post
kirbyonwarpstar Posted on: 07/05/2015 12:48pm

ok now for the 901.xml walkthrough:
1. use the "cd" command in cmd to change the operating directory of cmd to the dirctory where curl is located.

 mine looks like this: "cd C:\Users\USERNAMEFOLDER\Downloads\Charles\Mission.xmls\Curl\"


If you copy curl.exe to your c:\Windows\System32 folder you don't need to change directory in the cmd and you can run curl command from anywhere. Also, it might be a good idea to create a batch file that will open the cmd, create a new directory and download to it. Batch file would look like this:

start cmd.exe /k "md c:\20150709161411 && cd c:\20150709161411 && c:"
curl --output "c:\20150709161411\ab.xml" -# "http://maa2-a.akamaihd.net/marvelshield/production_n7/ac/20150709161411/client/xml/en_US/ab.xml"
curl --output "c:\20150709161411\client.xml" -# "http://maa2-a.akamaihd.net/marvelshield/production_n7/ac/20150709161411/client/xml/en_US/client.xml"
curl --output "c:\20150709161411\items0.xml" -# "http://maa2-a.akamaihd.net/marvelshield/production_n7/ac/20150709161411/client/xml/en_US/items0.xml"
curl --output "c:\20150709161411\items1.xml" -# "http://maa2-a.akamaihd.net/marvelshield/production_n7/ac/20150709161411/client/xml/en_US/items1.xml"
curl --output "c:\20150709161411\101.xml" -# "http://maa2-a.akamaihd.net/marvelshield/production_n7/ac/20150709161411/client/xml/en_US/101.xml"
curl --output "c:\20150709161411\102.xml" -# "http://maa2-a.akamaihd.net/marvelshield/production_n7/ac/20150709161411/client/xml/en_US/102.xml"
curl --output "c:\20150709161411\103.xml" -# "http://maa2-a.akamaihd.net/marvelshield/production_n7/ac/20150709161411/client/xml/en_US/103.xml"
curl --output "c:\20150709161411\104.xml" -# "http://maa2-a.akamaihd.net/marvelshield/production_n7/ac/20150709161411/client/xml/en_US/104.xml"
curl --output "c:\20150709161411\105.xml" -# "http://maa2-a.akamaihd.net/marvelshield/production_n7/ac/20150709161411/client/xml/en_US/105.xml"
curl --output "c:\20150709161411\106.xml" -# "http://maa2-a.akamaihd.net/marvelshield/production_n7/ac/20150709161411/client/xml/en_US/106.xml"
curl --output "c:\20150709161411\107.xml" -# "http://maa2-a.akamaihd.net/marvelshield/production_n7/ac/20150709161411/client/xml/en_US/107.xml"
curl --output "c:\20150709161411\108.xml" -# "http://maa2-a.akamaihd.net/marvelshield/production_n7/ac/20150709161411/client/xml/en_US/108.xml"
curl --output "c:\20150709161411\109.xml" -# "http://maa2-a.akamaihd.net/marvelshield/production_n7/ac/20150709161411/client/xml/en_US/109.xml"
curl --output "c:\20150709161411\110.xml" -# "http://maa2-a.akamaihd.net/marvelshield/production_n7/ac/20150709161411/client/xml/en_US/110.xml"
curl --output "c:\20150709161411\111.xml" -# "http://maa2-a.akamaihd.net/marvelshield/production_n7/ac/20150709161411/client/xml/en_US/111.xml"
curl --output "c:\20150709161411\112.xml" -# "http://maa2-a.akamaihd.net/marvelshield/production_n7/ac/20150709161411/client/xml/en_US/112.xml"
curl --output "c:\20150709161411\201.xml" -# "http://maa2-a.akamaihd.net/marvelshield/production_n7/ac/20150709161411/client/xml/en_US/201.xml"
curl --output "c:\20150709161411\202.xml" -# "http://maa2-a.akamaihd.net/marvelshield/production_n7/ac/20150709161411/client/xml/en_US/202.xml"
curl --output "c:\20150709161411\203.xml" -# "http://maa2-a.akamaihd.net/marvelshield/production_n7/ac/20150709161411/client/xml/en_US/203.xml"
curl --output "c:\20150709161411\204.xml" -# "http://maa2-a.akamaihd.net/marvelshield/production_n7/ac/20150709161411/client/xml/en_US/204.xml"
curl --output "c:\20150709161411\205.xml" -# "http://maa2-a.akamaihd.net/marvelshield/production_n7/ac/20150709161411/client/xml/en_US/205.xml"
curl --output "c:\20150709161411\206.xml" -# "http://maa2-a.akamaihd.net/marvelshield/production_n7/ac/20150709161411/client/xml/en_US/206.xml"
curl --output "c:\20150709161411\207.xml" -# "http://maa2-a.akamaihd.net/marvelshield/production_n7/ac/20150709161411/client/xml/en_US/207.xml"
curl --output "c:\20150709161411\208.xml" -# "http://maa2-a.akamaihd.net/marvelshield/production_n7/ac/20150709161411/client/xml/en_US/208.xml"
curl --output "c:\20150709161411\1027.xml" -# "http://maa2-a.akamaihd.net/marvelshield/production_n7/ac/20150709161411/client/xml/en_US/1027.xml"
curl --output "c:\20150709161411\901.xml" -# "http://maa2-a.akamaihd.net/marvelshield/production_n7/ac/20150709161411/client/xml/en_US/901.xml"
curl --output "c:\20150709161411\danger_room.xml" -# "http://maa2-a.akamaihd.net/marvelshield/production_n7/ac/20150709161411/client/xml/en_US/danger_room.xml"


Replace the number in the "maa2-a" part to whatever yours is and the "20150709161411" part to whatever the new version is (this is the current one). Editing only takes a few seconds if you use the replace all command in notepad++.


If any of you don't know how to create a batch file this is what you have to do. Copy the above text and paste it into notepad++, select save, in the "Save as type" dropbox select "All types (*.*)" and enter a filename of your choice followed by ".bat" extension. So for the above example i'd enter "20150709161411 xml's.bat". But you can enter whatever you want as long as you use ".bat" extension. The reason i was using individual files instead of "[101-112]" and "[201-208]" is because curl can't save to a custom location if you're using file sequences.

start cmd.exe /k
curl -O "http://maa2-a.akamaihd.net/marvelshield/production_n7/ac/20150709161411/client/xml/en_US/ab.xml"
curl -O "http://maa2-a.akamaihd.net/marvelshield/production_n7/ac/20150709161411/client/xml/en_US/client.xml"
curl -O "http://maa2-a.akamaihd.net/marvelshield/production_n7/ac/20150709161411/client/xml/en_US/items[0-1].xml"
curl -O "http://maa2-a.akamaihd.net/marvelshield/production_n7/ac/20150709161411/client/xml/en_US/[101-112].xml"
curl -O "http://maa2-a.akamaihd.net/marvelshield/production_n7/ac/20150709161411/client/xml/en_US/[201-208].xml"
curl -O "http://maa2-a.akamaihd.net/marvelshield/production_n7/ac/20150709161411/client/xml/en_US/1027.xml"
curl -O "http://maa2-a.akamaihd.net/marvelshield/production_n7/ac/20150709161411/client/xml/en_US/901.xml"
curl -O "http://maa2-a.akamaihd.net/marvelshield/production_n7/ac/20150709161411/client/xml/en_US/danger_room.xml"


If you make a bat file with the above text it will simply download to the same folder where you started the batch file from. 

RE: XML files and codes Posted on: 07/12/2015 7:23am
Quote Post

great post and very informative also.. quite enjoyed reading it all.. lol.. an I know myself and many will use an enjoy the advice also..

just wanted to add that I done a bit similar when I edited mine this update, but I ran into a problem when I forgot to edit the 10027.xml to a 1028.xml the size was different an even without trying it I knew it would of failed.. so just wanted to add that others should make sure to properly edit key areas depending on the needs of the moment when downloading so as to not run into the same issue I did..

an it only takes 1 wrong symbol or character an you could have a working file or a failed file.. I know I am and have been learning more and more each day I've spent here.. an just want to share an learn and enjoy even more also.. keep up all the great work an advice everyone..

RE: XML files and codes Posted on: 07/12/2015 3:25pm
Quote Post
Your (mostly) friendly neighborhood MAA-Mod
Scaramanga Posted on: 07/11/2015 1:33pm
kirbyonwarpstar Posted on: 07/05/2015 12:48pm

ok now for the 901.xml walkthrough:
1. use the "cd" command in cmd to change the operating directory of cmd to the dirctory where curl is located.

 mine looks like this: "cd C:\Users\USERNAMEFOLDER\Downloads\Charles\Mission.xmls\Curl\"


If you copy curl.exe to your c:\Windows\System32 folder you don't need to change directory in the cmd and you can run curl command from anywhere. Also, it might be a good idea to create a batch file that will open the cmd, create a new directory and download to it. Batch file would look like this:

[CODE]

Replace the number in the "maa2-a" part to whatever yours is and the "20150709161411" part to whatever the new version is (this is the current one). Editing only takes a few seconds if you use the replace all command in notepad++.


If any of you don't know how to create a batch file this is what you have to do. Copy the above text and paste it into notepad++, select save, in the "Save as type" dropbox select "All types (*.*)" and enter a filename of your choice followed by ".bat" extension. So for the above example i'd enter "20150709161411 xml's.bat". But you can enter whatever you want as long as you use ".bat" extension. The reason i was using individual files instead of "[101-112]" and "[201-208]" is because curl can't save to a custom location if you're using file sequences.

[MORE CODE]

If you make a bat file with the above text it will simply download to the same folder where you started the batch file from. 

your idea of a bat file is a great one!
heres my bat file xml downloader, just copy ane paste into a text file, save, and rename as ".bat"
BE SURE TO PLACE THIS IN THE SAME FOLDER AS YOUR CURL.EXE!!

@echo off

SET /P ANSWER=Download season one mission xmls (Y/N)?
if /i {%ANSWER%}=={y} (goto :yes1)
if /i {%ANSWER%}=={yes} (goto :yes1)
if /i {%ANSWER%}=={Y} (goto :yes1)
if /i {%ANSWER%}=={Yes} (goto :yes1)
if /i {%ANSWER%}=={YES} (goto :yes1)
goto :no1
:yes1
curl -O "http://maa8-a.akamaihd.net/marvelshield/production_n7/ac/20150709161411/client/xml/en_US/[101-112].xml"
:no1

SET /P ANSWER=Download season 2 mission xmls (Y/N)?
if /i {%ANSWER%}=={y} (goto :yes2)
if /i {%ANSWER%}=={yes} (goto :yes2)
if /i {%ANSWER%}=={Y} (goto :yes2)
if /i {%ANSWER%}=={Yes} (goto :yes2)
if /i {%ANSWER%}=={YES} (goto :yes2)
goto :no2
:yes2
curl -O "http://maa8-a.akamaihd.net/marvelshield/production_n7/ac/20150709161411/client/xml/en_US/[201-212].xml"
:no2

SET /P ANSWER=Download client.xml (Y/N)?
if /i {%ANSWER%}=={y} (goto :yes3)
if /i {%ANSWER%}=={yes} (goto :yes3)
if /i {%ANSWER%}=={Y} (goto :yes3)
if /i {%ANSWER%}=={Yes} (goto :yes3)
if /i {%ANSWER%}=={YES} (goto :yes3)
goto :no3
:yes3
curl -O "http://maa8-a.akamaihd.net/marvelshield/production_n7/ac/20150709161411/client/xml/en_US/client.xml"
:no3

SET /P ANSWER=Download SpecOp xml (Y/N)?
if /i {%ANSWER%}=={y} (goto :yes4)
if /i {%ANSWER%}=={yes} (goto :yes4)
if /i {%ANSWER%}=={Y} (goto :yes4)
if /i {%ANSWER%}=={Yes} (goto :yes4)
if /i {%ANSWER%}=={YES} (goto :yes4)
goto :no4
:yes4
curl -O "http://maa8-a.akamaihd.net/marvelshield/production_n7/ac/20150709161411/client/xml/en_US/1028.xml"
:no4
pause


as has become normal, with updates you will have to change out the revision number "20150709161411" as updates become available, or swapping out spec op numbers.

RE: XML files and codes Posted on: 07/12/2015 4:29pm
Quote Post

Umm, guys. I have noticed this thing for the past few weeks and although it has no effect (as far as I have observed yet) on the game, this bothers me. There is no such error in the xml at the place mentioned and the reason mentioned for failing to parse changes with each update. Can someone tell my what and why is that? Thank you.




Just let me sleep.

RE: XML files and codes Posted on: 07/12/2015 5:52pm
Quote Post
A1 to A0 architect.

I'd guess you're actively using a broken client.xml, where that tag isn't closed around line 51000 or so. 
 
You could clear your cache to get rid of the dirty client.xml, then load it up in Notepad++ again, go to that line, close the tag, and save it.

Now try loading it again.




atdt *67
RE: XML files and codes Posted on: 07/12/2015 11:26pm
Quote Post
jarly Posted on: 07/12/2015 1:52pm

I'd guess you're actively using a broken client.xml, where that tag isn't closed around line 51000 or so. 
 
You could clear your cache to get rid of the dirty client.xml, then load it up in Notepad++ again, go to that line, close the tag, and save it.

Now try loading it again.



Like I said, there is no problem with my client.xml. Even if I get one and edit it a million times, things don't change.




Just let me sleep.

RE: XML files and codes Posted on: 07/13/2015 12:34am
Quote Post
atultiriri I will guess that you are "getting" your xml by saving response in Charles?.. correct?.. I ask and say this cause I noticed when I first used the curl method that ALL of my old xml's I got via Charles was incomplete versions.. meaning LOADS of missing lines an so forth, luckily it didn't effect my edits or loading at the time.. but since then when I download them either outright directly or through curl I don't loose as much on them.. my connection speed is right slow compared to most.. lol.. an also the connection drags even on top of the slower speeds.. lol.. so yes it ends up giving me a degraded connection at times.. but I do think if you was able to get a "full" copy of the xml an reload your edits it might clear up your problems.. plus as much as jarly has been known to mess with these things an with Charles I would personally say you may want to consider combining both ideas on helping to clear up the issue you was questioning about..

again as i said in my earlier post it only takes one wrong keystroke or overlooking one small thing to make you end up spending hours trying to work out ANY problem (here or in real life).. an trust me it does not matter how educated or trained anyone is we are ALL human an make silly simple mistakes.. example I knew a 20+ year veteran of computer repair an server maintenance that spent nearly a week trying to figure out why the sound on his new computer wouldn't work.. they asked questions changed drivers changed setting tried everything they could think of at the time.. then in the end as they was on the verge of taking it out back to target practice with the shotgun they noticed.... the speaker jack was not fully inserted into the audio port.. lmao.. they popped it all the way in an presto everything was fine.. yet they had spent over a week cussing an brainstorming an so forth all over missing a simple mistake.. hehe.. shoot earlier today I had the mower out spreading some piles of grass out so it wouldn't burn up the yard.. I got done an couldn't get it back on the carport cause vehicles had been pulled up blocking the way, so I shut it down an went to get the keys to move one so I could get it on the porch.. well when I got on the mower it would not start or even sputter.. so I got to checking spark plugs an spark an so forth, all looked an checked fine.. then happened to glance an notice the fuel filter bulb was EMPTY.. lmao.. so I wasted like an hour checking other things when ironically it ran out of gas just as I shut it down to go move the vehicle.. lol.. so as I say generally there will be a very simple way to solve most our problems if we happen to look or rethink things about them.. 

sorry that rant was a bit long text wise but was just meant to show that no matter how careful or cautious or great we might think or feel we are at things we can all make a simple mistake an it leave us puzzled an confused for hours or days or weeks until we just find that one simple key feature to resolve it.. lol an I believe your answer will end up being a simple fix as well.. just need to step back an go back over the steps a bit slower an see how it works for you.. just trying to help you an others by pointing out these simple things overlooked causing such problems.. lol.. good luck and hope it helps you resolve it soon..
RE: XML files and codes Posted on: 07/13/2015 1:54am
Quote Post

IS factible just to get a new xml from the game and downloading with Charles? at least I did this and used recharge kill, boss score and the other stuff without using curl. Just  erased all the xmls charles was using in the map local menu and got a fresh xml and downloaded it bya "save response or something".

RE: XML files and codes Posted on: 07/13/2015 2:07am
Quote Post

hi,

what is the best version of charles for this?

RE: XML files and codes Posted on: 07/13/2015 2:11am
Quote Post
imnt Posted on: 07/12/2015 10:07pm

hi,

what is the best version of charles for this?

Ummm okay. It doesn't matter as long as it's working. But I still ensure you that there is no error where it says there is an error. Oh well, nevermind. Let's play




Just let me sleep.

RE: XML files and codes Posted on: 07/13/2015 4:24am
Quote Post

is there a pvp xml? i try to find it for a while never found it

RE: XML files and codes Posted on: 07/13/2015 4:37am
Quote Post
A1 to A0 architect.
atultiriri Posted on: 07/12/2015 7:26pm
jarly Posted on: 07/12/2015 1:52pm

I'd guess you're actively using a broken client.xml, where that tag isn't closed around line 51000 or so. 
 
You could clear your cache to get rid of the dirty client.xml, then load it up in Notepad++ again, go to that line, close the tag, and save it.

Now try loading it again.



Like I said, there is no problem with my client.xml. Even if I get one and edit it a million times, things don't change.


You say, "Like I said" like your some kind of master of xml editing. Clearly from the error, you missed where the element enemyLevelMax wasn't terminated properly. That's the error that you showed us. 
 
This is what I see. 
 
you:  HEY GUYS - THE ERROR SAYS I DON'T HAVE TO CLOSE STUFF AFTER SOME PLACE WHERE I HAVE STUFF BUT I'M GONNA COMAPLAIN ABOUT IT

me: guy - read the error, is says you need to fix your xml file

you: LIKE I SAID - I AM THE MASTER OF ALL XML FILES 
 
me:I don't understand why you won't read the error you got

 This is literally what I'm reading




atdt *67
RE: XML files and codes Posted on: 07/13/2015 8:21am
Quote Post
jess3jai Posted on: 07/13/2015 12:24am

is there a pvp xml? i try to find it for a while never found it



All data for PvP is stored in the client.xml as you are fighting other heroes, and all hero data is safed in the client.xml (as far as I know)

RE: XML files and codes Posted on: 07/13/2015 3:32pm
Quote Post
A1 to A0 architect.

client.xml (news, quests)

items0.xml (items, EISO)

items1.xml (hero abilities)




atdt *67
RE: XML files and codes Posted on: 07/13/2015 4:05pm
Quote Post

Folks, what is the pvp_armory_bonus_scalar in client.xml?




Just let me sleep.