Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] where did you notice that ?

[DiscordArchive] where did you notice that ?

[DiscordArchive] where did you notice that ?

Pages (2): Previous 1 2
rektbyfaith
Administrator
0
02-09-2024, 12:33 AM
#11
Archived author: adm • Posted: 2024-02-09T00:33:05.955000+00:00
Original source

well, above is the original code, which works on it's own
rektbyfaith
02-09-2024, 12:33 AM #11

Archived author: adm • Posted: 2024-02-09T00:33:05.955000+00:00
Original source

well, above is the original code, which works on it's own

rektbyfaith
Administrator
0
02-09-2024, 12:33 AM
#12
Archived author: adm • Posted: 2024-02-09T00:33:26.138000+00:00
Original source

I'm just trying to add some features to it
rektbyfaith
02-09-2024, 12:33 AM #12

Archived author: adm • Posted: 2024-02-09T00:33:26.138000+00:00
Original source

I'm just trying to add some features to it

rektbyfaith
Administrator
0
02-09-2024, 12:34 AM
#13
Archived author: Cyanide • Posted: 2024-02-09T00:34:48.565000+00:00
Original source

what's the best way to block/ban certain IPs? i have a guy in north macedonia sending me malformed packets 600 times an hour every hour every day
rektbyfaith
02-09-2024, 12:34 AM #13

Archived author: Cyanide • Posted: 2024-02-09T00:34:48.565000+00:00
Original source

what's the best way to block/ban certain IPs? i have a guy in north macedonia sending me malformed packets 600 times an hour every hour every day

rektbyfaith
Administrator
0
02-09-2024, 12:35 AM
#14
Archived author: adm • Posted: 2024-02-09T00:35:03.963000+00:00
Original source

this is a bigger chunk, starting from the beginning of the block:

```php
AutoBalanceInflectionPointSettings getInflectionPointSettings (InstanceMap* instanceMap, bool isBoss = false)
{
uint32 maxNumberOfPlayers = instanceMap->GetMaxPlayers();
uint32 mapId = instanceMap->GetEntry()->MapID;

float inflectionValue, curveFloor, curveCeiling;

inflectionValue = (float)maxNumberOfPlayers;

//
// Base Inflection Point
//
if (instanceMap->IsHeroic())
{
if ((maxNumberOfPlayers <= 5) && (player->getClass() == CLASS_PRIEST || player->getClass() == CLASS_MAGE || player->getClass() == CLASS_WARLOCK))
{
inflectionValue *= InflectionPointHeroicCloth;
curveFloor = InflectionPointHeroicCurveFloorCloth;
curveCeiling = InflectionPointHeroicCurveCeilingCloth;
}
```
rektbyfaith
02-09-2024, 12:35 AM #14

Archived author: adm • Posted: 2024-02-09T00:35:03.963000+00:00
Original source

this is a bigger chunk, starting from the beginning of the block:

```php
AutoBalanceInflectionPointSettings getInflectionPointSettings (InstanceMap* instanceMap, bool isBoss = false)
{
uint32 maxNumberOfPlayers = instanceMap->GetMaxPlayers();
uint32 mapId = instanceMap->GetEntry()->MapID;

float inflectionValue, curveFloor, curveCeiling;

inflectionValue = (float)maxNumberOfPlayers;

//
// Base Inflection Point
//
if (instanceMap->IsHeroic())
{
if ((maxNumberOfPlayers <= 5) && (player->getClass() == CLASS_PRIEST || player->getClass() == CLASS_MAGE || player->getClass() == CLASS_WARLOCK))
{
inflectionValue *= InflectionPointHeroicCloth;
curveFloor = InflectionPointHeroicCurveFloorCloth;
curveCeiling = InflectionPointHeroicCurveCeilingCloth;
}
```

Pages (2): Previous 1 2
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)