Skip to content

Commit

Permalink
Raise the empires changelog, nodebug
Browse files Browse the repository at this point in the history
  • Loading branch information
Natlies committed Sep 13, 2019
1 parent 6075385 commit 3547727
Show file tree
Hide file tree
Showing 4 changed files with 77 additions and 65 deletions.
7 changes: 6 additions & 1 deletion empires-server.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,12 @@ def home():
@app.route("/nodebug.html")
def no_debug():
print("index")
return render_template("nodebug.html", time=datetime.now().timestamp(), zid=str(get_zid()))
return render_template("nodebug.html", time=datetime.now().timestamp(), zid=str(get_zid()),
allies=json.dumps([ally["friend"] for ally in allies.values()
if "friend" in ally and ally["friend"] and ally["neighbor"]],
default=lambda o: '<not serializable>', sort_keys=False, indent=2),
app_friends=json.dumps([ally["appFriendId"] for ally in allies.values()
if "appFriendId" in ally and ally["appFriendId"] is not None]))


@app.route("/wipe_session", methods=['GET', 'POST'])
Expand Down
120 changes: 61 additions & 59 deletions templates/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,59 +1,61 @@
consumable poison gas (boss fight only), fixes Nat 14/09/2019 00:21
new quest precompletion fix Nat 13/09/2019 01:06
battleDamage, battleKill quest progression Nat 13/09/2019 00:04
no scrolling the page when zooming in flash Nat 12/09/2019 22:33
facebook mock screens Nat 12/09/2019 20:16
accuracy & strength research upgrades effects Nat 12/09/2019 01:05
countUpgrades quest progression Nat 11/09/2019 20:16
Missing Level 6 Pvp welcome screen Nat 11/09/2019 00:33
Steele island, pvp immunity Nat 10/09/2019 08:14
neighborsAdded prepopulated quest Nat 10/09/2019 00:46
bugfix partial loading & back to original main swf Nat 09/09/2019 01:50
automatic backups of edited saves Nat 08/09/2019 23:45
episode images Nat 08/09/2019 22:37
externalized islands, friend types for adding/parts requests, neighbor added quests, code styling Nat 08/09/2019 22:23
cleanup Nat 07/09/2019 19:12
externalized quest settings Nat 07/09/2019 17:28
seen flags, defaulting research parts in inventory Nat 07/09/2019 14:16
research (part two), damage research Nat 07/09/2019 01:39
research (part one), inventory count quest task Nat 02/09/2019 23:15
costs, inventory, versioning, savegame editor Nat 01/09/2019 02:23
PU_QuestManager.swf text placement fix Nat 31/08/2019 00:00
battle rewards Nat 29/08/2019 22:32
campaign reference item (crops,...) specific state values, checkstate overriding future states using current statemachine configuration, reward random dice for prison camp xp buf and doobers(platinum pipes) needed for battle rewards Nat 21/08/2019 23:04
campaign island tracking, campaign rewards, moving objects Nat 20/08/2019 01:51
battle fixes, quests by resourcetype or subtype progression Nat 19/08/2019 19:40
campaign quest progression Nat 18/08/2019 22:40
AI unit selection, ally consumable, campaign mod damage Nat 18/08/2019 20:13
E&A PU_InviteIdle.swf replacement Nat 18/08/2019 13:10
refactored battle engine Nat 17/08/2019 23:15
campaign battle engine Nat 17/08/2019 23:02
energy replenishment Nat 17/08/2019 14:21
allies & population Nat 17/08/2019 01:39
battle engine Nat 15/08/2019 23:59
fixes, quest based invasion spawning, cash cheat for testing Nat 15/08/2019 02:49
leveling cash & energy cap Nat 15/08/2019 01:26
state&quest rewards, reference item in progress of buildings, quest tasks build&harvest&zoom, dummy answers for all possible servercalls, world name Nat 15/08/2019 01:07
refactoring to separate modules, save clearing, auto quest Nat 13/08/2019 21:23
saving auto quest & task completion based on states Nat 11/08/2019 20:16
saving buildings, statemachines, timekeeping, quests Nat 10/08/2019 00:59
blank savegame sqlite database required to persist sessions Nat 07/08/2019 22:55
saving using flask sessions, merging quest progress, tutorial step, user object, correcting placed building identifiers Nat 07/08/2019 22:54
gamesettings converted to json Nat 05/08/2019 22:57
fancy logging events to debug page Nat 05/08/2019 22:48
logging events to debug page Nat 04/08/2019 13:49
gamesettings and questsettings xml excerpts converted to json as python dicts Nat 24/07/2019 22:10
externalized json for world build Nat 24/07/2019 22:08
empire-server flask server Nat 24/07/2019 22:08
html templates for webserver page Nat 24/07/2019 22:07
E&A older? 32995 XML files, not so compatible Nat 24/07/2019 22:02
E&A october XML with a fix for timed buildables Nat 24/07/2019 22:02
E&A october XML with placeholders for missing assets, no longer needed Nat 24/07/2019 22:01
E&A october XML "the most compatible" Nat 24/07/2019 22:00
E&A cooking example assets Nat 24/07/2019 21:59
E&A tracer game SWF Nat 24/07/2019 21:58
E&A original game SWF Nat 24/07/2019 21:57
E&A unmatched unknown assets Nat 24/07/2019 21:56
E&A old assets dupes Nat 24/07/2019 21:55
E&A older dict1 only assets Nat 24/07/2019 21:53
E&A oct-dict assets Nat 24/07/2019 21:53
alpha v0.02a
consumable poison gas (boss fight only), fixes Nat 14/09/2019 00:21
new quest precompletion fix Nat 13/09/2019 01:06
battleDamage, battleKill quest progression Nat 13/09/2019 00:04
no scrolling the page when zooming in flash Nat 12/09/2019 22:33
facebook mock screens Nat 12/09/2019 20:16
accuracy & strength research upgrades effects Nat 12/09/2019 01:05
countUpgrades quest progression Nat 11/09/2019 20:16
Missing Level 6 Pvp welcome screen Nat 11/09/2019 00:33
Steele island, pvp immunity Nat 10/09/2019 08:14
neighborsAdded prepopulated quest Nat 10/09/2019 00:46
bugfix partial loading & back to original main swf Nat 09/09/2019 01:50
automatic backups of edited saves Nat 08/09/2019 23:45
episode images Nat 08/09/2019 22:37
externalized islands, friend types for adding/parts requests, neighbor added quests, code styling Nat 08/09/2019 22:23
cleanup Nat 07/09/2019 19:12
externalized quest settings Nat 07/09/2019 17:28
seen flags, defaulting research parts in inventory Nat 07/09/2019 14:16
research (part two), damage research Nat 07/09/2019 01:39
research (part one), inventory count quest task Nat 02/09/2019 23:15
costs, inventory, versioning, savegame editor Nat 01/09/2019 02:23
PU_QuestManager.swf text placement fix Nat 31/08/2019 00:00
battle rewards Nat 29/08/2019 22:32
campaign reference item (crops,...) specific state values, checkstate overriding future states using current statemachine configuration, reward random dice for prison camp xp buf and doobers(platinum pipes) needed for battle rewards Nat 21/08/2019 23:04
campaign island tracking, campaign rewards, moving objects Nat 20/08/2019 01:51
battle fixes, quests by resourcetype or subtype progression Nat 19/08/2019 19:40
campaign quest progression Nat 18/08/2019 22:40
AI unit selection, ally consumable, campaign mod damage Nat 18/08/2019 20:13
E&A PU_InviteIdle.swf replacement Nat 18/08/2019 13:10
refactored battle engine Nat 17/08/2019 23:15
campaign battle engine Nat 17/08/2019 23:02
energy replenishment Nat 17/08/2019 14:21
allies & population Nat 17/08/2019 01:39
battle engine Nat 15/08/2019 23:59
fixes, quest based invasion spawning, cash cheat for testing Nat 15/08/2019 02:49
leveling cash & energy cap Nat 15/08/2019 01:26
state&quest rewards, reference item in progress of buildings, quest tasks build&harvest&zoom, dummy answers for all possible servercalls, world name Nat 15/08/2019 01:07
refactoring to separate modules, save clearing, auto quest Nat 13/08/2019 21:23
saving auto quest & task completion based on states Nat 11/08/2019 20:16
saving buildings, statemachines, timekeeping, quests Nat 10/08/2019 00:59
blank savegame sqlite database required to persist sessions Nat 07/08/2019 22:55
saving using flask sessions, merging quest progress, tutorial step, user object, correcting placed building identifiers Nat 07/08/2019 22:54
gamesettings converted to json Nat 05/08/2019 22:57
fancy logging events to debug page Nat 05/08/2019 22:48
logging events to debug page Nat 04/08/2019 13:49
pre-alpha v0.01a
gamesettings and questsettings xml excerpts converted to json as python dicts Nat 24/07/2019 22:10
externalized json for world build Nat 24/07/2019 22:08
empire-server flask server Nat 24/07/2019 22:08
html templates for webserver page Nat 24/07/2019 22:07
E&A older? 32995 XML files, not so compatible Nat 24/07/2019 22:02
E&A october XML with a fix for timed buildables Nat 24/07/2019 22:02
E&A october XML with placeholders for missing assets, no longer needed Nat 24/07/2019 22:01
E&A october XML "the most compatible" Nat 24/07/2019 22:00
E&A cooking example assets Nat 24/07/2019 21:59
E&A tracer game SWF Nat 24/07/2019 21:58
E&A original game SWF Nat 24/07/2019 21:57
E&A unmatched unknown assets Nat 24/07/2019 21:56
E&A old assets dupes Nat 24/07/2019 21:55
E&A older dict1 only assets Nat 24/07/2019 21:53
E&A oct-dict assets Nat 24/07/2019 21:53
4 changes: 2 additions & 2 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ <h2 class="uiHeaderTitle" aria-hidden="true"> Empires &amp; Allies</h2>
By Raise the Empires team
<br>
<br>
<b>Game version:</b> pre-alpha 0.2a
<b>Game version:</b> alpha 0.02a
<br>
<b>Release date:</b> UNKNOWN. [format: Sunday, 21 Jul 2019 ]
<b>Release date:</b> Saturday, 14 Sep 2019
<br>
<br>
</div>
Expand Down
11 changes: 8 additions & 3 deletions templates/releases.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
<link rel="stylesheet" href="layouts/yc_r.css"/>
<link rel="stylesheet" href="layouts/yz_r.css"/>
<link rel="stylesheet" href="layouts/yC2_r.css"/>
<script src="//code.jquery.com/jquery-3.4.1.min.js"></script>

</head>

<body class="ego_wide canvas center_fixed_width_app fbx UIPage_LoggedOut liquid hideBanner Locale_en_US">
Expand Down Expand Up @@ -90,16 +92,19 @@
<div class="clearfix uiHeaderTop">
<div>
<h2 class="uiHeaderTitle" aria-hidden="true">ChangeLog</h2>
<h3 class="uiHeaderTitle" aria-hidden="true">pre-alpha 0.2a </h3>
<h3 class="uiHeaderTitle" aria-hidden="true">alpha 0.02a </h3>
</div>
</div>
</div>
<div class="phl ptm uiInterstitialContent" style="height:450px">
<!-- <?php //include('changelog.txt'); ?> -->

<div style="height:100%; width:100%">
<object data="changelog.txt" type="text/plain" style="height:100%; width:100%"></object>
<div id="changelog" style="height:100%; width:100%; white-space: pre; overflow-y: scroll">
<!--<object data="changelog.txt" type="text/plain" style="height:100%; width:100%"></object>-->
</div>
<script>
$("#changelog").load("/changelog.txt");
</script>
</div>
<div class="uiInterstitialBar uiBoxGray topborder">
<div class="clearfix">
Expand Down

0 comments on commit 3547727

Please sign in to comment.