Merhaba arkadaslar ben yeni uyeyim burda ve sizlerin yardi ile simdilik amator shard kurmayi dusunuyorum tabi bunu hosta baglatmicam sadece profesyonel olursam bisiler yaparim diye

1= Df sistemini nasil aktif ederim [help gumpuna baktim yanliz orda bisi goremedim

2= Neiradan dusen hooded in sansini nasil ayarlicaz yani ben sole yapmak istiyorum %5 blessed %20 cursed %75 bos yada sole olsun %10 blessed %90 bos bunlarin nasil ayarlancagini bilmiyorum

3=faction olayina girmek istemiyiorm zaten aktif degilde hani df sistemini aktif ederken oda aktif olmasin diye soliyim dedim

4=guild sistemini nasil devreye sokcaz baktimda hic guild deed bulamadim menude acaba scriptimi var yoksa benmi kazmayim

5=butun acilan charlarin tek bir koordinatta dogmasini nasil ayarlicam

6=sanirim simdilik yeter fazla basinizi agrittim


Arkadaslar yardim edenlerdende etmiyenlerdende Allah razi olsun.....
Diğerlerinde ne demek istediğini anlayamadım :S Ama 5. de sanırım asdece ilk loginde belirli bir bölgeye gitmesini istiyorsun.Şöyle yapacaksın.Adam oyuna girdiğinde ona bir komuut yazdıracaksın ya da oyuna başlangıç stone gibi bişeyler yaptıysan ve adam girince ona basması gerekiyorsa o yaptığı işleme
src.newitem i_basladinmi
src.act.bounce
Şimdi adam servera ilk başladığın yaptığı işlemde çantasına bir item düşürdük.Daha sonra login scpne gir şunları ekle :
[Function plogin]
//Buraya ek bilgiler yazabilirsin adamların servera bağlandığında yapcakları ayarlar fln.Pvp serverındaysan src.food 10 src.nightsight 1 gibi şeyler ekleyebilirsin.
//
if !(<src.findid i_basladinmi>)//Bu itemı birazdan tanımlayacaz.
src.go xxx // xxx yerine gitmesini istediğin bölgenin kordinatlarını yazıosn.Kordinat örenmek için .where yaz.
src.sysmessage @46,, Serverimiza hosgeldiniz.
return 1
endif
Bunu ekledikten sonra her hangi bir scpnin içine şunları ekle :
[itemdef i_basladinmi]
id i_memory
on=@create
attr attr_invis | attr_move_never
return 1
on=@click 
ruturn 1
on=@dclick
return 1
Son olarak da sphere_skill sin içine girip [SKILLCLASS 0] ın altına
on=@login
if (<src.account.plevel> <2)///Pleveli 2 den düşükse (playersa)
src.plogin
return 1
endif //Yukarida yazdigimiz plogin functionunu uygular.
Olay bundan ibaret umarim anlatabilmişimdir.
NOT: Daha kısa bi biçimde Tag yoluyla da yapabilirsin.
Master
59.2997
Öhöm öhöm,

Neo bölüme dikkat ettiysen RunUO hakkında yardım istiyor arkadaş |-)
Oww :) Prdns :D Hele diorm hiç bişe anlamadım dediklerinden :D
:) Olsun genede emegın ıcın cok tesekkur ederım......
Her zmn.
Help plssss
@neo75
Ule neo xD Oku olm biraz topicleri xDxD
Bir kac sorun daha olcak

1- Yere atılan ıtemlerın sılınmesının suresını 5 dakkaya ındırmek ıcın ne yapmam lazım



birde ben bu help gumpunda 15. satırda ve 52. satırda hata alıyorum.

hatannın seklı şöyle

(line 15, column 14) the namespace &&#35039;server.engines.Help! already contains a definition for &&#35039;ContainedMenu&&#35039;

(line 52, column 14) the namespace &&#35039;server.engines.Help! already contains a definition for &&#35039;HelpGump&&#35039;


Gump uzun halı böle


// Design By CherNoBeL(Namer)
using System;
using Server;
using Server.Gumps;
using Server.Network;
using Server.Menus;
using Server.Menus.Questions;
using Server.Accounting;
using Server.Multis;
using Server.Mobiles;

namespace Server.Engines.Help
&&#35123;
public class ContainedMenu : QuestionMenu
&&#35123;
private Mobile m_From;

public ContainedMenu( Mobile from ) : base( "Kayitli yardim talebiniz zaten bulunmakta en kisa surede size yardim edecegiz.", new string[]&&#35123; "Eski talebimi oldugu gibi birak.", "Yardim talibimi siradan kaldir." } )
&&#35123;
m_From = from;
}

public override void OnCancel( NetState state )
&&#35123;
m_From.SendMessage(  "Yardim talebi degistirilmedi.", 0x35, true ); // Yardim talebi degistirilmedi.
}

public override void OnResponse( NetState state, int index )
&&#35123;
if ( index == 0 )
&&#35123;
m_From.SendMessage(  "Yardim talebi degistirilmedi.", 0x35, true ); // Yardim talebi degistirilmedi.
}
else if ( index == 1 )
&&#35123;
PageEntry entry = PageQueue.GetEntry( m_From );

if ( entry != null && entry.Handler == null )
&&#35123;
m_From.SendMessage( "Yardim talebi siradan kaldirildi.", 0x35, true ); // Yardim talebi siradan kaldirildi.
PageQueue.Remove( entry );
}
else
&&#35123;
m_From.SendMessage( "Yardim talebi degistirilmedi.", 0x35, true ); // Yardim talebi degistirilmedi.
}
}
}
}

public class HelpGump : Gump
&&#35123;
public static void Initialize()
&&#35123;
EventSink.HelpRequest += new HelpRequestEventHandler( EventSink_HelpRequest );
}

private static void EventSink_HelpRequest( HelpRequestEventArgs e )
&&#35123;
foreach ( Gump g in e.Mobile.NetState.Gumps )
&&#35123;
if ( g is HelpGump )
return;
}

if ( !PageQueue.CheckAllowedToPage( e.Mobile ) )
return;

if ( PageQueue.Contains( e.Mobile ) )
e.Mobile.SendMenu( new ContainedMenu( e.Mobile ) );
else
e.Mobile.SendGump( new HelpGump( e.Mobile ) );
}

private static bool IsYoung( Mobile m )
&&#35123;
if ( m is PlayerMobile )
return ((PlayerMobile)m).Young;

return false;
}

public static bool CheckCombat( Mobile m )
&&#35123;
for ( int i = 0; i < m.Aggressed.Count; ++i )
&&#35123;
AggressorInfo info = (AggressorInfo)m.Aggressed[i];

if ( DateTime.Now - info.LastCombatTime < TimeSpan.FromSeconds( 30.0 ) )
return true;
}

return false;
}

public HelpGump( Mobile from ) : base( 0, 0 )
&&#35123;
from.CloseGump( typeof( HelpGump ) );

bool isYoung = IsYoung( from );

	this.Closable=true;
			this.Disposable=true;
			this.Dragable=true;
			this.Resizable=false;
			this.AddBackground(28, 58, 532, 356, 9200);
			this.AddAlphaRegion(181, 61, 379, 50);
			this.AddAlphaRegion(181, 112, 377, 299);
			this.AddLabel(297, 388, 1160, @"www.turkishuo.com");
			this.AddLabel(472, 388, 1152, @"By CherNoBel");
			this.AddLabel(301, 62, 1160, @"Turkish UO");
			this.AddLabel(301, 83, 1160, @"Yardim Konulari");
			this.AddLabel(201, 122, 1160, @"Yardım Bölümü");
			this.AddAlphaRegion(30, 62, 149, 350);
			this.AddLabel(189, 146, 1152, @"* Bu bölümde güncel sorunlarınıza cevaplar bulacaksınız");
			this.AddLabel(189, 170, 1152, @"* Bu bölümde verilen cevaplar sabit yetkili cevaplarıdır");
			this.AddLabel(189, 191, 1152, @"* Daha fazla detaylı bilgi icin ");
			this.AddLabel(374, 190, 1160, @"www.turkishuo.com/forum");
			this.AddLabel(189, 212, 1152, @"* Gereksiz sorulan soruların cezası jail dir");
			this.AddImageTiled(412, 164, 148, 245, 60970);
			this.AddLabel(191, 263, 1152, @"* Nm Spawn süresi : 1 Hafta ");
			this.AddLabel(201, 238, 1160, @"Spawn Süreleri ;");
			this.AddLabel(191, 283, 1152, @"* Unicorn Spawn Süresi: 1 Hafta ");
			this.AddLabel(191, 304, 1152, @"* Kirin Spawn süresi : 1 Hafta ");
			this.AddLabel(191, 321, 1152, @"* Fire steed spawn süresi : 1 Hafta");
			this.AddLabel(191, 343, 1152, @"* Silver Steed spawn süresi : 1 Hafta ");
			this.AddLabel(191, 363, 1152, @"* White&Dark Ostard YAKINDA! ");
			this.AddLabel(69, 119, 1152, @"Mesaj Gönder");
			this.AddLabel(33, 67, 67, @"Seçenekler ;");
			this.AddLabel(70, 144, 1152, @"Bug Bildir");
			this.AddLabel(70, 171, 1152, @"Stuck Çek");


AddPage( 0 );

//AddHtmlLocalized( 150, 50, 360, 40, 1001002, false, false ); // <CENTER><U>Ultima Online Help Menu</U></CENTER>
//AddButton( 425, 415, 2073, 2072, 0, GumpButtonType.Reply, 0 ); // Close

AddPage( 1 );

if ( isYoung )
&&#35123;
//AddButton( 80, 75, 5540, 5541, 9, GumpButtonType.Reply, 2 );
//AddHtml( 110, 75, 450, 58, @"<BODY><BASEFONT COLOR=BLACK><u>Young Player Haven Transport.</u> Select this option if you want to be transported to Haven.</BODY>", true, true );

AddButton(38, 119, 9905, 9905, 1, GumpButtonType.Reply, 2 );

AddButton(38, 171, 9905, 9905, 2, GumpButtonType.Reply, 0 );

AddButton(37, 145, 9905, 9905, 4, GumpButtonType.Reply, 0 );

//AddButton( 80, 270, 5540, 5541, 0, GumpButtonType.Page, 3 );
//AddHtml( 110, 270, 450, 58, @"<u>Another player is harassing me.</u> Another player is verbally harassing your character. When you select this option you will be sending a text log to Origin Systems. To see what constitutes harassment please visit https://support.uo.com/gm_9.html.", true, true );

//AddButton( 80, 335, 5540, 5541, 0, GumpButtonType.Page, 2 );
//AddHtml( 110, 335, 450, 58, @"<u>Other.</u> If you are experiencing a problem in the game that does not fall into one of the other categories or is not addressed on the Support web page (located at https://support.uo.com), please use this option.", true, true );
}
else
&&#35123;
AddButton(38, 119, 9905, 9905, 1, GumpButtonType.Reply, 2 );

AddButton(38, 171, 9905, 9905, 2, GumpButtonType.Reply, 0 );

//AddButton( 80, 250, 5540, 5541, 0, GumpButtonType.Page, 3 );
//AddHtml( 110, 250, 450, 74, @"<u>Another player is harassing me.</u> Another player is verbally harassing your character. When you select this option you will be sending a text log to Origin Systems. To see what constitutes harassment please visit https://support.uo.com/gm_9.html.", true, true );

//AddButton( 80, 330, 5540, 5541, 0, GumpButtonType.Page, 2 );
//AddHtml( 110, 330, 450, 74, @"<u>Other.</u> If you are experiencing a problem in the game that does not fall into one of the other categories or is not addressed on the Support web page (located at https://support.uo.com), please use this option.", true, true );
}

AddPage( 1 );

//AddButton( 80, 90, 5540, 5541, 3, GumpButtonType.Reply, 0 );
//AddHtml( 110, 90, 450, 74, @"<u>Report a bug or contact Origin.</u> Use this option to launch your web browser and mail in a bug report. Your report will be read by our Quality Assurance Staff. We apologize for not being able to reply to individual reports. ", true, true );

//AddButton( 119, 257, 4502, 248, 4, GumpButtonType.Reply, 0 );

//AddButton( 80, 250, 5540, 5541, 5, GumpButtonType.Reply, 0 );
//AddHtml( 110, 250, 450, 74, @"<u>Account Management</u> For questions regarding your account such as forgotten passwords, payment options, account activation, and account transfer, please choose this option.", true, true );

//AddButton( 80, 330, 5540, 5541, 6, GumpButtonType.Reply, 0 );
//AddHtml( 110, 330, 450, 74, @"<u>Other.</u> If you are experiencing a problem in the game that does not fall into one of the other categories or is not addressed on the Support web page (located at https://support.uo.com), and requires in-game assistance, use this option. ", true, true );

AddPage( 3 );

AddButton( 80, 90, 5540, 5541, 7, GumpButtonType.Reply, 0 );
AddHtmlLocalized( 110, 90, 450, 145, 1062572, true, true ); /* <U><CENTER>Another player is harassing me (or Exploiting).</CENTER></U><BR>
* VERBAL HARASSMENT<BR>
* Use this option when another player is verbally harassing your character.
* Verbal harassment behaviors include but are not limited to, using bad language, threats etc..
* Before you submit a complaint be sure you understand what constitutes harassment
* <A HREF="https://uo.custhelp.com/cgi-bin/uo.cfg/php/enduser/std_adp.php?p_faqid=40">&&#358211; what is verbal harassment? -</A>
* and that you have followed these steps:<BR>
* 1. You have asked the player to stop and they have continued.<BR>
* 2. You have tried to remove yourself from the situation.<BR>
* 3. You have done nothing to instigate or further encourage the harassment.<BR>
* 4. You have added the player to your ignore list.
* <A HREF="https://uo.custhelp.com/cgi-bin/uo.cfg/php/enduser/std_adp.php?p_faqid=138">- How do I ignore a player?</A><BR>
* 5. You have read and understand Origin&&#358217;s definition of harassment.<BR>
* 6. Your account information is up to date. (Including a current email address)<BR>
* *If these steps have not been taken, GMs may be unable to take action against the offending player.<BR>
* **A chat log will be review by a GM to assess the validity of this complaint.
* Abuse of this system is a violation of the Rules of Conduct.<BR>
* EXPLOITING<BR>
* Use this option to report someone who may be exploiting or cheating.
* <A HREF="https://uo.custhelp.com/cgi-bin/uo.cfg/php/enduser/std_adp.php?p_faqid=41">&&#358211; What constitutes an exploit?</a>
*/

AddButton( 80, 240, 5540, 5541, 8, GumpButtonType.Reply, 0 );
AddHtmlLocalized( 110, 240, 450, 145, 1062573, true, true ); /* <U><CENTER>Another player is harassing me using game mechanics.</CENTER></U><BR>
  * <BR>
  * PHYSICAL HARASSMENT<BR>
  * Use this option when another player is harassing your character using game mechanics.
  * Physical harassment includes but is not limited to luring, Kill Stealing, and any act that causes a players death in Trammel.
  * Before you submit a complaint be sure you understand what constitutes harassment
  * <A HREF="https://uo.custhelp.com/cgi-bin/uo.cfg/php/enduser/std_adp.php?p_faqid=59"> &&#358211; what is physical harassment?</A>
  * and that you have followed these steps:<BR>
  * 1. You have asked the player to stop and they have continued.<BR>
  * 2. You have tried to remove yourself from the situation.<BR>
  * 3. You have done nothing to instigate or further encourage the harassment.<BR>
  * 4. You have added the player to your ignore list.
  * <A HREF="https://uo.custhelp.com/cgi-bin/uo.cfg/php/enduser/std_adp.php?p_faqid=138"> - how do I ignore a player?</A><BR>
  * 5. You have read and understand Origin&&#358217;s definition of harassment.<BR>
  * 6. Your account information is up to date. (Including a current email address)<BR>
  * *If these steps have not been taken, GMs may be unable to take action against the offending player.<BR>
  * **This issue will be reviewed by a GM to assess the validity of this complaint.
  * Abuse of this system is a violation of the Rules of Conduct.
  */

AddButton( 150, 390, 5540, 5541, 0, GumpButtonType.Page, 1 );
AddHtmlLocalized( 180, 390, 335, 40, 1001015, false, false ); // NO  - I meant to ask for help with another matter.
}

public override void OnResponse( NetState state, RelayInfo info )
&&#35123;
Mobile from = state.Mobile;

PageType type = (PageType)(-1);

switch ( info.ButtonID )
&&#35123;
case 0: // Close/Cancel
&&#35123;
from.SendMessage( "Yarim talebi iptal edildi.", 0x35, true ); // Yarim talebi iptal edildi.

break;
}
case 1: // General question
&&#35123;
type = PageType.Question;
break;
}
case 2: // Stuck
&&#35123;
BaseHouse house = BaseHouse.FindHouseAt( from );

if ( house != null && house.IsAosRules )
&&#35123;
from.Location = house.BanLocation;
}
else if ( from.Region is Server.Regions.Jail )
&&#35123;
from.SendMessage( "Bundan Daha Iyi Bir Kacis Planina Ihtiyacin var.", 0x35, true ); // You&&#35039;ll need a better jailbreak plan then that!
}
else if ( Factions.Sigil.ExistsOn( from ) )
&&#35123;
from.SendLocalizedMessage( 1061632 ); // You can&&#35039;t do that while carrying the sigil.
}
else if ( from.CanUseStuckMenu() && from.Region.CanUseStuckMenu( from ) && !CheckCombat( from ) && !from.Frozen && !from.Criminal && (Core.AOS || from.Kills < 5) )
&&#35123;
StuckMenu menu = new StuckMenu( from, from, true );

menu.BeginClose();

from.SendGump( menu );
}
else
&&#35123;
type = PageType.Stuck;
}

break;
}
case 3: // Report bug or contact Origin
&&#35123;
type = PageType.Bug;
break;
}
case 4: // Game suggestion
&&#35123;
type = PageType.Suggestion;
break;
}
case 5: // Account management
&&#35123;
type = PageType.Account;
break;
}
case 6: // Other
&&#35123;
type = PageType.Other;
break;
}
case 7: // Harassment: verbal/exploit
&&#35123;
type = PageType.VerbalHarassment;
break;
}
case 8: // Harassment: physical
&&#35123;
type = PageType.PhysicalHarassment;
break;
}
case 9: // Young player transport
&&#35123;
if ( IsYoung( from ) )
&&#35123;
if ( from.Region is Regions.Jail )
&&#35123;
from.SendLocalizedMessage( 1041530, "", 0x35 ); // You&&#35039;ll need a better jailbreak plan then that!
}
else if ( from.Region.Name == "Haven" )
&&#35123;
from.SendLocalizedMessage( 1041529 ); // You&&#35039;re already in Haven
}
else
&&#35123;
from.MoveToWorld( new Point3D( 3618, 2587, 0 ), Map.Trammel );
}
}

break;
}
}

if ( type != (PageType)(-1) && PageQueue.CheckAllowedToPage( from ) )
from.SendGump( new PagePromptGump( from, type ) );
}
}
}

Bu da orjinal linki

https://www.ultima-strike.com/uo-script


Bu konu hypochondriac tarafından düzenlendi(2008-01-01 18:21, 16 yıl önce)
benmde br sorum olucak bankanın üstüne merdiven nasıl yapıcaz bide itemlerin rengini nasıl değistircez

Üye Ol veya Giriş Yap

Bu forum başlığına mesaj atmak istiyorsanız hemen üye olun veya giriş yapın.