Jump to content

vladbos35

Inactive Member
  • Posts

    33
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by vladbos35

  1. 2 minutes ago, asterix2 said:

    syserr?

    1122 22:50:20184 :: Traceback (most recent call last):

    1122 22:50:20184 ::   File "game.py", line 1253, in OnKeyDown

    1122 22:50:20184 ::   File "game.py", line 354, in <lambda>

    1122 22:50:20184 ::   File "game.py", line 2269, in __switch_channel

    1122 22:50:20184 ::   File "uiChannel.py", line 18, in __init__

    1122 22:50:20184 ::   File "uiChannel.py", line 125, in __Fill_Up_ChannelList

    1122 22:50:20184 ::   File "uiChannel.py", line 131, in __RequestServerStateList

    1122 22:50:20184 ::   File "uiChannel.py", line 122, in __GetServerID

    1122 22:50:20184 :: UnboundLocalError
    1122 22:50:20184 :: : 
    1122 22:50:20184 :: local variable 'serverID' referenced before assignment
    1122 22:50:20184 :: 

  2. 4 minutes ago, asterix2 said:

    Port ch1: 11002 and etc

    Port is 13002, 13102. 

    My port is in intrologin.py

        def SetChannelKurwy(self, ch):
            self.SetChannelInfo(ch)
            
            for (channelID, channelButtons) in self.channelButton.items():
                if ch != channelID:
                    channelButtons.SetUp()
            
            self.stream.SetConnectInfo("129.131.112.101", self.ChannelPort(ch, 0), "129.131.112.101", self.ChannelPort("LOGIN"))
            net.SetMarkServer("129.131.112.101", self.ChannelPort("LOGO"))
            app.SetGuildMarkPath("10.tga")
            app.SetGuildSymbolPath("10")
            net.SetServerInfo(self.ChannelPort(ch, 2))
            
        def SetChannelInfo(self, ch):
            self.channels = str(ch)
            
        def GetChannel(self):
            return self.channels
            
        def ChannelPort(self, ch="CH1", value=0):
            channel = {
                "CH1"    :    [13002, "SERVERNAME", "CH 1"],
                "CH2"    :    [13102, "SERVERNAME", "CH 2"],}
            
            if ch == "LOGIN":
                return 11004
            elif ch == "LOGO":
                return channel["CH1"][0]
            elif value == 2:
                return "%s, %s" % (channel[ch][1], channel[ch][2])
            else:
                return channel[ch][value]
                    
                    

  3. My syserr what is resolve?

     

    SYSERR: Jun 28 03:15:07.771790 :: WriteRunningStateToSyserr: LUA_ERROR: quest dragon_soul.state_learning enter
    SYSERR: Jun 28 03:15:09.8796 :: RunState: LUA_ERROR: [string "dragon_soul"]:5: attempt to call global `drop_gamble_with_flag' (a nil value)
    SYSERR: Jun 28 03:15:09.8808 :: WriteRunningStateToSyserr: LUA_ERROR: quest dragon_soul.state_learning enter
    SYSERR: Jun 28 03:15:09.728920 :: RunState: LUA_ERROR: [string "dragon_soul"]:5: attempt to call global `drop_gamble_with_flag' (a nil value)
    SYSERR: Jun 28 03:15:09.728931 :: WriteRunningStateToSyserr: LUA_ERROR: quest dragon_soul.state_learning enter
    SYSERR: Jun 28 03:15:16.46629 :: RunState: LUA_ERROR: [string "dragon_soul"]:5: attempt to call global `drop_gamble_with_flag' (a nil value)
    SYSERR: Jun 28 03:15:16.46641 :: WriteRunningStateToSyserr: LUA_ERROR: quest dragon_soul.state_learning enter
    SYSERR: Jun 28 03:15:16.46738 :: RunState: LUA_ERROR: [string "dragon_soul"]:5: attempt to call global `drop_gamble_with_flag' (a nil value)
    SYSERR: Jun 28 03:15:16.46747 :: WriteRunningStateToSyserr: LUA_ERROR: quest dragon_soul.state_learning enter
    SYSERR: Jun 28 03:15:16.485620 :: RunState: LUA_ERROR: [string "dragon_soul"]:5: attempt to call global `drop_gamble_with_flag' (a nil value)
    SYSERR: Jun 28 03:15:16.485631 :: WriteRunningStateToSyserr: LUA_ERROR: quest dragon_soul.state_learning enter
    SYSERR: Jun 28 03:15:16.846629 :: RunState: LUA_ERROR: [string "dragon_soul"]:5: attempt to call global `drop_gamble_with_flag' (a nil value)
    SYSERR: Jun 28 03:15:16.846641 :: WriteRunningStateToSyserr: LUA_ERROR: quest dragon_soul.state_learning enter
    SYSERR: Jun 28 03:15:20.923733 :: RunState: LUA_ERROR: [string "dragon_soul"]:5: attempt to call global `drop_gamble_with_flag' (a nil value)
    SYSERR: Jun 28 03:15:20.923744 :: WriteRunningStateToSyserr: LUA_ERROR: quest dragon_soul.state_learning enter
    SYSERR: Jun 28 03:15:22.323624 :: RunState: LUA_ERROR: [string "dragon_soul"]:5: attempt to call global `drop_gamble_with_flag' (a nil value)
    SYSERR: Jun 28 03:15:22.323636 :: WriteRunningStateToSyserr: LUA_ERROR: quest dragon_soul.state_learning enter
    SYSERR: Jun 28 03:15:22.443857 :: RunState: LUA_ERROR: [string "dragon_soul"]:5: attempt to call global `drop_gamble_with_flag' (a nil value)
    SYSERR: Jun 28 03:15:22.443868 :: WriteRunningStateToSyserr: LUA_ERROR: quest dragon_soul.state_learning enter
    SYSERR: Jun 28 03:15:22.963620 :: RunState: LUA_ERROR: [string "dragon_soul"]:5: attempt to call global `drop_gamble_with_flag' (a nil value)
    SYSERR: Jun 28 03:15:22.963631 :: WriteRunningStateToSyserr: LUA_ERROR: quest dragon_soul.state_learning enter
    SYSERR: Jun 28 03:15:23.203619 :: RunState: LUA_ERROR: [string "dragon_soul"]:5: attempt to call global `drop_gamble_with_flag' (a nil value)
    SYSERR: Jun 28 03:15:23.203630 :: WriteRunningStateToSyserr: LUA_ERROR: quest dragon_soul.state_learning enter
    SYSERR: Jun 28 03:15:23.803625 :: RunState: LUA_ERROR: [string "dragon_soul"]:5: attempt to call global `drop_gamble_with_flag' (a nil value)
    SYSERR: Jun 28 03:15:23.803636 :: WriteRunningStateToSyserr: LUA_ERROR: quest dragon_soul.state_learning enter
    SYSERR: Jun 28 03:15:23.803867 :: RunState: LUA_ERROR: [string "dragon_soul"]:5: attempt to call global `drop_gamble_with_flag' (a nil value)
    SYSERR: Jun 28 03:15:23.803877 :: WriteRunningStateToSyserr: LUA_ERROR: quest dragon_soul.state_learning enter
    SYSERR: Jun 28 03:15:23.803962 :: RunState: LUA_ERROR: [string "dragon_soul"]:5: attempt to call global `drop_gamble_with_flag' (a nil value)
    SYSERR: Jun 28 03:15:23.803971 :: WriteRunningStateToSyserr: LUA_ERROR: quest dragon_soul.state_learning enter

     

     

    My quest

    quest dragon_soul begin
        state start begin
            when levelup or letter with pc.level >= 30 begin
                send_letter(gameforge.dragon_soul._1010_sendLetter)
                local v = find_npc_by_vnum(20001)
                
                if 0 != v then
                    target.vid("__TARGET__", v, mob_name(20001))
                end
            end
            when info or button begin
                say(gameforge.dragon_soul._1020_say)
            end

            when 20001.chat.gameforge.dragon_soul._1030_npcChat with pc.level >= 30 begin
                target.delete("__TARGET__")

                say_title(mob_name(20001))
                say(gameforge.dragon_soul._1040_say)
                set_state(state_learning)
            end
        end
        state state_learning begin
            when letter begin
                send_letter(gameforge.dragon_soul._1050_sendLetter)
            end
            when info or button begin
                say(gameforge.dragon_soul._1060_say)
            end
            when kill begin
                if npc.is_pc() then
                    return
                end
                
                if pc.count_item(30270) < 10 then
                    if drop_gamble_with_flag("ds_drop") then
                        game.drop_item_with_ownership(30270, 1, 300)
                    end
                end
            end
            when 20001.chat.gameforge.dragon_soul._1050_sendLetter begin
                say_title(mob_name(20001))
                if pc.count_item(30270) >= 10 then
                    say(gameforge.dragon_soul._1070_say)
                    pc.remove_item(30270, 10)
                    ds.give_qualification()
                    char_log(pc.get_player_id(), 'DS_QUALIFICATION', 'SUCCESS')
                    pc.give_item2(50255)
                    local today = math.floor(get_global_time() / 86400)
                    pc.setf("dragon_soul", "eye_timestamp", today)
                    pc.setf("dragon_soul", "eye_left", 9)
                    set_state(state_farming)
                else
                    say(gameforge.dragon_soul._1080_say)
                end
            end
        end
        state state_farming begin
            when letter begin
                send_letter(gameforge.dragon_soul._1090_sendLetter)
            end
            when info or button begin
                say(string.format(gameforge.dragon_soul._1100_say, pc.getf("dragon_soul", "eye_left")))
            end
            when kill begin
                if npc.is_pc() then
                    return
                end
                
                if drop_gamble_with_flag("ds_drop") then
                    local eye_left = pc.getf("dragon_soul", "eye_left")
                    local haved_gemstone_number = pc.count_item(30270)
                    
                    if eye_left > haved_gemstone_number / 10 then
                        game.drop_item_with_ownership(30270, 1, 300)
                    end
                end
            end
            when 30270.pick begin
                local eye_left = pc.getf("dragon_soul", "eye_left")
                if eye_left <= 0 then
                    return
                end

                if pc.count_item(30270) >= 10 then
                    pc.setf("dragon_soul", "eye_left", eye_left - 1)
                    pc.remove_item(30270, 10)
                    pc.give_item2(50255)
                    if 1 == eye_left then
                        notice_multiline(gameforge.dragon_soul._1110_notice, notice)
                        set_state(state_closed_season)
                    end
                end
            end
            when 20001.chat.gameforge.dragon_soul._1120_npcChat begin
                say_title(mob_name(20001))
                local today = math.floor(get_global_time() / 86400)
                if today == pc.getf("dragon_soul", "eye_timestamp") then
                    say(gameforge.dragon_soul._1130_say)
                else
                    say(gameforge.dragon_soul._1140_say)
                    pc.setf("dragon_soul", "eye_timestamp", today)
                    pc.setf("dragon_soul", "eye_left", 10)
                end    
            end
        end
        state state_closed_season begin
            when letter begin
                send_letter(gameforge.dragon_soul._1150_sendLetter)
            end
            when info or button begin
                say(gameforge.dragon_soul._1160_say)
                local today = math.floor(get_global_time() / 86400)
                if today == pc.getf("dragon_soul", "eye_timestamp") then
                    say(gameforge.dragon_soul._1170_say)
                else
                    say(gameforge.dragon_soul._1180_say)
                end
            end
            
            when 20001.chat.gameforge.dragon_soul._1090_sendLetter begin
                say_title(mob_name(20001))
                local today = math.floor(get_global_time() / 86400)
                if today == pc.getf("dragon_soul", "eye_timestamp") then
                    say(gameforge.dragon_soul._1130_say)
                else
                    say(gameforge.dragon_soul._1140_say)
                    pc.setf("dragon_soul", "eye_timestamp", today)
                    pc.setf("dragon_soul", "eye_left", 10)
                    set_state(state_farming)
                end
            end
        end
        -- deprecated states. so, jump to new state.
        state state_1 begin
            when login begin
                set_state(state_learning)
            end
        end
        state state_2 begin
            when login begin
                set_state(state_learning)
            end
        end
        state state_3 begin
            when login begin
                set_state(state_closed_season)
            end
        end
    end
     

     

  4. Hi, I have a 40250 sf, but when a user send guild war to another guild the server close and I need to restart it.

    I have watched syserr and syslog but I can´t find that error.

    I have apply this dif, but it don´t correct the bug: /war name -999999999

     

    game40250

    0008DF69: 8E 86

     

     

    Someone have the same problem and have solved it?

    Thank's!

     

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