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.
4y ago
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.
4y ago
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.
4y ago

gaborpesti

Member
Member Since
August 11th, 2019
Welcome
Ape Apps, LLC is an independent software development company founded in 2010 by Brandon Stecklein. Over the years, Ape Apps has published over 400 apps and games across various platforms. You can get in touch with Brandon on Twitter or by leaving a post on his wall @bastecklein
App of the Day