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

    Lua Sending messages "private" without using NPC's chat.

    So what Im trying to do is something like this : pos:sendMagicEffect(effect, cid) But with text something like this : say(msg, player) So I basically want to send a say text msg but that only displays on the client side of things like pos:sendMagicEffect(effect, cid) does. Im not even sure if...
  2. Sprrw

    Aint this cool?

    I have no clue why but I had no idea it would actually know how to use TFS. This is amazing XD Its a little goofy but with basic knowledge yourself you could probably use this to code an entire OT. Sheesh, this is the future folks! 🫡
  3. Sprrw

    AAC Php and database fetching

    Hola Otland! Im working on a website for my project and on my homepage I wanted to display a "latest news section" something like: Pic from : Wayfinder - Join the Closed Beta on PlayStation® and PC (https://www.playwayfinder.com/en) Well anyways so I came up with this code : <?php...
  4. Sprrw

    Lua Hello folks! How would I go about an alternativ way of adding npc focus?

    So basically Im looking for ways to enter a npc convo without having to speak. Example: Enter a room and the npc says "Hello, and welcome. Please browse my shop". Idk if thats a super good idea but you kinda get the feel of it. Im asuming this is not doable thorugh a normal moveevent. Would this...
  5. Sprrw

    Lua Display effect on client side TFS 1.4

    Hello otland! I made this NPC that shows you the way using the CONST_ME_TUTORIALARROW effect. Ex like this : local passage = { x = 1068, y = 1010, z = 7 } local stairLocations = { l = Position({ x = 1058, y = 989, z...
  6. Sprrw

    Lua Creating items on no ground tile

    Hello folks how would I go about adding an item in the air (so not on a ground tile). so atm Im trying to use doCreateItem(itemId, count, pos) and that works great when creating items on ground tiles but it doesnt seem to work like I want it to. Bonus question, is there any better looking way...
  7. Sprrw

    TFS 1.X+ Tfs 1.4 and Otc v8 Cant pick up items

    Hello otland, I just found out that none of my characters in-game can pick up or equip any item. They can use items from the ground and they can carry items if they use /i (item id). But they cant pick anything up. Im just getting the "Sorry not possible" msg at the bottom of my screen. And yea...
  8. Sprrw

    Mapping with 26905 mountains and borders

    Hello Otland! I was making a small cave system using the newer mountains shown in the img below: and as you can see, the only borders that I found that kinda worked with those mountains were the "mountain soils" id : 4514 > 4525. But Im not convinced those are the best fit, are there any other...
  9. Sprrw

    AAC MYAAC, database fetching

    Hola amigos! Recently I've been learning a lot of PHP and I've started creating my own templates! So I've recently also started creating my own kind of PHP scripts. And I was wondering how to keep myself safe. I mean does this line make sense? $news_db = $db->query('SELECT `title`, `body`...
  10. Sprrw

    TFS 1.X+ Simple boss system by me

    Hey guys, I made a simple boss system (as said in title).... xd Well with the help of you guys ofc! Well after a couple of hours of trail and error I came up with this. CreatureScript: (This script was inspired like 100% by someone, I cant remember who. If you recognise this script. Please hmu...
  11. Sprrw

    TFS 1.X+ Tfs 1.4+ cid:teleportTo(fromPosition, true) doesnt work

    As the title says, I cant get this to work. It does tp the player if I set a fixed value instead of the fromPosition. But I just cant get it to work Here is my code: function onStepIn(cid, item, fromPosition, itemEx, toPosition) if(cid:getStorageValue(28003) > 0) then if...
  12. Sprrw

    Lua Tfs 1.4+ Boss reward system

    Hello OTland! 👋 I was wondering if something like this amazing system exsists for later tfs versions (well yea TFS1.4). Im very bad at c++ well and lua for that so Im not really able to convert it. I have tried but I think I broke my server in the process XD Well if there are anything similar...
  13. Sprrw

    Lua TFS 1.4+ Top 10 players gets skull

    Hey guys! I made this script. Well I tried atleast. So what I want it to do is give the top 10 players diffrent skulls. It kind of already does using the code I wrote down below. But it seems to have some weird behavior. It works 7 / 10 times but sometimes wrong player gets the wrong skull. It...
  14. Sprrw

    AAC MYAAC and Xampp, Layout caching

    Hey! Im not sure if its the Xampp caching my php layout or the AAC itself but Im having a really rough time trying to edit the layout duo to it being cached somewhere, and it doesnt seem to matter what I do. I've cleared both code cache on my pc + cleard my entire Chrome cache (Even tried using...
  15. Sprrw

    MYAAC layout problem

    Hola amigos! Im creating a layout for my Tibia project and I cant seem to find where I edit the styling of the latest news thing. What Im talking about : How do I edit that $content thing. Cuz now it has this basic styling that gives it classes + ids that seem to be styled somewhere I cant...
Back
Top