• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Search results

  1. knightxd

    Lua Weird error

    change to function OnStepIn(cid, item, pos) local t = { [5000] = {{x = getPlayerPosition(cid).x-1, y = getPlayerPosition(cid).y+1, z = getPlayerPosition(cid).z},{x = getPlayerPosition(cid).x-1, y = getPlayerPosition(cid).y-1, z = getPlayerPosition(cid).z}}, [5001] = {{x =...
  2. knightxd

    Compiling onmoveitem

    changing it i got 4 errors instead of 3... this ones.. ../creatureevent.cpp: In member function 'uint32_t CreatureEvents::executeMoveItems(Creature*, Item*, const Position&, const Position&)': ../creatureevent.cpp:116: error: conversion from 'CreatureEventList' to non-scalar type...
  3. knightxd

    Compiling onmoveitem

    bump~
  4. knightxd

    Compiling onmoveitem

    im trying to compile trunk 3676 tfs 0.4.. i tryed to add mock's function onmoveitem.. this one: onmoveitem when i was using it on 0.3.6 pl 1 it returns me no error, but now, when i tryed to add it on 0.4 it replyes me a lot of errors, first they were 8, then i changed the 3...
  5. knightxd

    Compiling implement onkill

    i've just tested on 0.4 with mcs.. i used this script... and with 1 character, when i killed a wolf it returns.. 19:54 Testador [173]: 25 (that is right) also, with both characters killing a dragon it returns.. 19:59 Testador [173]: 479 19:59 Tester [165]: 648 (the damage that each one dealt...
  6. knightxd

    Compiling implement onkill

    kay, i'll test it on 0.4 with multi players and post here..
  7. knightxd

    Ram usage on tfs with 40-50 players?

    well ive hosted for 160 players with a 10 mbs internet and 1,6 gb ram... without lag.. and also, i've hosted rl map with 1 gb ram... for 60 players..
  8. knightxd

    Compiling implement onkill

    but how i'm supposed to configure? mix the both functions? save each damage done? but it won't work if the monster be healed.. by the way, idk how this function works at all, i never tested it on 0.4...
  9. knightxd

    Compiling implement onkill

    solved ~ close plz Hey guys, i was trying to make an onKill script that executes an action by loading the damage done on the monster killed, its working just fine as executing the action, but its the same action for everybody, don't matter how much damage they did on it. example, if i and a...
  10. knightxd

    Creature event problem! Unsolveeeed =/

    just remove :lower()
  11. knightxd

    [source] new element

    solved ~ close plz
  12. knightxd

    [source] new element

    yes, i know that, its on the thread name, but where do i need to add it? just on combat.cpp? like one of this: case CONDITION_POISON: return COMBAT_EARTHDAMAGE; its just use: case CONDITION_WATER: return COMBAT_WATERDAMAGE; or theres more? any ideas how can i make it?
  13. knightxd

    [source] new element

    i know, but i need to add up to 5 damage types, i asked for one just to learn how to make it, but i need more of them... Tauku, how can i define the function? it can't be edited from sources?
  14. knightxd

    [source] new element

    how can i add a new element to the sources? a new elementpercent protection and attack tipe, like this ones: COMBAT_PHYSICALDAMAGE COMBAT_ICEDAMAGE COMBAT_FIREDAMAGE COMBAT_HOLYDAMAGE how can i add one like water..? COMBAT_WATERDAMAGE how can i program it on sources or script it? and also...
  15. knightxd

    Compiling Make summon walk on protectionzone

    theres a problem on this code, when you are out of pz and you put your summon in, he can still attack monsters out pz.. like, if you are atacking a creature next to depot and your summon are inside it, he will inflict damage.. :S
  16. knightxd

    [CREATURE EVENT] How i i can doo this(TARGETMONSTERS) ..

    it cant work like this, you're not declaring player summon.. he wants a script to stop monster attacking him, like, the monsters starts attacking him, he summon a monster, then the monster stop attacking him and go killing his summon.. its more like this script, but it also not working.
  17. knightxd

    Lua Comand to a npc open a file

    solved ~ close plz
  18. knightxd

    Lua Comand to a npc open a file

    Is there any way to put an command on lua script that on say something the npc open a file located on my computer? well, an introduction, i'm creating an offline game, that gives you prizes, i wanna know if its possible to make a npc open a file on my computer, i tried this code but it...
  19. knightxd

    [8.5] The Forgotten Server 0.3.5pl1 (Crying Damson)

    Help i've downloaded that tfs 0.3.5 today, but the server crashes whenever a player wake up from bed... is there anyway to solve that? thanks a lot :thumbup:
  20. knightxd

    Lua PZ Locked

    solved ~ close plz
Back
Top