Mirage Source

Free ORPG making software.
It is currently Sun May 26, 2024 2:44 am

All times are UTC


Search found 281 matches
Search these results:

Author Message

 Forum: Resources   Topic: Alternative to GetTickCount

Posted: Sat Aug 11, 2007 2:57 am 

Replies: 76
Views: 55059


Yes, you do have to change all your old long tickcount values to currency. You could use a double.. but it's a little different, and still uses double the memory of gettickcount anyway... However, using this method defeats the old bug that happens when your server's up too long.. (The machine.. not ...

 Forum: General   Topic: The Ping Tutorial

 Post subject: Re: The Ping Tutorial
Posted: Sat Jul 21, 2007 3:46 pm 

Replies: 72
Views: 11013


Okay... Standard Winsock control, or another form of Winsock usage? The reason I ask is.. Winsock control buffers for 100 ms and then sends what's in the buffer to where it needs to go.. As Spodi pointed out countless times, it is called 'Nagling' which can be overcome (still using the winsock contr...

 Forum: General   Topic: ...

 Post subject: Re: ...
Posted: Sat Jul 21, 2007 2:19 am 

Replies: 128
Views: 17109


There is also a Print() function... Haven't used it in a while, so I don't know the correct syntax... but you can print to the form in whatever font, in whatever location you wish. (Without a control)

 Forum: General   Topic: DD.RestoreAllSurfaces

 Post subject: Re: DD.RestoreAllSurfaces
Posted: Sat Jul 21, 2007 12:25 am 

Replies: 31
Views: 9988


I put a fix for this in KoC... (after posting the bug fix, that somehow never migrated over here...) Anyways.. It just checked for errors.. If there was an error, it popped up a status message saying something like "Please Wait.. Restoring Surfaces.." which would get displayed while the sc...

 Forum: General   Topic: Female Sprites

 Post subject: Re: Female Sprites
Posted: Fri Jul 13, 2007 9:40 pm 

Replies: 22
Views: 8964


Dave wrote:
Perfekt wrote:
There are some hardcore female players out there that will feel really left out if they have to be a male in game.



Like me! Given the choice, I always play female. I swing like that.

Females get treated better by the guys.

 Forum: General   Topic: zlib for vista

 Post subject: Re: zlib for vista
Posted: Fri Jul 06, 2007 2:55 pm 

Replies: 20
Views: 7342


Back on topic.. You do not regsvr32 (or 64, or any other regsvr) zlib.dll, because it is not a ActiveX object. You just declare the functions (Compress/Uncompress) like you would any other API functions.

 Forum: General   Topic: zlib for vista

 Post subject: Re: zlib for vista
Posted: Fri Jul 06, 2007 2:46 pm 

Replies: 20
Views: 7342


William wrote:
I always heared zlib wasnt any good to use..


It depends on what you're using it for..

For images, with my bitmap utils, it compresses the images (lossless) better than a png. :)

 Forum: General   Topic: zlib for vista

 Post subject: Re: zlib for vista
Posted: Fri Jul 06, 2007 1:20 pm 

Replies: 20
Views: 7342


A far as I know, you don't register the zlib dll.. It's not a COM object, it's a library. You call its functions like you do any MS API.

 Forum: General   Topic: GetTickCount

 Post subject: Re: GetTickCount
Posted: Wed Jul 04, 2007 1:42 am 

Replies: 50
Views: 21151


I was just trying to figure out why it was in Advanced Questions rather than Beginner Questions, where it should have been.. So I made a guess, and tried to make a light joke out of it, and I guess nobody got it. :(

 Forum: General   Topic: GetTickCount

 Post subject: Re: GetTickCount
Posted: Tue Jul 03, 2007 10:55 pm 

Replies: 50
Views: 21151


What part didn't you understand? :P

 Forum: General   Topic: GetTickCount

 Post subject: Re: GetTickCount
Posted: Tue Jul 03, 2007 8:07 pm 

Replies: 50
Views: 21151


Contrary to many people's beliefs.. API != Advanced Programming Interface. It stands for Application Programming Interface.

No offense meant to the poster. It's a common mistake.

Topic moved to Beginner Questions.

 Forum: Resources   Topic: Creating a pop-Up Menu

 Post subject: Re: Creating a pop-Up Menu
Posted: Sat Jun 30, 2007 12:35 am 

Replies: 25
Views: 12618


Robin wrote:
I'm sure there's another way to stop the game screen from freezing when you use a menu.

I'm sure there is a way too.. I think you need to do some SetWindowLong()s on either the menu itself, or the form that the menu is child to.. I'd have to research it.

 Forum: General   Topic: probably a simple question...

Posted: Fri Jun 29, 2007 6:08 pm 

Replies: 16
Views: 5638


There is a property you have to set, on the form, called KeyPreview.. This will allow your form to 'preview' key presses, even if your focus is in a text box or something else.

That should make it work, I think. :)

 Forum: General   Topic: Hi :D

 Post subject: Re: Hi :D
Posted: Fri Jun 29, 2007 6:03 pm 

Replies: 24
Views: 10394


Thank you for the vote of confidence, Robin. :oops:

 Forum: General   Topic: probably a simple question...

Posted: Fri Jun 29, 2007 2:21 am 

Replies: 16
Views: 5638


DoEvents?

 Forum: General   Topic: Hi :D

 Post subject: Re: Hi :D
Posted: Thu Jun 28, 2007 7:28 pm 

Replies: 24
Views: 10394


I think this post was the epitome of the MS General Chit Chat. ;)

 Forum: Resources   Topic: Binary/Memory (WIP)

 Post subject: Re: Binary/Memory (WIP)
Posted: Thu Jun 28, 2007 6:42 pm 

Replies: 39
Views: 26182


Yes.. Eventually.

Been pretty busy with my full time job + part-time work.. Part-time work will end this week. :)

 Forum: General   Topic: Attributes Gone!

 Post subject: Re: Attributes Gone!
Posted: Fri Jun 22, 2007 1:19 pm 

Replies: 23
Views: 9133


How are you getting the hdc?

Code:
  pshDC = Surf.GetDC()
?

Are you doing this before each DrawText call? Are you releasing the device context properly?

 Forum: General   Topic: Attributes Gone!

 Post subject: Re: Attributes Gone!
Posted: Thu Jun 21, 2007 4:48 am 

Replies: 23
Views: 9133


On Error Resume Next?

 Forum: General   Topic: Mirage Source to VB.NET

 Post subject: Re: Mirage Source to VB.NET
Posted: Mon Jun 18, 2007 11:04 am 

Replies: 43
Views: 17117


I'll not be paying $1900 for a single person license of something like this that should have been included as part of the express edition of the new and "improved" visual studio.

 Forum: General   Topic: Mirage Source to VB.NET

 Post subject: Re: Mirage Source to VB.NET
Posted: Mon Jun 18, 2007 4:29 am 

Replies: 43
Views: 17117


Okay... After some quick google searching, I have found that C# is .Net, but that it has also been made semi-cross-platform... However, .Net code compiles into .NET Virtual Machine code... Not native or p-code... Which means that C# = VB.Net = whatever else .Net, which means your code is not secure....

 Forum: General   Topic: Mirage Source to VB.NET

 Post subject: Re: Mirage Source to VB.NET
Posted: Mon Jun 18, 2007 3:06 am 

Replies: 43
Views: 17117


I'm confused... I thought C# (C Sharp) was .Net..

Doesn't that mean it is not cross-platform?

 Forum: Resources   Topic: Map Sharding

 Post subject: Re: Map Sharding
Posted: Mon Jun 18, 2007 12:56 am 

Replies: 25
Views: 11272


Oh... I begin to comprehend.

 Forum: Resources   Topic: Map Sharding

 Post subject: Re: Map Sharding
Posted: Mon Jun 18, 2007 12:53 am 

Replies: 25
Views: 11272


Can we just call it seamless maps, like it's supposed to be, then, and not confuse us old people?

Thanks. :D

 Forum: Resources   Topic: Map Sharding

 Post subject: Re: Map Sharding
Posted: Mon Jun 18, 2007 12:50 am 

Replies: 25
Views: 11272


What the hell is map sharding?
Sort by:  
Page 1 of 12 [ Search found 281 matches ]


All times are UTC


Jump to:  
Powered by phpBB® Forum Software © phpBB Group