View unanswered posts | View active topics It is currently Mon Apr 29, 2024 2:52 pm



Reply to topic  [ 19 posts ] 
Mini freeze after actions 
Author Message
Orc Centurion

Joined: Wed May 06, 2015 1:21 pm
Posts: 25
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.


Sun Jun 14, 2015 1:09 pm
Profile
Goblin Warrior

Joined: Thu Jun 04, 2015 11:14 am
Posts: 124
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


Sun Jun 14, 2015 1:12 pm
Profile
Orc Centurion

Joined: Wed May 06, 2015 1:21 pm
Posts: 25
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.


Sun Jun 14, 2015 1:14 pm
Profile
Site Admin
User avatar

Joined: Thu Jan 03, 2013 12:56 am
Posts: 4133
Location: Crofton, Maryland
One problem is I've never duplicated this. Is there something particular about your setups? Do you both play in full screen mode?

_________________
Nevergrind - Web Browser RPG
Nevergrind 2 Test Server
Firmament Wars - Multiplayer Grand Strategy Warfare
YouTube | Facebook | Discord


Sun Jun 14, 2015 1:26 pm
Profile WWW
Goblin Warrior

Joined: Thu Jun 04, 2015 11:14 am
Posts: 124
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..


Sun Jun 14, 2015 1:44 pm
Profile
Orc Centurion

Joined: Wed May 06, 2015 1:21 pm
Posts: 25
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.


Sun Jun 14, 2015 2:05 pm
Profile
Site Admin
User avatar

Joined: Thu Jan 03, 2013 12:56 am
Posts: 4133
Location: Crofton, Maryland
Hm, I pushed an update. No idea if it fixed it. Probably not. Worth a shot though.

_________________
Nevergrind - Web Browser RPG
Nevergrind 2 Test Server
Firmament Wars - Multiplayer Grand Strategy Warfare
YouTube | Facebook | Discord


Sun Jun 14, 2015 2:08 pm
Profile WWW
Orc Centurion

Joined: Wed May 06, 2015 1:21 pm
Posts: 25
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.


Sun Jun 14, 2015 2:14 pm
Profile
Site Admin
User avatar

Joined: Thu Jan 03, 2013 12:56 am
Posts: 4133
Location: Crofton, Maryland
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.

_________________
Nevergrind - Web Browser RPG
Nevergrind 2 Test Server
Firmament Wars - Multiplayer Grand Strategy Warfare
YouTube | Facebook | Discord


Sun Jun 14, 2015 2:15 pm
Profile WWW
Site Admin
User avatar

Joined: Thu Jan 03, 2013 12:56 am
Posts: 4133
Location: Crofton, Maryland
Another hotfix coming. lol... broke all kinds crap.

_________________
Nevergrind - Web Browser RPG
Nevergrind 2 Test Server
Firmament Wars - Multiplayer Grand Strategy Warfare
YouTube | Facebook | Discord


Sun Jun 14, 2015 2:23 pm
Profile WWW
Goblin Warrior

Joined: Thu Jun 04, 2015 11:14 am
Posts: 124
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..


Sun Jun 14, 2015 2:25 pm
Profile
Site Admin
User avatar

Joined: Thu Jan 03, 2013 12:56 am
Posts: 4133
Location: Crofton, Maryland
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.

_________________
Nevergrind - Web Browser RPG
Nevergrind 2 Test Server
Firmament Wars - Multiplayer Grand Strategy Warfare
YouTube | Facebook | Discord


Sun Jun 14, 2015 2:41 pm
Profile WWW
Site Admin
User avatar

Joined: Thu Jan 03, 2013 12:56 am
Posts: 4133
Location: Crofton, Maryland
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.

_________________
Nevergrind - Web Browser RPG
Nevergrind 2 Test Server
Firmament Wars - Multiplayer Grand Strategy Warfare
YouTube | Facebook | Discord


Sun Jun 14, 2015 2:43 pm
Profile WWW
Goblin Warrior

Joined: Thu Jun 04, 2015 11:14 am
Posts: 124
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?


Sun Jun 14, 2015 3:00 pm
Profile
Site Admin
User avatar

Joined: Thu Jan 03, 2013 12:56 am
Posts: 4133
Location: Crofton, Maryland
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.

_________________
Nevergrind - Web Browser RPG
Nevergrind 2 Test Server
Firmament Wars - Multiplayer Grand Strategy Warfare
YouTube | Facebook | Discord


Sun Jun 14, 2015 3:18 pm
Profile WWW
Goblin Warrior

Joined: Thu Jun 04, 2015 11:14 am
Posts: 124
Aha so you type 500 lines and java makes it into 50.000 lines?


Sun Jun 14, 2015 3:20 pm
Profile
Site Admin
User avatar

Joined: Thu Jan 03, 2013 12:56 am
Posts: 4133
Location: Crofton, Maryland
Nono. Nevergrind uses no Java. Whatever you are looking at is minified Javascript. Probably this

_________________
Nevergrind - Web Browser RPG
Nevergrind 2 Test Server
Firmament Wars - Multiplayer Grand Strategy Warfare
YouTube | Facebook | Discord


Sun Jun 14, 2015 5:46 pm
Profile WWW
Goblin Warrior

Joined: Thu Jun 04, 2015 11:14 am
Posts: 124
It looks much fancier in notepad ++ heh


Sun Jun 14, 2015 5:50 pm
Profile
Orc Centurion

Joined: Wed May 06, 2015 1:21 pm
Posts: 25
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.


Sun Jun 14, 2015 6:06 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 19 posts ] 

Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software