• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

OTClientV8

Status
Not open for further replies.
Hey Hey for some reasons when I turn on that view I got black space

( Client version 8.60, Custom dat and spr )

gif: Gyazo (https://gyazo.com/493df0740e3997894fb834763b7447f4)

it's normal, server is not sending more. You can disable map caching in options to not see it.
Post automatically merged:

I made another update, this time I updated market to protocols 10.98-11.00, also should work on others but I didn't test it
1579763042826.png
 
Last edited:
it's normal, server is not sending more. You can disable map caching in options to not see it.
Post automatically merged:

I made another update, this time I updated market to protocols 10.98-11.00, also should work on others but I didn't test it
View attachment 41857

ahh thought its a bug haha thanks :D btw I love the clients!
 
if you enable feature 76 (GameAdditionalSkills) then you can have 13 skills instead of 7.

Code:
void ProtocolGame::parsePlayerSkills(const InputMessagePtr& msg)
{
    int lastSkill = Otc::Fishing + 1;
    if(g_game.getFeature(Otc::GameAdditionalSkills))
        lastSkill = Otc::LastSkill;

    for(int skill = 0; skill < lastSkill; skill++) {
        int level;

        if(g_game.getFeature(Otc::GameDoubleSkills))
            level = msg->getU16();
        else
            level = msg->getU8();

        int baseLevel;
        if(g_game.getFeature(Otc::GameSkillsBase))
            if(g_game.getFeature(Otc::GameBaseSkillU16))
                baseLevel = msg->getU16();
            else
                baseLevel = msg->getU8();
        else
            baseLevel = level;

        int levelPercent = 0;
        // Critical, Life Leech and Mana Leech have no level percent
        if(skill <= Otc::Fishing)
            levelPercent = msg->getU8();

        m_localPlayer->setSkill((Otc::Skill)skill, level, levelPercent);
        m_localPlayer->setBaseSkill((Otc::Skill)skill, baseLevel);
    }
}

or you can just create custom parsePlayerSkills in lua using onOpcode (ProtocolGame.registerOpcode), ingame market is done this way, protocol is in lua, not in c++ - OTCv8/otclientv8 (https://github.com/OTCv8/otclientv8/blob/master/modules/game_market/marketprotocol.lua)
 

Thank you!

I have more two doubts

1. My client isn't saving the map, when i logout and join againm all map got cleaned
2. When i logout, the login window didn't back, i can't login again, i need to close the client and open again

Can someone help me?
tks!
 
Thank you!

I have more two doubts

1. My client isn't saving the map, when i logout and join againm all map got cleaned
2. When i logout, the login window didn't back, i can't login again, i need to close the client and open again

Can someone help me?
tks!
probably some errors, check terminal or otclientv8.log for details
 
Version 2.0 has been released:
  • Preys (sponsored by kivera-global)
  • Equip action for actionbar
  • Improvements for bot (remote configs)
  • Improvements for UI
  • Token in entergame window
how to disable token display?
 
probably some errors, check terminal or otclientv8.log for details
Hello Kondra, thank you for attention, i cheked log and terminal, but didn't see events about map, login window or anyting like that, for solve the problem with the map can i open all the map? if it's possible do you know how can i do it? thank you
 
Status
Not open for further replies.
Back
Top