Maintenance for the week of December 15:
• PC/Mac: NA and EU megaservers for maintenance – December 15, 4:00AM EST (9:00 UTC) - 12:00PM EST (17:00 UTC)
• Xbox: NA and EU megaservers for maintenance – December 15, 4:00AM EST (9:00 UTC) - 12:00PM EST (17:00 UTC)
• PlayStation®: NA and EU megaservers for maintenance – December 15, 4:00AM EST (9:00 UTC) - 12:00PM EST (17:00 UTC)

Programming advice for ZOS

marlonbrando
marlonbrando
✭✭✭
If mounted then
cancel_running_animation()
end
  • Hamish999
    Hamish999
    ✭✭✭✭✭
    But why? It's one of the most amusing, persistant, bugs in the game :D
    Edited by Hamish999 on January 1, 2020 9:03PM
    PC-EU
    Do'Zahra - Khajiit - StamDK - AD
    Narese Telvanni - Dunmer - Petsorc - EP
    Anastasie Chastain - Breton - Magplar - DC
    Gashnakh the Lusty - Orc - Stamsorc - AD
    Stands-In-Stoopid - Argonian - Warden Tank - AD
    Talia al-Morwha - Redguard - Stamden - AD
    Makes-Fier-Wrong - Argonian - Stamblade - AD
    Busty-Argonian-Maid - Argonian - Templar Healer - AD
    Alaru Telvanni - Dunmer - Stamplar - AD
    Ko'Raehsi - Khajiit - Magsorc - AD
    Torhild Rock-Chucker - Nord - StamDK - AD
    Drusilla Larouche - Breton - MagDK - AD
    Ko'Khanni - Khajiit - Magden - AD
    Ilithyia Ectorius - Imperial - DK Tank -AD
    Rosara Laumont - Breton - Warden Healer - AD
    Do'Darri - Khajiit - Stam Arcanist - AD

    Keyboard and mouse FTW!
  • rpa
    rpa
    ✭✭✭✭✭
    ✭✭
    And knowing how these kind of "fixes" often work, you'll randomly end up riding on ground instead running after dismount.
  • JimmyJuJu
    JimmyJuJu
    ✭✭✭✭
    How about this instead:

    If not_in_combat
    then allow_mount = true
    end

    I mean, FFS...it's been 5 years guys - can you please fix this one already? Thanks.
  • VaranisArano
    VaranisArano
    ✭✭✭✭✭
    ✭✭✭✭✭
    tjvrwrm0xlo31.jpg
  • Darkmage1337
    Darkmage1337
    ✭✭✭✭✭
    The meme lives on in 2020. :D
    ESO Platform/Region: PC/NA. ESO ID: @Darkmage1337
    GM of Absolute Virtue. Co-GM of Absolute Vice. 8-time Former Emperor, out of 13 characters. 3 Templars, 3 Sorcerers, 2 Nightblades, 2 Dragonknights, 1 Warden. 1 Necromancer, and 1 Arcanist. The Ebonheart Pact: The Dark-Mage (Former Emperor), The Undying Nightshade, The Moonlit-Knight, The Killionaire (Former Emperor), Swims-Among-Slaughterfish (Former Emperor), The Undead Mage, and The Dark-Warlock. The Aldmeri Dominion: The Dawn-Bringer (Former Empress), The Ironwood Kid (Former Emperor), and The Storm-Sword. The Daggerfall Covenant: The Storm-Shield (Former Empress), The Savage-Beast, and The Burning-Crusader CP: 1,999.
  • marlonbrando
    marlonbrando
    ✭✭✭
    JimmyJuJu wrote: »
    How about this instead:

    If not_in_combat
    then allow_mount = true
    end

    I mean, FFS...it's been 5 years guys - can you please fix this one already? Thanks.

    Or even,
    if (last_damage_time() - current_time()) > 60 then
    cancel_in_combat()
    end
  • Vizikul
    Vizikul
    ✭✭✭✭
    tjvrwrm0xlo31.jpg

    evolutie.jpg
    Pugging. Pugging all the way to victory.
    Imperial Dragonknight --- male, stamina, heavy & medium armor, dual wield, one hand and shield, two handed.
    Breton Templar --- female, magicka, light armor, restoration staff.
    Redguard Warden --- female, stamina, medium armor, bow.
    Breton Sorcerer --- male, magicka, light armor, destruction staff.
    Imperial Templar --- male, stamina, medium armor, two handed.

    Daggerfall Covenant loyalist
  • Runefang
    Runefang
    ✭✭✭✭✭
    ✭✭
    JimmyJuJu wrote: »
    How about this instead:

    If not_in_combat
    then allow_mount = true
    end

    I mean, FFS...it's been 5 years guys - can you please fix this one already? Thanks.

    Or even,
    if (last_damage_time() - current_time()) > 60 then
    cancel_in_combat()
    end

    So you want the server to check this every... millisecond? every second? For every player? And it effectively needs to record each time you receive damage with a time stamp in order for the formula to work.

    Congratulations you’ve killed the server.
  • marlonbrando
    marlonbrando
    ✭✭✭
    rpa wrote: »
    And knowing how these kind of "fixes" often work, you'll randomly end up riding on ground instead running after dismount.

    Good point. Or, you'll only be able to move while mounted.
  • Kellion
    Kellion
    ✭✭
    I don't think you guys realize the amount of training, and upper echelon Kung Fu one needs to achieve, before being able to run and flow as one with the mount! Then again, why do we even need the mount if we have that much kung fu.... hmmmm
  • marlonbrando
    marlonbrando
    ✭✭✭
    Runefang wrote: »
    JimmyJuJu wrote: »
    How about this instead:

    If not_in_combat
    then allow_mount = true
    end

    I mean, FFS...it's been 5 years guys - can you please fix this one already? Thanks.

    Or even,
    if (last_damage_time() - current_time()) > 60 then
    cancel_in_combat()
    end

    So you want the server to check this every... millisecond? every second? For every player? And it effectively needs to record each time you receive damage with a time stamp in order for the formula to work.

    Congratulations you’ve killed the server.

    I'm sure you know that this wasn't a serious suggestion. It's obviously more complicated than this or it would have been fixed by now.

    Regardless, the game isn't an outside observer watching you do stuff that has to check up on you every millisecond. It knows when things happen. It has "events" that trigger when certain things like "going into combat" or "player received damage" happen: https://wiki.esoui.com/Events . It also has things like timers which can be triggered every "N" seconds.


  • SickleCider
    SickleCider
    ✭✭✭✭✭
    ✭✭✭
    https://www.youtube.com/watch?v=OpidGiBemJ4

    I think it's just a feature at this point.
    ✨🐦✨ Blackfeather Court Commission ✨🐦✨
  • Elsonso
    Elsonso
    ✭✭✭✭✭
    ✭✭✭✭✭
    I am still waiting for them to comment out this block of code, which I seem to hit a lot when trying to enter Auridon.
    while (1==1) 
        ShowRandomLoadingScreen()
    end
    

    :smiley:
    XBox EU/NA:@ElsonsoJannus
    PC NA/EU: @Elsonso
    PSN NA/EU: @ElsonsoJannus
    Total in-game hours: 11321
    X/Twitter: ElsonsoJannus
  • Mr_Walker
    Mr_Walker
    ✭✭✭✭✭
    ✭✭✭✭
    JimmyJuJu wrote: »
    How about this instead:

    If not_in_combat
    then allow_mount = true
    end

    I mean, FFS...it's been 5 years guys - can you please fix this one already? Thanks.

    Or even,
    if (last_damage_time() - current_time()) > 60 then
    cancel_in_combat()
    end

    ^^^^

    Even less. 20 seconds.
  • SirAndy
    SirAndy
    ✭✭✭✭✭
    ✭✭✭✭✭
    If mounted then
    cancel_running_animation()
    end

    Don't quit your acting dayjob ...
    :wink:
  • StrandedMonkey
    StrandedMonkey
    ✭✭✭✭
    this thread is bound to get locked so im just going to ask you guys if java is a dying language or not

    mods if u guys program too feel free to pm me
  • ManwithBeard9
    ManwithBeard9
    ✭✭✭✭✭
    ✭✭
    this thread is bound to get locked so im just going to ask you guys if java is a dying language or not

    mods if u guys program too feel free to pm me

    Java is cofffee. Water hue tacoing a boot?
  • Iskiab
    Iskiab
    ✭✭✭✭✭
    ✭✭✭
    this thread is bound to get locked so im just going to ask you guys if java is a dying language or not

    mods if u guys program too feel free to pm me

    Java’s not dead, it’s used all the time in business.

    Java’s terrible for anything network related, it’s too high a level language and you need to use stuff like C unless you’re okay with things moving at a snail’s pace.
    Looking for any guildies I used to play with:
    Havoc Warhammer - Alair
    LoC EQ2 - Mayi and Iskiab
    PRX and Tabula Rasa - Rift - Iskiab
    Or anyone else I used to play games with in guilds I’ve forgotten
  • KillsAllElves
    KillsAllElves
    ✭✭✭✭✭
    Hero engine -

    1 ;not_in_combat_mount=true. < this one has a line of script next to it. I would have to look at their program to see the code they had layed out. Theres a specific reason why we see characters running on mounts And i know server side software has an effect on this, kinda like collision.

    2 ;in_combat_mount=false

    3 ;bind_key_x=X

    Zos will be laying out several large updates this year and if theyre going to do what i think, we shouldnt see this issue again.

    I seen a list of codes eso uses and they are similar to the game i am Working on.
    Edited by KillsAllElves on January 2, 2020 6:18AM
  • redlink1979
    redlink1979
    ✭✭✭✭✭
    ✭✭✭
    If mounted then
    cancel_running_animation()
    end

    Jump while mounted. Problem fixed. Lol
    "Sweet Mother, sweet Mother, send your child unto me, for the sins of the unworthy must be baptized in blood and fear"
    • Sons of the Night Mother | VforVendetta | Grownups Gaming EU | English Elders [PS][EU] 2360 CP
    • Daggerfall's Mightiest | Eternal Champions | Legacy | Tamriel Melting Pot [PS][NA] 2190 CP
    • SweetTrolls | Spring Rose | Daggerfall Royal Legion | Tinnitus Delux [PC][EU] 2345 CP
    • Bacon Rats | Silverlight Brotherhood | Canis Root Tea Party | Vincula Doloris [PC][NA] 2090 CP
  • Mr_Arce88
    Mr_Arce88
    ✭✭✭
    Nah ESO is the only game where you can run both on sword and a horse. I mean c'mon what other game gives you such unique experience? B) I especially love killing enemies with my bare hands pretending to shot arrows. Now that is real magic you pesky magsorcs ^.^
  • CiliPadi
    CiliPadi
    ✭✭✭✭
    # If oceanic then
    # increase_latency()
    # end

    ;-P
  • aaisoaho
    aaisoaho
    ✭✭✭✭✭
    Yay, more ifs, more things to calculate, more lag! Yeah, increasing the amount of ifs is not the way to solve anything - less ifs, less things to calculate, less lag. And if we continue the train of thought ona serious manner: none of the armchair programmers here can solve anything, because we do not have access to the code and to the project.
  • Donny_Vito
    Donny_Vito
    ✭✭✭✭✭
    cancel_running_animation()

    Look at that naming convention for function. Sigh....
  • validifyedneb18_ESO
    validifyedneb18_ESO
    ✭✭✭✭✭
    Runefang wrote: »
    JimmyJuJu wrote: »
    How about this instead:

    If not_in_combat
    then allow_mount = true
    end

    I mean, FFS...it's been 5 years guys - can you please fix this one already? Thanks.

    Or even,
    if (last_damage_time() - current_time()) > 60 then
    cancel_in_combat()
    end

    So you want the server to check this every... millisecond? every second? For every player? And it effectively needs to record each time you receive damage with a time stamp in order for the formula to work.

    Congratulations you’ve killed the server.

    Good god do you know how collisions work, is a single integer comparison too much for a modern game server to handle? Is there some magic that makes everything else work frame to frame without relying on this apparently server-killing if-statement of 3 integers?!
    EU: Magden, Magknight, Stamsorc(*2), Magsorc
    NA: Magplar, Magden, PotatoBlade
  • validifyedneb18_ESO
    validifyedneb18_ESO
    ✭✭✭✭✭
    How people thing a single if statement is somehow going to drag server performance down, I have no damn clue.

    Every physics simulated item in the game has to do 3 floating point integer comparisons, against every other static or otherwise object in the scene every physics frame. And that is just AABB pre-checks.

    But no, comparing 1 global integer against a local player integer, once per player per frame, waaaay too much for the servers to handle.
    EU: Magden, Magknight, Stamsorc(*2), Magsorc
    NA: Magplar, Magden, PotatoBlade
  • Elsonso
    Elsonso
    ✭✭✭✭✭
    ✭✭✭✭✭
    aaisoaho wrote: »
    Yay, more ifs, more things to calculate, more lag! Yeah, increasing the amount of ifs is not the way to solve anything - less ifs, less things to calculate, less lag. And if we continue the train of thought ona serious manner: none of the armchair programmers here can solve anything, because we do not have access to the code and to the project.

    That is not the source of the performance problems.

    This is
    /* DevGuy  20130423 - remove the following line in 2015 to increase performance */
    sleep(1000)
    

    They still haven't done that. :disappointed:

    :smiley:
    XBox EU/NA:@ElsonsoJannus
    PC NA/EU: @Elsonso
    PSN NA/EU: @ElsonsoJannus
    Total in-game hours: 11321
    X/Twitter: ElsonsoJannus
  • Frozen_Heart246
    Frozen_Heart246
    ✭✭✭
    static void ServerMaintaince(string progress)
    {
    if (progress=="done")
    ServerDie();
    else
    ServerDie();
    }
    Edited by Frozen_Heart246 on January 2, 2020 6:00PM
  • jadarock
    jadarock
    ✭✭✭✭✭
    I walked from fare to aless on my mounts back for *** and giggles last night....
    Of all the bugs that need fixing this is not one😂😂
  • Dojohoda
    Dojohoda
    ✭✭✭✭✭
    ✭✭✭
    I'm not a programmer but I can attempt to play along.

    If hampster = slow, retire hampster, + fresh hampster.

    :p please overlook and carry on.
    Fan of playing magblade since 2015. (PC NA)
    Might be joking in comments.
    -->(((Cyrodiil)))<--
Sign In or Register to comment.