<< Back to Warzone Classic Forum | Discussion is locked - replying not allowed   Search

Posts 165 - 184 of 741   <<Prev   1  2  3  ...  5  ...  8  9  10  ...  23  ...  37  38  Next >>   
WarLight in Unity Alpha now available: 4/27/2017 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: 4/28/2017 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: 4/28/2017 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: 4/28/2017 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: 4/28/2017 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=409090

I'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: 4/28/2017 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: 4/28/2017 15:50:33


muddleszoom
Level 59
Report
so when i releases you will have to download unity
WarLight in Unity Alpha now available: 4/28/2017 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: 4/29/2017 08:42:40

talia_fr0st
Level 59
Report
Steam Greenlight Fizzer?
WarLight in Unity Alpha now available: 5/1/2017 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: 5/1/2017 19:58:30


DanWL 
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: 5/2/2017 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: 5/2/2017 17:02:00


Tim 🍌 
Level 64
Report
streaming Chrome works for me too but not on IE
WarLight in Unity Alpha now available: 5/2/2017 17:37:36


Tim 🍌 
Level 64
Report
Im Running the Alpha now.
It is crazy slow when you have to restart unity every time you click on a game.
you go tot wait for the Unity Logo and then the game finally loads in.
It looks like it is stalled or crashed if you are an impatient person like me.
WarLight in Unity Alpha now available: 5/2/2017 18:28:40


DanWL 
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.
WarLight in Unity Alpha now available: 5/2/2017 18:47:13


Timinator • apex 
Level 67
Report

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.



kinda tedious if you want to play multiple RT games simultaneous.
WarLight in Unity Alpha now available: 5/2/2017 19:00:55

Fizzer 
Level 64

Warzone Creator
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"

If you played the earlier Unity versions, you'll remember that's exactly how it used to work.

The confirmation phase is a tough subject. It makes sense in multi-player, but not so much in single-player where people expect games to go faster. One complaint I get a *ton* from new players is that there's too much clicking. I see new players always complain that they have to click twice to commit orders. It causes a lot of negative reviews. So there's no more confirmation phase. If it's really a problem for you, I recommend never clicking up there and just using the hotkeys, or train yourself to be careful where you click.

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.

I assume you're playing the WebGL version? In the future, the tabs at the top will be combined into that grey bar, so you'll have more screen real-estate.

Any chance of bringing the analyse attack button on 0% SR games?

You're asking for the Army Loss Graph? https://www.warlight.net/wiki/Analyze_Graphs. If so, it's on my list but it's a low priority at the moment.

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.

It's true that Unity uses more memory than Flash. Part of the reason is that Flash is a plugin, so it can run as a process on your computer independently of your browser, which means it only has to load the engine once and can share it between all tabs. However, the WebGL version is all javascript code so each tab contains a separate copy of the engine. This is just part of the reality we have to live in now that we're moving to a plugin-free world (you can thank Steve Jobs for kicking off the death of Flash, and Google for killing the Unity web player).

One way to alleviate this it to allow switching between games within a single instance of Unity (and therefore a single tab). This is something that's coming soon.

Edited 5/2/2017 19:03:30
WarLight in Unity Alpha now available: 5/2/2017 20:54:19


Master Shredtail
Level 58
Report
Could the confirmation phase thing become an option you can enable/disable? There are some people, such as myself, who like to use it as a sort of graphical overview of their turn before they commit.

Edited 5/2/2017 20:54:35
WarLight in Unity Alpha now available: 5/2/2017 21:37:09


Fleecemaster 
Level 59
Report
^

Options are always nice
WarLight in Unity Alpha now available: 5/3/2017 00:27:40


emas 
Level 60
Report
This new system is easy to learn and a lot more fun. Quicker as well. As for problems I have non as of this writing but I will continue to play and see. Looks very good so far.
Posts 165 - 184 of 741   <<Prev   1  2  3  ...  5  ...  8  9  10  ...  23  ...  37  38  Next >>   
Discussion is locked - replying not allowed