a hat that hues spells (flamestrike ect)

Discussion in 'RunUO Post Archive' started by zite, Mar 7, 2004.

  1. zite

    zite Wanderer

    Messages:
    104
    a hat that hues spells (flamestrike ect)

    Summary:
    http://www.wannabecoder.com/MysticHat.zip
    Put the hat on, hue it, and your spells will eb the same hue as your hat. This script involves modifying each individual spell file to refer to the hue. This takes a ridiculously long time so I recommend you just use my spells folder. Though a few of my spells are disabled so you might have to enable them.

    Consult the .cs files for more info. I'll provide as much support for this as I feel like giving, if something doesn't work and you aim me bitching about what a horrible coder I am I will block you. If you flame me telling me this script sucks, I will ignore you.

    Description:
    http://www.wannabecoder.com/MysticHat.zip
    YOU NEED THIS FILE. THE FILE UPLOADED TO RUNUO.COM IS ONLY THE HAT FILE. IF YOU COMPILE JUST THAT IT WILL NOT WORK.

    Installation:
    replace your spells folder with mine, or modify each individual spell with the hue thing (check the .cs files for more info on how to do this)
    drop the hat in the custom folder. think thats it.

    my aim: zite91
    msn: zite0@hotmail.com
    icq: 47877974

    Attached Files:

  2. arnaki3000

    arnaki3000 Sorceror

    Messages:
    265
    seems good , but does it work for the 3d client? i mean are the spell effects colored when using 3d client?
  3. skaven_Aps

    skaven_Aps Wanderer

    Messages:
    84
    when i use summon daemon or enrgy vortex the server crash.
  4. Dooder

    Dooder Wanderer

    Messages:
    340
    How do I get summon daemon and energy vortex to work???
  5. sunfishdog

    sunfishdog Wanderer

    Messages:
    80
    when i cast summon daemon my server crashes as well....but (and i could be wrong) it looks like the daemon.cs file you put in there wasnt for the summon daemon, its for a regular deamon. and to the other guy.....to fix the ev thing just replace the energyvortex.cs file with the one from your mobiles folder(sould be RunUO-Beta-36\Scripts\Mobiles\Monsters\Misc\Melee).
  6. Horde_Pil

    Horde_Pil Wanderer

    Messages:
    1,786
    answer

    i would make it check for those spells it is not compatable with, and if they are being cast make it do nothing.
  7. Piercing_Hawk

    Piercing_Hawk Wanderer

    Messages:
    288
    Phil might need to go ahead and make it that way....if people see that your script *Will* crash their shard why would they want it?

    If you make a script please back it up.... :D
  8. zite

    zite Wanderer

    Messages:
    104
    are you guys replacing your ev and deamon mobiles with the ones from the zip?
    ah you guys are proly running aos. with aos you will need this summondeamon file. and I dunno why ev crashes server. here's my ev file again tho =/

    it doesn't crash on my server, can you guys paste me the error log?

    Attached Files:

  9. amon2

    amon2 Sorceror

    Messages:
    137
    server crash

    i love the hat and script but i crash when blade spirit is cast ....anyway to fix it or disable the spell? :confused:
  10. evil lord kirby

    evil lord kirby Wanderer

    Messages:
    2,923
    looks good but...

    the idea is awsome but its a little to much work on my part (course ima drop and play guy) but if you listen to even one suggestion please let it be this. I would make a spell folder that has the fixes and all spells enable then repost it. This is only a suggestion but i think it would not only save us a lot of work but save you from getting alot of people saying help my server crashed or why wont this spell work and so on. I have not tried running this script my self and i am in no way bashing it or anything like that i am only trying to help by suggesting this. I replied to this after reading the posts and thought this suggestion might make things easyer on everyone. Please dont take this as a bash, flame, or even a complaint.
  11. Gwidion

    Gwidion Wanderer

    Messages:
    96
    I've installed all of the necessary components for the Mystic Hat to work. But, I'm getting errors in the SpellHelper.cs....what's the deal?!

    Here's my error log:

    Code:
     - Error: Scripts\Spells\Base\SpellHelper.cs: CS0029: (line 295, column 14) Cann
    ot implicitly convert type 'Server.Guilds.BaseGuild' to 'Server.Guilds.Guild'
     - Error: Scripts\Spells\Base\SpellHelper.cs: CS0029: (line 303, column 10) Cann
    ot implicitly convert type 'Server.Guilds.BaseGuild' to 'Server.Guilds.Guild'
     - Error: Scripts\Spells\Base\SpellHelper.cs: CS0029: (line 310, column 11) Cann
    ot implicitly convert type 'Server.Guilds.BaseGuild' to 'Server.Guilds.Guild'
    And here's the lines:

    Code:
    		public static Guild GetGuildFor( Mobile m )
    		{
    	295->		Guild g = m.Guild;
    
    			if ( g == null && m is BaseCreature )
    			{
    				BaseCreature c = (BaseCreature)m;
    				m = c.ControlMaster;
    
    				if ( m != null )
    	303->				g = m.Guild;
    
    				if ( g == null )
    				{
    					m = c.SummonMaster;
    
    					if ( m != null )
    	310->					g = m.Guild;
    				}
    			}
    Please help me! I have no idea what to do...I've made/edited scripts before, but I don't know it well enough to decipher this kind of stuff.... =\

    Thanks!
  12. zSumGuyz

    zSumGuyz Wanderer

    Messages:
    80
    Ok i installed the script and did everything but now i get a problem with the script... here it is.

    Code:
      - Error: Scripts\Spells\Chivalry\DispelEvil.cs: CS0115: (line 32, column 24) 'Server.Spells.Chivalry.DispelEvilSpell.SendCastEffect()': no suitable method found to override 
    so i go into the scripts and it says this


    Code:
                         public override void SendCastEffect()
    		{
    			Caster.FixedEffect( 0x37C4, 10, 7, 4, 3 ); // At player
    		}
    
    I dont see whats wrong :mad:
  13. zedar

    zedar Wanderer

    Messages:
    135
    ok i have make correction; it will work fine now :p

    You can download it with this link:

    http://xion-online.net/MUO/Mystic Hat Hue spell.zip

    Or go to the "telecharger" (download) section in my site web

    http://xion-online.net/reservoirscripts/dload.php?action=file&file_id=26

    have fun :D
  14. Injall

    Injall Wanderer

    Messages:
    33
  15. Nikoru

    Nikoru Sorceror

    Messages:
    270
    Anyone still have this file?

Share This Page