• 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?

    Try This new onAdvance script and do the same tests. It will give us more information so we know what is happening. function onAdvance(cid, skill, oldLevel, newLevel) print("Running onAdvance Referral System.") if skill == SKILL_LEVEL and referral_rewards[newLevel] ~= nil then -- This...
  2. Flatlander

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

    Your onAdvance script is not running. Every time a player levels up, it should say "Running onAdvance Referral System". Make sure you have this set-up in Creaturescripts, and have it registered for players onLogin.
  3. Flatlander

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

    Here is a debugging version of the code. Please use this code and do the following: Make 2 new characters Make 1 character referral the other. Level the character who has the referral GUID up to level 3. Log on the character who has was referred. Copy a screen shot of your console and let me...
  4. Flatlander

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

    Can you post the Rewards Table you used? Or did you just use mine?
  5. Flatlander

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

    It sounds like your version of TFS might use "getStorage" and "setStorage" instead of "getGlobalStorage" and "setGlobalStorage" Below I have replaced everything with the new API getStorage and setStorage, let me know if it works. Also nice catch on the brackets, I closed the ones I missed in...
  6. 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...
  7. Flatlander

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

    Here is more of what I contribute to society.
  8. 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!
  9. 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!
  10. 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.
  11. 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.
  12. 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...
  13. 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!
  14. 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...
  15. 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.
  16. Flatlander

    Sprites by Saphron

    I'm jealous :) Great artwork
  17. 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.
  18. 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...
  19. 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)...
Back
Top