Jump to content

Shisui

Former Staff
  • Posts

    977
  • Joined

  • Last visited

  • Days Won

    15
  • Feedback

    0%

Posts posted by Shisui

  1. It's already like that.

    quest daily begin
    	state start begin 
    		when login or levelup with pc.get_level() > 74 begin
    			if get_global_time()> pc.getqf(tempo) then
    				set_state(info)
    			end
    		end
    	end
    
    	state info begin -- info about the mission
    		when letter begin
    			send_letter("")
    		end -- letter sent
    		
    		when button or info begin
    			say_title("")
    			say("" .. pc.get_name() .. ".")
    			say("")
    			say("")
    			say("")
    			say("")
    			local risp = select("","")
    			if risp==2 then -- Cancel
    				return
    			elseif risp == 1 then -- Easy
    				pc.setqf("dif",0) -- difficulty FLAG (0=pedra sangue)
    				set_state(running)
    			end
    		end -- when closed
    	end -- INFO closed
    
    	state running begin
    	when login begin
    		pc.setqf("done",0) -- quest completed FLAG (0=not completed, 1=completed)
    		
    		if pc.getqf(dif)==0 then
    			pc.setqf("mob_to_kill",math.random(691, 1901, 791, 1304, 2206, 1093, 2091))
    			-- how many kills
    			local qta = {
    						3, 4, 5, 6
    						}
    			pc.setqf("qta_to_kill",qta[math.random(1, 4)])
    			-- recompensa pedra sangue
    			pc.setqf("reward",30190)
    		end
    	end
    		when letter begin
    			if pc.getqf(dif) == 0 then
    			send_letter("")
    			end
    		end
    
    		when button or info begin -- info about the quest
    			if pc.getqf(done) == 0 then -- if he didn't complete the quest
    				if pc.getqf(dif) == 0 then
    				say_title("")
    				say("")
    				say("")
    				say("")
    				say("")
    				say_reward("" .. qta_to_kill .. mob_name(pc.getqf(mob_to_kill)))
    				if pc.getqf(dif) == 0 then
    					say_reward("" .. pc.getqf(reward) .. "")
    				end
    			else
    				say_title("")
    				say("" ..pc.get_name() .. "")
    				say("")
    				wait()
    				if pc.getqf(dif)==0 then
    				say_reward("" .. pc.getqf(reward) .. "")
    				pc.give_item2(30190, 1)
    				end
    				-- timer FLAG, this quest is repeatable once per day (24h)
    				pc.setqf("tempo", get_global_time()+86400) -- 60*60*24
    				-- deleting FLAGS
    				pc.delqf(mob_to_kill)
    				pc.delqf(reward)
    				pc.delqf(qta_to_kill)
    				pc.delqf(dif)
    				pc.delqf(done)
    				set_state(__COMPLETE__)
    			end
    		end
    
    		when pc.getqf(mob_to_kill).kill begin
    			pc.setqf("qta_to_kill",(pc.getqf(qta_to_kill))-1)
    			if pc.getqf(qta_to_kill) == 0 then
    				pc.setqf("done",1)
    				send_letter("")
    			end
    		end
    	end -- closed RUNNING
    
    	state __COMPLETE__ begin
    		when enter begin
    			q.done()
    		end
    	end -- closed __COMPLETE__
    end -- closed QUEST

     

    skYMe.png

  2. quest daily begin
    	state start begin 
    		when login or levelup with pc.get_level() > 74 begin
    			if get_global_time()> pc.getqf(tempo) then
    				set_state(info)
    			end
    		end
    	end
    
    	state info begin -- info about the mission
    		when letter begin
    			send_letter("")
    		end -- letter sent
    		
    		when button or info begin
    			say_title("")
    			say("")
    			say("")
    			say("")
    			say("")
    			say("")
    			local risp = select("","")
    			if risp==2 then -- Cancel
    				return
    			elseif risp == 1 then -- Easy
    				pc.setqf("dif",0) -- difficulty FLAG (0=pedra sangue)
    				set_state(running)
    			end
    		end -- when closed
    	end -- INFO closed
    
    	state running begin
    	when login begin	
    		pc.setqf("done",0) -- quest completed FLAG (0=not completed, 1=completed)
    		
    		if pc.getqf(dif)==0 then
    			pc.setqf("mob_to_kill",math.random(691, 1901, 791, 1304, 2206, 1093, 2091))
    			-- how many kills
    			local qta = {
    						3, 4, 5, 6
    						}
    			pc.setqf("qta_to_kill",qta[math.random(1, 4)])
    			-- recompensa pedra sangue
    			pc.setqf("reward",30190)
    		end
    
    		when letter begin
    			if pc.getqf(dif) == 0 then
    			send_letter("")
    			end
    		end
    
    		when button or info begin -- info about the quest
    			if pc.getqf(done) == 0 then -- if he didn't complete the quest
    				if pc.getqf(dif) == 0 then
    				say_title("")
    				say("")
    				say("")
    				say("")
    				say("")
    				say_reward("" .. qta_to_kill .. mob_name(pc.getqf(mob_to_kill)))
    				if pc.getqf(dif) == 0 then
    					say_reward("" .. pc.getqf(reward) .. "")
    				end
    			else
    				say_title("")
    				say("" ..pc.get_name() .. "")
    				say("")
    				wait()
    				if pc.getqf(dif)==0 then
    				say_reward("" .. pc.getqf(reward) .. "")
    				pc.give_item2(30190, 1)
    				end
    				-- timer FLAG, this quest is repeatable once per day (24h)
    				pc.setqf("tempo", get_global_time()+86400) -- 60*60*24
    				-- deleting FLAGS
    				pc.delqf(mob_to_kill)
    				pc.delqf(reward)
    				pc.delqf(qta_to_kill)
    				pc.delqf(dif)
    				pc.delqf(done)
    				set_state(__COMPLETE__)
    			end
    		end
    
    		when pc.getqf(mob_to_kill).kill begin
    			pc.setqf("qta_to_kill",(pc.getqf(qta_to_kill))-1)
    			if pc.getqf(qta_to_kill) == 0 then
    				pc.setqf("done",1)
    				send_letter("")
    			end
    		end
    	end -- closed RUNNING
    
    	state __COMPLETE__ begin
    		when enter begin
    			q.done()
    		end
    	end -- closed __COMPLETE__
    end -- closed QUEST


     

    W7V9d.png

  3. It's useless. I have maxmi serverfiles, but I changed game and locale and more others, if I put this I will not have anymore source access.

     

    I solved my client's syserr removing that function "timeOutMsg" from intrologin.py and now client are not more stuck on "you will be connected...", now I got 'error to connecting to server.

     

    I will try to solve my ch1 syserr and will be back with edit.

    What? I said to take the special_item_group.txt from those files and replace...

    Not to replace the entire files...

    btw, I did that process with the same maxmi files and it worked.

    • Love 1
  4. SYSERR: Mar 23 18:19:08.105834 :: hupsig: SIGHUP, SIGINT, SIGTERM signal has been received. shutting down.
    SYSERR: Mar 23 18:19:28.217473 :: pid_deinit: 
    End of pid
     
    SYSERR: Mar 23 18:22:43.362621 :: pid_init: 
    Start of pid: 901
     
    SYSERR: Mar 23 18:22:54.657606 :: ReadSpecialDropItemFile: ReadSpecialDropItemFile : there is no item 110010 : node 강력한용혼원석_일반-화려
    SYSERR: Mar 23 18:22:54.659093 :: Boot: cannot load SpecialItemGroup: locale/romania/special_item_group.txt
    SYSERR: Mar 23 18:22:55.264155 :: pid_deinit: 
    End of pid
     
    SYSERR: Mar 23 18:31:03.824428 :: pid_init: 
    Start of pid: 965
     
    SYSERR: Mar 23 18:31:10.386619 :: ReadSpecialDropItemFile: ReadSpecialDropItemFile : there is no item 110010 : node 강력한용혼원석_일반-화려
    SYSERR: Mar 23 18:31:10.387686 :: Boot: cannot load SpecialItemGroup: locale/romania/special_item_group.txt
    SYSERR: Mar 23 18:31:10.682619 :: pid_deinit: 
    End of pid
     
    SYSERR: Mar 23 18:52:37.659113 :: pid_init: 
    Start of pid: 2322
     
    SYSERR: Mar 23 18:52:44.154484 :: ReadSpecialDropItemFile: ReadSpecialDropItemFile : there is no item 110010 : node 강력한용혼원석_일반-화려
    SYSERR: Mar 23 18:52:44.155639 :: Boot: cannot load SpecialItemGroup: locale/romania/special_item_group.txt
    SYSERR: Mar 23 18:52:44.461632 :: pid_deinit: 
    End of pid
    

    The problem is from your special item group.
  5. Hey I could use a litle help.

     

    This is the quest

    quest daily begin
    	state start begin 
    		when login or levelup with pc.get_level() > 74 begin
    			if get_global_time()> pc.getqf(tempo) then
    				set_state(info)
    			end
    		end
    	end
    
    	state info begin -- info about the mission
    		when letter begin
    			send_letter("")
    		end -- letter sent
    		
    		when button or info begin
    			say_title("")
    			say("")
    			say("")
    			say("")
    			say("")
    			say("")
    			local risp = select("","")
    			if risp==2 then -- Cancel
    				return
    			elseif risp == 1 then -- Easy
    				pc.setqf("dif",0) -- difficulty FLAG (0=pedra sangue)
    				set_state(running)
    			end
    		end -- when closed
    	end -- INFO closed
    
    	state running begin
    		
    		pc.setqf("done",0) -- quest completed FLAG (0=not completed, 1=completed)
    		
    		if pc.getqf(dif)==0 then
    			pc.setqf("mob_to_kill",math.random(691, 1901, 791, 1304, 2206, 1093, 2091))
    			-- how many kills
    			local qta = {
    						3, 4, 5, 6
    						}
    			pc.setqf("qta_to_kill",qta[math.random(1, 4)])
    			-- recompensa pedra sangue
    			pc.setqf("reward",30190)
    		end
    
    		when letter begin
    			if pc.getqf(dif) == 0 then
    			send_letter("")
    			end
    		end
    
    		when button or info begin -- info about the quest
    			if pc.getqf(done) == 0 then -- if he didn't complete the quest
    				if pc.getqf(dif) == 0 then
    				say_title("")
    				say("")
    				say("")
    				say("")
    				say("")
    				say_reward("" .. qta_to_kill .. mob_name(pc.getqf(mob_to_kill)))
    				if pc.getqf(dif) == 0 then
    					say_reward("" .. pc.getqf(reward) .. "")
    				end
    			else
    				say_title("")
    				say("" ..pc.get_name() .. "")
    				say("")
    				wait()
    				if pc.getqf(dif)==0 then
    				say_reward("" .. pc.getqf(reward) .. "")
    				pc.give_item2(30190, 1)
    				end
    				-- timer FLAG, this quest is repeatable once per day (24h)
    				pc.setqf("tempo", get_global_time()+86400) -- 60*60*24
    				-- deleting FLAGS
    				pc.delqf(mob_to_kill)
    				pc.delqf(reward)
    				pc.delqf(qta_to_kill)
    				pc.delqf(dif)
    				pc.delqf(done)
    				set_state(__COMPLETE__)
    			end
    		end
    
    		when pc.getqf(mob_to_kill).kill begin
    			pc.setqf("qta_to_kill",(pc.getqf(qta_to_kill))-1)
    			if pc.getqf(qta_to_kill) == 0 then
    				pc.setqf("done",1)
    				send_letter("")
    			end
    		end
    	end -- closed RUNNING
    
    	state __COMPLETE__ begin
    		when enter begin
    			q.done()
    		end
    	end -- closed __COMPLETE__
    end -- closed QUEST



    And this is the error

    ajgrf.png

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