Jump to content

KingTsunamy

Premium
  • Posts

    97
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by KingTsunamy

  1. 1)How I can make when a player login for first time to get a set of items in the top of the inventory and a set in the bottom of inventory( I want to be space between the sets)

    2)Does anyone has item_proto decrypter and crypter for r40k? I try some decrypters but don't work

  2. 0606 20:10:08789 :: invalid idx 0
    0606 20:11:47591 :: Traceback (most recent call last):
     
    0606 20:11:47592 ::   File "networkModule.py", line 237, in SetGamePhase
     
    0606 20:11:47592 ::   File "system.py", line 130, in __pack_import
     
    0606 20:11:47593 ::   File "
    0606 20:11:47593 :: game.py
    0606 20:11:47593 :: ", line 
    0606 20:11:47593 :: 2406
    0606 20:11:47593 :: 
     
    0606 20:11:47593 ::     
    0606 20:11:47593 :: x, y, z = player.GetMainCharacterPosition()
     
    0606 20:11:47593 ::     
    0606 20:11:47593 ::  
    0606 20:11:47593 ::  
    0606 20:11:47593 ::  
    0606 20:11:47593 ::  
    0606 20:11:47593 ::  
    0606 20:11:47593 ::  
    0606 20:11:47593 ::  
    0606 20:11:47593 ::  
    0606 20:11:47593 ::  
    0606 20:11:47593 ::  
    0606 20:11:47593 ::  
    0606 20:11:47593 ::  
    0606 20:11:47593 ::  
    0606 20:11:47593 ::  
    0606 20:11:47593 ::  
    0606 20:11:47594 ::  
    0606 20:11:47594 ::  
    0606 20:11:47594 ::  
    0606 20:11:47594 ::  
    0606 20:11:47594 ::  
    0606 20:11:47594 ::  
    0606 20:11:47594 ::  
    0606 20:11:47594 ::  
    0606 20:11:47594 ::  
    0606 20:11:47594 ::  
    0606 20:11:47594 ::  
    0606 20:11:47594 ::  
    0606 20:11:47594 ::  
    0606 20:11:47594 ::  
    0606 20:11:47594 ::  
    0606 20:11:47594 ::  
    0606 20:11:47594 ::  
    0606 20:11:47594 ::  
    0606 20:11:47594 ::  
    0606 20:11:47594 ::  
    0606 20:11:47594 ::  
    0606 20:11:47594 ::  
    0606 20:11:47594 ::  
    0606 20:11:47594 ::  
    0606 20:11:47594 ::  
    0606 20:11:47594 ::  
    0606 20:11:47594 ::  
    0606 20:11:47594 :: ^
     
    0606 20:11:47595 :: IndentationError
    0606 20:11:47595 :: : 
    0606 20:11:47595 :: unindent does not match any outer indentation level
    0606 20:11:47595 :: 
     
  3. quest thsgiftdev begin
        state start beginsou   
            when login begin
                cmdchat("zetsugfsys "..q.getcurrentquestindex())
            end
              
            function giverandomitem()
                local ids = number(1,5)
                local items = {
                --    number_id vnum count size
                    [1] = {279,1,2},
                    [2] = {19,1,2},
                    [3] = {299,1,2},
                    [4] = {169,1,2},
                    [5] = {159,1,2},
                 
                }
                if pc.get_empty_inventory_count() >= items[ids][3] then
                    pc.give_item2(items[ids][1],items[ids][2])
                    pc.setqf("giftsystemuse", get_time()+60*60*12)
                    cmdchat("giftsyshide")
                else
                    syschat("You don't have enough space.")
                end
            end
      
            when button or info begin
                if pc.getqf("giftsystemuse") <= get_time() then
                    thsgiftdev.giverandomitem()
                else
                    syschat("You can open the box every 12 hours,please be patient.")
                end
            end
        end
    end
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.