• Leaderboards
  • Server Logs
  • Search
  • Members
Link one here
Link two here
Link three here
Link four here
Link five here

Jacob's CTF Server
Existing user? Sign In Create account
Login at Jacob's CTF Server


Welcome to Jacob_'s Minecraft Capture the Flag! We are one of the first Minecraft CTF servers and still add new features regularly.

This server is made for the original version of Minecraft (now called Classic) so it's completely free! Minecraft Classic is no longer updated, but a group of players and developers are now working on ClassiCube, an updated version with more features and better compatibility. To play on our server using ClassiCube, download the free client and search for Capture the Flag in the server list.

Log in or Register to get full access to the forums.

Jacob's CTF Server › Minecraft Capture the Flag › Suggestions
1 2 3 4 5 Next »

What if CTF used different software

Thread tools
What if CTF used different software
Cheesse Offline
The Inedible
344 Posts:
1 Likes
 
#1
02-16-2017, 08:42 PM
Like MCGalaxy or D3 for example.

Other softwares have more much capability.

Just imagine...


Reply
Brady Offline
my real name is aaron so call me that
50 Posts:
0 Likes
 
#2
02-19-2017, 10:28 PM
Nope.


Reply
Jacob_ Offline
Server Owner
454 Posts:
51 Likes
 
#3
02-19-2017, 11:10 PM
I used to think OpenCraft (foundation of CTF) was poorly coded until I saw the MCGalaxy source.


  • x1
    • x1
    • eo2
Reply
UnknownShadow200 Offline
Junior Member
5 Posts:
0 Likes
 
#4
02-24-2017, 06:04 PM
Which parts of the source code are so awful? (I know most of the games code is(


Reply
Jacob_ Offline
Server Owner
454 Posts:
51 Likes
 
#5
02-25-2017, 03:40 PM
Code:
if (File.Exists("MCGalaxy.update") || File.Exists("MCGalaxy_.update"))
                {
                    try
                    {
                        if (File.Exists("MCGalaxy.update"))
                        {
                            if (File.Exists(args[0]))
                            {
                                if (File.Exists("MCGalaxy.backup"))
                                    File.Delete("MCGalaxy.backup");
                                File.Move(args[0], "MCGalaxy.backup");
                            }
                            File.Move("MCGalaxy.update", args[0]);
                        }
                    }
                    catch (Exception e)
                    {
                        if (tries > 4)
                        {
                            UpdateFailure(e);
                        }
                        else
                        {
                            Console.WriteLine("\n\nAn error occured while updating.  Retrying...\n\n");
                            Thread.Sleep(100);
                            Update(args);
                        }
                    }
Code:
if (args[0].Contains("securitycheck10934579068013978427893755755270374"))
                    {
                        args[0] = args[0].Replace("securitycheck10934579068013978427893755755270374", "");
                        if (args[0] == ".exe")
                            args[0] = "securitycheck10934579068013978427893755755270374.exe";
                        Console.WriteLine("Waiting for " + args[0] + " to exit...");
                        while (Process.GetProcessesByName(args[0]).Length > 0)
                        {
                            //Sit here and do nothing
                        }
                    }


It's mostly just the fact that so many different people have worked on it (MCSharp, MCZall, MCLawl, MCForge, MCDerp and however many I forgot) so there's a lot of variety in coding styles. That's true for every large project though unless you have strict style rules and code reviews.


  • x1
    • x1
    • eo2
Reply
UnknownShadow200 Offline
Junior Member
5 Posts:
0 Likes
 
#6
02-25-2017, 07:58 PM
Fair enough. And yeah that updater code is very ugly, I'd completely forgotten about it. Cleaned it up and happy to clean up any other ugly parts of the code.


Reply



Users browsing this thread:   1 Guest(s)


  •  Return to Top
  •  Contact Us
  •   Server Website
  •  Lite mode
© Rush Crafted with ❤ by iAndrew
Powered By MyBB, © 2002-2025 MyBB Group.
Expand chat
Linear Mode
Threaded Mode
View a Printable Version
Subscribe to this thread
Add Poll to this thread
Send thread to a friend