fCraft software updates (as applied to Freebuild)

Free forum for everything around the classic server not falling under other categories.
User avatar
fragmer
fCraft Developer
Offline
Posts: 1386
Joined: May 21st, 2011, 10:53 pm

Re: fCraft development updates

Post by fragmer »

"Cloudy" brush (based on 3D Perlin Noise) done.

Image

User avatar
boblol0909
SupOP
Offline
Posts: 314
Joined: June 24th, 2011, 10:27 pm

Re: fCraft development updates

Post by boblol0909 »

fragmer wrote:"Cloudy" brush (based on 3D Perlin Noise) done.

Image

epic

jxfuller
Offline
Posts: 76
Joined: May 27th, 2011, 7:45 pm

Re: fCraft development updates

Post by jxfuller »

Heres a cool floor pattern i made with the new commands. First I did a 3D checkered /ex , then I hollowed it out the ellipsoid. Then I splayed the 3D ellipsoid into 2D by cutting it half and then doing /cut and /paste. Then I layered a simple 2D /ex with it (with one of the blocks being air, then doing a /pastenot air into it) and voila, I got this pattern.

Image

User avatar
fragmer
fCraft Developer
Offline
Posts: 1386
Joined: May 21st, 2011, 10:53 pm

Re: fCraft development updates

Post by fragmer »

Random brush now supports arbitrary number of blocks.

Image
Image

User avatar
fragmer
fCraft Developer
Offline
Posts: 1386
Joined: May 21st, 2011, 10:53 pm

Re: fCraft development updates

Post by fragmer »

Just finished converting /eh, /sp (sphere), and /sph (sphere-hollow) to work with brushes.

Image

prototypedesign
SupOP
Offline
Posts: 173
Joined: May 23rd, 2011, 11:46 pm

Re: fCraft development updates

Post by prototypedesign »

woaaaaah :twisted:

jxfuller
Offline
Posts: 76
Joined: May 27th, 2011, 7:45 pm

Re: fCraft development updates

Post by jxfuller »

How to make a really quick asteroid field with the new commands:

Do /brush random air x25 dirt

then /cx or /ex a large area

The area will still be too dense with dirt for a proper asteroid field even with all the air's in the random brush.. so....

Do a /brush cloudy
and somewhere off to the side do a /cx or /ex white air , in an area just as large as your asteroid field.

Then do a /cut on your cloudy brush.

Then do several /pastenot white into the asteroid field, rotating your copied brush each time before doing the /pastenot white.

This will thin out the dirt in a randomized way and quickly, then you have a proper asteroid field in no time at all.



(the current even quicker way, but bugged way, is to do an asteroid field by doing /brush random dirt air and /cx an area then do /undo and the /undo leaves behind blocks still, which makes the asteroid field.)

User avatar
fragmer
fCraft Developer
Offline
Posts: 1386
Joined: May 21st, 2011, 10:53 pm

Re: fCraft development updates

Post by fragmer »

Coming soon, vast improvements to "cloudy" brush.
Image

User avatar
SnowfireX
OP
Offline
Posts: 59
Joined: June 20th, 2011, 12:07 pm

Re: fCraft development updates

Post by SnowfireX »

Have I ever told you how much I love you Frag?
Jus' saying.
I'm scared to death that I'll never be afraid.

User avatar
fragmer
fCraft Developer
Offline
Posts: 1386
Joined: May 21st, 2011, 10:53 pm

Re: fCraft development updates

Post by fragmer »

Thanks to David and TheMastBoss for helping me on the test server. Here's the Earth made with 4 commands and 4 clicks.

Image

Code: Select all

/brush cloudy
/ex water/60 lime/40
*click click*
/brush normal
/ex blue
*click click*

User avatar
Xesdra
Offline
Posts: 237
Joined: May 24th, 2011, 6:31 am
Location: Australia

Re: fCraft development updates

Post by Xesdra »

Ahhh but Earth is 70% water!

Nice job with those brushes though!
This post makes my post count increase by one!

User avatar
boblol0909
SupOP
Offline
Posts: 314
Joined: June 24th, 2011, 10:27 pm

Re: fCraft development updates

Post by boblol0909 »

fragmer wrote:/brush cloudy
/ex water/60 lime/40
we can do that???? :o
ʎɐqǝ ɟɟo pɹɐoqʎǝʞ ɐ ʎnq ɹǝʌǝu

00:35 FCB2 Pavoneo: I love raping children<3.

User avatar
fragmer
fCraft Developer
Offline
Posts: 1386
Joined: May 21st, 2011, 10:53 pm

Re: fCraft development updates

Post by fragmer »

Random, cloudy, and marbled brushes now support multiple blocks. If you add a slash an a number after a block name, it'll count it as a "ratio" of that block compared to others.

random red - 50% red, 50% untouched
random red blue - 50% each
random red orange yellow - 33% each
random red orange yellow white - 25% each
random red/25 blue/75 - 25% red, 75% blue
random black/2 white/3 - 40% (2/5) black, 60% (3/5) white
random obsidian/1000 white/1 - 99.9% (1000/1001) obsidian, 0.09% (1/1001) white

Easiest way to work with it is by giving it percentages (that add up to 100).

Alternative way of thinking about it: if you write "BlockA/X BlockB/Y", you will have X blocks of type A for every Y blocks of type B.

Yet another way of thinking about it is that X out of every (X+Y) blocks are A, and Y out of every (X+Y) blocks are B.



EDIT: Small patch today (July 31st), all bugfixes:
  • Players who are idle-kicked no longer have their TotalTime increased for the time idled.
  • Fixed a bug that caused times between 25 and 47 hours to be printed incorrectly in /info and /bi.
  • Fixed misleading "Unrecognized blocktype" messages in /brush.
  • Fixed autocompletion in /undox.
  • Minor tweaks to /wflush, /hide, /patrol, /bi, and /undox

User avatar
Inunata
Offline
Posts: 98
Joined: July 21st, 2011, 4:27 am
Location: Ontario, Canada
Contact:

Re: fCraft development updates

Post by Inunata »

Sweet stuff looking foward to using it in Fb :D
INUNATA

Helio: I prefer 6 years old
KingCrab72: If there hair on the muff shes old enough
Inunata: :S

User avatar
fragmer
fCraft Developer
Offline
Posts: 1386
Joined: May 21st, 2011, 10:53 pm

Re: fCraft development updates

Post by fragmer »

Small patch today (August 2nd). Changes that you may care about:
  • Fix: Players can no longer join inaccessible worlds by spectating players who can.
  • Fix: Fixed /pat and /spat sometimes teleporting to players who have not fully connected.
  • Fix: Fixed a case where /bringall could reveal hidden players.
  • Fix: Fixed a few little bugs in /dumpstats, and added "BlocksDrawn" stat to the list.
  • Fix: If the maximum number of map backups is reached, the OLDEST backup is now deleted (instead of the NEWEST one). Oops.
  • Change: When world access permissions are changed, players who lost ability to join the world will automatically be moved to main.
  • Change: Frozen players can no longer call any commands.
Changes that you don't care about:
  • Feature: Various keywords are now usable (and documented) in announce/rule/greeting files.
  • Feature: Added "Insert Color" and "Insert Keyword" buttons to announce/rule/greeting editors in ConfigGUI, and a "Reset" button to revert edits.
  • Fix: Fixed ServerCLI ignoring UpdaterMode setting.
  • Fix: Fixed a couple bugs in the old 3D perlin noise gen (Noise.cs).
  • Change: Improved window titles in all front-ends.
  • Change: Alphabetized credits, and added them to ConfigGUI.
  • Optimization: Started enforcing PlayerDB sort order (by ID, ascending). This allowed to speed up search-by-ID by using binary (instead of linear) search. Speeds up /bi.
  • API: Added WorldChangeReason enum to PlayerJoiningWorld and PlayerJoinedWorld event args.
  • API: Various ReSharper-aided code cleanup.

User avatar
maintrain97
Offline
Posts: 89
Joined: July 20th, 2011, 11:06 pm

Re: fCraft development updates

Post by maintrain97 »

What is spectate mode?
If it automatically follows people...thats amazing
Fragmer is my freakin HERO!

Maintrain97: I AM SO MAD THAT I COULD...
Maintrain97: &
Maintrain97 was kicked for attempted hacking.

User avatar
Lim-Dul
The Necromancer
Offline
Posts: 663
Joined: May 21st, 2011, 10:21 pm

Re: fCraft development updates

Post by Lim-Dul »

maintrain97 wrote:What is spectate mode?
If it automatically follows people...thats amazing
Yes it does. :3
War does not determine who is right - only who is left. - Bertrand Russell

User avatar
maintrain97
Offline
Posts: 89
Joined: July 20th, 2011, 11:06 pm

Re: fCraft development updates

Post by maintrain97 »

Can someone please tell me when all of these things will be released. Because that will be the day my dreams come true! :o
Fragmer is my freakin HERO!

Maintrain97: I AM SO MAD THAT I COULD...
Maintrain97: &
Maintrain97 was kicked for attempted hacking.

User avatar
TheMastBoss
SupOP
Offline
Posts: 208
Joined: May 24th, 2011, 10:09 am
Location: Italy.

Re: fCraft development updates

Post by TheMastBoss »

maintrain97 wrote:Can someone please tell me when all of these things will be released. Because that will be the day my dreams come true! :o
When fragmer gets everything stabilized, and all the bugs fixed.
* Isotope destructively nudges DreamingInsane with a new frogsleg.
tesfai10: greg79 wanna have sex

User avatar
fragmer
fCraft Developer
Offline
Posts: 1386
Joined: May 21st, 2011, 10:53 pm

Re: fCraft development updates

Post by fragmer »

I am narrowing down the checklist of stuff to finish before public release. Here's the current one (updated October 8 ):

Code: Select all

* Drawing overhaul
    - Keep a separate /undo buffer per DrawOp, allocate and fill it lazily.
    - Replace old draw commands with new ones.

* Compatibility
    - Test the auto-updater
    - Backport FCMv4 loader to 0.53x
    - Backport PlayerDBv3 loader to 0.53x
    - Backport IPBanListv2 loader to 0.53x
    - Test upgrading/downgrading

* Misc
    - Switch to FCMv4 for 0.60x
    - Finalize the changelog
    - Document new features on the wiki

User avatar
fragmer
fCraft Developer
Offline
Posts: 1386
Joined: May 21st, 2011, 10:53 pm

Re: fCraft development updates

Post by fragmer »

Redoing the fcraft.net homepage at the moment (click for full size):

Image

User avatar
kattoo
Trustee
Offline
Posts: 318
Joined: May 24th, 2011, 12:01 am

Re: fCraft development updates

Post by kattoo »

Gotta love minimalism.
I'll see you on the Dark Side of the Moon

User avatar
fragmer
fCraft Developer
Offline
Posts: 1386
Joined: May 21st, 2011, 10:53 pm

Re: fCraft development updates

Post by fragmer »

Minimalism is a blessing for those who are bad at web design and are generally lazy :D

User avatar
kattoo
Trustee
Offline
Posts: 318
Joined: May 24th, 2011, 12:01 am

Re: fCraft development updates

Post by kattoo »

Right, you're one lazy mofo :?

Btw. Is there any chance I could get the version of fCraft we're using on our server somehow? I'm having internet issues lately and I'd love to use the new features despite that.
I'll see you on the Dark Side of the Moon

User avatar
fragmer
fCraft Developer
Offline
Posts: 1386
Joined: May 21st, 2011, 10:53 pm

Re: fCraft development updates

Post by fragmer »

August 8 patch notes:
  • Feature: BlockDB now supports preloading (saves CPU/memory/IO on busy worlds).
  • Feature: BlockDB can now limit its filesize and retention time.
  • Feature: /bring and /wbring may now override worlds' access minimum-rank. Explicitly blacklisted players will continue to be barred.
  • Fix: Fixed a bug in /dumpstats related to BlocksDrawn stats.
  • Fix: Uncaught exceptions in background tasks will no longer crash the server.
  • Fix: Fixed "/blockdb WorldName" showing the limits backwards.
  • Fix: Fixed BlockDB sometimes not being flushed on world shutdown.
  • Fix: Fixed a chat-related disconnect bug.
  • Change: PlayerDB now writes out changes to TotalTime incrementally for online players, instead of applying the change on-logout. This should limit data loss in the event of an unexpected shutdown.
[EDIT] Known issue: Blocks restored by /undo do not show up in /bi. I'll fix that later today.

[EDIT 2] Finished the homepage redesign.

User avatar
fragmer
fCraft Developer
Offline
Posts: 1386
Joined: May 21st, 2011, 10:53 pm

Re: fCraft development updates

Post by fragmer »

August 11 patch notes:
  • Feature: /info now shows if the player's been idle for over 2 minutes.
  • Fix: Fixed random, cloudy, and marbled brushes not working properly with just 1 block param.
  • Fix: Fixed a typo in /rank help.
  • Fix: Fixed date/time format in /baninfo.
  • Fix: /unbanip and /unbanall now show the unban reason properly.
  • Fix: Fixed /undo not being recorded in BlockDB.
  • Fix: Fixed an occasional crash in FindPlayerInfoByID (/bi).
  • Change: Optimized /sphx and /ehx a bit.
  • Change: Added a couple new block name aliases: "g" for grass, "w" for water.

User avatar
fragmer
fCraft Developer
Offline
Posts: 1386
Joined: May 21st, 2011, 10:53 pm

Re: fCraft development updates

Post by fragmer »

August 12 patch notes:
  • Fix: Fixed /info not showing idle time for hidden players.
  • Fix: /wload no longer shows "Map file not found" error when creating a new world from an existing and a differently-named map file.
  • Fix: When a player's rank is changed, their bindings are now reset (to avoid issues with /water, /lava, and /solid), and any in-progress selection is canceled (draw commands, /zone, /ztest, /bi, /measure, etc)
  • Fix: /zones no longer crashes if used on a world with a missing or corrupt map file.
  • Change: Allowed non-standard dimensions (neither multiples of 16, nor powers of 2). Added a warning when using nonstandard dimensions. Using nonstandard map dimensions will result in graphical glitches.

User avatar
fragmer
fCraft Developer
Offline
Posts: 1386
Joined: May 21st, 2011, 10:53 pm

Re: fCraft development updates

Post by fragmer »

August 16 patch notes:
  • Feature: Multiple copy/paste slots. See /CopySlot documentation.
  • Feature: Documented individual brushes (e.g. "/help brush marbled")
  • Feature: Added a way to abort a server shutdown (/shutdown abort).
  • Fix: Fixed IRC bot not announcing a fake disconnect when players /hide.
  • Fix: Fixed displayed names of Random, Cloudy, and Marbled brushes when used with 1 param.
  • Change: Renamed a couple blocks to match common naming conventions. "Rocks" is now "Cobblestone", and "Steel" is now "Iron."
  • Change: Frozen players now have a little blue star appended to their names, similar to the red star for banned players.
  • Change: The /shutdown command now takes time argument in the mini-format (e.g. 5s).
  • Change: When players are demoted and can no longer use advanced draw commands, their brush is reset to "Normal".
  • Change: Tweaked Marbled brush appearance.

User avatar
fragmer
fCraft Developer
Offline
Posts: 1386
Joined: May 21st, 2011, 10:53 pm

Re: fCraft development updates

Post by fragmer »

August 19 patch notes:
  • Feature: Added a /timer command (architect+, same as /say). It takes time in the the compact time format and optionally a name/description of a timer. The timer will make announcements as it counts down. Note that there is currently no way to cancel timers, so use them sparingly.
  • Feature: /wload now takes two more optional parameters: /wbuild rank, and /waccess rank.
  • Feature: /rinfo (rank info) now slows copy/paste slots, idle kick time, and permission limits.
  • Feature: When /blockdb is called without parameters, it now prints a list of all tracked worlds.
  • Feature: /players can now be called with an optional WorldName parameter, to only list players in a particular world.
  • Fix: Fixed /ignore and /unignore printing all matches at once on autocompletion.
  • Fix: When sending rank messages (@@rank) to a rank other than your own, the message is now displayed to you.
  • Fix: Fixed rank chat being written to log files twice.
  • Change: Improved integrated help for /blockdb and /wload commands.

User avatar
fragmer
fCraft Developer
Offline
Posts: 1386
Joined: May 21st, 2011, 10:53 pm

Re: fCraft development updates

Post by fragmer »

August 22 patch:
  • Fix: Fixed a crash in /blockdb when used without any parameters.
  • Fix: Fixed chat commands (like /staff) sometimes bypassing spam detection or /mute settings.
  • Fix: Fixed a bug in BlockDB preloading that lost old data. Also optimized limiting.
  • Change: /timer now announces the beginning of a countdown in global chat.
  • Change: /mute command now takes the common time format, instead of the number of seconds.
  • Change: Timers now announce in IRC.
Also here's some stuff you don't care about:
  • Misc: Added a couple more names to the credits.
  • Misc: Per-world backup settings actually work as intended now. Worlds.xml format has changed, now the interval is stored in seconds.
  • Misc: Renamed BackupInterval config key to DefaultBackupInterval. Config version is now 146
  • API: Added several missing precondition checks.
  • API: Removed the obsolete Server.OnPlayerBanner / Server.OnPlayerUnbanned events, replaced with PlayerInfoBanChanging / PlayerInfoBanChanged
  • API: Moved Player-related events from Server to Player class.
  • API: Added a general-purpose Metadata store to the Player object.

Post Reply