Go Back   RunUO - Ultima Online Emulation > RunUO > RunUO Post Archive > Custom Script Release Archive

Custom Script Release Archive This is a pre-script database archive of what our users had released.

 
 
Thread Tools Display Modes
Old 07-20-2005, 01:27 PM   #51 (permalink)
Forum Novice
 
Join Date: Dec 2004
Location: dnaL sdrawkcaB
Posts: 636
Send a message via AIM to Kwwres10 Send a message via MSN to Kwwres10
Default

Rather than me script all my weps, my staff are going to do it now! HAHAHAHAHAHA!

*cracks whip*

-NoX
Kwwres10 is offline  
Old 07-20-2005, 02:22 PM   #52 (permalink)
Forum Novice
 
Join Date: Dec 2004
Location: USA michigan
Age: 31
Posts: 171
Send a message via Yahoo to cuy782002
Question

i was trying to make a monster and got some errores that i dont understand
RunUO - [www.runuo.com] Version 1.0.0, Build 36918
Scripts: Compiling C# scripts...failed (4 errors, 0 warnings)
- Error: Scripts\custom\monsters\LoreOfTheNineHells.cs: CS0116: (line 3, column
1) A namespace does not directly contain members such as fields or methods
- Error: Scripts\custom\monsters\LoreOfTheNineHells.cs: CS1026: (line 12, colum
n 91) ) expected
- Error: Scripts\custom\monsters\LoreOfTheNineHells.cs: CS1002: (line 52, colum
n 40) ; expected
- Error: Scripts\custom\monsters\LoreOfTheNineHells.cs: CS1519: (line 52, colum
n 55) Invalid token ')' in class, struct, or interface member declaration
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.


this is the .cs i made hope u can help me underdstand what its not/im doing worng

// Created by Script Creator
using System;
Server.Items;
Server.Targeting;

namespace Server.Mobiles
{
[CorpseName( "Baatezu Traits")]
public class LoreOfTheNine: BaseCreature
{
[Constructable]
public LoreOfTheNine() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4>
{
Name = "Baatezu Traits";
Body = 792;
Hue = 58;
BaseSoundID = 0x2E9;
SetStr( 225 );
SetDex( 225 );
SetInt( 225 );
SetHits( 10000 );
SetDamage( 600 );
SetDamageType( ResistanceType.Physical, 100 );
SetDamageType( ResistanceType.Fire, 100 );
SetDamageType( ResistanceType.Cold, 100 );
SetDamageType( ResistanceType.Energy, 100 );
SetDamageType( ResistanceType.Poison, 100 );

SetResistance( ResistanceType.Physical, 70 );
SetResistance( ResistanceType.Fire, 70 );
SetResistance( ResistanceType.Cold, 70 );
SetResistance( ResistanceType.Energy, 70 );
SetResistance( ResistanceType.Poison, 70 );


Fame = 90000;
Karma = -90000;
VirtualArmor = 100;
}
public override FoodType FavoriteFood{ get{ return FoodType.Meat }}
public override bool HasBreath{ get{ return true; } }
public override bool AutoDispel{ get{ return true; } }
public override bool BardImmune{ get{ return true; } }
public override bool Unprovokable{ get{ return true; } }
public override bool Uncalmable{ get{ return true; } }
public override Poison PoisonImmune{ get{ return Poison.Lethal; } }
public override int Meat{ get{ return true } }
public override int Hides{ get{ return true; } }
public override HideType HideType{ get{ return HideType.False } }
public override int Scales{ get{ return false; } }

Public LoreOfTheNine( Serial serial ) : base( serial )
{
}

public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int) 0 );
}

public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
int version = reader.ReadInt();
}
}
}


thank you
cuy782002 is offline  
Old 07-20-2005, 04:43 PM   #53 (permalink)
Newbie
 
Join Date: Jun 2005
Age: 35
Posts: 37
Default minor thing

first off i wanna say this little tool rocks with the new update. I love this thing!!!!!!!


One thing i noticed when creating a weapon ya dont have the option of makeing it spell channeling. I know how to do it in the script and in game but some others may not know how to if this is all they ever use. Just a thought


AWESOME LITTLE SCRIPTING TOOL THOUGH
Wilcard is offline  
Old 07-20-2005, 05:24 PM   #54 (permalink)
Newbie
 
Join Date: Jun 2005
Age: 35
Posts: 37
Default

Quote:
i was trying to make a monster and got some errores that i dont understand
RunUO - [www.runuo.com] Version 1.0.0, Build 36918
Scripts: Compiling C# scripts...failed (4 errors, 0 warnings)
- Error: Scripts\custom\monsters\LoreOfTheNineHells.cs: CS0116: (line 3, column
1) A namespace does not directly contain members such as fields or methods
- Error: Scripts\custom\monsters\LoreOfTheNineHells.cs: CS1026: (line 12, colum
n 91) ) expected
- Error: Scripts\custom\monsters\LoreOfTheNineHells.cs: CS1002: (line 52, colum
n 40) ; expected
- Error: Scripts\custom\monsters\LoreOfTheNineHells.cs: CS1519: (line 52, colum
n 55) Invalid token ')' in class, struct, or interface member declaration
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.

I get this same thing when i try to create any kind of mobile. Ill see if i can figure it out and let ya know
Wilcard is offline  
Old 07-20-2005, 06:24 PM   #55 (permalink)
Newbie
 
Join Date: Jun 2005
Age: 35
Posts: 37
Default problem fixed

I'm not sure if this will help solve the bug with the mobile creation or not i hope it does.

here is the original script created by the script creator
PHP Code:
// Created by Script Creator
using System;
Server.Items;
Server.mobiles;

namespace Server.Mobiles
{
     [
CorpseName"Arcane Dragon")]
     public class 
ArcaneDragonBaseCreature
     
{
         [
Constructable]
         public 
ArcaneDragon() : baseAIType.AI_MageFightMode.Closest1010.20.4 
         
{
             
Name "Arcane Dragon";
             
Body 46;
             
Hue 10;
             
BaseSoundID 362;
             
SetStr1500 );
             
SetDex1500 );
             
SetInt1000 );
             
SetHits1000,1300 );
             
SetDamage20,100 );
             
SetDamageTypeResistanceType.Physical100 );
             
SetDamageTypeResistanceType.Fire100 );
             
SetDamageTypeResistanceType.Cold);
             
SetDamageTypeResistanceType.Energy);
             
SetDamageTypeResistanceType.Poison);

             
SetResistanceResistanceType.Physical85 );
             
SetResistanceResistanceType.Fire85 );
             
SetResistanceResistanceType.Cold85 );
             
SetResistanceResistanceType.Energy85 );
             
SetResistanceResistanceType.Poison85 );


             
Fame 3000;
             
Karma 3000;
             
VirtualArmor 30;
             
PackItemDragonEvoEgg);
             
PackItemDragonEvoDust100 );
             
PackItem( ,  );
}
         public 
override bool HasBreathget{ return true; } }
         public 
override bool AutoDispelget{ return true; } }
         public 
override bool BardImmuneget{ return true; } }
         public 
override bool Unprovokableget{ return true; } }
             public 
override bool Uncalmableget{ return true; } }
             public 
override int TreasureMapLevelget{ return 6; } }        
            public 
override int Meatget{ return 100 } }
             public 
override int Hidesget{ return 50; } }  
             public 
override HideType HideTypeget{ return HideType.False } }
             public 
override int Scalesget{ return 100; } }

 Public 
ArcaneDragonSerial serial ) : baseserial )
{
}

public 
override void SerializeGenericWriter writer )
     {
         
base.Serializewriter );
         
writer.Write( (int) );
     }

public 
override void DeserializeGenericReader reader )
     {
         
base.Deserializereader );
         
int version reader.ReadInt();
     }
   }


Here it is again after i made some modifications by hand to make the same script work

PHP Code:
// Created by Script Creator
using System;
using Server;
using Server.Items;
using Server.Mobiles;

namespace Server.Mobiles
{
     [
CorpseName"Arcane Dragon")]
     public class 
ArcaneDragonBaseCreature
     
{
         [
Constructable]
         public 
ArcaneDragon() : baseAIType.AI_MageFightMode.Closest1010.20.4 )
         {
             
Name "Arcane Dragon";
             
Body 46;
             
Hue 10;
             
BaseSoundID 362;
             
SetStr1500 );
             
SetDex1500 );
             
SetInt1000 );
             
SetHits1000,1300 );
             
SetDamage20,100 );
             
SetDamageTypeResistanceType.Physical100 );
             
SetDamageTypeResistanceType.Fire100 );
             
SetDamageTypeResistanceType.Cold);
             
SetDamageTypeResistanceType.Energy);
             
SetDamageTypeResistanceType.Poison);

             
SetResistanceResistanceType.Physical85 );
             
SetResistanceResistanceType.Fire85 );
             
SetResistanceResistanceType.Cold85 );
             
SetResistanceResistanceType.Energy85 );
             
SetResistanceResistanceType.Poison85 );


             
Fame 3000;
             
Karma 3000;
             
VirtualArmor 30;
             
            
            

}
         public 
override bool HasBreathget{ return true; } }
         public 
override bool AutoDispelget{ return true; } }
         public 
override bool BardImmuneget{ return true; } }
         public 
override bool Unprovokableget{ return true; } }
             public 
override bool Uncalmableget{ return true; } }
             public 
override int TreasureMapLevelget{ return 6; } }        
            public 
override int Meatget{ return 100; } }
             public 
override int Hidesget{ return 50; } }  
             public 
override HideType HideTypeget{ return HideType.Ethereal; } }
             public 
override int Scalesget{ return 100; } }

 public 
ArcaneDragonSerial serial ) : baseserial )
{
}

public 
override void SerializeGenericWriter writer )
     {
         
base.Serializewriter );
         
writer.Write( (int) );
     }

public 
override void DeserializeGenericReader reader )
     {
         
base.Deserializereader );
         
int version reader.ReadInt();
     }
   }

The changes were in the first four lines also in line 12 and line 54. I included both scripts for full comparison. Hope this helps solve the problem
Wilcard is offline  
Old 07-21-2005, 08:38 PM   #56 (permalink)
Forum Novice
 
Marak's Avatar
 
Join Date: Mar 2005
Location: Firmly Seated Infront of the Computer.
Age: 26
Posts: 429
Default

Sorry its taken me so long to reply guys works been hell(got to leave again in 10 mins as well - ill be there for another 12 hours today *sigh). Ok there's a bracket missing off the ai line - and the Server.Items; <- that has been known to cause a few bugs - i just read the email about that from one of my testers - i WILL fix it soon - as soon as i get home from work, atm your going ot have to make those 2 adjustments yourself sorry.
Marak is offline  
Old 07-21-2005, 09:40 PM   #57 (permalink)
Lurker
 
Join Date: Jul 2005
Age: 20
Posts: 7
Default .dll

msstdfmt.dll
i cant download it from link. ?
PooPHeaD is offline  
Old 07-22-2005, 06:49 AM   #58 (permalink)
Forum Novice
 
Marak's Avatar
 
Join Date: Mar 2005
Location: Firmly Seated Infront of the Computer.
Age: 26
Posts: 429
Default

Quote:
Originally Posted by PooPHeaD
msstdfmt.dll
i cant download it from link. ?
If the link stops working, just google the dll, it will come up there definatly.
Marak is offline  
Old 07-24-2005, 11:08 AM   #59 (permalink)
Lurker
 
Join Date: Jul 2005
Location: Russia - SPB!!
Posts: 13
Send a message via AIM to B3PbIB
Default

Marak is lost in Loast Lands =)))))
B3PbIB is offline  
Old 07-24-2005, 11:19 AM   #60 (permalink)
Forum Novice
 
Marak's Avatar
 
Join Date: Mar 2005
Location: Firmly Seated Infront of the Computer.
Age: 26
Posts: 429
Default

soz guys been hell at work - one of my apprentices quit - little bastard, anyway ive taken tomorrow off so im going to start work on it tonight, hopefully i can get it up by tomorrow(stuck 1/2 way thru a rebuild so i cannot just repair and release). Wish me luck :P

Edit: Just finished the items, going to work on the monsters now - i was closer to finishing then i remembered.

Also i just verified, its the using server.Items; line - it does NOT have to be in there, well at least my testing so far hasnt show it as necessary. Ill remove it completly, i placed that in there for when you manually add items onto the creature - should work without it.. Update in 30 min's
Marak is offline  
Old 07-24-2005, 01:16 PM   #61 (permalink)
Forum Novice
 
Marak's Avatar
 
Join Date: Mar 2005
Location: Firmly Seated Infront of the Computer.
Age: 26
Posts: 429
Default

The latest updates in, enjoy - now ive used pretty much the same code as before for the item creation, but bear in mind i had to rush the last bit so i could release the monster fix. Ive done a quick visual check and ill compile check some tomorrow(when its NOT 3AM!!!) lol enjoy.
Marak is offline  
Old 07-24-2005, 01:55 PM   #62 (permalink)
Lurker
 
Join Date: Jul 2005
Age: 35
Posts: 10
Default

how about adding hue? and maybe robes cloaks and boots?
and i don't know but when i select jewlery and then select any type of jewel it gaves runtime error 424 - object required
problem with "daemon dismissIl" type slayer and some other.
good idea but still needs implementation.
BLACKCODE is offline  
Old 07-24-2005, 08:02 PM   #63 (permalink)
Forum Novice
 
Marak's Avatar
 
Join Date: Mar 2005
Location: Firmly Seated Infront of the Computer.
Age: 26
Posts: 429
Default

Hue's in there, just has to be enabled(later it was 3am when i rushed this fix out) - checking on those errors - and its been previously completly implimented - its under reconstruction.

EDIT: Updated the top post, fixed that jewlery error.

Also one of you testers want to give me some feedback on that slayertype? I dont have time to test myself atm - running around town all day looking for a new apprentice or one i can borrow off another resturant.
Marak is offline  
Old 07-25-2005, 03:35 AM   #64 (permalink)
Forum Novice
 
Marak's Avatar
 
Join Date: Mar 2005
Location: Firmly Seated Infront of the Computer.
Age: 26
Posts: 429
Default

ok im putting the hue in now, but i really need more ideas guys, all my staff are happy now so its upto you to think of what you want in here. Pretty much if you can think of it, well it can be coded in - although somethings wont(like a color chart for hues, im just not goign todo it lol, you have pandoras box for that)
Marak is offline  
Old 07-25-2005, 04:16 AM   #65 (permalink)
Lurker
 
Join Date: Jul 2005
Age: 35
Posts: 10
Default

i can see that the hue is only enabled for monsters but not for weapons in my case.
and i offered adding cloaks and robes and shirts, pants and the silly samurai empire variations of this. and how about adding fields for modify the damage type(cold fire physical and energy) for the weapon in %....... adding field for artifact rarity? and adding the real min damage and max damage not bonusdamage(with bonusdamage it wont compile on my testcenter).adding luck, lrc, lmc, fcr,fc, atack and defend chance,int, dex, str...well you have mana stam and hits bonus(i think) but that is missing (: . adding working speed factor for the weapon, and range for the weapon. and skill bonuses too. i have run out of ideas (:
BTW the jewel crash is really now fixed. 10x.
BLACKCODE is offline  
Old 07-25-2005, 07:19 AM   #66 (permalink)
Forum Novice
 
Marak's Avatar
 
Join Date: Mar 2005
Location: Firmly Seated Infront of the Computer.
Age: 26
Posts: 429
Default

Quote:
Originally Posted by BLACKCODE
i can see that the hue is only enabled for monsters but not for weapons in my case.
and i offered adding cloaks and robes and shirts, pants and the silly samurai empire variations of this. and how about adding fields for modify the damage type(cold fire physical and energy) for the weapon in %....... adding field for artifact rarity? and adding the real min damage and max damage not bonusdamage(with bonusdamage it wont compile on my testcenter).adding luck, lrc, lmc, fcr,fc, atack and defend chance,int, dex, str...well you have mana stam and hits bonus(i think) but that is missing (: . adding working speed factor for the weapon, and range for the weapon. and skill bonuses too. i have run out of ideas (:
BTW the jewel crash is really now fixed. 10x.
All thats already implimented, im still re-adjusting the fields(it was in every previous version) - i had to strip it from the ground up to fix a few major bugs - so as soon as their fixed ill be releaseing it yet again. These things has to be adressed before they started causing annoying issues, so bear with me, if you guys want ive got an old version with all that in it(but NOT support! i cannot support 2 versions at once lol) but it wont have all the features of the latest(script test, auto-file nameing etc - NOR monsters!). But its upto you guys. OR you can wait a day - it should be done by then - ive got a mate onto it with me now looking at the source code to track down all these gremlins. OH and clokes, rebest shirts n pants etc - their pretty low on the list - but they ARE on there lol. As for samurai their in the weapons on the version i have here(and are on previous versions) artifact rarity is another that is already in tehre just needs re-implimenting - i had to rush this one out because of the monster errors you guys were having - i was 1/2 way thru rebuilding the core of the items so your going to have to be patient for a little longer while i do this.
Marak is offline  
Old 07-25-2005, 08:02 AM   #67 (permalink)
Forum Expert
 
Johabius's Avatar
 
Join Date: Dec 2004
Location: Kansas, USA
Age: 39
Posts: 4,954
Send a message via ICQ to Johabius Send a message via Yahoo to Johabius
Default

No problem marak...you take your time...this is going to be so great, I don't care how long it takes Thanks for your diligence in working on this great little app
Johabius is offline  
Old 07-25-2005, 01:45 PM   #68 (permalink)
Forum Novice
 
Join Date: Dec 2004
Location: USA michigan
Age: 31
Posts: 171
Send a message via Yahoo to cuy782002
Thumbs up

your a life saver bro now i can have a totle custom mon server

ill waite for u to fix all the rest of the stuff befor i release all my suggestions cus i have a lot lol

have for at work LOL
cuy782002 is offline  
Old 07-25-2005, 09:21 PM   #69 (permalink)
Forum Novice
 
Marak's Avatar
 
Join Date: Mar 2005
Location: Firmly Seated Infront of the Computer.
Age: 26
Posts: 429
Default

alright had to duck out last night, im working on it again today - i will be posting in the LearnUO forums(more space which im running close to- and thats mainly where it will be usefull) - so keep an eye out for a post there about the program(to find leanuo check out the runuo newbies forum - these are the guys that run that section)... *hopefully* i can find this F#@$ing bug - either that or im going to take a bat to it lol. oh and feel free to kick in those ideas of yours anytime, even if i cannot impliment them strait away - somebody else reading the post might be able to improve upon that idea (which will save me coding it twice :P)
Marak is offline  
Old 07-25-2005, 10:17 PM   #70 (permalink)
Forum Novice
 
Marak's Avatar
 
Join Date: Mar 2005
Location: Firmly Seated Infront of the Computer.
Age: 26
Posts: 429
Default

ok i found that gremlin - little bastards in hell burning right about... now. Ive put the second page option back into weapons(yay). Ive found there's still 2 fields missing in weapons - HitFireball and HitLowerDefence, ill add those later - i have to sort out moving to the LearnUO forums - so check for updates there.
Marak is offline  
Old 07-26-2005, 12:52 PM   #71 (permalink)
Newbie
 
Join Date: Jul 2005
Location: Next Door
Age: 37
Posts: 83
Default

When I try making an item, it gives me this on a pop-up:

Quote:
Run-time error: '713';

Class not registered
You need the following file installed onto your machine. MSSTDFMT.DLL.
Then when I try making a monster, I select the Type like Ant Lion for example, and it gives me this:

Quote:
Run-time error: '424';
Object Required
Help?
Jeefa is offline  
Old 07-26-2005, 04:06 PM   #72 (permalink)
Forum Expert
 
Johabius's Avatar
 
Join Date: Dec 2004
Location: Kansas, USA
Age: 39
Posts: 4,954
Send a message via ICQ to Johabius Send a message via Yahoo to Johabius
Default

Quote:
Originally Posted by Marak
Oh and also if you get a runtime error download the file at
http://www.dll-files.com/dllindex/dl...shtml?msstdfmt
one of my staff got this file and it fixed the problem.
extract that file to c:\windows then goto Start -> Run -> "regsvr32.exe msstdfmt.dll" and that will register the files
From the top post...if the download link is broken you should be able to google for the file
Johabius is offline  
Old 07-29-2005, 04:01 AM   #73 (permalink)
Lurker
 
Join Date: Jul 2005
Age: 20
Posts: 7
Arrow

Quote:
Originally Posted by Jeefa
When I try making an item, it gives me this on a pop-up:



Then when I try making a monster, I select the Type like Ant Lion for example, and it gives me this:



Help?
i get the same pop-up with the monster thing. and i have the .dll and registered it
PooPHeaD is offline  
Old 07-29-2005, 07:08 AM   #74 (permalink)
Forum Novice
 
Marak's Avatar
 
Join Date: Mar 2005
Location: Firmly Seated Infront of the Computer.
Age: 26
Posts: 429
Default

hmm ive been trying to repeat that error, but i cannot(most likely because mine are all installed). Hmm the only thing i can think of(if anyone else has an idea feel free to say it here lol) is maby finding a different copy fo the .dll - and registering that one. Sorry guys but ive never had that idea.
Marak is offline  
Old 07-31-2005, 01:38 AM   #75 (permalink)
Newbie
 
Join Date: Sep 2004
Location: Desert.
Age: 19
Posts: 38
Send a message via ICQ to Artesia420
Question

How do you make it so it aint in code?
Artesia420 is offline  
 

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5