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

    Lua Extracting numbers from string

    s="11,21,02,44,01,12" local t = {} local j=0 local k=0 local n for i=0,5 do local p=1 if i ~= 1 then p=3*i end j,k = string.find(s, "%d%d", 3*i+1) if j==nil then break end n=string.sub(s, j, k) table.insert(t, n) end Is there better way to...
  2. K

    Lua TFS 1.0 strange onEquip problem

    Hey i have this simple script in movements: <movevent event="Equip" itemid="21691" slot="necklace" script="critical.lua" function="onEquipItem"/> <movevent event="DeEquip" itemid="21691" slot="necklace" script="critical.lua" function="onDeEquipItem"/> And the script: function...
  3. K

    [cpp][tfs 1.0]setItemName

    Do somebody have code of this function to change item name in game and could share? I know tfs1.0 doesnt have this included but maybe someone has written yet?
  4. K

    Solved [C++][TFS 1.0] addAnimatedText

    Is something like g_game.addAnimatedText(getPosition(), TEXTCOLOR_RED, "Critical!"); function in tfs 1.0 ? This one is from 0.36. // Is there something to give a text for a short time on a monster or player?
  5. K

    Solved get Party Members and GlobalStorage tfs 1.0

    How to get a party members in moment when the party is disbanding ? I mean when the party leader leaves the party and then the party is disbanding. In /events/party.lua there's a Party: onDisband() function but it doesn't have any argument like onLeave(player) or onJoin(player) have so i don't...
  6. K

    Różne funkcje lua tfs 1.0 - pomoc w pisaniu skryptu

    Witajcie, potrzebuje pobrać nazwę lidera party w rozmowie z npc, próbuję użyć funkcji getLeader() jednak w konsoli wywala mi błąd. Przypisuje to w ten sposób: local leader=getLeader() i nawet bez dalszego wykorzystania zmiennej leader wywala błąd. Że niby wartość jest nil, ale chyba nawet jak...
  7. K

    Edytor HTML

    Witam. Czy znacie jakis edytor html cos jak pajaczek, Ale taki ktory zaznaczy mi wszystkie tabele (w tych tabelach wiersze kolumny) zebym wiedzial ktore sa niepodomykane itp. Mialem taki w szkole, ale za chuja nie moge sobie przypomniec jak sie nazywal (?) Pomozecie ?
  8. K

    doPlayerSetRate(cid, SKILL__LEVEL, config.rate)

    Witam. Czy gdy gracz wykona ten skrypt :doPlayerSetRate(cid, SKILL__LEVEL, config.rate), to czy jego exp zostanie tymczasowo zmieniony cyz na stale ? Z góry dzieki
  9. K

    Czy ma ktos funkcje domkow w skryptach ?

    Czy ma ktos funkcje domkow w skryptach ? Potrzebuje ich bo wbudowane sa zbugowane
  10. K

    Kraszowanie przez graczy

    Witam. Mam ta wersje silnika i dzisiaj sobie klonowali itemki kraszujac serwer. http://otland.net/f18/8-54-forgotten-server-0-3-6pl1-crying-damson-59924/ Czy ktos sie z tym spotkal lub zabezpieczyl ? Czy to jest juz blad silnika i wszystkie je mozna kraszowac ? próbuje sie dowidziec jak to robili
  11. K

    doPlayerSetNameDescription(cid, desc)

    Witam. Czy istnieje funkcja , albo czy da sie cos zrobic z doPlayerSetNameDescription(cid, desc) Aby zamiast dopisywac description nadpisywala poprzednią lub usuwała całe name description ?
  12. K

    Login.lua

    Siemacie to znowu ja z kolejnym błędem Błąd dotyczy pliku login.lua , tzn. niby wszystko spoko, ale wiele skryptów sie nie wczytuje, np. skrypt count (musilem wsadzic wersje w mod) skrypt advanced skills (fajny efekt przy wbiciu lvl np) . Nie wiem co sie dzieje, zaczelo sie to knocic po...
  13. K

    Zapytanie mysql

    Witam to znowu ja tym razem mam problem z bana danych chce dodac kazdemu graczowi 50pkt premium ktory jest online i na jego koncie znajduje sie postac minimum 150lvl. wykonuje takie zapytanie: UPDATE accounts SET premium_points=premium_points+1 WHERE players.online=1 AND players.level>=150...
  14. K

    1lvl po dedzie

    Witam. Mam problem otoz gdy ktos padnie (nie wiem w jakich okolicznosciach) to czasem lvl spada do pierwszego. Moze juz ktos spotkal sie z takim problemem Dzieki z gory.
  15. K

    Monster would attack only when player attack first ?

    All in title. Anyone got, or can write that script ? i think idea its very good to rpg server.
  16. K

    Item dodajacy distance - dodaje, ale po zdjeciu nie odejmuje

    Tak jak w temacie panowie. item dodaje dista, ale po zdjeciu tego itemu nie odejmuje. Tak samo inny item ma dodawac 3 sworda. dodaje 3 sworda ale po zdjeciu nie odejmuje. Ma takie sam atrybuty jak fireborn giant armor jednak fireborn te bonusy usuwa. o co chodzi ? Ps. po przelogowaniu...
  17. K

    Nie pokazuje gildii

    Witam mam problem, otoz po stworzeniu jakas postacia gildii w Gesior Acc 6.1.1 jakos tak, postac nie jest w tej gildii, i w grze komenda !createguild mozna stworzyc na tej samej postaci nową gildie. Nie wiem w czym tkwi problem w tofifi
  18. K

    [POLAND]~8.54 --ROCKETOT24 MiniRPG Vanilla Map STOP WITH EVOLUTION!!

    -------------------------------English Version----------------------------- IP:RocketOTS.eu Website:RocketRPG - Latest News Addon bonus system!! E.g Full Hunter Addon +3 Distance War system - Which Guild Will Be The Best? Unique Enchanting System ! Drop Rare,Epic,Legendary Items...
  19. K

    Transform item on use with 10% chance

    hello! Today i need script to transform item, but only when im use this item (life crystal - 2177) on XXXX item, and if its succesful (10% chance ) life crystal transform to item id 9743. I think it's simple script to write, and i would be thankful to somebody who write it.
  20. K

    [Request] Need script to Vocation&Lvl Door.

    Hello! I need script which open the door only when get X vocation and X lvl. I have that function onUse(cid, item, frompos, item2, topos) if item.uid == 10093 then if getPlayerVocation(cid) == 2 or getPlayerVocation(cid) == 6 then doPlayerSendTextMessage(cid, 22, "You can pass, you are a...
Back
Top