MOD perfect Svargrond Arena System!

Discussion in 'Mods & Lua Functions' started by TomCrusher, Jan 20, 2010.

  1. Gasgat

    Gasgat New Member

    Joined:
    Feb 27, 2009
    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    0.3.6pl1

    When I walk into the teleports with actionID 42300 I get the error in the console at first and when I walk into the teleporter the second time I get "You have been kicked.!". Been trying to figure it out for a few hours now but i've given up.. Any ideas?

    Code (Text):
    1.  
    2. [Error - MoveEvents Interface]
    3. buffer:onStepIn
    4. Description:
    5. (luaGetThingPosition) Thing not found
    6.  
    7. [Error - MoveEvents Interface]
    8. buffer:onStepIn
    9. Description:
    10. [string "loadBuffer"]:69: attempt to index local 'SpawnPos' (a boolean value)
    11. stack traceback:
    12.         [string "loadBuffer"]:69: in function <[string "loadBuffer"]:2>
    13.  
     
  2. Demodras

    Demodras New Member

    Joined:
    Oct 19, 2008
    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Why, I add all, door change to mango ? I change id door and don't work door.
     
    Last edited: Jun 11, 2011
  3. Adrenaline

    Adrenaline Waiting for God

    Joined:
    Jun 13, 2011
    Messages:
    80
    Likes Received:
    5
    Best Answers:
    0
    Last edited: Jun 25, 2011
  4. tigerx2

    tigerx2 Member

    Joined:
    Apr 5, 2010
    Messages:
    102
    Likes Received:
    2
    Best Answers:
    0
    sryyy wrong post
     
  5. Darkinho

    Darkinho Member

    Joined:
    Feb 25, 2009
    Messages:
    145
    Likes Received:
    0
    Best Answers:
    0
    re-host the map pls
     
  6. Ataro

    Ataro Member

    Joined:
    Oct 28, 2010
    Messages:
    689
    Likes Received:
    19
    Best Answers:
    0
    nice ty repped u
     
  7. valivan601

    valivan601 New Member

    Joined:
    Apr 13, 2011
    Messages:
    365
    Likes Received:
    1
    Best Answers:
    0
    the quest seems to be good only when a players got reward i got spawmed with this in console any fix for it?


    Code (Text):
    1. [20:22:08.078] [Error - Action Interface]
    2. [20:22:08.078] domodlib('arenaFunctions')
    3. [20:22:08.078] function onUse(cid, item, fromPosition, itemEx, toPosition)
    4. [20:22:08.078]     local myMove = getDirectionMove(cid, fromPosition)
    5.  
    6. [20:22:08.078]     if myMove == nil then
    7.  
    8. [20:22:08.078]         return FALSE
    9.  
    10. [20:22:08.078]     end
    11.  
    12. [20:22:08.078]     local Reward = Rewards[item.actionid]
    13.  
    14. [20:22:08.078]     if Reward then
    15.  
    16. [20:22:08.078]         if getPlayerStorageValue(cid, Reward.Stor) ~= 1 then
    17.  
    18. [20:22:08.078]             local reward = nil
    19.  
    20. [20:22:08.078]             if Reward.Cont ~= nil then
    21.  
    22. [20:22:08.078]                 reward = doCreateItemEx(Reward.Cont, 1)
    23.  
    24. [20:22:08.078]                 for i = 1, #Reward.items do
    25.  
    26. [20:22:08.078]                     doAddContainerItem(reward, Reward.items[i], R
    27. eward.count[i])
    28.  
    29. [20:22:08.078]                 end
    30.  
    31. [20:22:08.078]             else
    32.  
    33. [20:22:08.078]                 reward = doCreateItemEx(Reward.item, 1)
    34.  
    35. [20:22:08.078]             end
    36.  
    37. [20:22:08.093]             if reward ~= nil then
    38.  
    39. [20:22:08.093]                 if doPlayerAddItemEx(cid, reward, FALSE) == RETUR
    40. NVALUE_NOERROR then
    41.  
    42. [20:22:08.093]                     doPlayerSendTextMessage(cid, MESSAGE_INFO_DES
    43. CR,'You have found a '..getItemNameById(getThing(reward).itemid)..'.')
    44.  
    45. [20:22:08.093]                     setPlayerStorageValue(cid, Reward.Stor, 1)
    46.  
    47. [20:22:08.093]                                 addPlayerRep(cid, 5, TEXTCOLOR_LI
    48. GHTBLUE)
    49.  
    50. [20:22:08.093]                 else
    51.  
    52. [20:22:08.093]                     doPlayerSendTextMessage(cid, MESSAGE_INFO_DES
    53. CR, Cancel[3])
    54.  
    55. [20:22:08.093]                 end
    56.  
    57. [20:22:08.093]             end
    58.  
    59. [20:22:08.093]         else
    60.  
    61. [20:22:08.093]             doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, Canc
    62. el[4])
    63.  
    64. [20:22:08.093]         end
    65.  
    66. [20:22:08.093]     elseif RewardsDoors[item.actionid] then
    67.  
    68. [20:22:08.093]         if myArenaLevelIs(cid).LV >= RewardsDoors[item.actionid]
    69. then
    70.  
    71. [20:22:08.093]             doTransformItem(item.uid, OpenDoorsID)
    72.  
    73. [20:22:08.093]             doMoveCreature(cid, myMove)
    74.  
    75. [20:22:08.093]         else
    76.  
    77. [20:22:08.093]             doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, Canc
    78. el[5])
    79.  
    80. [20:22:08.093]         end
    81.  
    82. [20:22:08.093]     elseif item.actionid == DoorsActID and getPlayerStorageValue(
    83. cid, talkNPC) == 1 then
    84.  
    85. [20:22:08.093]         doTransformItem(item.uid, OpenDoorsID)
    86.  
    87. [20:22:08.093]         doMoveCreature(cid, myMove)
    88.  
    89. [20:22:08.093]     else
    90.  
    91. [20:22:08.093]         doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, Cancel[1
    92. ])
    93. [20:22:08.093] end
    94.  
    95. [20:22:08.093]     return TRUE
    96.  
    97. [20:22:08.093] end:onUse
    98. [20:22:08.093] Description:
    99. [20:22:08.093] [string "LuaInterface::loadBuffer"]:43: attempt to call global 'a
    100. ddPlayerRep' (a nil value)
    101. [20:22:08.093] stack traceback:
    102. [20:22:08.093]  [string "LuaInterface::loadBuffer"]:43: in function <[string "Lu
    103. aInterface::loadBuffer"]:2>
     
  8. TomCrusher

    TomCrusher Jeg er ingenting

    Joined:
    Dec 31, 2008
    Messages:
    655
    Likes Received:
    16
    Best Answers:
    0
    do remove all PlayerRep lines or improve Rep system to your server...
     
  9. Darkinho

    Darkinho Member

    Joined:
    Feb 25, 2009
    Messages:
    145
    Likes Received:
    0
    Best Answers:
    0
    Code (Text):
    1.  
    2.  end:onStepIn
    3.  Description:
    4. (luaDoCreateNpc) Npc with name '' not found
    When enter the room, nothing is summoned.
    And yes, all the monsters exists and is fine.
     
  10. TomCrusher

    TomCrusher Jeg er ingenting

    Joined:
    Dec 31, 2008
    Messages:
    655
    Likes Received:
    16
    Best Answers:
    0
    what distro do you using linux or windows?
    check big letters in monster names or files.
     
  11. kosicki123

    kosicki123 Member

    Joined:
    Jan 9, 2009
    Messages:
    123
    Likes Received:
    1
    Best Answers:
    0
    How to fix the mango bug? When I enter in the door and leave it turns a mango....
    The problem is here:

    Just don't know how to fix..
     
  12. TomCrusher

    TomCrusher Jeg er ingenting

    Joined:
    Dec 31, 2008
    Messages:
    655
    Likes Received:
    16
    Best Answers:
    0
    check your opened door Id and give correct in there OpenDoorsID = 5127 --if you change doors item ids, change me =D
     
  13. Burczyk

    Burczyk Member

    Joined:
    Oct 10, 2011
    Messages:
    94
    Likes Received:
    3
    Best Answers:
    0
    Reupload map please
     
  14. Triarii

    Triarii Member

    Joined:
    Jul 27, 2010
    Messages:
    54
    Likes Received:
    0
    Best Answers:
    0
    reup plx
     
  15. cykor119

    cykor119 Member

    Joined:
    Aug 8, 2010
    Messages:
    146
    Likes Received:
    3
    Best Answers:
    0
    plis reup
     
  16. czosnek1221

    czosnek1221 New Member

    Joined:
    Mar 7, 2010
    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    TomCrusher please reupload the map.
     
  17. Naxtie

    Naxtie mapper, designer

    Joined:
    Oct 15, 2011
    Messages:
    1,563
    Likes Received:
    240
    Best Answers:
    0
    could you make a working one for TFS 0.3.6?
     
  18. Frillinde

    Frillinde Founder: Another Realm

    Joined:
    Jan 16, 2012
    Messages:
    148
    Likes Received:
    3
    Best Answers:
    0
    Yes please someone reupload the map for this :)
     
  19. nari

    nari New Member

    Joined:
    Dec 11, 2008
    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    TomCrusher please reupload the map.
     
  20. Naaano201

    Naaano201 New Member

    Joined:
    Jun 5, 2011
    Messages:
    241
    Likes Received:
    7
    Best Answers:
    0
    Code (Text):
    1.  
    2. [6/11/2012 14:29:34] [Error - NpcScript Interface]
    3. [6/11/2012 14:29:34] data/npc/scripts/svargrond_arena.lua:onCreatureSay
    4. [6/11/2012 14:29:34] Description:
    5. [6/11/2012 14:29:34] (LuaInterface::internalGetPlayerInfo) Player not found when requesting player info #3
    6.  
    7. [6/11/2012 14:29:35] [Error - NpcScript Interface]
    8. [6/11/2012 14:29:35] data/npc/scripts/svargrond_arena.lua:onCreatureSay
    9. [6/11/2012 14:29:35] Description:
    10. [6/11/2012 14:29:35] data/npc/scripts/svargrond_arena.lua:81: attempt to compare number with boolean
    11. [6/11/2012 14:29:36] stack traceback:
    12. [6/11/2012 14:29:36]    data/npc/scripts/svargrond_arena.lua:81: in function <data/npc/scripts/svargrond_arena.lua:55>
    13. [6/11/2012 14:29:36]    [C]: in function 'selfSay'
    14. [6/11/2012 14:29:36]    data/npc/scripts/svargrond_arena.lua:63: in function <data/npc/scripts/svargrond_arena.lua:55>
    Getting this npc error, with the script from this post.

    Somebody can help me?
     

Share This Page

Loading...