RunUo.Korean.Forum    :: RunUo Document 2.0 RC1 (Beta):: 
Statistics  Archive (html)  S-BLOG  [RSS FEED]   

 
  RunUo.Korean.Forum
ÀæÀºÁú¹®  ÀæÀºÁú¹®    °Ë»ö   °Ë»ö    ȸ¿ø¸®½ºÆ®  È¸¿ø¸®½ºÆ®   À¯Àú±×·ì  À¯Àú±×·ì   Gabbly äÆÃ¿­±â  Ã¤ÆÃ¿­±â 
 
ȸ¿ø°¡ÀÔ  ::  ·Î±×ÀÎ ÂÊÁö ÇÔ È®ÀÎ
 
RunUo.Korean.Forum ¢º About RunUo ¢º 1°èÁ¤´ç 1ÁýÀÌ»ó Çã¿ëÇϰíÀÚ ÇÒ¶§..
»õ ±ÛÀ» ÀÛ¼ºÇÕ´Ï´Ù.´äº¯±ÛÀ» ÀÛ¼ºÇÕ´Ï´Ù. Post Printing
¡Ø TOPIC : 1°èÁ¤´ç 1ÁýÀÌ»ó Çã¿ëÇϰíÀÚ ÇÒ¶§.. ÀÌÀü ±Û :: ´ÙÀ½ ±Û
±Û ¾´ÀÌ ¸Þ¼¼Áö ³»¿ë
GangPung
ÀÛ¼º±ÛÁ¦¸ñ : 1°èÁ¤´ç 1ÁýÀÌ»ó Çã¿ëÇϰíÀÚ ÇÒ¶§..   ±Û ÀÛ¼º½Ã°£ : 2003-12-26 ±Ý 1:24 pm ±ÛÀ» ÀοëÇÏ¿© ÀÛ¼ºÇÕ´Ï´Ù.

¿î ¿µ ÀÚ
¿î ¿µ ÀÚ

°¡ÀÔÀÏ: 2003³â 12¿ù 22ÀÏ
°Ô½Ã¹°: 322
ÁÖ ¼Ò: ´ëÇѹα¹

ÇöÀç ±âº» °ªÀ¸·Î ·±À¯¿À º£Å¸ 36¿¡¼­´Â 1°èÁ¤´ç 1Áý¸¸À» Çã¿ëÇϰí ÀÖ½À´Ï´Ù.

À̺κп¡ ´ëÇØ¼­ 1°èÁ¤´ç 2Áý, ¶Ç´Â 3ÁýÀÌ»óÀ» Çã¿ëÇϰíÀÚ ÇÑ´Ù¸é...

Scripts\Multis\BaseHouse.cs ÆÄÀÏÀ» ¼öÁ¤ÇؾßÇÕ´Ï´Ù.

1°èÁ¤´ç 2ÁýÀ» Çã¿ëÇϰíÀÚ ÇÒ¶§...

¶óÀÎ 2057
ÄÚµå : 
         for ( int i = 0; i < list.Count; ++i )

¸¦ ¾Æ·¡¿Í °°ÀÌ ¼öÁ¤Çϼ¼¿ä
ÄÚµå : 
         for ( int i = 1; i < list.Count; ++i )


¶óÀÎ 2075, 2090 µÎ±ºµ¥¸¦ ¾Æ·¡¿Í °°ÀÌ ¼öÁ¤Çϼ¼¿ä
ÄÚµå : 
         for ( int i = 0; i < 5; ++i )

ÄÚµå : 
         for ( int i = 0; i < 10; ++i )


3Áý ÀÌ»ó Çã¿ëÇϰíÀÚÇÑ´Ù¸é À§ 2057¶óÀο¡¼­´Â i = 2¸¦
¹Ø¿¡ ¶óÀÎ µÎ±ºµ¥¿¡¼­´Â 5ÀÇ ¹è¼ö·Î 15°ªÀ» ÇØÁֽøéµË´Ï´Ù.

WarningGump1.cs ÆÄÀÏÀ» ¾Æ·¡¿Í °°ÀÌ »ý¼ºÇÑ´Ù.
ÄÚµå : 

using System;
using Server;

namespace Server.Gumps
{
   public delegate void WarningGump1Callback( Mobile from, bool okay, object state );

   public class WarningGump1 : Gump
   {
      private WarningGump1Callback m_Callback;
      private object m_State;

      public WarningGump1( int header, int headerColor, object content, int contentColor, int width, int height, WarningGump1Callback callback, object state ) : base( (640 - width) / 2, (480 - height) / 2 )
      {
         m_Callback = callback;
         m_State = state;

         Closable = false;

         AddPage( 0 );

         AddBackground( 0, 0, width, height, 5054 );

         AddImageTiled( 10, 10, width - 20, 20, 2624 );
         AddAlphaRegion( 10, 10, width - 20, 20 );
         AddHtmlLocalized( 10, 10, width - 20, 20, header, headerColor, false, false );

         AddImageTiled( 10, 40, width - 20, height - 80, 2624 );
         AddAlphaRegion( 10, 40, width - 20, height - 80 );

         if ( content is int )
            AddLabel( 10, 40, 33,"You are about to place a new house." );
            AddLabel( 10, 60, 33,"You will not be able to place another house or " );
            AddLabel( 10, 80, 33,"have one transferred to you for one (1) real-life week." );
            AddLabel( 10, 100, 33,"Once you accept these terms," );
            AddLabel( 10, 120, 33," these effects cannot be reversed." );
            AddLabel( 10, 140, 33,"If you are absolutely certain you wish to proceed, " );
            AddLabel( 10, 160, 33,"click the button next to OKAY below." );
            AddLabel( 10, 180, 33,"If you do not wish to trade for this house, click CANCEL." );
         //else if ( content is string )
            //AddHtml( 10, 40, width - 20, height - 80, String.Format( "<BASEFONT COLOR=#{0:X6}>{1}</BASEFONT>", contentColor, content ), false, true );

         AddImageTiled( 10, height - 30, width - 20, 20, 2624 );
         AddAlphaRegion( 10, height - 30, width - 20, 20 );

         AddButton( 10, height - 30, 4005, 4007, 1, GumpButtonType.Reply, 0 );
         AddHtmlLocalized( 40, height - 30, 170, 20, 1011036, 32767, false, false ); // OKAY

         AddButton( 10 + ((width - 20) / 2), height - 30, 4005, 4007, 0, GumpButtonType.Reply, 0 );
         AddHtmlLocalized( 40 + ((width - 20) / 2), height - 30, 170, 20, 1011012, 32767, false, false ); // CANCEL
      }

      public override void OnResponse( Server.Network.NetState sender, RelayInfo info )
      {
         if ( info.ButtonID == 1 && m_Callback != null )
            m_Callback( sender.Mobile, true, m_State );
         else if ( m_Callback != null )
            m_Callback( sender.Mobile, false, m_State );
      }
   }
}


À§ ÆÄÀÏÀ» »ý¼ºÈÄ
Scripts\Multis\HousePlacementTool.cs ¿¡¼­ ¼öÁ¤ÇÒ ºÎºÐÀº
¶óÀÎ 479
ÄÚµå : 

                  from.SendGump( new WarningGump( 1060635, 30720, 1049583, 32512, 420, 280, new WarningGumpCallback( PlacementWarning_Callback ), prev ) );

                  return true;


À§¸¦ ¾Æ·¡¿Í °°ÀÌ ¼öÁ¤...
ÄÚµå : 

                                                   if ( !IsAosRules )

                  from.SendGump( new WarningGump1( 1060635, 30720, 1049583, 32512, 420, 280, new WarningGump1Callback( PlacementWarning_Callback ), prev ) );

                                                                                    else
                             
                  from.SendGump( new WarningGump1( 1060635, 30720, 1049583, 32512, 420, 280, new WarningGump1Callback( PlacementWarning_Callback ), prev ) );
                  return true;
¡è ¸Ç À§·Î °¡±â ¡è
ȸ¿ø ÇÁ·ÎÇÊ º¸±â ÂÊÁö º¸³»±â E-Mail º¸³»±â »ç¿ëÀÚÀÇ È¨ ÆäÀÌÁö·Î À̵¿Çϱâ MSN ¸Þ½ÅÀú
ÀÌÀü °Ô½Ã¹°º¸±â :
»õ ±ÛÀ» ÀÛ¼ºÇÕ´Ï´Ù.´äº¯±ÛÀ» ÀÛ¼ºÇÕ´Ï´Ù. ÇöÀçÆäÀÌÁö : 1/1

RunUo.Korean.Forum ¢º About RunUo ¢º 1°èÁ¤´ç 1ÁýÀÌ»ó Çã¿ëÇϰíÀÚ ÇÒ¶§..
¹Ù·Î°¡±â:


°Ô½Ã¹° ÀÛ¼º : (X)
´äº¯±Û ÀÛ¼º : (X)
°Ô½Ã¹° ¼öÁ¤ : (X)
°Ô½Ã¹° »èÁ¦ : (X)
ÅõÇ¥ Çϱâ : (X)
ÆÄÀÏ ¾÷·Îµå : (X)
ÆÄÀÏ ´Ù¿î·Îµå : (0)



DAJ Glass (1.0.5) template by Dustin Baccetti // template edit by GangPung
EQ graphic based off of a design from www.freeclipart.nu
Powered by phpBB 2001, 2002 phpBB Group, Translated by zzangga

DNS Powered by DNSEver.com