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

Search results

  1. whiteblXK

    Lua addEvent problem

    Hello, I writed simple spell for monsters which quickly repeats the combat, but while continues addEvent monster will die, server is crashed. Why and how to fix that? I using TFS 1.3 local combat = Combat() combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE)...
  2. whiteblXK

    [TFS 1.3/OTXServer3] Custom function NPC for buy/sell items.

    Hello, I have idiotic problem, I have custom function for NPC trade and don't know why not working. Here is how it looks in game: Function, with NPC local function getItemList(items, i, itemTable) v = items[i] itemTable[v.id] = {id = v.id, buy = v.buy, sell = v.sell, subType =...
  3. whiteblXK

    [TFS 1.2] Counting hits from weapons

    Hello, does someone know how to do this in LUA or C++? I'm trying to do a weapon(axe) which will be able to add condition after 7 hits but idk how to counting hits.
  4. whiteblXK

    Windows [ZNOTE] Enable sandbox mode in PayPal

    Hello, as the topic says, how can I do it??
  5. whiteblXK

    Compiling Problem with getStorage/setStorage in C++

    Hello, I wrote a short code in C ++ and I have a problem with it. std::string strValue; int32_t value = 1; if(player->getStorage(uint32_t(6000 + player->getVocationId()), strValue) && atoi(strValue.c_str()) != value) { changeMaxHealth(uint32_t(getMaxHealth() + vocation->getBonusHP()))...
  6. whiteblXK

    Compiling Adding additional to the condition.

    Hello, I wanna to add mayNotMove(false)/(true) to the condition named PACIFIED, in short when a player has PACIFIED then he can't moving, but if PACIFIED times end, all back to normal, can someone tell me which function I need to edit? I tried with internalMoveCreature which is in game.cpp but I...
  7. whiteblXK

    Compiling Problem with compiling TFS 0.3.5

    Hello, today when I compiling my server I have a very bad problem. I compiled succesful server yesterday and I do not know why I have this errors: / http://pastebin.com/t8HcjmSL I using TFS 0.3.5 and Debian Wheezy.
  8. whiteblXK

    Disable MvM damage.

    Hello, I have code written in C++, and on my server it doesn't work because it doesn't have a variable "deny". Can someone edit this script so that it was not "deny" variable? Code have to disable monster vs monster damage excluding the attacking player's own summon and vice versa, summons deal...
  9. whiteblXK

    Attempt to index a boolean value in spell.

    Hello, I have problem with my spell, when I use it server show that error: Lua Script Error: [Spell Interface] in callback: data/spells/scripts/Inferno.lua:onTargetCreature (Unknown scriptfile) attempt to index a boolean value This is my onTargetCreature function: function...
  10. whiteblXK

    addEvent error

    Hello, for some time I have a problem with function addEvent, when I want to use it in the following way: addEvent(doTeleportThing, 500, cid, pos) I have this error: callback parameter should be a function But when I use in this way: addEvent(function() if isPlayer(cid) then...
  11. whiteblXK

    Compiling Function like isItemBlocking(pos)

    Hello, I searching function which checking if item have blocking attribute. Screen: http://prntscr.com/5o13a6 If there is already a similar function in TFS, please give it to me. edit: I create own function. Thanks
  12. whiteblXK

    Lua Mass Healing in Percent

    Hello, how to create spell will heal 40 percent HP players who are in circle3x3? I tried change this spell but I can't :( local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HEALING) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)...
  13. whiteblXK

    Compiling Limit Level/experience in OTS

    Hello, I found stupid limit in my serverm, as a topic say, is the limit of exp/level and I don't know how to change it :( I use quite old server, Devland 0.97b. How to change this limit?
  14. whiteblXK

    Compiling Custom version of client and sever

    Hello, how can I change version in TFS 0.3.7 and latest OTClient from 8.6 to 0.1 or something like this?
  15. whiteblXK

    Compiling Error with getPosition() in C++

    Hi, In void Player::sendCritical() const I add one line: g_game.addMagicEffect(getPosition(), MAGIC_EFFECT_CRITICAL); Which have to show magic effect 64x64, when I change getPosition() to getPosition().x+1 I have this errors: player.cpp:5182: error: no matching function for call to...
  16. whiteblXK

    Compiling How to send "sendExtendedOpcode" to target.

    Hello, I have "sendExtendedOpcode(124, "Radial Blur")" and I want send in function void Player::sendCritical() const to target. For test I use "target->sendExtendedOpcode(124, "Radial Blur");" but it doesn't work. Here is my function: http://wklej.org/hash/ab5501419ad/ PS: Anyone know how to...
  17. whiteblXK

    Compiling How to create new slot, server-side and client-side.

    Hello, can anyone explain me how to add new slot to server and client? I use TFS 0.4 r3884 with OTClient.
  18. whiteblXK

    Player speed depend on skill

    Hello, can someone write script in C++ which will change player movement speed? I have this script in lua: function adjustSpeed(cid) --put it in the lib, or not, your choose ;p local skillID = 0 local speedPerLvl = 7 if not isPlayer(cid) then return end doChangeSpeed(cid...
  19. whiteblXK

    Skill does not increase

    Hi, I created new vocation and when my magic level is 14 I can't train more, why?
  20. whiteblXK

    Compiling Dual Wielding in TFS 0.4

    Hi, I am amateur in c++, I want change damage in dual wielding, I was looking for this in weapons.cpp, player.cpp, game.cpp and didn't find this damage. Where I should look for this?
Back
Top