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

Recent content by Pedro B.

  1. Pedro B.

    SQLite Using your SQLite database!

    This was not made for TFS, you probably have to change the account type(or whatever it is).
  2. Pedro B.

    [Request for devs] Creature Scripts...

    (Y) Thanks! :D
  3. Pedro B.

    [Request for devs] Creature Scripts...

    * Added fully working and so waited /ghost command (Thanks to Pedro B) (Y) Anyways, You still use the bad way of the creaturescripts :( Really, you should make most of the functions(specially onThink and onLook) need registering before they are executed, this should increase the performance...
  4. Pedro B.

    Blind chat!

    blind typing isnt that hard after you train a bit, and with some backspaces it can be perfect :D btw, everything on this post, including this phrase, was made from blind typing... not really blind, but I just did not look at the keyboard :D
  5. Pedro B.

    [Request for devs] Creature Scripts...

    Sorry for bumping this thread, but I really think this should be seen by the developers.
  6. Pedro B.

    [Request for devs] Creature Scripts...

    Heya. Well, I just noticed that TFS is missing something that exists on OTS: the onKill() event. onKill() is a creature event really useful, 'cause it is only executed when registered and you know which creatures the creature X killed, not which creatures died by X(there is a difference)...
  7. Pedro B.

    2 function requests...

    Or better, the setGameState() itself on Lua, just be sure to run it under the dispatcher thread.
  8. Pedro B.

    [Functions] indexToPos() and posToIndex() - use a number for a whole position!

    Nah, I don't. All I did was to get the YATC's definitions of POS2INDEX and INDEX2POS and convert them to Lua functions :p
  9. Pedro B.

    [Functions] indexToPos() and posToIndex() - use a number for a whole position!

    @up try this one: function onSay(cid, words, param) if words == "!setpos" then local pos = getCreaturePosition(cid) setGlobalStorageValue(4001,posToIndex(pos)) doPlayerSendTextMessage(cid,24,"New position x:" .. pos.x .. ", y:" .. pos.y .. ", z:"..pos.z) elseif words ==...
  10. Pedro B.

    SQLite Using your SQLite database!

    @up Summing it up, it's what you said. MySQL was mainly made for multiple server hosting. With MySQL you have to create a server and set it up. Also, when using it you must connect to the database. Meanwhile, all you need for SQLite is a file, no setups, nothing really needed to run it...
  11. Pedro B.

    Prob. Compile Trunk

    The icon must be in the same folder as your project file(the .dev, the thing you double-click to open this window, you know).
  12. Pedro B.

    Feature Rule Violation report command that DOES NOT create a file.

    Isn't it a lot easier to use the Ctrl+R I made for OTS? Talaturen patched it on his SVN.
  13. Pedro B.

    SQLite Using your SQLite database!

    Well, before all, I must tell you that this tutorial was made based on OTS and not on TFS. If any moderator/admin or whatever feels that it should be edited to fit TFS, do it, I don't really care. This is just a Copy-and-Paste from my tutorial on another forum. I found that many people have...
  14. Pedro B.

    [Functions] indexToPos() and posToIndex() - use a number for a whole position!

    Hello guys! Well, I almost never look at this forum, but since I was bored I decided to post here two simple functions. They are useful IMO, they are called indexToPos() and posToIndex(): they convert positions to numbers and numbers to positions! :o yeye, I released it on OpenLua also...
Back
Top