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

    Compiling C++ Match all not working.

    The match all (|*|) tag for npcs isn't working. I don't have a clue how to fix it, and have been looking through the npc.cpp file for a while. Im using TFS 0.3.6pl1 (Crying Damson).
  2. watkins577

    MoveEvent Advanced Training Tile

    Ok I know loads of people have released scripts like this, but I decided to release my own, as it is a bit more advanced than other ones. This will increase skills if the use is using that type of weapon, if it is a fist weapon or not a weapon it trains fist (As would normally happen), and...
  3. watkins577

    SQL problems

    I have a offer = db.getResult("SELECT * FROM `auction_system`") and Im trying to access the rows of 'offer' from there so I can list them in an FYI thing. How can I carry on with this?
  4. watkins577

    Changing source to include a toid in quest missionstates

    I need to change... or add to... this... if(readXMLInteger(stateNode, "id", intValue)) missionId = intValue; else { std::cout << "[Warning - Quests::parseQuestNode] Missing missionId for mission state" << std::endl; stateNode = stateNode->next; continue; } So it includes a toid so I can do...
  5. watkins577

    From 0 to 499 in quest missonstate ids

    How do I do this, if I use 0 it doesnt do anything other than 0 (and 500 because I use 500 for complete). So I need something like <missionstate id="1..499" .../> or something like that.. Thanks
  6. watkins577

    How to completely remove charges

    How can I completely remove charges from an item. Ive made a god amulet which will be given to certain people as a reward, which stops them losing items when dying, but atm if they die, they lose it. Any help is apprecciated
  7. watkins577

    Quests in Quest log

    Ive put a quest in the quests.xml folder, so it shows up in the quest log. Unfortunately, it doesnt work like it should. (Btw this is the first time Ive used the quest log thing... Heres the xml file.. <?xml version="1.0" encoding="UTF-8"?> <quests> <quest name="The tomes"...
  8. watkins577

    'unexpected symbol near 'ÿ'' Error

    I get this error for my script [27/09/2009 23:16:07] [Warning - Event::loadScript] Cannot load script (data/movements/scripts/beginitems.lua) [27/09/2009 23:16:07] data/movements/scripts/beginitems.lua:1: unexpected symbol near 'ÿ' [27/09/2009 23:16:07] [Warning - Event::loadScript] Cannot...
  9. watkins577

    Puzzle question.

    In my ot Im doing a puzzle tower which is related to the four elements, fire energy ice/water and earth. Ive made a energy and fire puzzle, but I cant think of one for ice/water or earth. If anyone could help me think of a puzzle for them I would be really grateful.
  10. watkins577

    Enchanted weapons not removing charges

    When using an enchanted weapon (E.g. fiery spike sword (or just spike sword with fire on my distro)) It doesnt remove charges... unless you use a physical spell. How can I make it so that it removes charges even when attacking normally?
  11. watkins577

    Demon oak-like tiles

    Hey, Ive been designing a quest where you have to solve a few puzzles. The first puzzle is get into the tower, which is done by stepping on 4 tiles, so 4 magic walls are removed at once. Every tile you step on, a tile with smoke makes a pshhhhhhhhhhh sound. But the problem is I dont know how I...
  12. watkins577

    The ban function

    Im making a talkaction which bans a player (and so far its coming along nicely), but one of the parameters is not self-explanatory. doAddBanishment(accId[, length[, reason[, action[, comment[, admin]]]]]) So my question is, what does action mean?
  13. watkins577

    Aol not working

    Ok the aol in my server prevents loss of items, but it doesnt get removed on death. I tried putting... if getPlayerItemCount(cid, 2173) >= 1 then doPlayerRemoveItem(cid, 2173, 1) end in playerdeath.lua, and it works... unless you lose the aol when you die, which the aol goes into the...
  14. watkins577

    Removing creatures without errors

    Ok I made a script which resets a quest completely (even removes the creatures) but I cant work out how to do it so it gives no errors. Im just gonna post one of the removal scripts here (bcause its very repetitive) local monster1 = {x=176, y=128, z=8, stackpos=STACKPOS_TOP_CREATURE} local...
  15. watkins577

    Help with a teleportation script I made

    Ok I made a script that if someone steps on a tile, they get teleported to an island. After 50 seconds you get a warning and after 10 more seconds you get teleported off the island back to just before the tile you step on. However... If someone else goes through after you, only the other person...
  16. watkins577

    Checking is a player has died in a certain area

    Ok, I have made a quest which must be done solo (and this is done by using stones to block it) but if the player dies during the quest, nobody else can do it unless a GM unblocks it, so what I'm asking is if someone can make a script to check if a player has died between 176, 128, 8, and 185...
  17. watkins577

    Spells...

    I want to have spells automatically learned on the server... but the only way i know makes the players have every spell, and no cooldown... how can i have it the way i want it to?
  18. watkins577

    God/Gm commands

    How come the /t, /n, /c (partially), and whole load of other commands not work? EDIT:i worked out /n and /c... but the rest are still weird
Back
Top