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

    New column to specific attribute

    Is it possible to create a new column for a specific item attribute in the player_items, player_depotitems, and tile_items tables? If yes, how to do this?
  2. G

    TFS 0.X NPC issue

    Well, this script work like: me: Hi NPC: i have some items to sell. Say trade to see my offer. me: trade NPC: [show the list of items] me: [I say one name of the list] NPC: Here are. [Remove the necessery items and give me the item I said] But I'm trying to put an confirmation, like: me: Hi...
  3. G

    How to make talkaction command don't appear in Default Channel?

    Well, what I need to change in source to make the talk action command don't appear on default channel? If possible, make only the command that refers to ghost function don't appear. Thanks in advance.
  4. G

    Lua help in function

    I tried to make a new function called 'setPartyStorage' that give a storage value to all party members (include the leader, ofc), but I don't have to much knowledge, so, I need you help to make it work. The problem is that I try to get all members, but I'm unsuccessful. Here are my try: Thank...
  5. G

    Lua How to set death loss percent to different skills?

    I know about doPlayerSetLossPercent, but this set to all skills and I need to specific skills. I saw doPlayerSetLossSkill, can use this one like: doPlayerSetLossSkill(cid, SKILL_AXE, 0)? Thanks in advance.
  6. G

    NPC Crashs/lags for conteiner bug? No more!

    Sorry if is the wrong area, but I bring you the solution to bug problems related to conteiners, like buying bp's infinitely until crash the server, put several bps inside bps (with trash items inside or only bps and bps), throw inside the house and use the !leavehouse command (or something like...
  7. G

    Lua Spell issue

    The spells works in necessity of have a previous summon, if the player have it, will remove this previous summon and summon another five. If not, will return false. I'm sucesfull in make spell remove a summon and make another five, but I fail in get this previous summons to make spell work well...
  8. G

    Lua Table issues

    I'm trying to learn how to make tables now with a simple talkaction that change the outfit, but I need to know how to get values from the index. My table is: local table = { [1, 5] = {out = 121, e = 2}, [2, 6] = {out = 122, e = 2}, [3, 7] = {out = 123, e = 2}, [4, 8] = {out = 124, e = 2} }...
  9. G

    Lua Error in SQL syntax

    I'm trying to do a function that get the skill value from the database, but I don't have much knowledge about sql, so I need this help. My MySQL version is 5.5 function getSkill (cid, skill) local pid = getPlayerGUID(cid) db.getResult("SELECT `value` FROM `player_skills` WHERE `player_id` = "...
  10. G

    TFS 0.X Error exhaust in heal magic script

    As the title says, when I try to put exaust in heal magic it gets an error on the console. The error starts when I reload the spells. TFS 0.4 rev 3884 I searched on the internet and found a similar problem, which was related to the 'agressive' parameter of the spells. But I tested in Magic...
  11. G

    Lua How to use more than one addEvent in a script?

    As the title says, my question is on how to run more of an addEvent without returning error in the console. I use script spells with more than one attack, and to effect right out on the target I get his pos, and, as expected, if the target dies before the spell finishes, it returns an error on...
  12. G

    TFS 0.X Put different chance rate in this script

    I don't now how to get informations from a table like that, so I want someone to help me with that. I need each monster with an individual chance. Here are the script: local config = { chance = 2, bosses = { --["monster_name"] = "boss", ["Dragon Lord"] = "Demondras"...
  13. G

    Lua How to delete specific item description?

    I trying to make a script that delete a specific item description, but without success. The problem are in the form of comment in the script. Here are my trying: function onUse(cid, item, fromPosition, itemEx, toPosition) local oo = "+3 reflect." local cc = "+5 reflect." local nn = "+7...
  14. G

    Solved MySQL syntax error

    I know nothing about sql, so, i'll be very thankful for any help. I use xamp 1.7.7 Script: SELECT `player_id`, `value` FROM `player_storage` WHERE `key` = 102086 ORDER BY cast(value as INTEGER) DESC; Print: **Solved: Changed INTEGER to SIGNED
  15. G

    TFS 0.X Monsters do not run creatureevent.

    As the title says, the monsters on my server are not running creatureevents, I believe it's a problem in the source, but I did not make changes to that part. The part that records the events in monster.cpp is like this: // register creature events for(StringVec::iterator it =...
  16. G

    TFS 0.X Creaturescripts is not registering events.

    As the title says, my creaturescripts is not registering events, even though they are registered in login.lua. If someone can help, I'll be thankful. TFS 0.4 rev 3884 v8.6
  17. G

    TFS 0.X Erro NpcScript Interface

    When I try to put this script in the server, I got alot of erros. I changed everything on the npcsystem folder, but the error persists. Here are the script: And here are the error: [Error - NpcScript Interface] <Unknown script file> Description: attempt to call a nil value TFS 0.4 rev 3884...
  18. G

    Error on Object Builder

    Anyone nows how to solve this error?
  19. G

    TFS 0.X Problem with VPS

    I'm using a Google VPS. I opened the ports 7171 and 7172, I used the ip provided by it, but even so, when I try to enter the server, I can not. If anyone can help me solve it, I'll be grateful. It's a Windows VPS. I'm just using to test with some friends. TFS is 0.4 rev 3884.
  20. G

    Compiling Error on build the .exe in DEV-C++

    When I try to put the fuction 'onMoveItem' made by Doggynub (Feature - [creatureEvent] onMove very advanced) I got an error when the .exe will build. Can anyone help me? TFS 0.4 rev 3884 The errors:
Back
Top