• 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!

Help new outfits 7.6 in 8.6 server Downgraded by nekiro

CipsoftStinks

www.relicaria.com
Joined
Oct 1, 2016
Messages
929
Solutions
3
Reaction score
128
Location
Argentina
Hello I'm trying to add new outfits to downgraded nekiro server 8.6, im using otclient. everything works fine till wayfarer outfit. i have added two new lines for my new outfits


Lua:
<outfit type="1" lookType="362" name="Old-Citizen" premium="no" unlocked="yes" enabled="yes" />
    <outfit type="1" lookType="363" name="Old-Hunter" premium="no" unlocked="yes" enabled="yes" />


and this error appeared ( the outfits does not have support for addons cuz they where imported from 7,6 file) and the outfit 363 and 363 are inside spr / dat files



Code:
[Warning - Outfits::loadFromXml] Missing looktype on outfit.
[Warning - Outfits::loadFromXml] Missing looktype on outfit.


the outfits are displayed on Gm players but not on normal players.what could be wrong?



also i tried source editing




Code:
std::vector<ProtocolOutfit> protocolOutfits;
    if (player->isAccessPlayer()) {
        static const std::string gamemasterOutfitName = "Gamemaster";
        protocolOutfits.emplace_back(gamemasterOutfitName, 75, 0);


        //edit
        static const std::string playerOutfitName = "Old-Citizen";
        protocolOutfits.emplace_back(playerOutfitName, 362, 0);
        static const std::string player1OutfitName = "Old-Hunter";
        protocolOutfits.emplace_back(player1OutfitName, 363, 0);
    }

H
 

hotdog1337

Banned User
Joined
Apr 1, 2021
Messages
294
Solutions
3
Reaction score
123
maybe because of const id variables of some items being declared in lib? was issue on older clients for me making player look like floor tile or border instead of outfit xD
 

ralke

(҂ ͠❛ ෴ ͡❛)ᕤ
Joined
Dec 17, 2011
Messages
964
Solutions
23
Reaction score
494
Location
Santiago - Chile
@CipsoftStinks check if you have broke outfit limit at protocolgame.cpp
C++:
if (protocolOutfits.size() == 35) { // Game client doesn't allow more than 26 outfits
 
OP
OP
CipsoftStinks

CipsoftStinks

www.relicaria.com
Joined
Oct 1, 2016
Messages
929
Solutions
3
Reaction score
128
Location
Argentina
@CipsoftStinks check if you have broke outfit limit at protocolgame.cpp
C++:
if (protocolOutfits.size() == 35) { // Game client doesn't allow more than 26 outfits
yes i did
Lua:
    protocolOutfits.emplace_back(outfit.name, outfit.lookType, addons);
        if (protocolOutfits.size() == 250) { // edit Game client doesn't allow more than 50 outfits
            break;

im using tfs 1.3 downgraded by nekiro + mehah otc im trying to add outfits with no addons it works on gm players the outfits its displayed on outfits windows
but it wont appear on normals players plus i got the error in console
Code:
[Warning - Outfits::loadFromXml] Missing looktype on outfit.
[Warning - Outfits::loadFromXml] Missing looktype on outfit.
 

darknelson

Member
Joined
Jun 19, 2011
Messages
192
Solutions
1
Reaction score
15
sorry for the offtopic OPk, but answering this question, RSA is needed to login, with a normal OTC you would be able to login
yeah sure, but how you gonna put key.pem on rsa ot client?


this contains key.pem

Lua:
-----BEGIN RSA PRIVATE KEY-----
MIICXAIBAAKBgQCbZGkDtFsHrJVlaNhzU71xZROd15QHA7A+bdB5OZZhtKg3qmBWHXzLlFL6AIBZ
SQmIKrW8pYoaGzX4sQWbcrEhJhHGFSrT27PPvuetwUKnXT11lxUJwyHFwkpb1R/UYPAbThW+sN4Z
MFKKXT8VwePL9cQB1nd+EKyqsz2+jVt/9QIDAQABAoGAQovTtTRtr3GnYRBvcaQxAvjIV9ZUnFRm
C7Y3i1KwJhOZ3ozmSLrEEOLqTgoc7R+sJ1YzEiDKbbete11EC3gohlhW56ptj0WDf+7ptKOgqiEy
Kh4qt1sYJeeGz4GiiooJoeKFGdtk/5uvMR6FDCv6H7ewigVswzf330Q3Ya7+jYECQQERBxsga6+5
x6IofXyNF6QuMqvuiN/pUgaStUOdlnWBf/T4yUpKvNS1+I4iDzqGWOOSR6RsaYPYVhj9iRABoKyx
AkEAkbNzB6vhLAWht4dUdGzaREF3p4SwNcu5bJRa/9wCLSHaS9JaTq4lljgVPp1zyXyJCSCWpFnl
0WvK3Qf6nVBIhQJBANS7rK8+ONWQbxENdZaZ7Rrx8HUTwSOS/fwhsGWBbl1Qzhdq/6/sIfEHkfeH
1hoH+IlpuPuf21MdAqvJt+cMwoECQF1LyBOYduYGcSgg6u5mKVldhm3pJCA+ZGxnjuGZEnet3qeA
eb05++112fyvO85ABUun524z9lokKNFh45NKLjUCQGshzV43P+RioiBhtEpB/QFzijiS4L2HKNu1
tdhudnUjWkaf6jJmQS/ppln0hhRMHlk9Vus/bPx7LtuDuo6VQDo=
-----END RSA PRIVATE KEY-----

in case you dont know, there is no rsa key editable on source, now its loaded from key.pem file.

tell me how you gonna put that on const.lua of otclient? to be able to normaly login?
 
Top