Page 1 of 2 12 LastLast
Results 1 to 15 of 22
  1. #1
    Drowlys's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Location
    The Crawling Depths
    Posts
    196
    Reputation
    10
    Thanks
    2,675

    Exclamation Add Oryx the Mad God 2 to your MMOE's Server

    Hi MPGH.

    First you need the code :
    Code:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using wServer.realm;
    using wServer.logic.attack;
    using wServer.logic.movement;
    using wServer.logic.loot;
    using wServer.logic.taunt;
    using wServer.logic.cond;
    
    namespace wServer.logic
    {
        partial class BehaviorDb
        {
            static _ Oryx = Behav()
                .Init(0x0932, Behaves("Oryx the Mad God 2",
                        new RunBehaviors(
                            Cooldown.Instance(1000, MultiAttack.Instance(25, 10 * (float)Math.PI / 180, 3, 0, projectileIndex: 1)),
                            Cooldown.Instance(1000, MultiAttack.Instance(25, 10 * (float)Math.PI / 180, 3, 0, projectileIndex: 2)),
                            Cooldown.Instance(1000, MultiAttack.Instance(25, 10 * (float)Math.PI / 180, 2, 0, projectileIndex: 3)),
                            Cooldown.Instance(1000, MultiAttack.Instance(25, 10 * (float)Math.PI / 180, 3, 0, projectileIndex: 4)),
                            Cooldown.Instance(1000, MultiAttack.Instance(25, 10 * (float)Math.PI / 180, 2, 0, projectileIndex: 5)),
                            Cooldown.Instance(1000, MultiAttack.Instance(25, 10 * (float)Math.PI / 180, 3, 0, projectileIndex: 6)),
                            Cooldown.Instance(10000, new SimpleTaunt("Puny mortals! My {HP} HP will annihilate you!"))
                        ),
                        new RunBehaviors(
                            HpGreaterEqual.Instance(15000,
                                new RunBehaviors(
                                    SimpleWandering.Instance(2, 5),
                                    Cooldown.Instance(3600, MultiAttack.Instance(25, 45 * (float)Math.PI / 180, 8, 0, projectileIndex: 0))
                                )
                            ),
                            HpLesserPercent.Instance(0.3f,
                                new RunBehaviors(
                                    Chasing.Instance(3, 25, 2, null),
                                    Cooldown.Instance(2200, MultiAttack.Instance(25, 45 * (float)Math.PI / 180, 8, 0, projectileIndex: 0)),
                                    Once.Instance(SetConditionEffect.Instance(ConditionEffectIndex.Invulnerable)),
                                    Once.Instance(new SimpleTaunt("Can't... keep... henchmen... alive... anymore! ARGHHH!!!")),
                                    Cooldown.Instance(8000, Once.Instance(UnsetConditionEffect.Instance(ConditionEffectIndex.Invulnerable))),
                                    Cooldown.Instance(8000, Once.Instance(RingAttack.Instance(15, 0, 2, projectileIndex: 7))),
                                    Cooldown.Instance(8000, Once.Instance(RingAttack.Instance(15, projectileIndex: 8)))
                                )
                            )
                        ),
                        loot: new LootBehavior(LootDef.Empty,
                            Tuple.Create(100, new LootDef(0, 16, 0, 16,
                                Tuple.Create(0.1, (ILoot)new TierLoot(6, ItemType.Ability)),
                                Tuple.Create(0.07, (ILoot)new TierLoot(7, ItemType.Ability)),
                                Tuple.Create(0.05, (ILoot)new TierLoot(8, ItemType.Ability)),
    
                                Tuple.Create(0.05, (ILoot)new TierLoot(15, ItemType.Armor)),
                                Tuple.Create(0.10, (ILoot)new TierLoot(14, ItemType.Armor)),
                                Tuple.Create(0.15, (ILoot)new TierLoot(13, ItemType.Armor)),
    
                                Tuple.Create(0.05, (ILoot)new TierLoot(14, ItemType.Weapon)),
                                Tuple.Create(0.15, (ILoot)new TierLoot(13, ItemType.Weapon)),
                                Tuple.Create(0.2, (ILoot)new TierLoot(12, ItemType.Weapon)),
    
                                Tuple.Create(0.1, (ILoot)new TierLoot(5, ItemType.Ring)),
    
                                Tuple.Create(0.5, (ILoot)new StatPotionLoot(StatPotion.Att)),
                                Tuple.Create(0.5, (ILoot)new StatPotionLoot(StatPotion.Wis)),
                                Tuple.Create(0.5, (ILoot)new StatPotionLoot(StatPotion.Vit)),
                                Tuple.Create(0.5, (ILoot)new StatPotionLoot(StatPotion.Spd))
                        )))
                ));
        }
    }
    If u don't have T7/T8 Abilities, delete this lines :
    Code:
    Tuple.Create(0.07, (ILoot)new TierLoot(7, ItemType.Ability)),
    Tuple.Create(0.05, (ILoot)new TierLoot(8, ItemType.Ability)),
    For the code, save it in a file called BehaviorDb.Oryx2.cs

    Place the file in wServer/logic/db/

    And with Microsoft Visual Studio C#, you have to recompile wServer.

    You can modify drop rates later, i'll make a tutorial

    Thanks !

    Pro Tip : /spawn Oryx the Mad God 2
    Warning with invisible shoot (lag cause)
    Last edited by Drowlys; 04-13-2013 at 04:51 AM.

  2. The Following 3 Users Say Thank You to Drowlys For This Useful Post:

    Dragonlord3344 (04-14-2013),Helzgoth (04-13-2013),runekri3 (04-13-2013)

  3. #2
    runekri3's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Posts
    792
    Reputation
    9
    Thanks
    240
    My Mood
    Cheerful
    Good job on this.
    Im also fiddling around with the server, currently going for oryx 1.

    Though I could also try actually adding the Wine Cellar dungeon.
    EDIT:
    Drops are a bit wrong since oryx 2 also drops 10-12 weps and 11-13 armors and 5-6 abilities.
    Last edited by runekri3; 04-13-2013 at 04:55 AM.
    Reputation-
    Vouches
    Respect-
    Nilly, Ultran00b, JustAnoobROTMG, Nano, karolelis9, fallenhacks(cake), jaythedev
    DisRespect-
    mandela96, spaghetti master, floxxe, drillick, brendoo

  4. #3
    Drowlys's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Location
    The Crawling Depths
    Posts
    196
    Reputation
    10
    Thanks
    2,675
    Quote Originally Posted by runekri3 View Post
    Good job on this.
    Im also fiddling around with the server, currently going for oryx 1.

    Though I could also try actually adding the Wine Cellar dungeon.
    Modify database, make u admin (1 instead of 0) and create the Wine Cellar map ?


  5. #4
    Schev's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Location
    Ipswich I guess O.o
    Posts
    119
    Reputation
    10
    Thanks
    203
    Aww I guess is preety good, I would thanks If you could do a video tutorial

  6. #5
    somith's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    47
    Reputation
    10
    Thanks
    4
    My Mood
    Amazed
    hmm how do i recompile sorry im new to all this

  7. #6
    sparzinrotmg's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Posts
    107
    Reputation
    10
    Thanks
    1,026
    My Mood
    Amused
    Can you try making Char saving or Vault?

  8. #7
    Fightera100's Avatar
    Join Date
    Feb 2012
    Gender
    male
    Posts
    662
    Reputation
    10
    Thanks
    1,684
    server.exe crahes after starting >.<

  9. #8
    Drowlys's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Location
    The Crawling Depths
    Posts
    196
    Reputation
    10
    Thanks
    2,675
    Quote Originally Posted by Fightera100 View Post
    server.exe crahes after starting >.<
    U don't delete the 2 lines, you don't have T7/T8 abilites, make wServer crash.

  10. #9
    Schev's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Location
    Ipswich I guess O.o
    Posts
    119
    Reputation
    10
    Thanks
    203
    @@Drowyls Can you make a Video tutorial please?

  11. #10
    vaultbud's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Posts
    62
    Reputation
    10
    Thanks
    2
    Quote Originally Posted by Schev View Post
    @@Drowyls Can you make a Video tutorial please?
    It's literally self explanatory. He tells you exactly what to do and how to do it.

  12. #11
    donran's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Posts
    952
    Reputation
    41
    Thanks
    955
    My Mood
    Paranoid
    Give credits to Travoos for this.

  13. #12
    Drowlys's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Location
    The Crawling Depths
    Posts
    196
    Reputation
    10
    Thanks
    2,675
    Quote Originally Posted by donran View Post
    Give credits to Travoos for this.
    Who is him ?

  14. #13
    Schev's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Location
    Ipswich I guess O.o
    Posts
    119
    Reputation
    10
    Thanks
    203
    I know I done with oryx and stuff but how to recompile it

  15. #14
    gorgor's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Location
    Toxic Sewer
    Posts
    583
    Reputation
    15
    Thanks
    161
    if you have no idea to recompil, I just wonder why you bug the coder ?? do you want to have him bored of you like botmaker ...
    THINK !
    you don't know to recompil or whatever , make a post in REQUEST not in here.

    Thanks a lot for the code mate, I appreciate ! Hope to see more from you

  16. #15
    HannaFam's Avatar
    Join Date
    Sep 2012
    Gender
    female
    Posts
    88
    Reputation
    10
    Thanks
    308
    Thanks for this!

Page 1 of 2 12 LastLast

Similar Threads

  1. What's your realm of the mad god name?
    By Lord_Nub in forum Realm of the Mad God Discussions
    Replies: 25
    Last Post: 03-29-2013, 02:39 AM
  2. [Release] Oryx Hates Emulation - Realm of the Mad God server development
    By xrythx in forum Realm of the Mad God Hacks & Cheats
    Replies: 107
    Last Post: 11-18-2012, 11:02 PM
  3. Realm of the Mad God
    By blakemasterzero in forum Suggestions, Requests & General Help
    Replies: 1
    Last Post: 09-27-2011, 08:14 AM
  4. [Request] Realm of the Mad God
    By spree2 in forum Other MMORPG Hacks
    Replies: 0
    Last Post: 06-01-2011, 01:29 PM
  5. Realm of the Mad God
    By PyrexxHero® in forum General
    Replies: 9
    Last Post: 04-08-2011, 01:38 AM