gaborpesti's Recent Posts
Issue as the title stated.
For any commonwealthes, creating a new colony using a charter code will cause the new colony relocated to their home civilization's AI commonwealth, after being indicated as ' colony of Undefined '.
I think it is client side bug:
With Fiddler: POST www.my-colony.com/api.php HTTP/1.1 f=3&g=1&c=XXXXXXX&relcd=91
{"colonyid":"935XXX","colonyname":"Mars","civilization":"United Earth","race":"Human","maptype":"Red Planet"}
So at first it resolves the parent(XXX is a masking done here) Thereafter when registers:
POST www.my-colony.com/api.php HTTP/1.1
f=32&g=1&n=Newname&p=undefined&relcd=91
{"id":0,"charter":"VZKOACbR","guid":"10E8A8BE-4E45-75C8-8E42-951366CEE0F5"}
So probably there is a workaround if I ask fiddler to substitute undefined with my charter code.
What worries me a bit is that there is absolutely no authentication on the corresponding API calls.
For any commonwealthes, creating a new colony using a charter code will cause the new colony relocated to their home civilization's AI commonwealth, after being indicated as ' colony of Undefined '.
I think it is client side bug:
With Fiddler: POST www.my-colony.com/api.php HTTP/1.1 f=3&g=1&c=XXXXXXX&relcd=91
{"colonyid":"935XXX","colonyname":"Mars","civilization":"United Earth","race":"Human","maptype":"Red Planet"}
So at first it resolves the parent(XXX is a masking done here) Thereafter when registers:
POST www.my-colony.com/api.php HTTP/1.1
f=32&g=1&n=Newname&p=undefined&relcd=91
{"id":0,"charter":"VZKOACbR","guid":"10E8A8BE-4E45-75C8-8E42-951366CEE0F5"}
So probably there is a workaround if I ask fiddler to substitute undefined with my charter code.
What worries me a bit is that there is absolutely no authentication on the corresponding API calls.
I think it is client side bug:
With Fiddler: POST www.my-colony.com/api.php HTTP/1.1 f=3&g=1&c=XXXXXXX&relcd=91
{"colonyid":"935XXX","colonyname":"Mars","civilization":"United Earth","race":"Human","maptype":"Red Planet"}
So at first it resolves the parent(XXX is a masking done here) Thereafter when registers:
POST www.my-colony.com/api.php HTTP/1.1
f=32&g=1&n=Newname&p=undefined&relcd=91
{"id":0,"charter":"VZKOACbR","guid":"10E8A8BE-4E45-75C8-8E42-951366CEE0F5"}
So probably there is a workaround if I ask fiddler to substitute undefined with my charter code.
What worries me a bit is that there is absolutely no authentication on the corresponding API calls.
With Fiddler: POST www.my-colony.com/api.php HTTP/1.1 f=3&g=1&c=XXXXXXX&relcd=91
{"colonyid":"935XXX","colonyname":"Mars","civilization":"United Earth","race":"Human","maptype":"Red Planet"}
So at first it resolves the parent(XXX is a masking done here) Thereafter when registers:
POST www.my-colony.com/api.php HTTP/1.1
f=32&g=1&n=Newname&p=undefined&relcd=91
{"id":0,"charter":"VZKOACbR","guid":"10E8A8BE-4E45-75C8-8E42-951366CEE0F5"}
So probably there is a workaround if I ask fiddler to substitute undefined with my charter code.
What worries me a bit is that there is absolutely no authentication on the corresponding API calls.
I think it is client side bug:
With Fiddler: POST https://www.my-colony.com/api.php HTTP/1.1 f=3&g=1&c=XXXXXXX&relcd=91
{"colonyid":"935XXX","colonyname":"Mars","civilization":"United Earth","race":"Human","maptype":"Red Planet"}
So at first it resolves the parent(XXX is a masking done here) Thereafter when registers:
POST https://www.my-colony.com/api.php HTTP/1.1
f=32&g=1&n=Newname&p=undefined&relcd=91
{"id":0,"charter":"VZKOACbR","guid":"10E8A8BE-4E45-75C8-8E42-951366CEE0F5"}
So probably there is a workaround if I ask fiddler to substitute undefined with my charter code.
What worries me a bit is that there is absolutely no authentication on the corresponding API calls.
With Fiddler: POST https://www.my-colony.com/api.php HTTP/1.1 f=3&g=1&c=XXXXXXX&relcd=91
{"colonyid":"935XXX","colonyname":"Mars","civilization":"United Earth","race":"Human","maptype":"Red Planet"}
So at first it resolves the parent(XXX is a masking done here) Thereafter when registers:
POST https://www.my-colony.com/api.php HTTP/1.1
f=32&g=1&n=Newname&p=undefined&relcd=91
{"id":0,"charter":"VZKOACbR","guid":"10E8A8BE-4E45-75C8-8E42-951366CEE0F5"}
So probably there is a workaround if I ask fiddler to substitute undefined with my charter code.
What worries me a bit is that there is absolutely no authentication on the corresponding API calls.
I face the same issue.
gaborpesti
Member
Member Since
August 11th, 2019