Pages: 12 »
Posted on 09-09-11, 07:40 pm
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 10010
Posts: 820/4457
Since: 06-08-11
New sprite database is up!

- You can now sort fields by dragging them.
- No longer makes server-side requests when adding/deleting fields.
- Sprites are sorted into categories!

Well, as you can see, the category thing is really useful for the editor, to easily find sprites. I will add support for it of course.

I'm not sure on how to categorize enemies.
We could do an "Enemies" category, but it would be just too big to be useful. We can also do stuff like "General enemies", "Water enemies", "Fire enemies" and so on.

Suggestions?
Posted on 09-09-11, 08:48 pm
Buster Beetle


Karma: 379
Posts: 244/464
Since: 06-29-11
It looks like the sprite database is not updating right now. I have edited the activators "target" and "source" designations to be consistent. But, it is not appearing in the editor. I tried a manual update with no luck either.
Posted on 09-09-11, 08:56 pm
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 10010
Posts: 821/4457
Since: 06-08-11
Yea, that's because i still haven't updated spritedata.php to use the new DB format. I've changed many things. I'll update it right now
Posted on 09-09-11, 09:20 pm
Buster Beetle


Karma: 379
Posts: 245/464
Since: 06-29-11
Posted by Dirbaio
Yea, that's because i still haven't updated spritedata.php to use the new DB format. I've changed many things. I'll update it right now


Cool thanks. I am adding a lot of data to all the activators. Maybe I can mark them all as data known within the next few days.
Posted on 09-09-11, 09:31 pm
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 10010
Posts: 822/4457
Since: 06-08-11
Posted by luckwii
Cool thanks. I am adding a lot of data to all the activators. Maybe I can mark them all as data known within the next few days.


Awesome!

Also, now spritedata.txt should update properly
Posted on 09-09-11, 11:42 pm
Buster Beetle


Karma: 379
Posts: 246/464
Since: 06-29-11
Posted by Dirbaio
Posted by luckwii
Cool thanks. I am adding a lot of data to all the activators. Maybe I can mark them all as data known within the next few days.


Awesome!

Also, now spritedata.txt should update properly


I double checked the data in the activators category. It all appears correct. The sprite database crash started around when you did the repair to the update. Is it possible there is no entry error, and that it is an auto update error? The editor can't be used, and I can't continue my database editing until the error is cleared. Let me know what you find.

Posted on 09-10-11, 09:41 am (rev. 1)
Red Paragoomba
SKJmin is a moron, so I'm SKJmoron!

Karma: -417
Posts: 24/58
Since: 06-27-11
I can't open the damn editor...
SPRITEDATA error...

Is there a way to disable the auto function once getting the spritedata.txt??
Posted on 09-10-11, 12:08 pm
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 10010
Posts: 824/4457
Since: 06-08-11
Maybe I've screwed up spritedata.txt itself
I'll fix it immediately.
Posted on 09-10-11, 12:23 pm
Red Paragoomba
SKJmin is a moron, so I'm SKJmoron!

Karma: -417
Posts: 25/58
Since: 06-27-11
Ok, found the auto-update unchecking box
I hope you ca nfix it, I'm in a rush to release the newest rev
Thanks anyway!
Posted on 09-10-11, 12:30 pm
Buster Beetle


Karma: 379
Posts: 247/464
Since: 06-29-11
Can you tell where the error is using the error report? It has lines listed for the error. But, when I open it, it opens in notepad where there are no lines to refer to.

Oh and a little off topic, but are the new revisions coming soon. A stable release past 233?
Posted on 09-10-11, 02:01 pm (rev. 2)
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 10010
Posts: 825/4457
Since: 06-08-11
These are lines in NSMBe's source code.
Currently error handling is shit in the sprite data stuff. I'll try to improve it too

EDIT:

Oh shit! I know what's wrong: when you save a sprite, all the fields get saved as checkboxes!!!
Silly bug! Please dont edit any sprites, I'll have to restore the DB from a backup

EDIT2: Fixed now. And I had to restore the DB from before the changes. Only the field data has been restored. I'm reaaally sorry for this I know luckwii entered a lot of data.
Posted on 09-10-11, 03:21 pm
Banned for being a complete idiot.

Karma: 529
Posts: 375/987
Since: 07-09-11
Posted by luckwii
Oh and a little off topic, but are the new revisions coming soon. A stable release past 233?


No. The new features have not yet been fully implemented yet. And once they are, they might be a little buggy, so you should wait a little longer before getting a new rev.

I'm afraid you have to stick with the older revs for now.
Posted on 09-10-11, 04:08 pm (rev. 1)
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 10010
Posts: 826/4457
Since: 06-08-11
Update: The DB now checks that the field values are correct

For example you can't enter "oaidjfoasdij" now as a nybble number

So, hopefully, now the DB will be more safe and we'll get less editor crashes

(The only thing it doesnt check is the Value field for lists)
Posted on 09-10-11, 04:25 pm (rev. 3)
Buster Beetle


Karma: 379
Posts: 248/464
Since: 06-29-11
Posted by Dirbaio
These are lines in NSMBe's source code.
Currently error handling is shit in the sprite data stuff. I'll try to improve it too

EDIT:

Oh shit! I know what's wrong: when you save a sprite, all the fields get saved as checkboxes!!!
Silly bug! Please dont edit any sprites, I'll have to restore the DB from a backup

EDIT2: Fixed now. And I had to restore the DB from before the changes. Only the field data has been restored. I'm reaaally sorry for this I know luckwii entered a lot of data.


Can you get an image of what was there last night?

There was a lot of data. I may not see it again.


At least of there is some way I can retrieve the data from it. Screeshots or something.


I used FRAPS and took screen shots of all their data. It will take a while, but I can restore the data as long as you only go back to when the database broke, no farther.

It was all activator data. It almost contains all the data to finish all the activators.
Posted on 09-10-11, 04:26 pm (rev. 1 by ImageBot on 11-21-16, 02:08 am)
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 10010
Posts: 827/4457
Since: 06-08-11
http://nsmbhd.net/spritedata-old.txt.

This is the old spritedata.txt right before I restored the DB.
The format is simple.

Sprite format:

spritenumber;spritename;spritecategory;spritenotes;fieldcount

and then fieldcount lines containing:

fieldtype;nybble;value;name;notes
Posted on 09-10-11, 06:54 pm
Banned for being a complete idiot.

Karma: 529
Posts: 379/987
Since: 07-09-11
What's the difference between "uncategorized" and "other"? Aren't they pretty much the same thing?
Posted on 09-10-11, 07:05 pm
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 10010
Posts: 829/4457
Since: 06-08-11
No.

Uncategorized means that the sprite has no category.
Other means that the sprite has been classified as "Other".

So, Uncategorized It's a temporary category. We should move all the sprites from there to it's correct category. Then the Uncategorized category will be deleted.
Posted on 09-10-11, 07:54 pm
Banned for being a complete idiot.

Karma: 529
Posts: 380/987
Since: 07-09-11
Oh wait I get it now.
I like the new field dragging feature.
Posted on 09-10-11, 11:12 pm (rev. 1)
Buster Beetle


Karma: 379
Posts: 249/464
Since: 06-29-11
The Sprite database is giving a false error as I am editing the ? switch orange 107. It says there are 2 fields on the same nybble. 10-11 field should be 11 only and 8-9 should be 9 only. But it will not let me save the correct data
Posted on 09-10-11, 11:15 pm
Banned for being a complete idiot.

Karma: 529
Posts: 382/987
Since: 07-09-11
I figured out why.
It doesn't like 0 in the nibble field. That's a bug
Pages: 12 »