![]() |
anything AT ALL? - Printable Version +- Mirage Source (https://mirage-engine.uk/forums) +-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61) +--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18) +---- Forum: Source Code Development (https://mirage-engine.uk/forums/forumdisplay.php?fid=51) +----- Forum: Mirage Source 4 (Visual Basic 6) (https://mirage-engine.uk/forums/forumdisplay.php?fid=44) +----- Thread: anything AT ALL? (/showthread.php?tid=2420) Pages:
1
2
|
anything AT ALL? - genusis - 02-12-2008 has anyone found any more errors or issues with the newest source update of ms4? if so please post it even if you fixed it yourself please post the problem and the fix. thank you ! ^^ Re: anything AT ALL? - scarra3 - 02-12-2008 I havent found any problems with it at this moment in time but ill keep looking Re: anything AT ALL? - genusis - 06-12-2008 just report problems when you find them till them got to look at a way to optimize ms4 even more... Re: anything AT ALL? - Tony - 06-12-2008 Is it really a eye opener? I've used it but haven't really gone through the entire source. Re: anything AT ALL? - Tayuke - 07-12-2008 I know's its probaly just me and my lack of knowledge, but I can't seem to get the logs to actually log anything on either side (Client/Server). Any help here? Re: anything AT ALL? - Labmonkey - 07-12-2008 In the server, the 3rd tab has a checkbox for logs. Turn it on. Re: anything AT ALL? - Tayuke - 08-12-2008 Labmonkey Wrote:In the server, the 3rd tab has a checkbox for logs. Turn it on. I did, but reguardless it still doesn't work Re: anything AT ALL? - genusis - 08-12-2008 what version of ms4 are you currently using? try restarting the client and server see if that help too. if not post again and i will look into it ^^. Re: anything AT ALL? - Tayuke - 08-12-2008 genusis Wrote:what version of ms4 are you currently using? try restarting the client and server see if that help too. if not post again and i will look into it ^^. I called the ServerLog in FormLoad and it works Re: anything AT ALL? - Tayuke - 09-12-2008 Ok, now I've really found an error: It seems the latest version doesn't want to use all my tileset, and cuts my so I only see half of my tiles for use in the MapEditor. Something in the code must not be set right... Re: anything AT ALL? - Nean - 09-12-2008 Heres a few bugs that could be fixed. Trying to destroy a banlist after it's been destroyed, gives you a RTE. Do a file exist function check, to make sure you're not trying to destroy nothing. Also, you can demote people of the same access of you. If that's the case, having it so you can't kick the same level access of you is futile, as you could demote them first then kick/ban them. These are both EXTREMELY easy to fix though. Re: anything AT ALL? - GIAKEN - 09-12-2008 Here's some optimizations... Code: If Not IsConnected Then InGame = Not InGame Should be: Code: InGame =IsConnected And here's this: Code: Private Function NeedToRestoreSurfaces() As Boolean Re: anything AT ALL? - GIAKEN - 09-12-2008 Also this: Code: If GetTickCount > MapAnimTimer + 250 Then Could be this: Code: If GetTickCount > MapAnimTimer + 250 Then Re: anything AT ALL? - Nean - 09-12-2008 Also, I noticed that the For... Next Loops have the counter after the Next. So like Next I. Apparently it's faster not to have the variable counter after the next. Re: anything AT ALL? - GIAKEN - 09-12-2008 Also there's a lot of dead code. Use CodeSmart and it will scan your project. You can then click the review lines and it'll take you to your dead code. This way you can see if it's right...and I don't like to let programs do stuff to my projects, so that's why I like it. Re: anything AT ALL? - genusis - 09-12-2008 0.o ok ill get on it lol. thanks guys. Re: anything AT ALL? - GIAKEN - 09-12-2008 Ew I just noticed something. All your timers in the gameloop should match this format: Code: If MapAnimTimer < Tick Then And FPS: Code: If TickFPS < Tick Then Re: anything AT ALL? - GIAKEN - 10-12-2008 And HighIndexOnMapwhatever is still bugging. You need to test it... Re: anything AT ALL? - genusis - 10-12-2008 Quote:If MapAnimTimer < Tick Then has been modified as well as the admin access stuff added all the next i x and y have been modified and it did speed it up =]. ban list error fixed I'm looking into the tileset error and HighIndexOnMap. Anything else? edit: there is nothing wrong with the tileset stuff it should automatically detect the size of your tilesheet. and gakien on Sever side find UpdateHighIndex() change Code: If TotalPlayersOnline = 0 Then to Code: If TotalPlayersOnline < 1 Then tell me if that works? Added the DX change form you too ^^ Re: anything AT ALL? - GIAKEN - 10-12-2008 Here's some more stuff: Code: Public Function FileExist(ByVal FileName As String, Optional RAW As Boolean = False) As Boolean Code: Function IsTryingToMove() As Boolean Also I read somewhere it wasn't good to use commas when dim'ing like this: Code: Dim n As Long, i As Long Re: anything AT ALL? - Jacob - 10-12-2008 GIAKEN Wrote:Also I read somewhere it wasn't good to use commas when dim'ing like this: I've never seen that, but I have seen people dim like this thinking it's dimming both variables as long. Code: Dim n, i As Long Re: anything AT ALL? - GIAKEN - 11-12-2008 Haha wow. Found this in the server just now: Code: Case CQuit Re: anything AT ALL? - deathknight - 11-12-2008 Not sure were to post this, but I noticed that if you are mapping, and place a warp tile, and step on it, not only does it not warp you, it completely freezes you. The only way you can move again is to go in and delete the warp tile and send the map. We could probably have it so that instead of it freezing us, it brings up a message box asking if we want to save, and if we do, then warps us to where it is (kind of like how it happens when you change maps). Re: anything AT ALL? - genusis - 11-12-2008 Dugor Wrote:i read that same exact thing some where XD. better of safe than stupid i always say lol.GIAKEN Wrote:Also I read somewhere it wasn't good to use commas when dim'ing like this: Code: Public Function FileExist(ByVal FileName As String, Optional RAW As Boolean = False) As Boolean Code: Function IsTryingToMove() As Boolean Re: anything AT ALL? - Mellowz - 11-12-2008 You don't need an End If if it's all on the same line. >_> |