Ryandor.com

Forums
It is currently Tue Jul 01, 2025 1:14 pm

All times are UTC - 7 hours [ DST ]




Post new topic Reply to topic  [ 12 posts ] 
Author Message
PostPosted: Thu Jul 04, 2002 5:18 pm 
Offline
Apprentice
Apprentice

Joined: Mon Jun 24, 2002 7:01 am
Posts: 24
This is a screen shot of a tool that I am creating to assist us in creating caves for our shards. The tool will not be fancy, but should help cut down the amount of time used in creating caves.

The release date for the tool will be Monday.

Image


KnightD


Top
 Profile  
 
 Post subject: OMG SOOOO SWEET!!!!!!!!!
PostPosted: Sat Jul 06, 2002 7:01 pm 
Offline
Journeyman
Journeyman

Joined: Tue Jun 18, 2002 11:53 am
Posts: 110
Location: Tx
That will be great proggy and will save spots on the color table for me and ryandors mods


Top
 Profile  
 
PostPosted: Tue Jul 09, 2002 7:26 am 
Offline
Apprentice
Apprentice

Joined: Mon Jun 24, 2002 7:01 am
Posts: 24
Ok, I ran into a snag last night.
I am using the codes that you find in Inside UO for the cave structures, etc. But when I inport them into the statics using DragonSP. I get some strange results. Because of this, I have delayed release until I can figure out the code array that is needed.

On that note, if someone knows what the code translation between sphere and InsideUO is. I would love to know.

I will be adding the UOX code array tonight. So that it can be used with Worldforge and such.

KnightD


Top
 Profile  
 
PostPosted: Tue Jul 09, 2002 12:54 pm 
Offline
Journeyman
Journeyman

Joined: Tue Jun 18, 2002 11:53 am
Posts: 110
Location: Tx
can you give me your site so when you do release it i can do


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 09, 2002 2:29 pm 
Offline
Peanut Gallery
Peanut Gallery
User avatar

Joined: Sun Jun 02, 2002 8:53 pm
Posts: 1864
Location: Hayward, CA
Just import the statics directly into the static files, they don't have that complex of a format.


Top
 Profile  
 
PostPosted: Tue Jul 09, 2002 2:50 pm 
Offline
Apprentice
Apprentice

Joined: Mon Jun 24, 2002 7:01 am
Posts: 24
This program draws the cave images, it does not edit the files.
Thus it would be difficult to import.

Also, I dont have a VB6 module for inserting static data into the static file.
Maybe in the future, but not at this moment.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 09, 2002 4:37 pm 
Offline
Peanut Gallery
Peanut Gallery
User avatar

Joined: Sun Jun 02, 2002 8:53 pm
Posts: 1864
Location: Hayward, CA
Module? What?
Images?

Why do you need a module to edit the static data? Write it yourself, here's the format:

staidx0.mul:
393216 * 12 bytes info:
4 bytes = Offset
4 bytes = length
4 bytes = no one knows

statics0.mul:
number_of_items_in_map * 7 bytes:
2 bytes = item
1 byte = x
1 byte = y
1 byte = z
2 bytes = color

Just get the map block the item is in, times the block number by 12, get the offset and length from the staidx0.mul file, jump to that location in the statics0.mul file, read in the number of items, and viola.

I could be slightly off on the formats, but they are very simular to that. It's VERY easy to just edit them.


Top
 Profile  
 
PostPosted: Wed Jul 10, 2002 7:28 am 
Offline
Apprentice
Apprentice

Joined: Mon Jun 24, 2002 7:01 am
Posts: 24
I am tring to keep it simple.

Also, I have found that most people want to use two steps when creating there statics. Take a look at dragon, the first pass creates a a directory filled with all the static items, but they are in sphere.scp format. Then you use dragonsp to freeze the scripts into the static file.

ok as for the module; when inserting static info into a static file. You have to create a link list ( or a collection in VB ). After which you load the static info into. The reason for this that each block can have anywhere from 0 to 1024 items. You will need to be able change the the array structure for each block as it is being loaded. Now I could set the array to a fix size. But I do remember a comment in the worldforge code, where they had to increase thier array size. Now I do plan to create a module that will do this. But I am had not planned to do it for this product. Which was to be a simple and quick program.

KnightD


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 10, 2002 9:16 am 
Offline
Peanut Gallery
Peanut Gallery
User avatar

Joined: Sun Jun 02, 2002 8:53 pm
Posts: 1864
Location: Hayward, CA
There is ABSOLUTELY NO REASON you need to use a linked list to work with the static files.

staidx0.mul tells you how big to make your arrays. No linked lists required.

I've made plenty of programs that edit the statics directly and it's so simple a retarted chimp could figure it out.

You definately don't need linked lists for anything. Don't confuse dynamic data sizes with linked lists. Just allocate the apropriate amount of memory for the array, and increase it when needed.

No modules or anything else needed. Just open the files, get the needed info, append your crap on the end, write the new data back, and viola. Maybe 50 lines tops, and that's if you complex the hell out of it needlessly.

_________________
Blog: http://www.sydius.org
Web: http://www.sydius.net


Top
 Profile  
 
 Post subject: hmmm
PostPosted: Wed Jul 10, 2002 1:00 pm 
Offline
Apprentice
Apprentice

Joined: Mon Jun 24, 2002 7:01 am
Posts: 24
I think I will stop this topic before it goes any further. I asked a simple question. What I was looking for, is a translation between insideUO ID's and Sphere ID's. That simple.

KnightD


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 10, 2002 1:10 pm 
Offline
Peanut Gallery
Peanut Gallery
User avatar

Joined: Sun Jun 02, 2002 8:53 pm
Posts: 1864
Location: Hayward, CA
Well I just gave you an alternative (and in my opinion, just as simple) method. ;-)

_________________
Blog: http://www.sydius.org
Web: http://www.sydius.net


Top
 Profile  
 
PostPosted: Wed Jul 10, 2002 7:24 pm 
Offline
Journeyman
Journeyman

Joined: Tue Jun 18, 2002 11:53 am
Posts: 110
Location: Tx
plz as soon as you get that fine gem of a program out tell everyone it will be one of the best


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC - 7 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group