Mascarada / epgp

Automatically exported from code.google.com/p/epgp
0 stars 0 forks source link

The imported data is invalid #745

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Export data from EPGP into EPGPWeb
2.Choose "Restore to this snapshot" and paste into "Import" text box in game

What is the expected output? What do you see instead?
I expect the data to import successfully into EPGP in-game, i.e. update the 
guild members' officer notes etc.
Instead, I get the message "EPGP: The imported data is invalid" when attempting 
to import.

What version of the product are you using? What locale is your client (en,
ru, kr, ch, es, tw)? What other addons do you have installed and what
versions? How many members do you have in your guild? (/guildinfo).
English (GB) version. I've disabled all addons apart from EPGP.

Paste the text surrounded by -EPGP- in Guild Information here:
-EPGP-
@BASE_GP:100
@DECAY_P:10
-EPGP-

If this is about http://www.epgpweb.com integration, what is the realm
and region of your guild?
Defias Brotherhood EU-Alliance, guild name is "Aware"

Please provide any additional information below.
Here is the import I'm trying to do:

{"base_gp":100,"decay_p":10,"extras_p":100,"guild":"Aware","min_ep":0,"realm":"D
efias 
Brotherhood","region":"eu","roster":[["Abalith",1542,3271],["Anydia",428,1454],[
"Browndiamond",35,100],["Byulshin",1080,2274],["Cacha\u00e7a",135,454],["Cisca",
835,2917],["Elithia",1587,4473],["Enfo",2092,6509],["Fa\u00ecl",1490,3921],["Hal
bjorg",270,567],["H\u00edppocrates",888,1437],["Iradiues",35,100],["Jacxi",1412,
1451],["Jaimezz",1315,3751],["Jasongenova",514,807],["K\u00edran",1087,985],["La
narai",55,100],["Leafcrest",243,100],["Linknl",1657,3760],["Maarduk",928,408],["
Magik",538,1184],["Methhrin",855,4262],["Nalmar-Ravenholdt",955,2422],["Quapples
",70,1539],["Rosby",1345,1739],["Vanx",820,2484],["Wolvendoder",1224,3189],["Yas
uhiro",35,100],["Yunzi",125,1557],["Znu",1666,4426]],"timestamp":1420825500}

Original issue reported on code.google.com by e...@enfo.cc on 9 Jan 2015 at 6:13

GoogleCodeExporter commented 8 years ago
Did some digging around into this and successfully reproduced it on my machine. 
 Turned out to be a simple case mismatch when parsing the region: import was 
lowercase, GetCVar("portal") returned uppercase.

Patch attached, as always.

Original comment by kieron.t...@gmail.com on 2 Feb 2015 at 8:29

Attachments: