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

fCraft software updates (as applied to Freebuild)

Post by fragmer »

The purpose of this thread is to post information about changes in the software that powers fCraft.net Freebuild, whenever it's updated. Sometimes Freebuild gets to use unreleased, advance copies of fCraft, and sometimes it gets customized features. Some changes are omitted, if they are not relevant to Freebuild players/staff. For full detailed information about public fCraft software releases, see Version History page on the fCraft Wiki. For even more detailed and up-to-date information, see SVN commit logs.

Update described in this post in now live. See most-recent posts in this thread for up-to-date information.

Anyways, I'm sorry about the lack of software updates recently. I have been working behind the scenes (you can track progress here), but the latest version of fCraft isn't quite stable enough to put on our live server. However, when we do update, expect the following changes:

Features
  • Added /wbring command, similar to /bring but the target is a world name, not a player name.
  • Added /spectate, now limited per-rank.
  • Added /specpatrol (/spat). Works just like /patrol, but automatically puts you in spectate mode.
  • Last leave reason is now stored on PlayerInfo, and shown in /info.
  • Zone names now autocomplete.
  • Added /zrename command to rename zones.
  • Added /zmark command, to use zone boundaries for drawing or making selections.
  • New line-wrapping algorithm wraps at hyphens, and does not wrap at colorcodes.
  • Added a way to cancel partial messages (/nvm)
  • Draw commands now log starting and ending coordinates in addition to volume.
  • Augmented /rules to support several rule subsections (e.g. /rules promotion)
  • If you log out hidden, you will log in quietly/hidden as well.
Bug Fixes
  • Added missing Chat permission requirement to /say, /roll, /staff, and /me
  • Fixed broken /bringall support for bringing multiple ranks at once.
  • Fixed several obscure ways of revealing hidden players via commands like /sinfo and /worlds.
  • Fixed /rank and /tp showing up on available command list for guests. Split /spawn and /tp commands.
  • /patrol and /specpatrol will no longer cycle through idle players. Attempting to patrol self will no longer reset your own patrol timer.
  • Fixed /zadd crash when adding more than one personal zone for the same player (/zadd +Name).
  • Fixed /paste and /pastenot overestimating the number of affected blocks.
Misc Changes
  • Merged /reloadconfig and /autorankreload into /reload command.
  • Merged /importranks and /importbans into /import command.
  • AutoRank now only evaluates online players on a timer. A full database sweep will only be done on startup or on-demand. This should notably reduce average CPU use on large databases.
  • Increased the allowed clicking distance when manually clicking blocks, to account for lag.
  • Slightly reduced map loading time.
If you have any suggestions, head over to "Suggestions" forum section and let me know!

User avatar
Sanjar Khan
Trustee
Offline
Posts: 1766
Joined: May 24th, 2011, 1:40 pm
Location: Leiden, Zuid Holland

Re: Official fCraft pony + software development update.

Post by Sanjar Khan »

If only it were pink
Ferrisbuler2: i will stay but i might not post cus of ollieboy

User avatar
David00143
Trustee
Offline
Posts: 129
Joined: May 24th, 2011, 12:13 am

Re: Official fCraft pony + software development update.

Post by David00143 »

I can't wait until the server gets updated with all of this! :D

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

Re: fCraft development updates

Post by fragmer »

Edit: This update now also live.

Everything from the first post is now in-game. Here are some recent fixes/additions that you can expect after next update:
  • Feature: IRC bot now announces IRC kicks and nick changes.
  • Feature: Added a way to set per-rank main world.
  • Feature: New command, /restore. Selectively loads a map from another file or backup.
  • Feature: /info now supports pagination, and prioritizes matches by player activity.
  • Improved sorting of /players.
  • Fixed a /wload bug that did not immediately store the map for newly-added worlds.
  • Fixed "Player ___ left the server" messages now showing up.
  • Fixed a case when server greeting message was not the first thing shown to the connecting player in chat.
  • Fixed a regression that caused /paste to fail on bounds checks.
  • Fixed /nvm (canceling multiline messages).
  • Fixed players getting stuck in spectate mode if the spectate target disconnects.
  • Fixed "Player ___ joined main" showing up prematurely for connecting players.
  • Fixed a rare crash in DoChangeRank when promoting/demoting offline players
  • Fixed a case where a player could show up on the patrol list more than one.
  • Fixed a rare crash in WorldManager.LoadWorldList.
  • Fixed a minor logic bug in /roll

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

Re: fCraft development updates

Post by fragmer »

Currently working on different "brushes" for draw commands. Finished "checkered" and "random" so far, more on the way. These will be usable with all draw commands (c, ch, cw, e, eh, sp, sph, line, and cut). Replace, replacenot, paste, and pastenot commands will be turned into brushes, to be usable with all shapes.

Image

Image

(The commands are kinda spammy right now because they print some debugging information, I will compact the messages later).

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

Re: fCraft development updates

Post by fragmer »

By PyroPyro's request, a rainbow brush:

Image

User avatar
PyroPyro
Offline
Posts: 381
Joined: May 25th, 2011, 4:00 pm
Location: #fCraft
Contact:

Re: fCraft development updates

Post by PyroPyro »

fragmer wrote: By PyroPyro's request
Image

Also, suggestion: add loading of server side png files for banners... like /png banner.png [rotation] :3

User avatar
Intertoothh
Trustee
Offline
Posts: 1149
Joined: May 24th, 2011, 5:51 am

Re: fCraft development updates

Post by Intertoothh »

No clue how the command structure is but maybe usefull.

/cuboid bursh_box(3,3,red,green,red,blue,red,blue,black,green,black)

First 2 commands is how big your brush is, a 3x3 in this example.
After this you give your brush from topleft to bottemright.

The brush is now:
XXX
XXX
XXX
McLaughlinKid wrote:You put roar on everything don't you?

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

Re: fCraft development updates

Post by fragmer »

Intertoothh wrote:No clue how the command structure is but maybe useful.
Pretty simple! The commands used to produce the three screenshots are:

Code: Select all

/brush checkered
/c white gray

Code: Select all

/brush random
/c rocks mossyrocks

Code: Select all

/brush rainbow
/c
To reset the brush to normal, you'd just type "/brush solid".

User avatar
Fehzor
Trustee
Offline
Posts: 533
Joined: May 24th, 2011, 12:03 am
Location: Battery City
Contact:

Re: fCraft development updates

Post by Fehzor »

Add a probability to the random?

/brush random 25
/c water stillwater

25%chance of stillwaters over waters being drawn.

Also, you've saved me SO much time with the checkers drawing tool. You have no idea.

User avatar
Sanjar Khan
Trustee
Offline
Posts: 1766
Joined: May 24th, 2011, 1:40 pm
Location: Leiden, Zuid Holland

Re: fCraft development updates

Post by Sanjar Khan »

Checkers will allow me to fix guests' build in an instant, thank you very much.
Ferrisbuler2: i will stay but i might not post cus of ollieboy

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

Re: fCraft development updates

Post by Lim-Dul »

WHERE ARE MY FRACTAL INVADERS? ;-)
War does not determine who is right - only who is left. - Bertrand Russell

User avatar
Intertoothh
Trustee
Offline
Posts: 1149
Joined: May 24th, 2011, 5:51 am

Re: fCraft development updates

Post by Intertoothh »

Lim-Dul wrote:WHERE ARE MY FRACTAL INVADERS? ;-)
Please dont use caps, or get muted. ;)
McLaughlinKid wrote:You put roar on everything don't you?

User avatar
Whrithlin
OP
Offline
Posts: 33
Joined: July 19th, 2011, 5:23 pm

Re: fCraft development updates

Post by Whrithlin »

Shouldn't Veterans have access to some of the commands like /patrol and /spectate? Obviously OPs should be patrolling too but they get overloaded on responsibilities and it's mostly Vets patrolling most of the time...

Just wondering
I am an egg man, are you one of the egg men?

User avatar
Intertoothh
Trustee
Offline
Posts: 1149
Joined: May 24th, 2011, 5:51 am

Re: fCraft development updates

Post by Intertoothh »

Whrithlin wrote:Shouldn't Veterans have access to some of the commands like /patrol and /spectate? Obviously OPs should be patrolling too but they get overloaded on responsibilities and it's mostly Vets patrolling most of the time...

Just wondering
This is discussed many times. We wont change it at this moment.
Veteran is a builder rank, not a moderation rank.

Also this thread is about the updates on the server software we are using, not what commands people have.
McLaughlinKid wrote:You put roar on everything don't you?

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

Re: fCraft development updates

Post by fragmer »

Here are the brushes that are planned at this time, and the parameters that they'll take:
  • solid - Default. Takes 0 (uses block that you are holding), 1 (primary fill block), or 2 (inside+outside fill blocks, for hollow draw commands) blocktypes.
  • checkered - Makes a checkered pattern. Takes 1-4 blocktypes (different patterns).
  • random - Randomly switches between blocks. Takes 1 or more blocktypes. I am not sure how to add a way to adjust percentage of each block yet.
  • replace - Like /replace. Takes 2 or more blocktypes.
  • replacenot - Like /replacenot. Takes 2 or more blocktypes.
  • layered - Alternating layers of blocks. Takes axis (x/y/z) and 1 or more blocktypes.
  • striped - Alternating strips of blocks, like 2D checkered pattern that has been extruded. Takes axes (x/y/z/xy/yz/zy/xyz) and 1+ blocktypes.
  • cloudy - Based on perlin noise. Takes 1 or 2 blocktypes, and optionally a fill threshold
  • marbled - Filtered perlin noise. Takes 1 or 2 blocktypes, and optionally a fill threshold
  • restore - Works like /restore. Takes the map filename as a parameter.
  • rainbow - Self-explanatory. No parameters.

User avatar
Aryeec
Offline
Posts: 29
Joined: July 15th, 2011, 6:19 pm

Re: fCraft development updates

Post by Aryeec »

I just asked about this yesterday! :happyskeleton:
But, is there going to be a way to set your own blocks for the rainbow?

User avatar
Sanjar Khan
Trustee
Offline
Posts: 1766
Joined: May 24th, 2011, 1:40 pm
Location: Leiden, Zuid Holland

Re: fCraft development updates

Post by Sanjar Khan »

Aryeec wrote:I just asked about this yesterday! :happyskeleton:
But, is there going to be a way to set your own blocks for the rainbow?
rainbow - Self-explanatory. No parameters.
So that's a no.
solid - Default. Takes 0 (uses block that you are holding), 1 (primary fill block), or 2 (inside+outside fill blocks, for hollow draw commands) blocktypes.
Meaning I can fill my /ch with any block instead of air?

Is this topic the place for questions about development updates or just for announcing them?
Ferrisbuler2: i will stay but i might not post cus of ollieboy

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

Re: fCraft development updates

Post by fragmer »

I guess it's more about discussion than announcements. Feel free to comment on anything. And yes, you can already use "/ch", "/eh", and "/sph" with any two blocks.

Also, I just finished rewriting /cw to work with brushes. Next up, /ch.
Image

User avatar
Ollieboy
Trustee
Offline
Posts: 2343
Joined: May 23rd, 2011, 3:13 am
Location: Australia

Re: fCraft development updates

Post by Ollieboy »

Can you show us an example of cloudy and marble?
<TKB> Hit_Girl: zombies don't hurt
<TKB> Hit_Girl: weird.
<TKB> Hit_Girl was slain by Zombie

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

Re: fCraft development updates

Post by fragmer »

I haven't finished those yet. I'll post screenshots as I continue to implement the planned features.

User avatar
Intertoothh
Trustee
Offline
Posts: 1149
Joined: May 24th, 2011, 5:51 am

Re: fCraft development updates

Post by Intertoothh »

Some if there commands could use a 'size' setting as well :)

So it wont 'change block' each new block, but from the setting you done.
Maybe if something is a number and not a blocktype its a size setting?

Current checkerd:
/bursh checkerd gold silver
/c
:gold: :iron: :gold: :iron: :gold: :iron: :gold: :iron:
:iron: :gold: :iron: :gold: :iron: :gold: :iron: :gold:
:gold: :iron: :gold: :iron: :gold: :iron: :gold: :iron:
:iron: :gold: :iron: :gold: :iron: :gold: :iron: :gold:

/bursh checkerd gold silver 2
/c
:gold: :gold: :iron: :iron: :gold: :gold: :iron: :iron: :gold: :gold: :iron: :iron:
:gold: :gold: :iron: :iron: :gold: :gold: :iron: :iron: :gold: :gold: :iron: :iron:
:iron: :iron: :gold: :gold: :iron: :iron: :gold: :gold: :iron: :iron: :gold: :gold:
:iron: :iron: :gold: :gold: :iron: :iron: :gold: :gold: :iron: :iron: :gold: :gold:
:gold: :gold: :iron: :iron: :gold: :gold: :iron: :iron: :gold: :gold: :iron: :iron:
:gold: :gold: :iron: :iron: :gold: :gold: :iron: :iron: :gold: :gold: :iron: :iron:
McLaughlinKid wrote:You put roar on everything don't you?

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

Re: fCraft development updates

Post by fragmer »

I'll look into it, Intertoothh. I just need to make sure that the command syntax is never ambiguous.

User avatar
Intertoothh
Trustee
Offline
Posts: 1149
Joined: May 24th, 2011, 5:51 am

Re: fCraft development updates

Post by Intertoothh »

Maybe make it easy with
/brush checkers gold silver
/brushsize 2
/c
McLaughlinKid wrote:You put roar on everything don't you?

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

Re: fCraft development updates

Post by fragmer »

Edit: Now live.
Little update coming up tomorrow. Brushes are not enabled yet.
  • Added a list of rank main worlds to /wmain.
  • Typing "/spectate" (or "/spec") without parameters now shows the person whom you are spectating (or the last person whom you've spectated).
  • Fix: Addressed several issues with /patrol.
  • Fix: Players can no longer get stuck hidden if they are demoted while hiding.
  • Fix: Restored compatibility with map files created by dev versions of fCraft 0.500 (before r391). This fixes some really old map files (like Metropolis) becoming unloadable.
  • Fix: Fixed a line wrapper bug that could lock up the IRC bots.
  • Fix: Fixed a crash in /wload that happened if no mapfile was found.
  • Started logging more information about memory usage (to fix leaks).

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

Re: fCraft development updates

Post by fragmer »

Currently working on block tracking (2nd attempt).

Image
Image

Also, just finished converting ellipsoid (/e) to work with brushes.

Image

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

Re: fCraft development updates

Post by Lim-Dul »

fragmer wrote:Currently working on block tracking (2nd attempt).
:o :o :o :o :o :o :o :o
War does not determine who is right - only who is left. - Bertrand Russell

User avatar
Vinifera
OP
Offline
Posts: 20
Joined: May 24th, 2011, 11:12 am
Location: In the middle of nowhere, in the centre of everywhere

Re: fCraft development updates

Post by Vinifera »

I'm not sure where to tell you this Fragmer, so I'll tell you here. /pat randomly goes into alphabetical mode now. It was fine for a while then it started reverting at random times.

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

Re: fCraft development updates

Post by fragmer »

Thanks for letting me know, Vinifera. In the future, the best place to post bugs is the "Bugs" forum.

User avatar
Whrithlin
OP
Offline
Posts: 33
Joined: July 19th, 2011, 5:23 pm

Re: fCraft development updates

Post by Whrithlin »

fragmer wrote:Currently working on block tracking (2nd attempt).
Nice, fragmer, not an easy project. Good luck :)
I am an egg man, are you one of the egg men?

Post Reply