Jump to content

Conditions


wlhr

Recommended Posts

28 minutes ago, Mikemall said:

I dont believe it does. Maybe make a "Ticket" and ask the admin of this fine page for some help.

If you have no clue please dont bother.

Link to comment
Share on other sites

  • 2 weeks later...
On 14.1.2018 at 12:02 PM, Droidz said:

Hello, put bigger value in fightclass option "Frames Per Second" and increment max fps option in game (avoid lua conditions can also help).

Tested everything. Still have the problem

Link to comment
Share on other sites

Imagine your fightclass being a text with instruments, where each instrument can't be read without reading the other instruments coming before it first.
So it reads form top to buttom, then it repeats. (Loop).

The amount of instructions it has to read through determines how fast it reads the page.
So if you have a shit ton of conditions, it'll slow down the reading process. Reading from memory goes faster than looking for in-game lua conditions.
So if you want the 'reading speed' to increase, you want to decrease the amount of in-game lua conditions or make your overall conditions smarter.
I will make an example here for you on how you can make your conditions smarter (faster).

Say you have 4 spells after eachother.
Spell1 (Cast this if if not in combat, cast this if mana is x%)
Spell2 (Cast this if not in combat, cast this if mana is y%)
Spell3 (Cast this if not in combat, cast this if mana is z%)
Spell4 (Cast this if not in combat, cast this if mana is w%)
You change this to be smarter like this:
My4Spells (Cast this if not in combat)
{
Spell1 (Cast this if mana is x%)
Spell2 (cast this if mana is y%)
Spell3 (cast this if mana is z%)
Spell4 (cast this if mana is w%)
}

this is a very very rough and stupid example, but it should get the point out.
So in short, to speed up the condition reading. You want:
1. Memory > Lua conditions
2. Smart code
3. If you look at my Vanilla/TBC hunter fightclasses (or any fightclass i have made) you will see right away that i have used TONS of Lua.
So it can be done, but you want to read through lua as few times as possible. :)
4. The higher FPS your fightclass has the faster it reads through the page (FRAMES). So increasing the FPS both for the fightclass AND in-game will add a little speed (just like Droidz said it).

Hope this helps.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...