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

[7.72] OTHire 0.0.1b - Based in OTServ Trunk (Latest)

You just need to add:

Code:
doRemoveItem(item.uid)

Example:

Code:
  if(item.type == FLUID_MANA) then
  if not doPlayerAddMana(cid, math.random(200, 300)) then
  return false
  end
  doCreatureSay(cid, "Aaaah...", TALKTYPE_SAY)
  doSendMagicEffect(topos, CONST_ME_MAGIC_BLUE)
  doRemoveItem(item.uid)
  elseif(item.type == FLUID_LIFE) then
  if not doCombat(cid, lifeFluidCombat, numberToVariant(cid)) then
  return false
  end
  doCreatureSay(cid, "Aaaah...", TALKTYPE_SAY)
  doSendMagicEffect(topos, CONST_ME_MAGIC_BLUE)
  doRemoveItem(item.uid)
 
Thx ;) all work ;d

Now you can help me in change rsa key ?;/

I must block normal 7.72 client, all can use only my custom client ;/
 
I get confused a lot since I've played with Avesta, OTServ, OTHire and TFS 1.0 too much lately :p

Maybe in the savegame the looktype is stored in the character and it stay bugged. It occurs to me XD.

Could you explain yourself?
 
@Ezzz
@Nottinghster
I found a bug. I have not found the time that happens, but it is the look type of invisible mode. The player with stealth ring and utana vid get bugged with that look type and they cant change the outfit. It happened to a one or two of players.
Anyone could help me fix this problem?

I've tested what you said, and works fine here !!!
 
@Ezzz I have a OTHire server online with custom map, the experience is X3 (RPG Mode!) and we are 5 or 8 players online haha.
Between the players, there are a couple of them that were with bug when using the stealth ring. They stay visible to the monsters but they have the invisible looktype (the blue glow) and they can not change their outfits because when they try it, the tibia client fails and crash.
I think I can fix this, adding a looktype change in login.lua when they have invisibility looktype, but is a bug and this should not pass.
I have personally tested the rings and this situation has not happened to me, I need to find the time and the specific conditions to get a bugged character.
 
@Nottinghster I have tested too with my character and this situation has not happened to me, I need to find the time and the specific conditions to get a bugged character.
I only find the problem, but I need to find the source of the problem and then I will post it.
 
But I come to post it here because I have not done any extra modification to the game, I need to fix or find the source of the problem because I do not want that to happen to someone else.
 
One of my test characters using stealth ring works just as normal.
 
@Nottinghster

Code:
const char* p("14299623962416399520070177382898895550795403345466153217470516082934737582776038882967213386204600674145392845853859217990626450972452084065728686565928113");
const char* q("7630979195970404721891201847792002125535401292779123937207447574596692788513647179235335529307251350570728407373705564708871762033017096809910315212884101");
const char* d("46730330223584118622160180015036832148732986808519344675210555262940258739805766860224610646919605860206328024326703361630109888417839241959507572247284807035235569619173792292786907845791904955103601652822519121908367187885509270025388641700821735345222087940578381210879116823013776808975766851829020659073");

I change this key :

Code:
46730330223584118622160180015036832148732986808519344675210555262940258739805766860224610646919605860206328024326703361630109888417839241959507572247284807035235569619173792292786907845791904955103601652822519121908367187885509270025388641700821735345222087940578381210879116823013776808975766851829020659073

And change in client and not work ;/

where i can good generate this key ? or maybe i must change three codes ?
 
It makes no sense to change only one, so I suppose you'd have to change both three.
 
@Ezzz Excuse me, I have a little doubt
Is there a possibility that my problem of utana vid has been this line?
Code:
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)
other than that, there should be no problem :C
 
@Ezzz Excuse me, I have a little doubt
Is there a possibility that my problem of utana vid has been this line?
Code:
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)
other than that, there should be no problem :C

What problem with utana vid? All that spells does is not allow the player get pzlocked after using it, hence it's not aggressive.
 
What problem with utana vid? All that spells does is not allow the player get pzlocked after using it, hence it's not aggressive.
How what that problem? Your did not read me when I told the players get looktype of invisibility and so remain unable to change their outfit?
 
How what that problem? Your did not read me when I told the players get looktype of invisibility and so remain unable to change their outfit?

Your english is really bad for me to understand most of that sentence.

I tested it, using utana vid + stealth ring, and players can change outfits normally.
 
How what that problem? Your did not read me when I told the players get looktype of invisibility and so remain unable to change their outfit?
escreve em português aqui e vou explicar pro Ezzz em inglês ^^

@ will try to help it lol
 
@Ezzz hahah that is because i usually use traductors, well... now i will not use this shit, so, another bug is the frag system. When player x has attacked player b and the player b not lose the pz (for two hours if you like it) and then the player b die the player a get the frag.
 
@Ezzz hahah that is because i usually use traductors, well... now i will not use this shit, so, another bug is the frag system. When player x has attacked player b and the player b not lose the pz (for two hours if you like it) and then the player b die the player a get the frag.
oops, well the player x is == player a
 
Back
Top