<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Allowing players to upload their own maps into bots temporarily]]></title><description><![CDATA[<p dir="auto">Some players have issues at opening host in the lobby. I think it would be the best solution.</p>
]]></description><link>https://forums.triplea-game.org/topic/780/allowing-players-to-upload-their-own-maps-into-bots-temporarily</link><generator>RSS for Node</generator><lastBuildDate>Wed, 11 Nov 2026 12:44:33 GMT</lastBuildDate><atom:link href="https://forums.triplea-game.org/topic/780.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 22 Apr 2018 22:10:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Allowing players to upload their own maps into bots temporarily on Tue, 24 Apr 2018 00:02:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/prastle" aria-label="Profile: prastle">@<bdi>prastle</bdi></a> I would also like to add that since CG uploaded it and did the map skin I guess you should talk to him eh?</p>
]]></description><link>https://forums.triplea-game.org/post/11768</link><guid isPermaLink="true">https://forums.triplea-game.org/post/11768</guid><dc:creator><![CDATA[prastle]]></dc:creator><pubDate>Tue, 24 Apr 2018 00:02:24 GMT</pubDate></item><item><title><![CDATA[Reply to Allowing players to upload their own maps into bots temporarily on Mon, 23 Apr 2018 11:43:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cernel" aria-label="Profile: cernel">@<bdi>cernel</bdi></a> good point yes it can be hacked in.  This will only work if the skin for that map is already loaded in the bot tho as you pointed out.  Thus any "new" map that used it's own new skin would have to be loaded.</p>
]]></description><link>https://forums.triplea-game.org/post/11739</link><guid isPermaLink="true">https://forums.triplea-game.org/post/11739</guid><dc:creator><![CDATA[prastle]]></dc:creator><pubDate>Mon, 23 Apr 2018 11:43:26 GMT</pubDate></item><item><title><![CDATA[Reply to Allowing players to upload their own maps into bots temporarily on Mon, 23 Apr 2018 08:51:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/redrum" aria-label="Profile: redrum">@<bdi>redrum</bdi></a> Yeah, the bots shouldn't really need anything other than the xml.<br />
Ideally we'd change the bot code so it only checks for xml files in the bot directory.<br />
But this needs to be coordinated with <a class="plugin-mentions-user plugin-mentions-a" href="/user/lafayette" aria-label="Profile: LaFayette">@<bdi>LaFayette</bdi></a> so the bot scripts can handle this.</p>
]]></description><link>https://forums.triplea-game.org/post/11737</link><guid isPermaLink="true">https://forums.triplea-game.org/post/11737</guid><dc:creator><![CDATA[RoiEX]]></dc:creator><pubDate>Mon, 23 Apr 2018 08:51:57 GMT</pubDate></item><item><title><![CDATA[Reply to Allowing players to upload their own maps into bots temporarily on Mon, 23 Apr 2018 01:11:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cernel" aria-label="Profile: cernel">@<bdi>cernel</bdi></a> Yeah, my understanding is essentially the bot just needs the game XML either by having it loaded on the bot or by the player providing a save game (as save games have the game XML in it essentially). The rest of the map assets are only used locally by the players actually viewing the map. I believe in theory that we could do a number of different things to bots so that it is easier to update maps and allow players to bring their own maps. The rest of the stuff is essentially just 'checks' that happen because bots load similar to local so it checks that it has the map folder, the right map name, etc. How much effort it would be to do something like that I'm not really sure without looking at the code.</p>
]]></description><link>https://forums.triplea-game.org/post/11732</link><guid isPermaLink="true">https://forums.triplea-game.org/post/11732</guid><dc:creator><![CDATA[redrum]]></dc:creator><pubDate>Mon, 23 Apr 2018 01:11:37 GMT</pubDate></item><item><title><![CDATA[Reply to Allowing players to upload their own maps into bots temporarily on Sun, 22 Apr 2018 23:39:04 GMT]]></title><description><![CDATA[<p dir="auto">Actually, that is what the ones in the bot with you must do. You must do that too, plus also (the others don't need to do the following):</p>
<ul>
<li>Renaming the "mapName" value in the xml of the game you want to play the same way as the map was renamed, as per above.<br />
In the case above, to <code>property name="mapName" value="270bc" editable="false"</code>.</li>
<li>Loading a savegame of that game, in the bot (for example, a savegame you took at start game on local, as per what I did).</li>
</ul>
]]></description><link>https://forums.triplea-game.org/post/11730</link><guid isPermaLink="true">https://forums.triplea-game.org/post/11730</guid><dc:creator><![CDATA[Cernel]]></dc:creator><pubDate>Sun, 22 Apr 2018 23:39:04 GMT</pubDate></item><item><title><![CDATA[Reply to Allowing players to upload their own maps into bots temporarily on Sun, 22 Apr 2018 23:27:48 GMT]]></title><description><![CDATA[<p dir="auto">This is how it was done (thanks <a class="plugin-mentions-user plugin-mentions-a" href="/user/wirkey" aria-label="Profile: wirkey">@<bdi>wirkey</bdi></a> for testing):</p>
<blockquote>
<p dir="auto">Cernel:  download this<br />
Cernel:  <a href="https://files.fm/u/qxgr24zw#_" target="_blank" rel="noopener noreferrer nofollow ugc">https://files.fm/u/qxgr24zw#_</a><br />
Cernel:  it's novalland map<br />
Cernel:  tell me when you have it<br />
Cernel:  don't put it inside downloaded maps yet<br />
Cernel:  ok so you have it downloaded?<br />
wirkey:  y<br />
Cernel:  cool<br />
Cernel:  so now do that<br />
Cernel:  take 270bc from your downloaded maps folder and move it out<br />
Cernel:  or delete it<br />
wirkey:  don't have it<br />
Cernel:  ok good<br />
Cernel:  be sure you don't have it either zipped or unzipped<br />
Cernel:  unzip the navalland map<br />
wirkey:  where?<br />
Cernel:  outside downloadedmaps for now<br />
Cernel:  wherever you prefer<br />
Cernel:  once you have it unzipped, go into it until you reach the folder called "map"<br />
wirkey:  aye<br />
Cernel:  cut paste it outside<br />
Cernel:  rather<br />
Cernel:  cut paste the "map" folder inside the downloadedMaps folder<br />
Cernel:  and rename the "map" folder to "270bc" (lowercase)<br />
wirkey:  y<br />
Cernel:  so you have this 270bc folder that inside has the other folders called "games" etc. and it is in downloadedMaps right?<br />
wirkey:  y<br />
Cernel:  ok<br />
...<br />
Cernel:  ok can you play it?<br />
wirkey:  it's ugly<br />
Cernel:  see? we are able to play a map that is not available in repository<br />
Cernel:  you want to actually try 1 round?<br />
Cernel:  I woudn't mind to try it<br />
wirkey:  seriously or just for testing?<br />
Cernel:  seriously<br />
Cernel:  testing we already did</p>
</blockquote>
<p dir="auto">I sacrificed 270bc, but it could have been whatever map nominally available in the bot.</p>
<p dir="auto">Since, obviously, the bot doesn't need to see the game (because, you know, it is a bot: it doesn't really have eyes and stuff), you just need the map to have the same name of a whatever map the bot have, and it will work.</p>
<p dir="auto">Here you go: you can play whatever games you wish in whatever bot, as long as you and your mate do what I told <a class="plugin-mentions-user plugin-mentions-a" href="/user/wirkey" aria-label="Profile: wirkey">@<bdi>wirkey</bdi></a> to do, mutatis mutandis.</p>
<p dir="auto">That is why I said that it is senseless that the bots are required to have maps, meaning the skins (and don't really need the xml either, by the way).</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/redrum" aria-label="Profile: redrum">@<bdi>redrum</bdi></a> I don't know if we want to make an official post "how to hack your map to play into any bots", but that's possible. I'll let you decide, since it is a ghetto hack.</p>
]]></description><link>https://forums.triplea-game.org/post/11728</link><guid isPermaLink="true">https://forums.triplea-game.org/post/11728</guid><dc:creator><![CDATA[Cernel]]></dc:creator><pubDate>Sun, 22 Apr 2018 23:27:48 GMT</pubDate></item><item><title><![CDATA[Reply to Allowing players to upload their own maps into bots temporarily on Sun, 22 Apr 2018 23:14:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/schulz" aria-label="Profile: schulz">@<bdi>schulz</bdi></a> Me and <a class="plugin-mentions-user plugin-mentions-a" href="/user/wirkey" aria-label="Profile: wirkey">@<bdi>wirkey</bdi></a> are (as I write) playing your "European War" game in Bot102_NEWARK_NJ (that doesn't have the map, of course).</p>
]]></description><link>https://forums.triplea-game.org/post/11727</link><guid isPermaLink="true">https://forums.triplea-game.org/post/11727</guid><dc:creator><![CDATA[Cernel]]></dc:creator><pubDate>Sun, 22 Apr 2018 23:14:31 GMT</pubDate></item><item><title><![CDATA[Reply to Allowing players to upload their own maps into bots temporarily on Sun, 22 Apr 2018 22:31:48 GMT]]></title><description><![CDATA[<p dir="auto">Actually, at the developers, why do the bots need to have the map at all?</p>
<p dir="auto">The skin, for sure there is no reason for the bot to need it, as the bot doesn't need to see the map and play it.</p>
<p dir="auto">The games (xml), it is good they have them, but one could just load a game you have, just as you can load a savegame (really, no difference).</p>
<p dir="auto">There is really no reason at all for the bot itself to have to have the map or to crash for not having it or to need the map for loading a savegame, either. But I know this is the way it works now.</p>
<p dir="auto">Or am I missing something?</p>
]]></description><link>https://forums.triplea-game.org/post/11724</link><guid isPermaLink="true">https://forums.triplea-game.org/post/11724</guid><dc:creator><![CDATA[Cernel]]></dc:creator><pubDate>Sun, 22 Apr 2018 22:31:48 GMT</pubDate></item><item><title><![CDATA[Reply to Allowing players to upload their own maps into bots temporarily on Sun, 22 Apr 2018 22:16:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/schulz" aria-label="Profile: schulz">@<bdi>schulz</bdi></a> not possible unless you upload to GitHub and it is then downloaded to the bot by admin.  Other option is share through sendspace or whatever equivalent and then host.</p>
]]></description><link>https://forums.triplea-game.org/post/11723</link><guid isPermaLink="true">https://forums.triplea-game.org/post/11723</guid><dc:creator><![CDATA[prastle]]></dc:creator><pubDate>Sun, 22 Apr 2018 22:16:08 GMT</pubDate></item></channel></rss>