Skip to content

Feature/772 nostalrius fixes#1092

Closed
jeansouzak wants to merge 6 commits intoedubart:masterfrom
jeansouzak:feature/772-nostalrius-fixes
Closed

Feature/772 nostalrius fixes#1092
jeansouzak wants to merge 6 commits intoedubart:masterfrom
jeansouzak:feature/772-nostalrius-fixes

Conversation

@jeansouzak
Copy link

General fixes for 772 version and nostalrius (https://github.com/TwistedScorpio/Nostalrius) server.
I requested one PR with server modification as well (Ezzz-dev/Nostalrius#59)

if(g_map.isAwareOfPosition(goalPos)) {
const TilePtr goalTile = getTile(goalPos);
if(!goalTile || !goalTile->isWalkable((flags & Otc::PathFindAllowCreatures))) {
if(!goalTile || !goalTile->isWalkable()) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We did a PR earlier to solve that specifically.
Why are you removing it now?

wasSeen = true;
if(const TilePtr& tile = getTile(neighborPos)) {
hasCreature = tile->hasCreature();
isNotWalkable = !tile->isWalkable((flags & Otc::PathFindAllowCreatures));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above comment.


function onFreeCapacityChange(player, freeCapacity)
capLabel:setText(tr('Cap') .. ': ' .. freeCapacity)
capLabel:setText(tr('Cap') .. ': ' .. (freeCapacity * 100))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm, why?

addCreature(creature)
end

addCreature(creature)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why?


-- Hack fix to resolve some 760 login issues
if g_game.getClientVersion() <= 760 then
if g_game.getClientVersion() <= 792 then
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

im not aware of this, so it might be :)

@peonso
Copy link
Contributor

peonso commented Jan 2, 2021

Are those removals in modules/game_hotkeys/hotkeys_manager.otui relvant regardless of protocol?

@diath diath closed this Mar 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants