Valon328 Posted June 6, 2010 Author Share Posted June 6, 2010 I don't know how to fix this but I'm using ES (Eclipse Stable) and I'm lagging A LOT on this certain map! I don't know why, I even have less things than the other map but I lag like heck! Does anyone know a fix for this? Link to comment Share on other sites More sharing options...
balliztik1 Posted June 6, 2010 Share Posted June 6, 2010 Let me guess - it's night time in-game?There are issues with how Eclipse handles blitting the night tiles, so it's very slow. Link to comment Share on other sites More sharing options...
Valon328 Posted June 6, 2010 Author Share Posted June 6, 2010 @Ballie:> Let me guess - it's night time in-game?> > There are issues with how Eclipse handles blitting the night tiles, so it's very slow.ooh but the other places aren't lagging :( but if possible, how do I turn off the night and day thing? Link to comment Share on other sites More sharing options...
Kinjiru Posted June 6, 2010 Share Posted June 6, 2010 @Vålöñシ:> @Ballie:> > > Let me guess - it's night time in-game?> > > > There are issues with how Eclipse handles blitting the night tiles, so it's very slow.> > ooh but the other places aren't lagging :( but if possible, how do I turn off the night and day thing?Just set your map to indoors Link to comment Share on other sites More sharing options...
Valon328 Posted June 6, 2010 Author Share Posted June 6, 2010 @Kinjiru:> @Vålöñシ:> > > @Ballie:> > > > > Let me guess - it's night time in-game?> > > > > > There are issues with how Eclipse handles blitting the night tiles, so it's very slow.> > > > ooh but the other places aren't lagging :( but if possible, how do I turn off the night and day thing?> > Just set your map to indoorscool thanks! :D Saved me a bunch! =D Link to comment Share on other sites More sharing options...
balliztik1 Posted June 6, 2010 Share Posted June 6, 2010 Either that, or turn time off in the server. Make sure it's daytime when you do that, obviously. Link to comment Share on other sites More sharing options...
Robin Posted June 6, 2010 Share Posted June 6, 2010 I wish someone would remove that bloody BltFx code. You should never be using something like ROP for rendering tile by tile. Link to comment Share on other sites More sharing options...
damian666 Posted June 6, 2010 Share Posted June 6, 2010 trust me, i tried xDbut since i suck at dx code, i could not come up with a viable replacement :/Damian666 Link to comment Share on other sites More sharing options...
balliztik1 Posted June 6, 2010 Share Posted June 6, 2010 My personal opinion is to just remove it. It's buggy and slow, so "nothing" seems like a good enough replacement. The whole time system client side isn't even really necessary. The only thing a clock comes in handy for is server events and such. Link to comment Share on other sites More sharing options...
damian666 Posted June 6, 2010 Share Posted June 6, 2010 true, i guess it would be the best thing to do.and remove time system? personally i use it xDfor events indeed, so i think ill let that stay, i think you can turn time off, so i dont see the problem there :)Damian666 Link to comment Share on other sites More sharing options...
balliztik1 Posted June 6, 2010 Share Posted June 6, 2010 Nah, I just mean the client time system. It's really only tied into the day and night cycle, which is buggy with the BltFx thing, etc. The client really doesn't have much need for it if that's gone. Link to comment Share on other sites More sharing options...
damian666 Posted June 6, 2010 Share Posted June 6, 2010 aaah, i see, yeah tahst true, i delete that stuff from my game too :pmeh, guess ill take it out of stable ^^Damian666 Link to comment Share on other sites More sharing options...
silentdemonic Posted June 6, 2010 Share Posted June 6, 2010 If that is removed how will players know the time in-game? Link to comment Share on other sites More sharing options...
damian666 Posted June 6, 2010 Share Posted June 6, 2010 its totally not related man xDits not the part that shows server time ^^Damian666 Link to comment Share on other sites More sharing options...
silentdemonic Posted June 6, 2010 Share Posted June 6, 2010 Im on about for games which rely on the night and day cycle - so it is related.EDIT : Ah just remembered we have source - Ill pop it back in if thats the case xD Link to comment Share on other sites More sharing options...
damian666 Posted June 6, 2010 Share Posted June 6, 2010 then get somebody to write a working night system, then we will talk.Damian666 Link to comment Share on other sites More sharing options...
Robin Posted June 6, 2010 Share Posted June 6, 2010 @silentdemonic:> Im on about for games which rely on the night and day cycle - so it is related.> > EDIT : Ah just remembered we have source - Ill pop it back in if thats the case xDIt's not the cycle which causes the lag, it's the horrible night-time rendering.When I did a DD7 night system I pre-rendered the tilesets to be darker. You'd have two of each tileset, one dark and one normal. When it was night time the entire game would be rendered using the night time tilesets. Link to comment Share on other sites More sharing options...
damian666 Posted June 6, 2010 Share Posted June 6, 2010 hmm… tahst actually not a bad idea... BUTwont that increase memory usage? eclipse does load all bmp's when it starts up.or you used that system where it releases any stuff its not using i guess?Damian666 Link to comment Share on other sites More sharing options...
silentdemonic Posted June 6, 2010 Share Posted June 6, 2010 Would this not be of use :http://www.freevbcode.com/ShowCode.asp?ID=3138 ? Link to comment Share on other sites More sharing options...
silentdemonic Posted June 6, 2010 Share Posted June 6, 2010 If you are handling the memory correctly you shouldnt have big increases- Ive not looked into a great deal but I was thinking to adjust the contrast. I mean they do it in Console games and the same problem of people turning up their TV Brightness to compensate isnt circumvented, so if a player truly wants to do that - let them.EDIT : Sorry for the double post, something went funky Link to comment Share on other sites More sharing options...
balliztik1 Posted June 6, 2010 Share Posted June 6, 2010 @Robin:> It's not the cycle which causes the lag, it's the horrible night-time rendering.> > When I did a DD7 night system I pre-rendered the tilesets to be darker. You'd have two of each tileset, one dark and one normal. When it was night time the entire game would be rendered using the night time tilesets.I was actually considering doing something like that.@[SB:> Damian666 link=topic=61179.msg645790#msg645790 date=1275864027]> hmm… tahst actually not a bad idea... BUT> > wont that increase memory usage? eclipse does load all bmp's when it starts up.> > or you used that system where it releases any stuff its not using I guess?> > Damian666It won't increase memory usage if done correctly. However, since Eclipse does load everything into memory to start, then at night time, there will likely be some lag as you'd have to dump the old tilesets from memory and load up the new ones. A system like Origins has would really be handy for doing a night system.@silentdemonic:> If you are handling the memory correctly you shouldnt have big increasesThat's the thing. We aren't. xD Link to comment Share on other sites More sharing options...
Robin Posted June 6, 2010 Share Posted June 6, 2010 If you did it in Origins the memory level wouldn't change at all. It only loads graphics it's using and unloads any graphics which aren't used for 10 seconds.That's why the memory usage of Origins is usually around the 10mB mark, rather than the 100-200mB of usage Stable has. Link to comment Share on other sites More sharing options...
damian666 Posted June 6, 2010 Share Posted June 6, 2010 hmm… well, it does work... xDbut i think this uses images as a whole, not the dc used to blit to picscreen.Damian666damn it Ballie XDbut yeah, i agree, we arent handling memory correctly... not even close :p Link to comment Share on other sites More sharing options...
Valon328 Posted June 7, 2010 Author Share Posted June 7, 2010 whoa this topic got long XD I made my maps indoors and disabled the time, would this help?P.S: Oh yeah I also saw someone say something about the time: I've also noticed that the time continues and discontinues when you turn on and off the server, right? @)@ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now