WarLight in Unity Alpha now available: 2017-04-27 21:57:58 |
Fizzer
Level 64
Warzone Creator
Report
|
They don't show on Chrome for me, but do for Firefox.
Clearing cache doesn't fix it. Can you try this, on the page with the broken clan icons: 1. Clear your cache (ctrl+shift+delete, check the "cache" box and be sure it's set "for all time") 2. Press F12 to open the debugging tools 3. Click to the Console tab 4. Refresh your browser Once the page loads, assuming the clan icons again don't appear, please copy/paste everything in the console tab and send it to me at fizzer@warlight.net. This will allow me to see why the request for the icon image is failing.
|
WarLight in Unity Alpha now available: 2017-04-27 22:33:14 |
Zephyrum
Level 60
Report
|
@fizzer:
Doing shift+enter (as in, enter a line) acts as just hitting enter in the chatbox.
So for example I can't send split messages like:
Zephyrum: hello pretty ladies
Instead, it sends like this:
Zephyrum: hello Zephyrum: pretty Zephyrum: ladies
Is it possible to make shift-enter work the old way?
|
WarLight in Unity Alpha now available: 2017-04-27 23:11:38 |
Rento
Level 61
Report
|
Strange thing. I cleared my cache and refreshed the first time - didn't help. Second time - didn't help. When I refreshed the page with console tab open, clan icons appeared.
But I'm sending you the log anyway, as they are 4 ERRORS of some kind, so it might be useful to you.
|
WarLight in Unity Alpha now available: 2017-04-27 23:38:57 |
Rento
Level 61
Report
|
It worked for some time, now there's no icons again :( Do you want another log, Fizzer? If yes I'll send you one tomorrow.
|
WarLight in Unity Alpha now available: 2017-04-28 00:15:51 |
Fizzer
Level 64
Warzone Creator
Report
|
Is it possible to make shift-enter work the old way? Yeah, I should be able to do that. I'll add it to the list. Is there a way to disable the splash screen ("Made With Unity"?) Eventually this will go away, yes. This appears now since I'm using the free version of Unity, and it costs money to get rid of that. Before the official launch, we'll will upgrade to the paid version to get rid of the splash screen, since I care about making the game load quickly. It's a monthly fee though so I want to wait as long as possible :) It worked for some time, now there's no icons again :( Do you want another log, Fizzer? If yes I'll send you one tomorrow. Yes, please send me a log of the icons not loading. I see the log you sent but in that one the icons loaded fine. Also, are you switching back and forth between the Flash version and the Unity version? I have a theory on why this happens, and it might be related to having Flash request the icon file, your browser cache it, then Unity tries to load them out of cache.
|
WarLight in Unity Alpha now available: 2017-04-28 11:10:35 |
Sephiroth
Level 61
Report
|
- clicking on the back arrow on the top left of a game takes you to the unity game input dialog instead of the website's game browser
- "Q" and "A" shortcuts work for moving through turn phases, but "Z" doesn't work anymore to commit
- double clicking to issue an attack doesn't work
- clan logos are not rendered correctly
- the timer in RT games isn't noticeable enough
- high resolutions (i.e. 1920x1080) the chat is ridiculously large. Also it is very hard to open it with the mouse because the button is at the very bottom of the page and it could trigger the start bar for the users that hide it. It would be nice to be able to unanchor it and resize it without having the map shrink
Btw this worked for me to load clan icons: - open the Dev Tools (Ctrl+Shift+J or F12) - go to the Network tab - hit F5 - now right click on any file in the network tab and click "Clear Browser Cache" - hit f5 - close the Dev Tools (Alt+F4)
Edited 4/28/2017 12:12:02
|
WarLight in Unity Alpha now available: 2017-04-28 12:35:27 |
Rento
Level 61
Report
|
1. Clearing cache seems to solve the problem everytime now. I don't know why it didn't work for me before, I've probably ballsed something up. Fizzer, your theory seems to be true. I checked it this way: cleared browser cache, then opened only some of my games on flash. Switched to Unity, loaded the same games. No clan icons. I load my other games: I see clan icons, but only those that weren't loaded in Flash. I believe this error is the culprit: XMLHttpRequest cannot load https://s3.amazonaws.com/data.warlight.net/Data/Clans/73/Icon/403542625.png. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://www.warlight.net' is therefore not allowed access. 2. Games in Unity load super long for me when entering from Dashboard. It's 20 seconds of looking at a grey screen (I watched the clock), then Unity logo, then it's loading the game and downloading the map. When I finally load the game and go to others via "next game" button, it loads quickly. With Console open, I realised it's probably because of these errors I sent you earlier in mail. Some stuff loads, few seconds pause, error, some stuffs loads, pause, error etc. I repost these errors here: blob:https://www.warlight.net/31788829-3138-4391-812f-20fcf112fa83:2 Could not set cursor due to exception TypeError: Cannot read property 'length' of null UnityLoader.js:1 writeStringToMemory is deprecated and should not be called! Use stringToUTF8() instead! blob:https://www.warlight.net/31788829-3138-4391-812f-20fcf112fa83:2 Could not set cursor due to exception TypeError: Cannot read property 'length' of null
Edited 4/28/2017 12:37:22
|
WarLight in Unity Alpha now available: 2017-04-28 13:24:44 |
Fizzer
Level 64
Warzone Creator
Report
|
clicking on the back arrow on the top left of a game takes you to the unity game input dialog instead of the website's game browser Yeah, it's a temporary placeholder. This will eventually get fixed up. "Q" and "A" shortcuts work for moving through turn phases, but "Z" doesn't work anymore to commit double clicking to issue an attack doesn't work
It works, you just have to press "A" while in attack phase and then press "Z". It's set up to mimic the same hotkeys that Flash used so that people don't have to re-train themselves. the timer in RT games isn't noticeable enough How so? I thought it was the same as Flash. clan logos are not rendered correctly I believe this error is the culprit: No 'Access-Control-Allow-Origin' header is present on the requested resource The confusion for me is that the Access-Control-Allow-Origin header is there. I've verified that when Unity requests the image, that header is there and set properly, yet this error still appears. The thing is that the CDN only sends down that header when the "Origin" header is sent up by the client. Unity always sets the Origin header, so it shouldn't be an issue. I think what's going on here is that when Flash requests the file, it doesn't set the Origin header. Therefore, Chrome caches the image and notes that the Access-Control-Allow-Origin header is not present in cache. Then when you switch to Unity, it notices it has it in cache so it doesn't do the request. The problem is the cached version is missing the crucial header, and Chrome isn't smart enough to realize that the cache is invalid due to the missing Origin header. It might be this bug, which was reported to Google years ago but they refuse to fix: https://bugs.chromium.org/p/chromium/issues/detail?id=409090I'll try to fix this by adding a querystring to the request only in Unity, ex: "?Unity=1". This way, as far as the browser is concerned, it's requesting a different file and won't use the cache.
|
WarLight in Unity Alpha now available: 2017-04-28 13:43:13 |
Fizzer
Level 64
Warzone Creator
Report
|
Games in Unity load super long for me when entering from Dashboard. There are a few components here. First, there's the download speed, which is dependent on your internet speed. While the Flash download was 5mb, the Unity download is 27mb. This is because the Unity client is plugin-free, which means it must download the entire engine from the website, whereas with Flash a lot of the assets were already pre-installed on your PC when you downloaded Flash. Also the Flash download is currently delivered through a CDN, whereas the Unity app is delivered from S3, which isn't quite as fast or close to you geographically. It will be moved to a CDN before launch. Just like Flash, this download only has to happen once per each time that I update the app, and it will be cached by your browser (plus Unity has its own caching system in IndexedDB even if your browser expires it). Second is the "Made with Unity" splash screen which wastes a few seconds. This will be going away before launch. Third is the loading time, between when the download finishes and when the splash screen starts. This is dependent mostly on your CPU speed. On my PC, it's about 4-5 seconds in FireFox and about 8-9 seconds in Chrome. I was pretty disappointed with theses numbers, but there are several things coming that will improve it.
- Brace yourselves, WebAssembly is coming. WebAssembly is an emerging technology that promises to increase the loading speed of javascript-heavy pages drastically. But we have to wait for browsers and Unity to fully adopt and optimize it. They've all committed to the project so things are happening. See http://webassembly.org/ for more. FireFox, Chrome, and Unity already have experimental versions of this, but they're still buggy so I haven't enabled it yet.
- As noted above, Chrome is about twice as slow as FireFox. So switching to FireFox is recommended. Make sure to get the 64 bit version if you're on a 64 bit OS.
- Unity is optimizing more for WebGL. It's already gotten a lot better in the past couple releases (you should have seen how slow it was in 5.4, we're in 5.6 now), so I expect that it will keep getting better in future releases.
- The Large-Allocation header is coming, which will improve the speed even further. Only FireFox supports it so far, but it won't be turned on until all the major browsers support it. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Large-Allocation
- There are things I can still do that might make the app smaller and decrease the loading speed more.
- You can try decreasing the memory allocation on the Settings tab. The more memory you allocate, the longer it will take to load. Feel free to experiment, but if you go too low you'll get Out of Memory errors.
- Eventually the Unity app will have a full games browser, open games page, etc. This means you'll only have to load the app once and can navigate around everything within one session rather than having to load it once per game as you do on the website now. This won't help for the first load but it will make it so you only have to load it once.
The hope is that before it launches, it will load drastically faster.
Edited 4/28/2017 13:52:26
|
WarLight in Unity Alpha now available: 2017-04-28 15:50:33 |
muddleszoom
Level 59
Report
|
so when i releases you will have to download unity
|
WarLight in Unity Alpha now available: 2017-04-28 19:31:00 |
Fleecemaster
Level 59
Report
|
It's a self-contained program, so you don't need to download Unity, Unity is just what it's coded in :)
|
WarLight in Unity Alpha now available: 2017-04-29 08:42:40 |
talia_fr0st
Level 59
Report
|
Steam Greenlight Fizzer?
|
WarLight in Unity Alpha now available: 2017-05-01 19:05:19 |
Sephiroth
Level 61
Report
|
The commit button is in a dangerous position, if you are moving through phases using the mouse, you might accidentally click on it and make the turn advance - I think you should click it twice with the mouse for the turn to advance, the first time it should say "click again to commit" (of course it's a different story with A-A-A-Z shortcuts).
Also, a very bad thing of the new version is that the new UI (specifically the chat button at the bottom and the grey bar on the top) is stealing more space to the map than the old UI did. I think both those elements can be improved, the chat button can be moved on top of the menu button, as it used to be in the old UI; the grey bar you can just get rid of.
|
WarLight in Unity Alpha now available: 2017-05-01 19:58:30 |
(deleted)
Level 63
Report
|
Any chance of bringing the analyse attack button on 0% SR games? It's particularly useful when doing large attacks and being unsure if the attack will be worth doing.
|
WarLight in Unity Alpha now available: 2017-05-02 16:46:46 |
(deleted)
Level 60
Report
|
How will it be with multiple games open simultaneously? In flash I could open 20 games and there was no problem. Now (after solving problems with memory allocation and switch to 64 mozilla). I opened 4 games and it consuming from 1 GB to 7GB of RAM memory.
|
WarLight in Unity Alpha now available: 2017-05-02 18:28:40 |
(deleted)
Level 63
Report
|
^ Who here even uses IE though? Instead of opening every single game, you could just open 1 of them, take your turn in that game, then press the back button on the top left, then type/copy and paste a game id.
|
Discussion is locked - replying not allowed
Post a reply to this thread
Before posting, please proofread to ensure your post uses proper grammar and is free of spelling mistakes or typos.
|
|