Changelog

Repea

Active member
@here
[Script Update]

**SkillManager**
- added an additional option in skill definition
-> Is OrientationLock
-> only of use if used with Blessed Hammer
-> will make Blessed Hammer casts more reliable in assisted play mode
-> if enabled it will only cast Blessed Hammer if the orientation to the target is correct, which could somewhat make hammer a bit inefficient in assisted manual play
-> to fix i added this option
-> disable it and it will keep casting for better aoe
-> tested with my hammer and it works flawless
 

Repea

Active member
@here
[Engine Update]

- added **LoginManager**
-> accessable through top menu bar
-> this will add the possibility to maintain login tokens of multiple d2r accounts to easily switch/set them without the need of external tools like **D2RML**

D2R login works via registry keys the bnet launcher and the game set and use
these tokens expire after n amount of hours not being connected to the online d2r server
which means that you need to set this up manuallly again after a certain amount of time not being connected with the given account

**Setup Example with 2 Accounts**
- use retail bnet launcher to login to Account A and start the game
- connect to the game server until u are in the main screen with the char selection
- close d2r and launch it again via mosquito so you get the Infinity.D2R engine injected
- open **LoginManager** and enter a name of the new logindata u want to save and press **Add**
- an entry will automatically appear with the **WEB_TOKEN** from registry alrdy stored and attached to it
- close d2r

- use retail bnet launcher to login to Account B and start the game
- connect to the game server until u are in the main screen with the char selection
- close d2r and launch it again via mosquito so you get the Infinity.D2R engine injected
- open **LoginManager** and enter a name of the new logindata u want to save and press **Add**
- an entry will automatically appear with the **WEB_TOKEN** from registry alrdy stored and attached to it

- now you can launch a 2nd d2r instance via mosquito (if you have a 2nd licence for Infinity.D2R)
- after d2r launch and **BEFORE** you click into the screen to connect to the server you need to open **LoginManager**
and press the **Login** btn of the entry you want to use now
- this will set the previously stored/updated WEB_TOKEN in registry
- once done you will also see the currently used entry marked red in the LoginManager GUI

- if you dont have a 2nd Infinity.D2R licence you can also use this tech to set the WEB_TOKEN of a normal d2r instance u launch via the D2R.exe without bnet retail launcher
-> with your mosquito launched d2r instance alrdy logged in and in-game you can simply set the desired logindata via **LoginManager** and launch a non-infinity instance of d2r manually and login to set account

**keep in mind that loggin into accounts and using them without infinity.d2r injected it wont update the WEB_TOKEN of currently used account which means it will invalidate em and they cant be used for next login/acc switch with infinity, which means you need to manually set the tokens again**

**Updating Tokens of alrdy created LoginManager entries**
- same steps as if you would freshly create some, so using bnet retail launcher to login to desired account and start it once and login without infinity
- before connect-to-server screen or if alrdy in main-menu with char select you now just press the **Refresh** button in LoginManager in the entry of choice
-> this will update the WEB_TOKEN and its rdy to be used again
 

Repea

Active member
@here
[Engine Update]
- script related changes

[Script Update]

**ItemEvalManager**
- revamped the item stat evaluation and stat selection for definitions
-> for normal up to set items

-> also added possibility to enable eth check for uniques and set items

- you can now also add StatsPack definitions for normal/superior items to check for enhanced damage or defense or allres

**StatsPack**
- a collection of customizable stats
-> can be cloned
-> can be renamed
 

Repea

Active member
@here
It Might freeze ur client when you first launch AutoPick with ur old loot profiles cause it does merge em to new data style
so just let it finish
 

Repea

Active member
@here
[Script Update]
- pushed a little fix
-> temp disabled stat evals of some stats cause the mod readout in these is bugged currently
```lua
function ItemStatEvaluator:skipStat(eStat)
if eStat == EStat_ITEM_SKILLONATTACK or
eStat == EStat_ITEM_SKILLONKILL or
eStat == EStat_ITEM_SKILLONDEATH or
eStat == EStat_ITEM_SKILLONHIT or
eStat == EStat_ITEM_SKILLONLEVELUP or
eStat == EStat_ITEM_SKILLONGETHIT or
eStat == EStat_ITEM_CHARGED_SKILL then

return true
end

return false
end
```
 

Repea

Active member
@here
[Script Update]

**Radar**
- improved caching to fix some performance issues

**AutoTele**
- improved caching to fix some performance issues
- up to 10 configurable (via GUI) hotkeys
 

Repea

Active member
@here
[Engine Update]
- added Infinity.D2R.getGlobalsManager():saveAndExit()

[Script Update]
**PotManager**
- you can now set an exit-game-chicken var

**AutoPot**
- does instantly save and exit game if current player hp <= set value in PotManager
-> exitgame is handled before town chicken and before all other pot actions
 

Repea

Active member
@here
[Engine Update]

- added new hook to also receive packets in offline mode
-> this means that all features can now also be used with ur offline chars
 

Repea

Active member
@here
[Script Update]

**ItemEvalManager**
- you can now define a Stock Limit for Misc and Runes items
-> where -1 means it will keep as much as possible
-> where anything >0 means it will check ur personal stash and all shared stashes for the item count of given item to keep picking it up up to set stock limit
 

Repea

Active member
@here
[Script Update]

**SkillManager**
- you can now clearly define if the defined skill is fcr or ias based
- if ias based you can now clearly define its attack frames
-> you can use several d2 ias calculators for this to check
-> attack frames are the frames it takes for an attack to be executed until we can execute the next attack
-> the game processes at 25 frames per sec internally
-> which means that 25 attack frames is 1 attack per sec
-> this also means that for example a 9 frame attack is 9/25 = 0.36 sec = 2,77 atks/sec
 

Repea

Active member
In reply to cybergod

@here
[Engine Update]
- revamped LoginManager
-> you can now add account entries with full login credentials
-> we will now use a new method which allows us to get the WEB_TOKEN without the bnet client
thanks to <@751755841782284380> for leading me into the right direction 😉

STORED PASSWORDS INSIDE d2r_logindata.bin ARE FULLY ENCRYPTED SO DONT WORRY

DELETE your old d2r_logindata.bin before using this new engine.

use !getbnetlauncher command to get the zip with the files and extract them inside the dir where your mosquito launcher is located or in the dir which you custom set as "infinity_root_path"

if you have issues with the bnet token launcher pls download and install **evergreen standalone installer x64**
 

Repea

Active member
@here
[Engine Update]

- fixed a potential freeze/crash when changing level which also changes act

Known Issues:
- it can still occur sometimes that engine doesnt correctly detect a level changed and currentlevel is still stuck on previous level
-> will be fixed soon
 

Repea

Active member
@here
[Engine Update]
- fixed an issue with OnLevelChanged detection for non-loading-screen-transitions
- also changed some code to further improve the stability of changed level detection to also fix these rare issues where it could not detect a level change and cached current-level was still previous level
 

Repea

Active member
@here
[Script Update]

**LootLog**
- pushed some gui update, wont tell ya what it is but i guess you will figure it out 😉
 
Top