[Question] Auto Events ?

Results 1 to 5 of 5
  1. #1
    Newbie dilzl0 is offline
    MemberRank
    Oct 2015 Join Date
    20Posts

    [Question] Auto Events ?

    I've been wondering lately how server did those auto russian roulette.

    Anyone care to explain fully how it work?
    Like how is the system capable of clarifying if someone is off-platform to be disqualified or if someone is on the winner's platform. Is there some sort of 'range' function that detects which position everyone is on such that when timer's up it kills map and randomly generates a range as a winner and another as warp-outs.


  2. #2
    Sorcerer Supreme SYJourney is offline
    Member +Rank
    Mar 2015 Join Date
    FrankfurtLocation
    427Posts

    Re: [Question] Auto Events ?

    Quote Originally Posted by dilzl0 View Post
    Like how is the system capable of clarifying if someone is off-platform to be disqualified or if someone is on the winner's platform. Is there some sort of 'range' function that detects which position everyone is on such that when timer's up it kills map and randomly generates a range as a winner and another as warp-outs.
    Yes, you see the client's send position updates to the server constantly, so once the time is up you can just run through the collection of characters of a map and see who is where. In the case of platforms it could also have been done with the footholds (platform ids).

  3. #3
    Moderator Eric is offline
    ModeratorRank
    Jan 2010 Join Date
    DEV CityLocation
    3,188Posts

    Re: [Question] Auto Events ?

    I'm not exactly sure what this auto russian roulette is, having done a lot of auto-systems myself, however, what you're saying is very easy to do. When a player moves, their positions are saved to their map object. With this, we know their exact X,Y,MoveAction(face left/right), and FH(Footholds). You can compare this to monsters, or even specific areas within the map. After a timer is up, iterate users, and if any user is in the "range" of this said monster or platform, kill them or warp them out etc. Auto-Events are all just timers and use math pretty much.

  4. #4
    Newbie dilzl0 is offline
    MemberRank
    Oct 2015 Join Date
    20Posts

    Re: [Question] Auto Events ?

    Hello Eric, does any of your released source contains any auto-events ? I'd like to see how it's all made and start making my own

  5. #5
    Moderator Eric is offline
    ModeratorRank
    Jan 2010 Join Date
    DEV CityLocation
    3,188Posts

    Re: [Question] Auto Events ?

    Quote Originally Posted by dilzl0 View Post
    Hello Eric, does any of your released source contains any auto-events ? I'd like to see how it's all made and start making my own
    My Development might, it would have the events I made for WizStory in there if it does. They'd also be in my EricMS Reborn source. But back then I did them poorly and they could be done a lot better now ;P



Advertisement