For$
<!-- begin site header -->
<div id=

Author Topic: /cuboid  (Read 13101 times)

DJmaxx

  • Newbie
  • *
  • Posts: 3
    • View Profile
/cuboid
« on: December 24, 2010, 02:12:43 am »
cuboid <block> <type> (shortcut = z)
spawn on block
http://www.wegame.com/view/misc-gaming-screenshot-by-konrad16-2010-12-23-160814/

and so on more her
http://www.wegame.com/view/misc-gaming-screenshot-by-konrad16-2010-12-23-160831/

and all they com
http://www.wegame.com/view/misc-gaming-screenshot-by-konrad16-2010-12-23-160855/
                                                                  By DJmaxx
« Last Edit: December 24, 2010, 02:16:21 am by DJmaxx »

deoxxa

  • Administrator
  • Newbie
  • *****
  • Posts: 28
    • View Profile
Re: /cuboid
« Reply #1 on: December 24, 2010, 03:27:16 am »
...what?

DJmaxx

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: /cuboid
« Reply #2 on: December 25, 2010, 10:52:36 am »
Her :P

deoxxa

  • Administrator
  • Newbie
  • *****
  • Posts: 28
    • View Profile
Re: /cuboid
« Reply #3 on: December 25, 2010, 01:54:47 pm »
Mineserver is written in C++, not C#.

Snowblind

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: /cuboid
« Reply #4 on: December 25, 2010, 02:12:28 pm »
"her"

DJmaxx

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: /cuboid
« Reply #5 on: December 25, 2010, 02:22:00 pm »
OK thx guys


Quote
using System;

///<summary>
///make sure structs have 'public' access on fields,
///when translated into other languages
///</summary>
public struct S1
{
   public int i1;
   ///<summary>
   ///decide: map to string or char[] or StringBuilder?
   ///</summary>
   public char[] c2;
}
public class Globals
{
   ///<summary>
   ///ensure that both '' chars and "" strings can be used to initialize the c2 field
   ///</summary>
   public static S1[] s1_arr = new S1[]{
      new S1 {i1 = 11, c2 = { 'a', ( ( char ) 13) } },
      new S1 {i1 = 21, c2 = "21"},

   };
   ///<summary>
   ///Rule R189: 'main' changed into 'Main'
   ///</summary>
   public static int Main()
   {
      int maxi = 40 / 20;
      int retval = 0;
      for(//translate into 'foreach' loop
      int i = 0;
      i < maxi;(i)++)
      {
         S1 obj = s1_arr[i ];
         retval += obj.i1;
         //retval += obj.c2[0];
      }
      return retval;
   }
}

Fador

  • Administrator
  • Full Member
  • *****
  • Posts: 126
    • View Profile
Re: /cuboid
« Reply #6 on: January 04, 2011, 02:09:45 am »
ok, I made a simple plugin test with /cuboid
  • Type /cuboid
  • Place 1st block
  • Place 2nd block
  • The space between is filled