 ab9f3767e2
			
		
	
	ab9f3767e2
	
	
	
		
			
			* Update items_data.py added `Red and White Round Shield`, `Crystal Scroll`, `Magic Stoneplate Ring`, and `Outrider Knight` gear. * Update locations_data.py Added `US: Red and White Round Shield`, `CKG: Magic Stoneplate Ring`, `GA: Outrider Knight` set, and `GA: Crystal Scroll` * Update __init__.py Add `Karla's Ashes` requirements * Update items_data.py Add `Irithyll Rapier, Hollow's Ashes, Irina's Ashes, Karla's Ashes, Cornyx's Ashes, and Orbeck's Ashes` * Update locations_data.py Add `Irithyll Rapier, Hollow's Ashes, Irina's Ashes, Karla's Ashes, Orbeck's Ashes, and Cornyx's Ashes` * Update items_data.py removed "hollows ashes" * Update locations_data.py remove "hollows ashes" * Revert "WebHost: Add the DarkSouls3 entry to upload and download the client file" This reverts commit 5e7c2d4cee485e373ffe60932134013548192c8e. * ds3: Use fill_slot_data instead of generate_output * DS3: Increment data_version * DS3: Fix item name in rule * DS3: Set required client version to 0.3.6 and added offsets between items and location tables for backward compatibility * DS3: Resolve Python 3.8 compatibility * DS3: Removed useless region for locations IDs consistency * DS3: Changed i in loop * DS3: Remove AP.json from the documentation * DS3: Put back json upload and download * DS3: Avoid empty downloads (cherry picked from commit c4c485140d2c427fe49c5b23444a4f1dd111d5b7) Co-authored-by: Br00ty <83629348+Br00ty@users.noreply.github.com>
		
			
				
	
	
		
			60 lines
		
	
	
		
			3.2 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			60 lines
		
	
	
		
			3.2 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| {% macro list_rooms(rooms) -%}
 | |
|     <ul>
 | |
|         {% for room in rooms %}
 | |
|             <li><a href="{{ url_for("host_room", room=room.id) }}">Room #{{ room.id|suuid }}</a></li>
 | |
|         {% endfor %}
 | |
|         {{ caller() }}
 | |
|     </ul>
 | |
| {%- endmacro %}
 | |
| {% macro list_patches_room(room) %}
 | |
|     {% if room.seed.slots %}
 | |
|         <table>
 | |
|             <thead>
 | |
|                 <tr>
 | |
|                     <th>Id</th>
 | |
|                     <th>Name</th>
 | |
|                     <th>Game</th>
 | |
|                     <th>Download Link</th>
 | |
|                     <th>Tracker Page</th>
 | |
|                 </tr>
 | |
|             </thead>
 | |
|             <tbody>
 | |
|             {% for patch in room.seed.slots|list|sort(attribute="player_id") %}
 | |
|                 <tr>
 | |
|                     <td>{{ patch.player_id }}</td>
 | |
|                     <td data-tooltip="Connect via TextClient"><a href="archipelago://{{ patch.player_name | e}}:@{{ config['PATCH_TARGET'] }}:{{ room.last_port }}">{{ patch.player_name }}<a/></td>
 | |
|                     <td>{{ patch.game }}</td>
 | |
|                     <td>
 | |
|                         {% if patch.game == "Minecraft" %}
 | |
|                         <a href="{{ url_for("download_slot_file", room_id=room.id, player_id=patch.player_id) }}" download>
 | |
|                             Download APMC File...</a>
 | |
|                         {% elif patch.game == "Factorio" %}
 | |
|                         <a href="{{ url_for("download_slot_file", room_id=room.id, player_id=patch.player_id) }}" download>
 | |
|                             Download Factorio Mod...</a>
 | |
|                         {% elif patch.game == "Ocarina of Time" %}
 | |
|                         <a href="{{ url_for("download_slot_file", room_id=room.id, player_id=patch.player_id) }}" download>
 | |
|                             Download APZ5 File...</a>
 | |
|                         {% elif patch.game == "VVVVVV" and room.seed.slots|length == 1 %}
 | |
|                         <a href="{{ url_for("download_slot_file", room_id=room.id, player_id=patch.player_id) }}" download>
 | |
|                             Download APV6 File...</a>
 | |
|                         {% elif patch.game == "Super Mario 64" and room.seed.slots|length == 1 %}
 | |
|                         <a href="{{ url_for("download_slot_file", room_id=room.id, player_id=patch.player_id) }}" download>
 | |
|                             Download APSM64EX File...</a>
 | |
|                         {% elif patch.game | supports_apdeltapatch %}
 | |
|                         <a href="{{ url_for("download_patch", patch_id=patch.id, room_id=room.id) }}" download>
 | |
|                             Download Patch File...</a>
 | |
|                         {% elif patch.game == "Dark Souls III" and patch.data %}
 | |
|                         <a href="{{ url_for("download_slot_file", room_id=room.id, player_id=patch.player_id) }}" download>
 | |
|                             Download JSON File...</a>
 | |
|                         {% else %}
 | |
|                             No file to download for this game.
 | |
|                         {% endif %}
 | |
|                     </td>
 | |
|                     <td><a href="{{ url_for("getPlayerTracker", tracker=room.tracker, tracked_team=0, tracked_player=patch.player_id) }}">Tracker</a></td>
 | |
|                 </tr>
 | |
|             {% endfor %}
 | |
|             </tbody>
 | |
|         </table>
 | |
|     {% endif %}
 | |
| {%- endmacro -%}
 |