I wasn't able to find the real nuts and bolts behind how the default actions of savefiles are handled.
What I would like to know is how the byond engine iterates through the variables in atom being saved, and specificly how to change that behavior.
-Salarn
ID:175051
Jun 18 2003, 7:39 am
|
|
In response to Salarn
|
|
Cos' they think it is a Newbie question?
I dunno! Lol Sorry for the completely unhelpful reply! Thats just me! |
default action for dumping the "misc_1" var using save files
misc_1 = object(".0") .0 type = /obj/scrolls/Scroll_of_Heal default action for dumping the "misc_1" var using for(V in vars) <misc_1>Scroll of Heal</misc_1> which is obviously the basic name of the object. so I ask, how does the << command with savefiles create the object referances. -Salarn |
In response to Salarn
|
|
The REAL forum descriptions:
Announcements - someplace where Dantom (and company) can post stuff without having to worry about people responding with complaints. BYOND Q&A - The General forum, renamed so people would stop posting everything there. BYOND Bugs - where you post bugs, although usually just the result of people not knowing what they're doing. Code Problems - where you get help on things that include actual code. Creations - Posting links to stuff you've made, or ranting about it. Design Philosophy - The only civilized programming discussion board here. Classified Ads - Where you ask for other people to make things for you. Off Topic - The replacement for General. Newbie Central - where you post code problems that don't include code. |
In response to Foomer
|
|
Foomer wrote:
The REAL forum descriptions: But Foomer...how can someone help with the persons problem if they have no idea on what the person is doing??? They don't HAVE to give code, but it makes it MUCH easier for us to help if they do! |
In response to Salarn
|
|
How could this be a code problem without any code? See the logic?
|
In response to Gokuss4neo
|
|
Because the person doesn't always have a code written up to work from, that's why they come here and ask for an example, or to be pointed in the right direction.
|
In response to Gokuss4neo
|
|
I would like to apologize for my second post...
I got mixed up with a different post which DOES include, coding, e.t.c I am sincerely sorry... |
In response to Salarn
|
|
Read the blue book :) the whole explanation of how << and Write() work is in there. Most of it, anyways.
|
In response to Nadrew
|
|
See I didn't post it in "Code Problems" since it was not a problem with code I had. I posted it in "BYOND Q&A" because I had a "Q" about how "BYOND" worked "&" was hoping for a "A".
If "BYOND Q&A" is not for asking how byond works, then I apologize for wasting everyone time. -Salarn |
In response to Salarn
|
|
In my own unappreciated opinion, most of the mods don't really have any idea where things belong, so they just stick things wherever it looks best in their eyes. But I don't think there are any solid rules to go by for that sort of thing either.
Don't take it personally, they're just unpaid volunteers after all. :oP |
In response to Salarn
|
|
Q&A is for issues regarding the engine itself, feature requests, etc. It's not for general questions, though the name is still better than "General", which it used to be.
This wasn't really suited to Q&A. Although you asked about the engine, it wasn't really so much about the engine as about a file type, which is more closely related to a language question. Lummox JR |
In response to Lummox JR
|
|
Alright, to be honest I doesn't really matter where the post is, its more important that an answer is found.
So does anyone know how the "F[ckey] << usr" iterates through the vars, like "for(V in vars)" but creates object referances instead of just the name of the object? -Salarn |
-Salarn