Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] Well is your source different than the one compiled in the worldserver.exe?

[DiscordArchive] Well is your source different than the one compiled in the worldserver.exe?

[DiscordArchive] Well is your source different than the one compiled in the worldserver.exe?

Pages (9): Previous 1 5 6 7 8 9 Next  
rektbyfaith
Administrator
0
06-05-2019, 01:40 PM
#61
Archived author: Luka • Posted: 2019-06-05T13:40:16.312000+00:00
Original source

Also why are you doing
```cpp
// if the multiplier is 1 it's going to return damage * 1 either way which is damage, this if check is purposeless
if (damageMultiplier == 1)
return damage;
// just leave this if you're not passing damage as reference or use the example above if you convert to passing it as a ref
return damage * damageMultiplier;```
rektbyfaith
06-05-2019, 01:40 PM #61

Archived author: Luka • Posted: 2019-06-05T13:40:16.312000+00:00
Original source

Also why are you doing
```cpp
// if the multiplier is 1 it's going to return damage * 1 either way which is damage, this if check is purposeless
if (damageMultiplier == 1)
return damage;
// just leave this if you're not passing damage as reference or use the example above if you convert to passing it as a ref
return damage * damageMultiplier;```

rektbyfaith
Administrator
0
06-05-2019, 01:40 PM
#62
Archived author: MR.MUSTACHE • Posted: 2019-06-05T13:40:54.346000+00:00
Original source

to save some calculation time? if configs are set 1, it will just skip the checks bellow
rektbyfaith
06-05-2019, 01:40 PM #62

Archived author: MR.MUSTACHE • Posted: 2019-06-05T13:40:54.346000+00:00
Original source

to save some calculation time? if configs are set 1, it will just skip the checks bellow

rektbyfaith
Administrator
0
06-05-2019, 01:42 PM
#63
Archived author: MR.MUSTACHE • Posted: 2019-06-05T13:42:00.263000+00:00
Original source

oh wait lol
rektbyfaith
06-05-2019, 01:42 PM #63

Archived author: MR.MUSTACHE • Posted: 2019-06-05T13:42:00.263000+00:00
Original source

oh wait lol

rektbyfaith
Administrator
0
06-05-2019, 01:44 PM
#64
Archived author: MR.MUSTACHE • Posted: 2019-06-05T13:44:20.097000+00:00
Original source

that was suppose to be right after the configs and if configs
```cpp

if (mod_damage_normal == 1 && mod_damage_elite == 1 && mod_damage_eliterare == 1 && mod_damage_boss == 1 && mod_damage_rare == 1)
return damage;
```
rektbyfaith
06-05-2019, 01:44 PM #64

Archived author: MR.MUSTACHE • Posted: 2019-06-05T13:44:20.097000+00:00
Original source

that was suppose to be right after the configs and if configs
```cpp

if (mod_damage_normal == 1 && mod_damage_elite == 1 && mod_damage_eliterare == 1 && mod_damage_boss == 1 && mod_damage_rare == 1)
return damage;
```

rektbyfaith
Administrator
0
06-05-2019, 01:44 PM
#65
Archived author: MR.MUSTACHE • Posted: 2019-06-05T13:44:23.845000+00:00
Original source

that is what that should be
rektbyfaith
06-05-2019, 01:44 PM #65

Archived author: MR.MUSTACHE • Posted: 2019-06-05T13:44:23.845000+00:00
Original source

that is what that should be

rektbyfaith
Administrator
0
06-05-2019, 01:44 PM
#66
Archived author: MR.MUSTACHE • Posted: 2019-06-05T13:44:28.507000+00:00
Original source

above all checks
rektbyfaith
06-05-2019, 01:44 PM #66

Archived author: MR.MUSTACHE • Posted: 2019-06-05T13:44:28.507000+00:00
Original source

above all checks

rektbyfaith
Administrator
0
06-05-2019, 01:44 PM
#67
Archived author: Luka • Posted: 2019-06-05T13:44:30.487000+00:00
Original source

An if is more resource heavy than a multiplication
rektbyfaith
06-05-2019, 01:44 PM #67

Archived author: Luka • Posted: 2019-06-05T13:44:30.487000+00:00
Original source

An if is more resource heavy than a multiplication

rektbyfaith
Administrator
0
06-05-2019, 01:44 PM
#68
Archived author: Luka • Posted: 2019-06-05T13:44:44.852000+00:00
Original source

In most cases
rektbyfaith
06-05-2019, 01:44 PM #68

Archived author: Luka • Posted: 2019-06-05T13:44:44.852000+00:00
Original source

In most cases

rektbyfaith
Administrator
0
06-05-2019, 01:45 PM
#69
Archived author: Luka • Posted: 2019-06-05T13:45:22.616000+00:00
Original source

I don't understand the if you sent above
rektbyfaith
06-05-2019, 01:45 PM #69

Archived author: Luka • Posted: 2019-06-05T13:45:22.616000+00:00
Original source

I don't understand the if you sent above

rektbyfaith
Administrator
0
06-05-2019, 01:45 PM
#70
Archived author: MR.MUSTACHE • Posted: 2019-06-05T13:45:45.764000+00:00
Original source

well it is still unordered script
rektbyfaith
06-05-2019, 01:45 PM #70

Archived author: MR.MUSTACHE • Posted: 2019-06-05T13:45:45.764000+00:00
Original source

well it is still unordered script

Pages (9): Previous 1 5 6 7 8 9 Next  
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)