FAQ  •  Register  •  Login

The New Bitfighter Level Database!

<<

kaen

User avatar

Posts: 209

Joined: Thu Jun 14, 2012 11:54 am

Post Sat Nov 30, 2013 11:27 pm

The New Bitfighter Level Database!

For 019 we added a central level database for uploading, downloading, and rating levels from the Bitfighter client. This is a short overview of what it does and how to use it.

Getting Started
In order upload or rate maps, you will need to be logged in to the bitfighter client. If you haven't already, register on the forums and activate your account.

To tell if a level is in the database, hit F2 while playing that level. Maps in the database have a database icon next to their name, as well as the map's rating and your current rating for that map. For example:

Image

Uploading
To upload a map, simply open it in the editor and select Upload/Update from the ESC menu. The rules of uploading are:
  • You must be logged in
  • A level without the DB icon will be uploaded as a new level
  • A level with the DB icon will be uploaded as an update, overwriting the previous version. (Obviously, you cannot do this for a map that isn't yours)

Downloading
To download a map, must use the /dlmap command in-game. If you want to download Biosynthesis by kaen, you would type:

  Code:
/dlmap kaen_biosynthesis
 

The part after "dlmap" is chosen by the database. The rules are:
  • All characters that are not letters, hyphens, or spaces are removed
  • All letters are made lowercase
  • All remaining groups of spaces, hyphens, or underscores are converted into a single underscore

Some examples:
  • "my level" by "author" ==> author_my_level
  • "cool map!!11" by "author" ==> author_cool_map
  • "*!&@#$^*&!@#^" by "author" ==> author_

Rating
To rate a map, you can use the rate map key (defaults to [=]), or use the /rate command while playing. Rating again will change your old rating. You cannot rate your own map.

Conclusion
The dev team collectively put in a lot of work to make this happen, but it is far from perfect. As always, we appreciate any feedback, positive or otherwise.

Have fun! :zapdance:
bobdaduck wrote:Next, the moon!

└────────┘
⎈⎈⎈⎈
┌────────┐
<<

sky_lark

User avatar

Posts: 2053

Joined: Wed Mar 10, 2010 6:00 pm

Post Sat Nov 30, 2013 11:58 pm

Re: The New Bitfighter Level Database!

This was one of my most hopeful long-term feature requests since early Zap!. Thanks for putting in the work, guys, it looks wonderful.
Follow Bitfighter! FacebookTwitterDiscord
<<

Fordcars

User avatar

Posts: 1016

Joined: Fri Apr 20, 2012 3:51 pm

Location: Some city, somewhere

Post Sun Dec 01, 2013 1:23 am

Re: The New Bitfighter Level Database!

Thanks guys, it's awesome!
skybax: Why is this health pack following me?
bobdaduck: uh, it likes you.
<<

Little_Apple

User avatar

Posts: 839

Joined: Sat Jun 11, 2011 12:31 pm

Location: Zanzibar Land

Post Sun Dec 01, 2013 10:01 am

Re: The New Bitfighter Level Database!

This is super cool. But a small issue, some levels that I uploaded prior to 019's release don't seem to be on the database and I can't seem to re-upload.
Image
Hee-ho!
<<

kaen

User avatar

Posts: 209

Joined: Thu Jun 14, 2012 11:54 am

Post Sun Dec 01, 2013 10:58 am

Re: The New Bitfighter Level Database!

Ouch, I didn't think about that situation. As a quick fix, you can delete the LevelDatabaseId line from the actual level file and try again (I think). I'll fix that bug on my end ASAP though.

PS: I wiped the DB before release in order to flush the system.
bobdaduck wrote:Next, the moon!

└────────┘
⎈⎈⎈⎈
┌────────┐
<<

Little_Apple

User avatar

Posts: 839

Joined: Sat Jun 11, 2011 12:31 pm

Location: Zanzibar Land

Post Sun Dec 01, 2013 3:28 pm

Re: The New Bitfighter Level Database!

It worked! Thanks!
Hee-ho!
<<

sam686

User avatar

Posts: 468

Joined: Fri Oct 15, 2010 8:53 pm

Location: United States, South Dakota

Post Thu Jan 16, 2014 1:51 am

Re: The New Bitfighter Level Database!

If your levels is bigger then 64 KB and uploaded to database before now, then they are cropped to 64 KB and breaks levels because of that. Limit is now increased to 16384 KB in database.
Levels affected:
http://bitfighter.org/pleiades/levels/view/112
http://bitfighter.org/pleiades/levels/view/114
http://bitfighter.org/pleiades/levels/view/178
If any of them is yours, edit and re-submit the level code from a working version.

The problem with levels being chopped off was the character limit in database, after seeing Warning: #1265 Data truncated for column 'content' when trying to insert my level directly into database.

The database 'Content' and 'levelgen" was 'text' type limited to a tiny 64 KB in size. Now changed to 'mediumtext' that changes the limit to 16384 KB or 16 MB.
<<

amgine

Posts: 1399

Joined: Thu Apr 19, 2012 2:57 pm

Post Fri Jan 17, 2014 5:19 pm

Re: The New Bitfighter Level Database!

thanks I had one level that i removed cause it did this......
Bitfighter Forever.
<<

Quartz

User avatar

Posts: 901

Joined: Thu Jun 17, 2010 12:14 am

Location: Texas

Post Sat Jan 18, 2014 10:24 am

Re: The New Bitfighter Level Database!

Lawl. That would explain the downvote on Inca. Maybe next time somebody could get in touch with me to explain that my map is broken instead of just down voting and expecting me to get the idea.

Anyway. Thank you sam686! (:
Exploits of Quartz and bobdaduck - Pleiades Maps
19-year-old Quartz mad about lawn removal
raptor wrote:sometimes I think getting Quartz to use plugins is like getting my mom to use a computer
<<

amgine

Posts: 1399

Joined: Thu Apr 19, 2012 2:57 pm

Post Sat Jan 18, 2014 3:15 pm

Re: The New Bitfighter Level Database!

Yeah thanks.

On a future note will we have any problems if the data base will be to large?
Bitfighter Forever.
<<

Fordcars

User avatar

Posts: 1016

Joined: Fri Apr 20, 2012 3:51 pm

Location: Some city, somewhere

Post Sun Jan 19, 2014 12:32 pm

Re: The New Bitfighter Level Database!

Shouldn't be
skybax: Why is this health pack following me?
bobdaduck: uh, it likes you.
<<

amgine

Posts: 1399

Joined: Thu Apr 19, 2012 2:57 pm

Post Wed Jan 22, 2014 4:49 pm

Re: The New Bitfighter Level Database!

I have a idea for a restructuring of BF on pleadies but the admins will never go fir it :)
Bitfighter Forever.
<<

kaen

User avatar

Posts: 209

Joined: Thu Jun 14, 2012 11:54 am

Post Fri Apr 11, 2014 7:31 pm

Re: The New Bitfighter Level Database!

Bump.

Just added Comment Notifications, and the ability to delete comments of your own, or other's comments on your own levels.
bobdaduck wrote:Next, the moon!

└────────┘
⎈⎈⎈⎈
┌────────┐
<<

amgine

Posts: 1399

Joined: Thu Apr 19, 2012 2:57 pm

Post Sat Apr 12, 2014 7:30 pm

Re: The New Bitfighter Level Database!

bump bump
Bitfighter Forever.
<<

Skybax

User avatar

Posts: 1035

Joined: Thu Mar 11, 2010 9:17 am

Location: Washington

Post Sat Apr 12, 2014 10:39 pm

Re: The New Bitfighter Level Database!

amgine wrote:bump bump

Just... No.
Your bumping privileges have been revoked.
raptor wrote:Sorry Skybax, I hijacked your signature so I could post lots of info.
Whittling While wrote:Does this mean I finally get quoted in someone's signature?
watusimoto wrote:Who are the devs around here?!?
<<

Zapped

Posts: 1

Joined: Sun Sep 06, 2015 7:15 pm

Post Sat Oct 29, 2016 7:04 pm

Re: The New Bitfighter Level Database!

Little_Apple wrote:This is super cool. But a small issue, some levels that I uploaded prior to 019's release don't seem to be on the database and I can't seem to re-upload.
Image


If you go to the level file there will be a db id if you clear that it will let you up load.

Return to Announcements

Who is online

Users browsing this forum: No registered users and 0 guests

cron