Author |
Message |
Forum: Resources Topic: Nesting |
Verrigan |
Posted: Wed Mar 14, 2007 3:32 am
|
|
Replies: 21 Views: 7886
|
Dark Echo, I agree. I generally split sections up based on what operation I am performing.. Like, for instance.. If I'm opening a database, and then I'm grabbing a recordset out of one of the tables, I'll separate those two sections by an empty line. This, however, is not as big of an issue for me a... |
|
|
Forum: Resources Topic: Alternative IOCP Tutorial |
Verrigan |
Posted: Wed Mar 14, 2007 3:28 am
|
|
Replies: 42 Views: 19159
|
Thanks, Sephiroth. I'm glad you were not offended. |
|
|
Forum: Resources Topic: Alternative IOCP Tutorial |
Verrigan |
Posted: Tue Mar 13, 2007 4:15 pm
|
|
Replies: 42 Views: 19159
|
just make sure you make a proper installation for clients to use this. Perhaps in the initialization stage of the program; If a error comes up-; Sub Main() On local error goto exts: exit sub exts: if err.number = 91 then If Len(Dir(App.Path & "\COMSocketServer.dll")... |
|
|
Forum: Resources Topic: Nesting |
Verrigan |
Posted: Tue Mar 13, 2007 4:10 pm
|
|
Replies: 21 Views: 7886
|
Originally posted by Verrigan Difficulty: Easy 1/5 I've seen a lot of code from various people on these forums, and most of the code has been difficult to read due to improper nesting. If you want me to look at your code, you will need to use some form of nesting. Don't worry.. Nesting is standard i... |
|
|
Forum: General Topic: Platform Development |
Verrigan |
Posted: Sat Mar 10, 2007 2:53 am
|
|
Replies: 427 Views: 34671
|
My first real programming experience was with C on a Unix machine (SunOS, I believe) on the Free Software Foundation's (FSF) computers in Caimbridge.. (They are, basically, the GNU project.) I like C, though it has been a long time since I've done any real programming in it, I think I can successful... |
|
|
Forum: General Topic: Platform Development |
Verrigan |
Posted: Fri Mar 09, 2007 5:42 pm
|
|
Replies: 427 Views: 34671
|
Thanks, William.. Haven't decided on my own vote for this yet... hehe. |
|
|
Forum: Resources Topic: Remove Code |
Verrigan |
Posted: Fri Mar 09, 2007 5:30 pm
|
|
Replies: 40 Views: 14420
|
He asked if they did... Big difference. Obviously he got his answer.
[edit]
Okay... he said it, and then he asked it.. Obviously he was unsure... Now he knows. |
|
|
Forum: General Topic: Platform Development |
Verrigan |
Posted: Fri Mar 09, 2007 5:27 pm
|
|
Replies: 427 Views: 34671
|
I've been thinking for a long time about this.. Currently, MS is created for and runs on the Windows operating systems. Some modifications (i.e. IOCP) require an NT-based Windows OS, but it's still Windows just the same... My thought is this: When you go out to see how much a dedicated windows serve... |
|
|
Forum: General Topic: @ Speed Hacking |
Verrigan |
Posted: Fri Mar 09, 2007 5:19 pm
|
|
Replies: 254 Views: 15004
|
Yes it was. :P It was just something I stumbled across in my own endeavors to beat speed hacks.. Then I found that it didn't work as anticipated in all environments (Thanks Misunderstood), so I continued my struggle, and went to the 64-bit time method.. This can still be hacked by changing your syst... |
|
|
Forum: Resources Topic: Verrigans Image System |
Verrigan |
Posted: Fri Mar 09, 2007 2:57 pm
|
|
Replies: 67 Views: 39422
|
Okay... I'll try to explain some things about VWBitmapUtils.. Most errors that have to do with file format are eaten by the module for security purposes. If you put in the wrong password, you will not get an error, but your data will be corrupted. If you try to use Native NT DeCompression to decompr... |
|
|
Forum: Resources Topic: Verrigans Image System |
Verrigan |
Posted: Fri Mar 09, 2007 7:56 am
|
|
Replies: 67 Views: 39422
|
Okay... Here's the thing. 1) I got that same error when I tried to unzip a zlib'd file with native decompression.. (DecompressByteData = Native NT decompression, DecompressByteData_ZLib = ZLib decompression) 2) The Invalid picture thing.. You are trying to load the picture from the now encrypted gra... |
|
|
Forum: Resources Topic: Verrigans Image System |
Verrigan |
Posted: Fri Mar 09, 2007 7:27 am
|
|
Replies: 67 Views: 39422
|
I got no errors when I used your code... How much RAM you got in your Vid Card?
[edit]
Bleh... Just realized why that was.. nevermind my above comment.. Looks like I got some coding to do. |
|
|
Forum: Resources Topic: Verrigans Image System |
Verrigan |
Posted: Fri Mar 09, 2007 7:18 am
|
|
Replies: 67 Views: 39422
|
If you are not bothering to compress, then you shouldn't decompress either.
Take out the BMUtil.DecompressByteData lines that don't apply, and then try it. |
|
|
Forum: Resources Topic: Verrigans Image System |
Verrigan |
Posted: Fri Mar 09, 2007 7:07 am
|
|
Replies: 67 Views: 39422
|
Yes.. Hmm... Try loading into DDSCAPS_SYSTEMMEMORY instead of DDSCAPS_VIDEOMEMORY. Let me know what the results are.. (Be sure to change those 128s back to what they were. :) [Edit] There I go, typing before I think again... Scratch the above, and I will see if I can figure it out. [Edit] Are you 10... |
|
|
Forum: General Topic: Commands |
Verrigan |
Posted: Fri Mar 09, 2007 7:05 am
|
|
Replies: 252 Views: 12035
|
You could cut the left portion of the command and then trim the spaces (if there happen to be any..) of the arguments, and then use the arguments as part of your who function.. For example.. CStr = "/whobob" If Left(CStr, 4) = "/who" Then CStr = Right(CStr, Len(CS... |
|
|
Forum: Resources Topic: Verrigans Image System |
Verrigan |
Posted: Fri Mar 09, 2007 6:57 am
|
|
Replies: 67 Views: 39422
|
I didn't actually make this tutorial.. I believe it is Grim's tutorial, since I originally created the graphics system for him. ;) But... I know that the height and width should not be 0.. See if setting both values to 128 (static, for testing purposes) will still error.. Then we shall know whether ... |
|
|
Forum: Resources Topic: Verrigans Image System |
Verrigan |
Posted: Fri Mar 09, 2007 6:39 am
|
|
Replies: 67 Views: 39422
|
I believe that is what the problem is.. You're trying to create a surface with no height/width..
Check to make sure that the password you are using to decrypt your graphics files is correct. |
|
|
Forum: Resources Topic: Alternative to GetTickCount |
Verrigan |
Posted: Fri Mar 09, 2007 6:38 am
|
|
Replies: 76 Views: 54122
|
You will first need to change all your gettickcount variables from Longs to Currency. |
|
|
Forum: Resources Topic: Alternative to GetTickCount |
Verrigan |
Posted: Thu Mar 08, 2007 10:12 pm
|
|
Replies: 76 Views: 54122
|
It depends on what applications are running on the PC that depend on the date/time. |
|
|
Forum: Resources Topic: Alternative to GetTickCount |
Verrigan |
Posted: Thu Mar 08, 2007 7:21 pm
|
|
Replies: 76 Views: 54122
|
The first post is up to date, and I added Spodi's idea to the post to show users how they can use this in a similar fashion to the current GetTickCount() API. Please note, doing it this way will slow down the process (by microseconds). |
|
|
Forum: Resources Topic: Verrigans Image System |
Verrigan |
Posted: Thu Mar 08, 2007 7:08 pm
|
|
Replies: 67 Views: 39422
|
What are the values of the ImageWidth and ImageHeight? |
|
|
Forum: Resources Topic: Alternative IOCP Tutorial |
Verrigan |
Posted: Thu Mar 08, 2007 6:59 pm
|
|
Replies: 42 Views: 19159
|
Ahh... There are some places where it checks a socket, and that socket doesn't exist... Either because it hasn't been created yet, or it has been deleted... (set socket = nothing) In either case, if you perform a 'If Socket Is Nothing Then Exit <Sub/Property/Function>' you will avoid this error in s... |
|
|
Forum: Resources Topic: Reduce Packet Lag... Add a Packet Bufferi |
Verrigan |
Posted: Thu Mar 08, 2007 6:40 pm
|
|
Replies: 46 Views: 24477
|
I just wanted to say these things: 1) This is still a good idea even with Nagling turned on.. It was mainly created to keep the people who login from lagging everyone else in game while everyone waited for that person to receive all the item/npc/etc packets. It also (for an added benefit) helps to k... |
|
|
Forum: Resources Topic: Alternative IOCP Tutorial |
Verrigan |
Posted: Thu Mar 08, 2007 6:33 pm
|
|
Replies: 42 Views: 19159
|
Some tutorials are buggy... Some people who try to follow tutorials are buggy... Aranshada created the Elysium tutorial on his (her?) own, based off of information that he received from Dave's engine, and did not know my original tutorial existed here. Either way, both tutorials accomplish the same ... |
|
|
Forum: General Topic: Access Databases |
Verrigan |
Posted: Thu Mar 08, 2007 6:28 pm
|
|
Replies: 267 Views: 16731
|
I believe there is a tutorial in the tutorials section. |
|
|
Sort by: |