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

    [8.6] Default/First Baiak map

    Sooo, its something like "evolution" for rest of the world? High exp, exp teleports etc etc, all on some variations of "clean" evolution 8.1 (or something) map?
  2. Shadowman321

    Lua Teleport on Crosshair

    Its not actiion script, its revscript. Switch to clear tfs instead of some otserv br version, which doesn't support revscripts.
  3. Shadowman321

    Lua Teleport on Crosshair

    local tprune = Action() local tprunePlayers = {} -- don't change that local tpruneExhaust = 5 tprune:id(2263) tprune:allowFarUse(true) tprune:checkFloor(true) function tprune.onUse(player, item, fromPosition, target, toPosition, isHotkey) local errMsg = "" -- don't change that time...
  4. Shadowman321

    AAC Making my own layout

    In such case, I would go for creating a layout, and don't care about aac, php, databases at all. You just simply create new website from scratch in html/css/js/any other tech/languages/frameworks. As for xampp, you don't need to use it. You can use it for database, apache, php/perl. But you...
  5. Shadowman321

    What's the reason you can't set storage to -1?

    How is it easily fixable? How do you know if its undefined or -1? Impossible with getStorageValue(). You can add even more logic in different places to check that. But how is it an easy fix and optimal in any way? I can simply remove 2 lines of code from source, and it works. And it gives me...
  6. Shadowman321

    What's the reason you can't set storage to -1?

    GUYS! You are not answering my question. I KNOW I can write 10-30 lines of code with some logic in each place I want to use this storage for my system. But I can also remove 2 lines from source code, and have it easier in 5 different places. I'm not asking for a workaround solution here. I'm...
  7. Shadowman321

    AAC Making my own layout

    2 years of web developement and you can't get around basics like "how php work"? What AAC you want to created layout for? MyAAC? Gesior? Znote? Or... you want to simply create new AAC, not just layout for existing one? I'm confused... Figure out what you want to do. Then ask for help. If you...
  8. Shadowman321

    What's the reason you can't set storage to -1?

    Try to check value in database. getStorageValue function does display -1 (default value) if its non existent in DB/memory. But if you save and check values in DB, its not there, as it is erased from DB. Yes, it would work fine if I would only use getStorageValue and setStorageValue. But I want...
  9. Shadowman321

    What's the reason you can't set storage to -1?

    I want to use negative storage values. It works properly with all negative values except -1, which is used as default if storage is undefined. I just commented that -1 = erase if from player.cpp and it works as I like it to. But I wonder if it may cause some issues in any other places. I know...
  10. Shadowman321

    TFS 0.3.7 VPS - blad MYSQL

    Niekoniecznie za mało ram. Ale za mało informacji żeby coś stwierdzić. Monitoruj ram i inne parametry w momencie kiedy serwer traci połączenie z bazą (top, htop, iostat), sprawdź logi mysqla (/var/log/mysql*), sprawdź logi systemowe/dmesga (dmesg). Tak na początek. Może coś ci ubija bazę, może...
  11. Shadowman321

    VPS/dedic benchmarks

    Awesome data! How about putting those results in some public gsheet to easly sort/compare them, calculate perf over price ratio etc? Would be pretty nice to have such overview, and much more user friendly than such wall of text as in this thread :)
  12. Shadowman321

    TFS 0.X VPS - Reqruitments RL MAP 8.0/8.6

    Take 2G mem vps from OVH and try to run your server. If its not starting up because there is not enough memory, you can simply upgrade your vps to 4/8G of ram with just few clicks in their panel.
  13. Shadowman321

    What's the reason you can't set storage to -1?

    What is the reasoning for this if? https://github.com/otland/forgottenserver/blob/e6840b19ddf9e3b1a3795554455318da5e45253b/src/player.cpp#L684-L707 I understand, that default value of -1 is returned if there is no storage defined. But you can freely set value to other negative negative numbers...
  14. Shadowman321

    TFS 1.X+ help to choose the correct distribution 8.6 global map rl

    That's the question I was asking myself few days ago. For one, 0.4 was with us for a long time, and there is a lot of resources, and also its really battle tested on live servers. It should be stable, if you can have code from trusted source. On the other hand... its old. It might be hard to...
  15. Shadowman321

    TFS 1.X+ Change currency in NPC trade window

    Hi! I've changed all currency on my server. And small issue is, that NPC Trade window still shows prices in "gold". I guess its defined on client side. All other features work just fine. change_gold works, banker works, trading works. Just this display of currency name in trade window breaks...
  16. Shadowman321

    TFS 1.X+ TFS 1.3 Minimum level

    Something like this in creaturescripts/login.lua would do. local function getExpForLevel(level) level = level - 1 return ((50 * level * level * level) - (150 * level * level) + (400 * level)) / 3 end if player:getLevel() < 130 then...
  17. Shadowman321

    ElectroAAC v0.0.1

    But... its a step by step tutorial how to setup backend and frontend. Only thing missing is explaination of how you install dependencies (like docker, npm etc). Some links to official installation instructions would come in handy. But you can also google "how to install npm/docker/something", or...
  18. Shadowman321

    TFS 1.5 8.6 by Nekiro - can't log in to the game

    After some searching I've decided to use @Nekiro version of TFS downgraded to 8.6 ([8.60/8.00/7.72] Clean TFS 1.5 Downport (https://otland.net/threads/8-60-8-00-7-72-clean-tfs-1-5-downport.277347/)). Seems to be reasonable choice, since even @Znote is using it successfully and stable for months...
  19. Shadowman321

    TFS 1.X+ Give player premium points [OFFLINE]

    Oh, well, why do you need this pid anyway? Its not even used anywhere :D local player, balance = getPlayerByName(t[1]), t[2]) This should be fine. Not sure what the difference is between getPlayerByName and getPlayerByNameWildcard, as docs for tfs are ranging from non existing to poor scraps of...
  20. Shadowman321

    TFS 1.X+ Give player premium points [OFFLINE]

    Guess you could try getplayerbyname? https://github.com/otland/forgottenserver/search?q=getplayerbyname https://github.com/otland/forgottenserver/blob/6cb845c95eaa16c4ff40b5d18803e975a740929a/data/lib/compat/compat.lua#L408
Back
Top