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

    The Forgotten Server 1.4

    Alas, fantastic work.
  2. Otfan125

    TFS 0.X how to make this door looks like open?

    doTeleportThing() is what teleports the player to the location. Check out the other door's code and look at what happens when players right click them ( it should be something other than doTeleportThing(), so mimic that instead )
  3. Otfan125

    OTClient 1.0

    Highlight option ?? Nice !!!!!
  4. Otfan125

    [SQL/Lua] Return storeQuery

    Works perfectly, thanks!
  5. Otfan125

    [SQL/Lua] Return storeQuery

    bump
  6. Otfan125

    [SQL/Lua] Return storeQuery

    TFS VERSION: 1.3 Hey guys, so this question is related to the previous two which I have posted and has to do with the function "storeQuery"... Check this out: function onLogin(player) local res = db.storeQuery("SELECT `blademaster` FROM `players` WHERE `name` = \"Angel\";") print(res)...
  7. Otfan125

    [Lua] Custom Conditions or Another Way

    Thanks for pointing me to condition.cpp; I should have known that simply registering conditions doesn't do anything -_- Whenever I get some time today I'll attempt to implement a new condition. :) 1599668295 Okay so, the solution (on top of what I've tried) is to create a case for your new...
  8. Otfan125

    [Lua] Custom Conditions or Another Way

    Right, so how does one go about creating it? Based on my attempts mentioned in the first post, what is missing?
  9. Otfan125

    [Lua] Custom Conditions or Another Way

    TFS VERSION: 1.3 Hey guys, I'm trying to create an onLogin script that reads the 'players' database and sets a special condition/effect/attribute to a player until s/he logs out. However, I want these attributes to be unique... for example: if a player has the value for column 'blade' in his...
  10. Otfan125

    Spell [TFS 1.X]] Brutal Swing

    https://otland.net/threads/changing-emote-spells-color-to-purple.272408/#post-2624069
  11. Otfan125

    [SQL/Lua] Getting Value from Column

    Thanks @Alpha :] Here is the code to make it work in Lua, just add a ' \ ' behind every quotation inside quotations function onLogin(player) local res = db.storeQuery("SELECT `blademaster` FROM `players` WHERE `name` = \"Angel\";") print(res) return true end
  12. Otfan125

    Do you want to make money during quarantine?

    why are you so cool ffs
  13. Otfan125

    [SQL/Lua] Getting Value from Column

    Hey guys, I'm trying to write a script that gets executed and sets a condition on a player based on some SQL entry in the 'players' table... I'm using TFS 1.3 if thats useful. What I'm trying to do is create a onLogin script that reads the database and checks if a player has a specific value in...
  14. Otfan125

    Lua Xikini's Free Scripting Service TFS 1.3

    Damn Xikini, you're awesome !
  15. Otfan125

    Books: What are you reading?

    Didn't see a thread on this, or maybe my Searching skills are lacking. Anyway, are you, user, currently reading any books? Tell us about it :) I'm just about finishing Don Quijote, and let me just say... It's the best novel I have read by far! https://en.wikipedia.org/wiki/Don_Quixote I highly...
  16. Otfan125

    Are There More Clients than Just otclient?

    the hell are you even talking about, you spam so many threads complaining about the same error with the same date that you got 3 days ago over and over again (which only tells us that you have done nothing in your part in fixing the problem) and just complain about the open-source projects...
  17. Otfan125

    TFS 1.X+ Problem with animated items

    never mind what the client says, what does the console output?
  18. Otfan125

    How to create your own combat formula with LUA

    I would suggest going into sources instead, in weapons.cpp/weapons.h and applying your formula there. It would be my first intuition that if you decide to override most of the combat using lua, then your slowing down your server unnecessarily, since your doing one combat formula then immediately...
  19. Otfan125

    Lua player gains experience bonus when using an item TFS 1.3

    That's great man :) I would suggest to put the timer to some small amount, maybe "20 seconds", and then see if during those 20 seconds you have more exp, then check after 20 seconds if the exp went back down. :)
  20. Otfan125

    Lua player gains experience bonus when using an item TFS 1.3

    Check out the thread that @Loney posted, you just gotta change the item id to that of the rubies
Top