• 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. 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)...
  2. 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...
  3. C

    pick opens path

    it seems it still has some bugs
  4. C

    Which client?

    lol I stopped in time my server is still 8.1
  5. C

    neutral monster

    ok, it works just had to do some source edits right now its --[[local targetlist = {n=0} local hostile = false local lasthitcreature = 0 local target = 0 local origRAH = 8 local maxHealth = 25 local first = true local lastHealth = 25]] function onThink(cid, interval) local i = monsters[cid]...
  6. 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
  7. 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...
  8. 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 -...
  9. 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...
  10. C

    is there an item otb editor for linux?

    ???
  11. 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 =...
  12. C

    is open tibia tcp or udp?

    ???
  13. C

    Random Map Generator

    adding automatic bordering
  14. C

    Lua Script fix

    whats an honor?
  15. C

    whats the border for rocks? id 4405

  16. C

    Random Map Generator

    gave up on circles and now using perlin noise
  17. C

    Don't Attack the same Outfit Color

    dunno, have you ever edited sources before? do you have the sources with you? do you have a compiler?
  18. C

    Where to change eq that every vocation recieves at a start?

    you can use OnLogin on creaturescripts and a storagevalue to check if its their first time logging in
  19. C

    Don't Attack the same Outfit Color

    edit the sources or choose another ot
  20. C

    Random Map Generator

    trying to use circles, dunno if its the best way
Back
Top