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

    Token Npc Script....Errors

    he dont respone on boots of haste and getting this in serverlog. [0:30:58.275] [Error - NpcScript Interface] [0:30:58.277] data/npc/scripts/tokentrader.lua:onCreatureSay [0:30:58.278] Description: [0:30:58.279] data/npc/scripts/tokentrader.lua:45: attempt to concatenate field '?' (a nil value)...
  2. RockeTBunnYz

    Token Npc Script....Errors

    Can you please also explain what line that tell npc to take tokens from player it is this like if doPlayerRemoveItem(cid, tokens, itemToGive.amount) then why itemtogive there in the local for itemtogive there is nothing... lol im confusing
  3. RockeTBunnYz

    Token Npc Script....Errors

    yes the scripts is working now but when i try to exchange boots of haste its said he dont sell it and also tested with demon helmet aswell.
  4. RockeTBunnYz

    Token Npc Script....Errors

    what does this line mean sir local itemToGive = {} in this script. haha another one unexpected symbol near ']' found it !
  5. RockeTBunnYz

    Token Npc Script....Errors

    unexpected symbol near "local" ....... cant find it ...
  6. RockeTBunnYz

    Token Npc Script....Errors

    working now thanks you! and yet other problems... the scripts is if i said boots of haste and then yes and the npc will give you boots of haste that how its should work, but when i try my second items exempel "soft boots" and after that i said "yes" i getting the boots of haste..... why does...
  7. RockeTBunnYz

    Token Npc Script....Errors

    Just added this if statement its doesnt help i still the same getting items with no tokens if msgcontains(msg, "soft boots") then if getPlayerItemCount(cid,t.tokens,20) then ---------- cost 20 Gametokens selfSay('Did you bring me 20 gametokens?', cid)...
  8. RockeTBunnYz

    Token Npc Script....Errors

    Here you go#### elseif msgcontains(msg, "boots of haste") then getPlayerItemCount(cid, 6527 > [, subType = 10]) ---------- cost 10 Gametokens selfSay('Did you bring me 10 gametokens?', cid) talkState[talkUser] = 1 elseif msgcontains(msg,"yes")...
  9. RockeTBunnYz

    Token Npc Script....Errors

    if i have the request items in my bag the npc will take it and give me the items but also i can get items without the requesting items... i got the getPlayerItemCount(cid, 6527 > [, subType = 10]) how can i do it so count 10 for the request? am i doing it right?
  10. RockeTBunnYz

    Token Npc Script....Errors

    ok i got everything working fine now! but yet there is another problem the npc give items even i dont have the tokens...:(:(:( getPlayerItemCount(cid,t.tokens,20) ---------- cost 20 Gametokens selfSay('Did you bring me 20 gametokens?', cid) elseif...
  11. RockeTBunnYz

    Token Npc Script....Errors

    haha what a miss :P was to much code for me in one day hahaha!
  12. RockeTBunnYz

    Token Npc Script....Errors

    I'm got this to work sir, but yet didnt NPC Respone after i saying "yes" im getting no error in my serverlog. 21:46 Frenzy: Welcome, Own! I have been expecting you. 21:46 Own [665]: Boots of haste 21:46 Own [665]: gametoken 21:46 Own [665]: hi 21:46 Frenzy: Welcome, Own! I have been expecting...
  13. RockeTBunnYz

    Token Npc Script....Errors

    getting this error with your talkstate [21:17:34.589] [Error - LuaInterface::loadFile] data/npc/scripts/tokentrader.lua :32: unexpected symbol near ']' [21:17:34.590] [Warning - NpcEvents::NpcEvents] Cannot load script: data/npc/scr ipts/tokentrader.lua [21:17:34.591]...
  14. RockeTBunnYz

    Token Npc Script....Errors

    what does this error mean ??? [20:22:48.149] [Error - NpcScript Interface] [20:22:48.150] data/npc/scripts/tokentrader.lua [20:22:48.151] Description: [20:22:48.152] data/npc/lib/npc.lua:51: attempt to index local 'message' (a nil value)
  15. RockeTBunnYz

    Token Npc Script....Errors

    now my script look like this gosh.... if msgcontains(msg, 'demon helmet') then getPlayerItemCount(cid,t.tokens,10) -- 10 Game Tokens selfSay('Did you bring me 10 game tokens?', cid) else selfSay('Sorry, I need you to have atleast {10 game tokens} . Come back when you...
  16. RockeTBunnYz

    Token Npc Script....Errors

    like this sir? i'm so damn confused with all the codes..... phew... if msgcontains(msg, 'demon helmet') if getPlayerItemCount(cid,t.tokens,10) -- 10 Game Tokens selfSay('Did you bring me 10 game tokens?', cid) else selfSay('Sorry, I need you to have atleast {10 game...
  17. RockeTBunnYz

    Token Npc Script....Errors

    i did remove the if statement and its told me unexpected symbol near then if doPlayerRemoveItem(cid,t.tokens,10) then doPlayerAddItem(cid, t.items[2][3], t.items[2][2]) then <<<----- this add item line is unexpected symbol near then... selfSay("Here you go!", cid) end end
  18. RockeTBunnYz

    Token Npc Script....Errors

    like this sir? if msgcontains(msg,'yes') then if doPlayerRemoveItem(cid,t.tokens,10) then if doPlayerAddItem(cid, t.items[1][3], t.items[1][2]) then ---- boots of haste selfSay("Here you go!", cid) end end end end if msgcontains(msg, 'demon...
  19. RockeTBunnYz

    Token Npc Script....Errors

    thanks getting the script right now, and now i got this error .... null... [19:12:24.611] [Error - NpcScript Interface] [19:12:24.612] data/npc/scripts/tokentrader.lua [19:12:24.613] Description: [19:12:24.614] data/npc/lib/npc.lua:51: attempt to index local 'message' (a nil value)...
  20. RockeTBunnYz

    Token Npc Script....Errors

    if msgcontains(msg,'yes') then if doPlayerRemoveItem(cid,t.tokens,10) then if PlayerAddItem(cid,t.items[2]) then ----- demon helmet selfSay"Here you go!" end end end i have changed it to this now, it is right?
Back
Top