• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Search results

  1. aalqaq2

    More Script Issues [PLEASE HELP!]

    I'm also having the issue of bet between 1-999 NPC will take the money and give error message. I only want him to give error message and not take money. local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local...
  2. aalqaq2

    More Script Issues [PLEASE HELP!]

    That didn't do anything. However, I added an if statement at lines 73-76. That corrected the issue of placing money on no bet or bet < 1000
  3. aalqaq2

    More Script Issues [PLEASE HELP!]

    TFS Version 1.2 -- Client Version 10.98 I still have a few issues with my script and I'm not sure how to solve them. 1. if players bet = 1,000,000 (max), NPC (if you win) pays 1,000,100 [Supposed to pay 1,800,000 (80%) ] 2. If gold placed on NPC depot, NPC does not recognize it as a bet. (NPC...
  4. aalqaq2

    Casino NPC - High/Low dice

    PM me if you still need one
  5. aalqaq2

    Solved Script Issues [PLEASE HELP!]

    Well, I figured it out. My compat.lua file was outdated. I copied the new one and its working fine now. :D
  6. aalqaq2

    Solved Script Issues [PLEASE HELP!]

    Is my "placeMoney" function supposed to have a return statement?
  7. aalqaq2

    Solved Script Issues [PLEASE HELP!]

    local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid)...
  8. aalqaq2

    Solved Script Issues [PLEASE HELP!]

    I inserted the function and got this: [Warning - NpcScript::NpcScript] Can not load script: Dicer.lua data/npc/scripts/Dicer.lua:17: '=' expected near ' ' I don't even know what ' ' is...
  9. aalqaq2

    Solved Script Issues [PLEASE HELP!]

    No, I don't have a doCreateItem function. Would you mind helping me insert that? I changed all of the "local functions" to "functions". Am I supposed to change the variables as well or just the functions?
  10. aalqaq2

    Solved Script Issues [PLEASE HELP!]

    I hope that was the right way to do it.
  11. aalqaq2

    Solved Script Issues [PLEASE HELP!]

    <?xml version="1.0" encoding="UTF-8"?> <npc name="The Gambling Man" script="Dicer.lua" walkinterval="0" floorchange="0"> <health now="100" max="100"/> <look type="132" head="114" body="0" legs="0" feet="114" addons="3"/> <parameters> <parameter key="message_greet" value="Hello, |PLAYERNAME|...
  12. aalqaq2

    Solved Script Issues [PLEASE HELP!]

    TFS Version 1.2: Client Version 10.98 I'm sure the problem is literally in front of my face, but I've been trying to figure this out for the last few days. Can someone please help me? The NPC is in Thais DP. (32352,32226,7) I can: Greet the NPC, Put the money on table (Only in middle) Place a...
Back
Top