Results 1 to 9 of 9
  1. #1
    dhesscoORI's Avatar
    Join Date
    Sep 2016
    Gender
    male
    Posts
    69
    Reputation
    10
    Thanks
    23
    My Mood
    Sick

    Why does this not work ...

     
    using wServer.logic.behaviors;
    using wServer.logic.transitions;
    using wServer.logic.loot;

    namespace wServer.logic
    {
    partial class BehaviorDb
    {
    private _ XPGiftSpawner = () => Behav()
    .Init("XP Gift Spawner",
    new State(
    new ConditionalEffect(ConditionEffectIndex.Invincible) ,
    new State("Idle",
    new PlayerWithinTransition(10, "spawn")
    ),
    new State("spawn",
    new Spawn("XP Gift", 3, coolDown: 10000),
    new TimedTransition(5000, "spawn2")
    ),
    new State("spawn2",
    new Spawn("XP Gift", 3, coolDown: 10000),
    new TimedTransition(25, "death")
    )),
    new State(
    new State("death",
    new EntityNotExistsTransition("Xp Gift", 25, "Idle",
    new EntityNotExistsTransition("Xp Gift", 25, "spawn2"
    )))));
    } }



     
    Severity Code Description Project File Line Suppression State
    Error CS1729 'EntityNotExistsTransition' does not contain a constructor that takes 4 arguments wServer C:\Users\#\Desktop\Rotmg PServer\Gummy's Realm\wServer\logic\XpGiftSpawner.cs 26 Active






    help pplz do yalls magic
    Last edited by dhesscoORI; 09-20-2016 at 03:38 PM.

  2. #2
    Desire's Avatar
    Join Date
    Sep 2013
    Gender
    male
    Location
    Insert Name Here
    Posts
    1,039
    Reputation
    58
    Thanks
    1,394
    My Mood
    Amused
    Quote Originally Posted by dhesscoORI View Post
    )))));
    what the fuck happened here
    im not really back nor will i ever get back into developing pservers
    though ill check once every month atleast


     

  3. The Following User Says Thank You to Desire For This Useful Post:

    MikeRaarupBirk (09-21-2016)

  4. #3
    MikeRaarupBirk's Avatar
    Join Date
    Mar 2016
    Gender
    male
    Posts
    1,583
    Reputation
    38
    Thanks
    3,775
    My Mood
    Stressed
    Code:
    using wServer.logic.behaviors;
    using wServer.logic.transitions;
    using wServer.logic.loot;
    
    namespace wServer.logic
    {
        partial class BehaviorDb
        {
            private _ XPGiftSpawner = () => Behav()
            .Init("XP Gift Spawner",
                new State(
                    new ConditionalEffect(ConditionEffectIndex.Invincible),
                    new State("Idle",
                        new PlayerWithinTransition(10, "spawn")
                        ),
                    new State("spawn",
                        new Spawn("XP Gift C", 3, coolDown: 10000),
                        new TimedTransition(5000,"check")
                        ),
                    new State("check",
                        new EntityNotExistsTransition("XP Gift C", 100, "spawn2")
                        ),
                    new State("spawn2",
                        new Spawn("XP Gift C", 3, coolDown: 10000),
                        new TimedTransition(5000, "check2")
                        ),
                    new State("check2",
                        new EntityNotExistsTransition("XP Gift C", 100, "spawn")
                )
             )
        );
        }
    }

  5. The Following User Says Thank You to MikeRaarupBirk For This Useful Post:

    dhesscoORI (09-21-2016)

  6. #4
    dhesscoORI's Avatar
    Join Date
    Sep 2016
    Gender
    male
    Posts
    69
    Reputation
    10
    Thanks
    23
    My Mood
    Sick
    Quote Originally Posted by Bear View Post
    what the fuck happened here
    idfk it made me do that...

  7. #5
    Desire's Avatar
    Join Date
    Sep 2013
    Gender
    male
    Location
    Insert Name Here
    Posts
    1,039
    Reputation
    58
    Thanks
    1,394
    My Mood
    Amused
    Quote Originally Posted by dhesscoORI View Post
    idfk it made me do that...
    Quote Originally Posted by MikeRaarupBirk View Post
    Code:
    using wServer.logic.behaviors;
    using wServer.logic.transitions;
    using wServer.logic.loot;
    
    namespace wServer.logic
    {
        partial class BehaviorDb
        {
            private _ XPGiftSpawner = () => Behav()
            .Init("XP Gift Spawner",
                new State(
                    new ConditionalEffect(ConditionEffectIndex.Invincible),
                    new State("Idle",
                        new PlayerWithinTransition(10, "spawn")
                        ),
                    new State("spawn",
                        new Spawn("XP Gift C", 3, coolDown: 10000),
                        new TimedTransition(5000,"check")
                        ),
                    new State("check",
                        new EntityNotExistsTransition("XP Gift C", 100, "spawn2")
                        ),
                    new State("spawn2",
                        new Spawn("XP Gift C", 3, coolDown: 10000),
                        new TimedTransition(5000, "check2")
                        ),
                    new State("check2",
                        new EntityNotExistsTransition("XP Gift C", 100, "spawn")
                )
             )
        );
        }
    }
    Is it solved now

    Ty mike for doing the work for me, im kind of busy
    im not really back nor will i ever get back into developing pservers
    though ill check once every month atleast


     

  8. #6
    AzzyG's Avatar
    Join Date
    Aug 2016
    Gender
    male
    Location
    I Think The Worst Thing You Can Do About a Situation Is Nothing
    Posts
    1,732
    Reputation
    261
    Thanks
    476
    @Luis @Raple @Joe

    /solved

  9. #7
    Desire's Avatar
    Join Date
    Sep 2013
    Gender
    male
    Location
    Insert Name Here
    Posts
    1,039
    Reputation
    58
    Thanks
    1,394
    My Mood
    Amused
    Quote Originally Posted by SantaClausss View Post
    @Luis @Raple @Joe

    /solved
    Dont they need to see if it's solved by the threadmaker saying something evident that it is actually solved

    hahaha shitpost :P
    im not really back nor will i ever get back into developing pservers
    though ill check once every month atleast


     

  10. #8
    AzzyG's Avatar
    Join Date
    Aug 2016
    Gender
    male
    Location
    I Think The Worst Thing You Can Do About a Situation Is Nothing
    Posts
    1,732
    Reputation
    261
    Thanks
    476
    Quote Originally Posted by Bear View Post
    Dont they need to see if it's solved by the threadmaker saying something evident that it is actually solved

    hahaha shitpost :P
    He thanked mike

  11. #9
    Danny's Avatar
    Join Date
    Jun 2015
    Gender
    male
    Posts
    9,617
    Reputation
    2835
    Thanks
    3,002
    My Mood
    Aggressive
    looks solved

    /closed

    respond to the pm if not.

    I am not a middleman nor do I buy/sell anything. If you are being contacted by someone off-site from MPGH then it's not me! Please report these to me via PM. Don't be stupid, think first.

  12. The Following User Says Thank You to Danny For This Useful Post:

    MikeRaarupBirk (09-23-2016)

Similar Threads

  1. [Help] Why the hell does this not work in most servers
    By ShitFucks in forum Garry's Mod Discussions & Help
    Replies: 10
    Last Post: 01-03-2015, 11:17 PM
  2. [HELP] Why is this not working :\
    By skulhead in forum C++/C Programming
    Replies: 11
    Last Post: 03-10-2011, 01:57 AM
  3. [Help] Why is this not working...
    By skulhead in forum WarRock Hack Source Code
    Replies: 30
    Last Post: 03-05-2011, 06:42 PM
  4. [Help] Why does this dont work?
    By skulhead in forum WarRock Hack Source Code
    Replies: 11
    Last Post: 02-26-2011, 12:24 AM
  5. Why does this not work?
    By extremehack in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 8
    Last Post: 08-15-2010, 09:47 AM