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

    TFS 1.2 Compatibility

    Hey guys, im trying to switch tfs 1.2 to version 10.41, i changed the version on sources: #define CLIENT_VERSION_MIN 1041 #define CLIENT_VERSION_MAX 1077 i set a big range cause the connections were working on version 10.76, but well, when i try to connect on otclient i got a problem. if i am...
  2. knightxd

    Compiling Otclient ERROR

    hey guys wondering if any of u got error on lib glew32. i got this error while trying to compile otclient on MSVC 12.. does anyone have idea how to solve it?
  3. knightxd

    Battle problem

    theres a problem when i kill a monster, it stays in battle list, with no life until i get off the screen... anyone know how to solve it?
  4. knightxd

    [SOLVED] Top menu item size

    where can i change top menu layout? optionsButton = modules.client_topmenu.addLeftButton('optionsButton', tr('Options'), '/images/topbuttons/options', toggle) this add buttons to it, but they're all 16x16 and if you change its size, it's implements, but the background of it stays on 16x16...
  5. knightxd

    [solved] Background of a Item

    how can i use multiple backgrounds for items? on \data\images\ui theres item.png, that is used as background for all items, does anyone know how can i edit it? to make multiple backgrounds depending on slot? thanks! in code.lua function onInventoryChange(player, slot, item, oldItem) if...
  6. knightxd

    Protecting files

    Is there any way to make just an .exe file? like when we used molebox to merge files into one?
  7. knightxd

    Compiling add total damage on function onkill (rev 0.4)

    well i'm trying to add total damage to function on kill... to work like this.. //onKill(cid, target, damage, flags, total) but here is the thing, total returns aways "20" idk why... uint32_t CreatureEvent::executeKill(Creature* creature, Creature* target, const DeathEntry& entry) {...
  8. knightxd

    [LUA] GetCID(guid)

    function GetCID(guid) for i, cid in ipairs(getPlayersOnline()) do if getPlayerGUID(cid) == guid then return cid end end return false end if player with that guid is online returns cid.. else returns false.. if you can't find a use for it, just dont get..
  9. knightxd

    Feature Creatureevent OnGainExp

    well, its a creature event that activates when player gets exp, also you can set return false so the player will not get exp... well lets stop talking, open creatureevent.h after CREATURE_EVENT_OUTFIT, Add CREATURE_EVENT_GAINEXP, now after uint32_t executeOutfit(Creature* creature...
  10. knightxd

    Compiling Creature script onGainExp

    fixed..
  11. knightxd

    Windows Crashing client 8.7

    well i've made some changes on tfs 0.4 source (a lot) since the last time i've tested the client is crashing everytime i kill a moster sending me this error +--------------------------------------------------------------- Debug Assertion 8.70 Communication.cpp 2968 Wed Mar 09 22:01:18 2011...
  12. knightxd

    Lua Add a frag..

    i'm trying to add a frag to players in a creature event; the part that add frags is l = db.executeQuery("INSERT INTO `player_deaths` (`player_id`, `date`, `level`) VALUES (" .. getPlayerGUID(pid) .. ", " .. os.time() .. ", " .. getPlayerLevel(pid) .. ");") j = db.executeQuery("INSERT INTO...
  13. knightxd

    Windows tfs 0.4 no frag count...

    [FIXED] close please well, i'm killing a player without skull.. 19:53 Warning! The murder of Aewe Wddf was not justified. and i'm not getting frags... 19:53 You currently have 0 frags today, 0 this week and 0 this month. also in db the frags are not add... anyone knows how can i fix that...
  14. knightxd

    Compiling Creaturescripts onMove

    well, i'm trying to implement darkhaos function onMove(cid, fromPosition, toPosition) on tfs 0.4 trunk 3676... this one "darkhaos onMove" i've add all and made elf changes, its on bool deny = false; CreatureEventList moveEvents = creature->getCreatureEvents(CREATURE_EVENT_MOVE)...
  15. knightxd

    Lua pos action

    i need to execute an action after another ends; like, when i sent an distance effect, when it gets it reach (ends) then another action start. it can be used in move events, like you make a script to player start walk for random directions, then when he stop walking (script ends) then...
  16. 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...
  17. 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...
  18. 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...
  19. 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...
  20. knightxd

    Lua PZ Locked

    is there any way to make and action that removes the battle? like, i use a item and my battle goes away, or i enter a tp and it leaves.. anything like that, is it possible? :thumbup:
Back
Top