|
||
|
|||||||
| Custom Script Releases This forum is where you can release your custom scripts for other users to use. Please note: By releasing your scripts here you are submitting them to the public and as such agree to make them public domain. The RunUO Team has made its software GPL for you to use and enjoy you should do the same for anything based off of RunUO. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1476 (permalink) |
|
Account Terminated
|
Hi. when i load the server i get 1 error.
Mondain,s Legacy/Items/Character Statue Maker/CharacterStatue.cs CS0115: Line 175: 'Sever.Mobiles.CharacterStatue.OnRequestedAnimatio n(Server.Mobile)': no suitable method found to override I have went thru every page and seen this problem a few time but it seems like everyone ignored it. Did i miss somthing or is there a fix. plz let me know. thanks
__________________
[SIGPIC][/SIGPIC] 태산이 높다하되 하늘 아래 뫼이로다 |
|
|
|
|
|
#1478 (permalink) | |
|
Forum Expert
Join Date: Dec 2005
Posts: 272
|
It seems like you did nor merge the (Core) file Mobile.cs properly:
Fragment from Mobile.cs: Code:
public void SendEverything()
{
NetState ns = m_NetState;
if( m_Map != null && ns != null )
{
IPooledEnumerable eable = m_Map.GetObjectsInRange( m_Location, Core.GlobalMaxUpdateRange );
foreach( object o in eable )
{
if( o is Item )
{
Item item = (Item)o;
if( CanSee( item ) && In
Range( item.Location, item.GetUpdateRange( this ) ) )
item.SendInfoTo( ns );
}
else if( o is Mobile )
{
Mobile m = (Mobile)o;
if( CanSee( m ) && Utility.InUpdateRange( m_Location, m.m_Location ) )
{
ns.Send( new MobileIncoming( this, m ) );
#region Mondain's Legacy
m.OnRequestedAnimation( this );
#endregion
if( m.IsDeadBondedPet )
ns.Send( new BondedStatus( 0, m.m_Serial, 1 ) );
if( ObjectPropertyList.Enabled )
{
ns.Send( m.OPLPacket );
//foreach ( Item item in m.m_Items )
// ns.Send( item.OPLPacket );
}
}
}
}
eable.Free();
}
}
Quote:
|
|
|
|
|
|
|
#1479 (permalink) |
|
Lurker
Join Date: Jun 2008
Age: 29
Posts: 5
|
I installed this and activated the ML via SettingML and DecorateML.
Now I try to set up a new spawnpoint that spawns revenants... I can put them into the spawner .. no error comes up but there newer spawns one. Can anyone tell me the way to spawn those guys ? thx |
|
|
|
|
|
#1481 (permalink) | |
|
Lurker
Join Date: Jun 2008
Age: 29
Posts: 5
|
Quote:
I try to add it to a spawner in the Cove where usually spawn the cuSidth.. |
|
|
|
|
|
|
#1483 (permalink) | |
|
Lurker
Join Date: Jun 2008
Age: 29
Posts: 5
|
Quote:
and yes I pressed the button I added an extra deer to the spawner .. and the deer is spawned .. but not the Rev... Is there any chance that this thing can only be casted by an other monster ? |
|
|
|
|
|
|
#1485 (permalink) | |
|
Lurker
Join Date: Jun 2008
Age: 29
Posts: 5
|
Quote:
So far the only way I can imagine is to spawn something that cast nego .. but how can I force it to just use this spell Last edited by rana70; 07-22-2008 at 07:15 AM. |
|
|
|
|
|
|
#1486 (permalink) |
|
Forum Expert
Join Date: Dec 2005
Posts: 272
|
As far as I know, the only way to encounter them is: summoning them as Necromancer, or they appear randomly in Khaldun when a player dies. Either way it is spawned with a target. You could make a constructible version of the revenant that would not require a target. Why do you particularly need a revenant?
Edit: You could make a simple NPC with necro ai, give it appropriate stats, skills and equipment and let it cast VengefulSpirit OnMovement (x times). Last edited by Melchior; 07-22-2008 at 07:29 AM. |
|
|
|
|
|
#1487 (permalink) | |
|
Lurker
Join Date: Jun 2008
Age: 29
Posts: 5
|
Quote:
How ever.. I thought about a change in dungeon right before the entrance of the Twisted weald .... I would like to implement something like two guardians ... the revenants when someone enters the room with the throne in the back .... as a kind of a trap .. to protect something .... I liked to usethem because they will hunt the player for a while .... |
|
|
|
|
|
|
#1488 (permalink) |
|
Forum Novice
Join Date: Jan 2006
Posts: 317
|
It seems when we try and exit Blighted Grove after killing Lady M, it delays your departure to the time your allowed to stay in there looting ,(900 seconds) and doesnt let you leave instantly. Havent checked others yet. I have the CFG, and Altar.cs matching Point destinations. Where is the timer for these exit teleporters located? or is it client side? Also noticed If you leave the Citadel example before the timer to loot runs out and kicks you out automatically, it will put you back in the exit destination spot. I am updated to latest ML svn. TY for any insight.
Update! Checked all the exit teleporters in all the peerless and none of them will let you leave, until loot timer is up. They all send confirm gump but dont teleport ya. This needs to be fixed.Last edited by mitty; 07-26-2008 at 05:41 PM. |
|
|
|
|
|
#1489 (permalink) |
|
Forum Novice
|
Check if the teleporter property Altar set to peerless altar (not null).
__________________
A lawyer with a briefcase can steal more than a thousand men with guns. Do NOT PM me asking if I will script for your shard or send you files or anything else along those lines. |
|
|
|
|
|
#1491 (permalink) | |
|
Account Terminated
|
Quote:
__________________
[SIGPIC][/SIGPIC] 태산이 높다하되 하늘 아래 뫼이로다 |
|
|
|
|
|
|
#1492 (permalink) |
|
Forum Expert
Join Date: Dec 2005
Posts: 272
|
Not sure what you mean, but the ML package contains several files (Item.cs, Mobile.cs, PacketHandlers.cs and Poison.cs) that need to be merged with the SVN core versions of those files, after which you need to compile a new RunUO core (EXE).
|
|
|
|
|
|
#1493 (permalink) |
|
Forum Novice
Join Date: Jan 2006
Posts: 317
|
After posting kinda figured it out by self, but you hit it right on the head! I needed to go around and set all exit teleporters to an altar for that peerless. Works great! TY.( Great system ya got here!)
![]() |
|
|
|
|
|
#1494 (permalink) |
|
Newbie
Join Date: Sep 2007
Age: 19
Posts: 11
|
Hi, i'm new in forum
![]() i got errors :S Code:
+ engines/ai/Creature/basecreature.cs:
CS0117: Line 2054: 'Sever.Moviles.AIType' não contém uma definição para 'AI_Necromage'
and Code:
+ items/weapons/baseweapon.cs: CS1501: Line 1571: Nenhuma sobrecarga para o método 'damage' obtém '12' argumentos in same script: Code:
CS0117: Line 2012: 'server.aoselementattributes' não contém uma definição para 'chaos' Code:
CS0117: Line 2013: 'server.aoselementattributes' não contém uma definição para direct' this errors repeat in another scripts, like basequiver,mastermikael.. tanks for any help ![]() (sorry, i'm dont have a good english :/) Last edited by N00B; 07-29-2008 at 12:47 AM. |
|
|
|
|
|
#1495 (permalink) | |
|
Account Terminated
|
Quote:
Code:
RunUO - [www.runuo.com] Version 2.0, Build 2959.20979
Core: Running on .NET Framework Version 2.0.50727
Core: Optimizing for 4 64-bit processors
Scripts: Compiling C# scripts...failed (1 errors, 0 warnings)
Errors:
+ Mondain's Legacy/Items/Character Statue Maker/CharacterStatue.cs:
CS0115: Line 175: 'Server.Mobiles.CharacterStatue.OnRequestedAnimation(Serve
r.Mobile)': no suitable method found to override
CS0115: Line 180: 'Server.Mobiles.CharacterStatue.ShowIncomingName(Server.Mo
bile)': no suitable method found to override
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
__________________
[SIGPIC][/SIGPIC] 태산이 높다하되 하늘 아래 뫼이로다 |
|
|
|
|
|
|
#1496 (permalink) | |
|
Forum Expert
Join Date: Dec 2005
Posts: 272
|
@Xenon:
Quote:
Fragment from ML\Core\Mobile.cs: Code:
#region Mondain's Legacy
/// <summary>
/// Overridable. This method is invoked when Mobile from requests info packet.
/// </summary>
public virtual void OnRequestedAnimation( Mobile from )
{
}
/// <summary>
/// Overridable. Can players see name of this incoming Mobile.
/// </summary>
public virtual bool ShowIncomingName( Mobile from )
{
return true;
}
#endregion
|
|
|
|
|
|
|
#1497 (permalink) |
|
Forum Novice
|
@ NOOB
CS0117: Line 2054: 'Sever.Moviles.AIType' não contém uma definição para 'AI_Necromage' Add AI_Necromage in BaseAi.cs Code:
public enum AIType
{
AI_Use_Default,
AI_Melee,
AI_Animal,
AI_Archer,
AI_Healer,
AI_Vendor,
AI_Mage,
AI_Berserk,
AI_Predator,
AI_Thief,
AI_Necromage
}
__________________
A lawyer with a briefcase can steal more than a thousand men with guns. Do NOT PM me asking if I will script for your shard or send you files or anything else along those lines. |
|
|
|
|
|
#1498 (permalink) |
|
Newbie
Join Date: Sep 2007
Age: 19
Posts: 11
|
thanks Malganis!
![]() necromage and weapons its ok! but i got a new error :O Code:
Type 'server.itens.parrotperchdeed' was not found. delete all of those types? (y/n) Code:
Types will not be deleted. An Exception will be thrown when you press return Error: System.excption: Bad Type 'Server.Items.ParrotPerchDeed' em Server.World.Load<> na D:\Runuo\Servidor\Core\Core\ServerScript\scriptcompiler.cs:Linha 667 em Server.core.main<string[] args> na D:\Runuo\Servidor\Core\Core\ServerScript\Main.cs:Linha 443 This exception is fatal, press return to exit |
|
|
|
|
|
#1500 (permalink) |
|
Newbie
Join Date: May 2008
Posts: 36
|
Hey everyone,
I'm hoping someone could help me please. When I startup my server I get this error... RunUO - [www.runuo.com] Version 2.0, Build 3132.20825 Core: Running on .NET Framework Version 2.0.50727 Scripts: Compiling C# scripts...done (cached) Scripts: Skipping VB.NET Scripts...done (use -vb to enable) Scripts: Verifying...done (3267 items, 943 mobiles) Regions: Loading...done World: Loading...An error was encountered while loading a saved object - Type: Server.Regions.SpawnPersistence - Serial: 0x40000008 Delete the object? (y/n) y Delete all objects of that type? (y/n) y After pressing return an exception will be thrown and the server will terminate Error: System.Exception: Load failed (items=True, mobiles=False, guilds=False, type=Ser ver.Regions.SpawnPersistence, serial=0x40000008) ---> System.Exception: ***** Ba d serialize on Server.Regions.SpawnPersistence ***** at Server.World.Load() --- End of inner exception stack trace --- at Server.World.Load() at Server.ScriptCompiler.Compile(Boolean debug, Boolean cache) at Server.Core.Main(String[] args) This exception is fatal, press return to exit It only works when I load a empty save file. I've tried to increase serialization by 1 in item.cs and recompile but i get the same error. Any suggestions? Thanks! (Great scripts by the way! good job) |
|
|
|