• 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. Leesne

    TFS 1.X+ player_deaths stores only one death per player

    If you had actually looked it up, you would see the issue. You setting it to player_id, means player_id must be a unique value. You can put a primary key pretty much where ever you want. but the data in it must be unique. As you are wanting multiple deaths per character setting player_id as...
  2. Leesne

    TFS 1.X+ player_deaths stores only one death per player

    Where ever you want it to be. "read up what a primary key does in databases."
  3. Leesne

    Lua Npc Sell more items after finish a quest.

    You are just adding the value to the end of the table. #itemList never changes as you are not inserting. if player:getStorageValue(123123) >= 1 then for i = 1, #tomes[1] do table.insert(itemsList, tomes[1][i]) end end
  4. Leesne

    TFS 1.X+ player_deaths stores only one death per player

    primary key set on player id. read up what a primary key does in databases.
  5. Leesne

    CreatureEvent Show Item Price onLook

    Why not test it instead of just asking the question from a 6 year old thread.
  6. Leesne

    MyAAC v0.8.21

    $player->setSkill($skill, $char_to_copy->getSkill($skill)); try something like that
  7. Leesne

    Revscripts(1.3) Custom Equipment {SYC}

    local damageEvent = CreatureEvent("DamageProcessor") function damageEvent.onHealthChange(player, attacker, primaryDamage, primaryType, secondaryDamage, secondaryType, origin) local healthEvent = CreatureEvent("HealthProcessor") function healthEvent.onHealthChange(player, attacker...
  8. Leesne

    Revscripts(1.3) Custom Equipment {SYC}

    function doTargetCombatMana(cid, target, min, max, effect) min max min,max
  9. Leesne

    MyAAC v0.8.21

    Haha, now worries xD
  10. Leesne

    MyAAC v0.8.21

    It was silently patched because if users were made aware of it they could exploit it on the top websites and take over a server how ever they deemed fit. Much better than me saying "HEY EVERYONE JUST SO YOU KNOW IF YOU XYZ YOU CAN TAKE OVER A SERVER". I think it was handled by Slaw, exactly how...
  11. Leesne

    MyAAC v0.8.21

    I haven't had a look at Znote, no platform or AAC is ever 100% secure. Znote and MyAAC have had a lot of effort put into them to ensure they are secure (I haven't used other AAC's so cannot judge). No-one was aware this issue even existed and the only person I told was Slaw after I discovered...
  12. Leesne

    RevScripts [OTBR] Help talkaction !target

    Nice one.
  13. Leesne

    RevScripts [OTBR] Help talkaction !target

    sendCreatureSquare isn't available in luascript.cpp as far as I can see. So you will need to add that in. As for a "hacky" bit of code without to much source edits. If you test it with chars on screen, you will see only guild members will creature say. You don't need as many loops but I did it...
  14. Leesne

    Dead Message Request

    lol? don't put too much detail.
  15. Leesne

    TFS 0.X Exiva only in PKs (find person)

    On this line Here Add something like this. (this code is untested as I'm not on my coding computer). if(targetPlayer->getSkull() != SKULL_BLACK && targetPlayer->getSkull() != SKULL_WHITE && targetPlayer->getSkull() != SKULL_RED && targetPlayer->getSkull() != SKULL_YELLOW) {...
  16. Leesne

    which AAC should i deal with?

    MyAAC gets my vote, I have used it for most of the time its been out and have been contributing to its development etc. ZnoteAAC is also another very good one to use. I guess it would depend on the functions you need etc.
  17. Leesne

    Lua block with pz this code please

    first lines you declare player but not cid.
  18. Leesne

    AAC Kill Assistance

    local dmap = player:getDamageMap() local tArray = {} for pid, _ in pairs(dmap) do local aPlayer = Creature(pid) if (aPlayer) then if aPlayer:isPlayer() then table.insert(tArray, {aPlayer:getGuid()}) end end end that will turn tArray into a table with all...
  19. Leesne

    Lua Error creaturescripts

    I've only glanced over the code on mobile and without testing. I'd say tile doesn't exist and you are calling getTopCreature() Tile(Position(863, 1346, 15)):getTopCreature()
  20. Leesne

    MyACC characters how to show kills

    Your code has been deleted. but by the looks of it you only posted a small section. Post both characters.php and characters.twig.html You can send them on discord, if you don't want them public. Lee#7225
Back
Top