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

    TFS 0.X Would be possible to add a storage and a addon to players offline?

    Ok I will help and make this referal system for you. But I will make the code easy to read and understand so you can learn from it: referral_rewards = { --[Reward_Level] = {premmydays = #, storage = #}, [50] = {premmydays = 1, storage = false, outfit = false}, --Storage is only needed if...
  2. Flatlander

    [The Official (and soon to be more popular)] Bash Flatlander Thread

    Here is more of what I contribute to society.
  3. Flatlander

    [The Official (and soon to be more popular)] Bash Flatlander Thread

    You are right, I apologize for being off topic on my own post. I have edited my original message. I will continue to make systems no one wants until the day I die!
  4. Flatlander

    [The Official (and soon to be more popular)] Bash Flatlander Thread

    I will continue to make systems no one wants until the day I die!
  5. Flatlander

    [The Official (and soon to be more popular)] Bash Flatlander Thread

    I also spent more money than that after release and now my friends use my account every release to get donation items for themselves. Every reset it's always a fight between my friends on who gets to use my donations.
  6. Flatlander

    [The Official (and soon to be more popular)] Bash Flatlander Thread

    Yes! I also Copy Cat people's work. Just like I re-posted Codex's Copywrited Official Bashing Thread and made it my own, and I didn't even link to his original thread or give him credit. I am very evil man.
  7. Flatlander

    [The Official (and soon to be more popular)] Bash Flatlander Thread

    I was jealous of Codex, so I thought I could compete and get more people bashing me. I am totally more worthy of your time! I always release videos and never release a server. I pretend to help people with tutorials but they are most likely just a grand scheme to confuse noobs. Let's do this...
  8. Flatlander

    [Tutorial] Adding more tiles to game window - Updated 7/6/2018

    I have added some fixes and stuff to this tutorial that I was notified of by @Animera . Thanks Animera for letting me know i missed a few lines!
  9. Flatlander

    TFS 0.X Would be possible to add a storage and a addon to players offline?

    First, if you update SQL while a player is online, when they log out (or next save) it will over-write it. So you need a: "If player is online -> Update storage value and addon normally" "If player is offline -> Update using SQL" But, I also don't suggest updating the SQL this way anyway. I...
  10. Flatlander

    Alpha-Test Part 2 - Multiverse - Released **New Client**

    Still working on the NPCs, i'll do a shop video soon and show you what is up.
  11. Flatlander

    Sprites by Saphron

    I'm jealous :) Great artwork
  12. Flatlander

    smart projectiles

    Yea that wouldn't work :P You need it to re-check each tile to update the path, the best way is to just move the projectile 1 tile at a time in the direction of the target.
  13. Flatlander

    smart projectiles

    yes, the tibia client uses a default function, you can't send a new speed. I think the Tibia Client uses something like (100+10*dist) = time for projectile to reach destination The OtClient has a similar function, but it is easy to just send the speed and choose it yourself. If you don't send...
  14. Flatlander

    smart projectiles

    Hello Friends :) I see my video up there. Here is the code I used, it's for TFS 0.X (not TFS 1.X) so you are using the new TFS you'll have to edit it to make it work probably. function shootProjectileTo(cid, pos, oldpos, disteffect, count, speed, combat, area, min, max, effect, aggressive)...
  15. Flatlander

    Alpha-Test Part 2 - Multiverse - Released **New Client**

    Haha, Still a work in progress. Right now I am working on the NPCs. Designing a new and complex NPC system from the ground up is almost complete and is going to allow for a lot of interesting and fun gameplay.
  16. Flatlander

    Optimizing TFS Pathfinding

    Mark made a good point on my pull request: If we calculate the "distance Cost" when we create the node, it would avoid calculating the distance cost for each node each time getBestNode() is run. I'll work on this when I get home from work today. After this I have no idea how I could optimize it...
  17. Flatlander

    Optimizing TFS Pathfinding

    So it sounds like I was right. When you load an Array, and loop through it, it is faster than altering which array you are dealing with each call. But I still can't think of how I can apply this type of optimization to getBestNode or nodes.
  18. Flatlander

    Optimizing TFS Pathfinding

    First, I want to thank you for trying to help and teach me something I am completely ignorant on. I have no idea how to optimize code by using different methods, or how to use hardware (like processor cache) to my advantage. Things like this are basically impossible to "find" online. If you...
  19. Flatlander

    Optimizing TFS Pathfinding

    Below is testing on the Newest TFS Version. It is on a fast computer, therefor we needed to find the path a thousand times to get even milliseconds to show up. This is using the "Use" function to go to a tile, so this is running a lower number of max-nodes (I think 100 is the default for onUse...
  20. Flatlander

    Optimizing TFS Pathfinding

    Interesting, I guess you are going to make me do a testing video huh? Also can you let me know how you tested it? Also what path(s) did you run?
Back
Top