HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Hmm. we need a programing forum, but this is the closest...

12-02-2002, 09:39 PM#1
Axiverse
To all you programmers: (visual basic - I have .net)
How do you read .slk files and inplement them into your program

To anyone who has vb.net
Why won't it let me add directX stuff? I've added directx7 com lib as a referance but the directx oby doesnt apperar!!

Public dim ddobj as DirectX7 'it says this doesn't exist
12-03-2002, 06:56 PM#2
Electromancer
Im not a programer, but maybe it would help to have the latest directx, which is directx 8. Maybe that could help.
12-03-2002, 09:08 PM#3
Starcraftfreak
Actually it's DirectX 8.1. This version comes also with Warcraft III (you need it to play Warcraft III)
12-03-2002, 09:58 PM#4
AquaDaishi
You need more then just the DirectX drivers, you need the sdk, check Microsoft.com...

-Fredric
12-03-2002, 10:19 PM#5
nicoli_s
actually i beleive they have a directX 9 or at least one higher than war3's directX i know, but im not sure if its completely stable yet
12-04-2002, 12:22 AM#6
Axiverse
well i have 8.1 and 9 is in beta, but i've tried 8.

also i would like info on loading slk files, cause i'm making a spell editor mainly for practice cause i suck at dealing with files... so right now it looks really cool but does nothing much... emote_confused :(

and how much is 1048576 bytes... 1mb? 10mb? 100mb? or what?
12-04-2002, 12:40 AM#7
ChronOmega
thats about a mb cause 1mb=about 1,000,000 bytes
12-04-2002, 10:33 AM#8
Krakou
1048576 bytes is exactly 1 Mb.
12-04-2002, 12:56 PM#9
AquaDaishi
I'll upload my source code for slk loading tonight.

-Fredric
12-04-2002, 08:24 PM#10
Axiverse
i'll be waiting: here's what i'm trying to do...

abilitydata editor, duh
text file editor - what specifies whar race each spell goes into?
adding new spells - easy onto end, but harder into middle... don't want to rewrite the file every time a new spell is made...
directle insert into map - if i can ever get a mpq dll - arg i hate .net

and anything else fun....

This might be tedious....
12-06-2002, 12:25 PM#11
Phil_123
1 bit = on/off switches (off = 0, on = 1)
8 bits = 1 byte
1024 bytes = 1 KB
1024KB = 1MB
1024MB = 1GB
1024GB = 1TB
1024TB = 1PB

most hard disk manufacturers use 1000 instead of 1024 (that means a "120GB" hard disk may actaully has only 114.440918GB of stroage space)
1 english character = 1 byte (ANSI) / 2 bytes (Unicode)
1 chinese/japanese/korean character = 2 bytes (any text standard)
a floppy disk = 1.44 MB
a CD-Rx disk = 650-900MB
a DVD disk = 4.7GB (single layer) / 9.4GB (double layer)