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

    saveMap function, saves it to a new .otbm

    bit32 = bit print = debugPrint --SPECIAL CHARACTERS NODE_START = 0xfe NODE_END = 0xff ESCAPE_CHAR = 0xfd --OTBM NODE TYPES OTBM_ROOTV1 = 1 OTBM_MAP_DATA = 2 OTBM_ITEM_DEF = 3 OTBM_TILE_AREA = 4 OTBM_TILE = 5 OTBM_ITEM = 6 OTBM_TILE_SQUARE = 7 OTBM_TILE_REF = 8...
  2. C

    =-= Constructions in Tibia? =-=

    http://www.youtube.com/watch?v=X6bmdIxJoHg
  3. C

    There's no article on wikipedia on Open Tibia

    why is that?
  4. C

    why does tibia use bmp?

    instead of png, which is lighter, supports transparency, and has the same overall quality?
  5. C

    onUseWeapon should have a weapon parameter

    should be onUseWeapon(cid,weapon,var)
  6. C

    I wanna use a rune on a wall with an action

    but I keep getting item2.itemid = 0, item2.uid = 0 and topos = 31 31 7 instead of the position where the wall is what can I do? I tried setting blockwalls="0" and nothing changes - - - Updated - - - it seems the internalgetthing from the sources doesn't work so I changed it so that when...
  7. C

    Suggest crafting recipes

    I made a crafting system where you can combine items and get another one here is the script for now --!craft --to create workbench(1738) and to use it local craftingtable = {} function insertsequence(...) --last four items in the sequence are the result's itemid, count, text and...
  8. C

    [USA] MinerOT 8.1 -- I'm making a survival tibia server inspired in minecraft

    Features right now: Put two woods in each hand and say !craft to make a crafting box. -Neutral monsters (wolves and spiders at daylight only attack when attacked) -Take down trees (with fists or axe) -Crafting (basic tools, walls and doors, leather armor set, bow and arrows, lamps)...
  9. C

    bit.band doesnt work as expected

    local n = 509 n = bit.bxor(n*(2^13), n) return ( 1.0 - bit.band((n * (n * n * 15731 + 789221) + 1376312589), 0x7fffffff) / (2*1073741824.0)) bit.band should give 1463304111 (it's what it gives in lua5.2 standalone with the bit32 module) but it's giving 0 instead so the...
  10. C

    do monsters only think when there are players near?

    I mean the onThink function on creaturescripts I put a function for the skeleton to suicide when it is day, but it only seems to do so when a player comes near
  11. C

    getWorldLight() doesn't work

    it seems to only return the world light color, 215 int32_t LuaScriptInterface::luaGetWorldLight(lua_State* L) { //getWorldLight() LightInfo lightInfo; g_game.getWorldLightInfo(lightInfo); lua_pushnumber(L, lightInfo.level); lua_pushnumber(L, lightInfo.color); return 1; } it...
  12. C

    how to change the day duration?

    I changed this line in game.cpp daycycle = 3600; to daycycle = 120; but it doesnt seem to alter anything, I've already waited 120 seconds and its still day - - - Updated - - - okay I figure out something I changed case LIGHT_STATE_SUNRISE: { newlightlevel += (LIGHT_LEVEL_DAY -...
  13. C

    neutral monster

    how about making a monster that behaves passively, like sheep, until it is attacked, then it turns hostile to only those who attacked it? is it possible with creaturescripts? - - - Updated - - - I was thinking of something like this local targetlist = {n=0} local hostile = false local...
  14. C

    is there an item otb editor for linux?

    ???
  15. C

    pick opens path

    local direc = {{0,-1},{1,0},{0,1},{-1,0},{-1,-1},{1,-1},{1,1},{-1,1}} local CAVEBORDERS = {[0]=357,358,356,359,362,363,360,361,364,365,367,366} local sltodir = {[356]=0,[358]=3,[359]=1,[357]=2} function seilah(dir1,dir2) --takes <=3, returns >=8 dir1,dir2 =...
  16. C

    is open tibia tcp or udp?

    ???
  17. C

    whats the border for rocks? id 4405

  18. C

    Random Map Generator

    wouldn't be too hard would it? for tiles: grass/sand/earth/water then have a mountain generator, a cave generator and a building generator make some lava too and anything else I might've forgotten, it can all be generated, monster spawns too
  19. C

    Flying

    Let's discuss flying in otservers. :) I think one problem is you can only teleport to places with tiles, so you'd have to fill your maps with tiles of id 460 to allow the players to fly everywhere. You can't create a ground item (of id 460) in a place where there is no tile, and the tiles...
  20. C

    Lua Function Saving map in game - creates a new otbm

    I did it with the idea of ​​allowing players to build houses in the woods and save the houses and such How did I do? I took the saveMap from Remere (which is open source) and modified it a bit and adapted to what OTServer has. I tested and ran it on theforgottenserver 0.2rc9 It will...
Back
Top