Nevergrind Forums
https://nevergrind.com/forums/

Mini freeze after actions
https://nevergrind.com/forums/viewtopic.php?f=15&t=1255
Page 1 of 1

Author:  Occlo [ Sun Jun 14, 2015 1:09 pm ]
Post subject:  Mini freeze after actions

My game keeps freezing after an action, yet when I scroll or exit full screen mode it comes back.

This happens sometimes when I equip items, sell items, or upgrading items so far. Not sure if it's because you are doing something in the background or not, but it's a new problem.

Author:  robertx32 [ Sun Jun 14, 2015 1:12 pm ]
Post subject:  Re: Mini freeze after actions

Didn't i tell about this a few days ago? It's a freeze but feels like lag, because server must check for item placement and report it back it seems. I suggested him to at least mask it so it looks like it's lag free but if he didn't do it for a week, i'd say it's either not on priority list or just really hard to do xD

Author:  Occlo [ Sun Jun 14, 2015 1:14 pm ]
Post subject:  Re: Mini freeze after actions

I took a break from the game. I didn't notice it last time I played. Or maybe it was there but less noticeable.

I have not read all the forum posts from my absence, so if this is a repeat report, then I apologize.

Author:  Maelfyn [ Sun Jun 14, 2015 1:26 pm ]
Post subject:  Re: Mini freeze after actions

One problem is I've never duplicated this. Is there something particular about your setups? Do you both play in full screen mode?

Author:  robertx32 [ Sun Jun 14, 2015 1:44 pm ]
Post subject:  Re: Mini freeze after actions

For some reason it works perfectly at the start, i'll try doing whatever to make it lag again, i bet it's after hours of playing. Could try make a video if it happens as bad as before.

Kay after a few mins of switching maps, items and mobs it's starting to lag, now lets see how i record this..

Author:  Occlo [ Sun Jun 14, 2015 2:05 pm ]
Post subject:  Re: Mini freeze after actions

I always start playing in full screen mode, but it happens in full screen and normal mode after the first time. Full screen mode might activate it and cause it to recur in normal mode. not sure.

Not sure a video would help, it's pretty easy to describe. Not sure what causes it, but I'm using chrome.

I'm running Utorrent, VLC and chrome, nothing else.

Author:  Maelfyn [ Sun Jun 14, 2015 2:08 pm ]
Post subject:  Re: Mini freeze after actions

Hm, I pushed an update. No idea if it fixed it. Probably not. Worth a shot though.

Author:  Occlo [ Sun Jun 14, 2015 2:14 pm ]
Post subject:  Re: Mini freeze after actions

It might be a memory leak in chrome. You know how if you remove an item, you can't do anything until the server loads that item into your bag? Well, it just causes that action to get prolonged for 5+ seconds. Yet using the scroll wheel out of full screen mode will correct it.

The game seems to hang at that action for some reason.


I reloaded the game since your change and will let you know if it happens again.

Author:  Maelfyn [ Sun Jun 14, 2015 2:15 pm ]
Post subject:  Re: Mini freeze after actions

Btw, some ideas to resolve this:

- Turn on debug mode. You might get an obvious error.
- Advanced: Open the console (F12) and see if AJAX requests to game1.php are taking a very long time to complete.

Author:  Maelfyn [ Sun Jun 14, 2015 2:23 pm ]
Post subject:  Re: Mini freeze after actions

Another hotfix coming. lol... broke all kinds crap.

Author:  robertx32 [ Sun Jun 14, 2015 2:25 pm ]
Post subject:  Re: Mini freeze after actions

Lol i was just fiddling with the f12 thing, i realized it takes anywhere from 600.000 ms to 1.7 seconds to get game1.php when the game is newly started, my next job is to see how much it takes when it's played for a while.. After maintenance..

Author:  Maelfyn [ Sun Jun 14, 2015 2:41 pm ]
Post subject:  Re: Mini freeze after actions

It's up. I discovered a way to dupe by exploiting network lag. Ew. Fixed now. I might have to continue improving this locking mechanism though.

Author:  Maelfyn [ Sun Jun 14, 2015 2:43 pm ]
Post subject:  Re: Mini freeze after actions

Don't have time to fix at the moment, but what I'll do is only lock the item windows instead of the entire game. That will fix the skill button issue.

Author:  robertx32 [ Sun Jun 14, 2015 3:00 pm ]
Post subject:  Re: Mini freeze after actions

So i downloaded the game1.php file to see how it works and.. Oh god 47045 lines of code O_O

Did you write all this by hand? Or is many of it copy paste?

Author:  Maelfyn [ Sun Jun 14, 2015 3:18 pm ]
Post subject:  Re: Mini freeze after actions

game1.php? That's only 578 lines of code... It's impossible to view php code from a server. You're looking at a javascript file. There is a ton of javascript... it's a lot more than 57,000 lines. It's closer to 100k lines.

Author:  robertx32 [ Sun Jun 14, 2015 3:20 pm ]
Post subject:  Re: Mini freeze after actions

Aha so you type 500 lines and java makes it into 50.000 lines?

Author:  Maelfyn [ Sun Jun 14, 2015 5:46 pm ]
Post subject:  Re: Mini freeze after actions

Nono. Nevergrind uses no Java. Whatever you are looking at is minified Javascript. Probably this

Author:  robertx32 [ Sun Jun 14, 2015 5:50 pm ]
Post subject:  Re: Mini freeze after actions

It looks much fancier in notepad ++ heh

Author:  Occlo [ Sun Jun 14, 2015 6:06 pm ]
Post subject:  Re: Mini freeze after actions

Happened again. Didn't notice it until I started double clicking items to compare with equipped items, now just selling is a pain. Will refresh game and refrain from double clicking to see if there is an correlation.

It does seem a simple game refresh helps, so at least it isn't permanent.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/