Jump to content

Juki

Premium
  • Posts

    48
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Juki

  1. So i added special inventory but whatever i try to put in it it says inventory full.

    https://jumpshare.com/s/8Ww4tPIcJHEQo6d6wKTw

    Im using WORD wCell as datatype file are from Ulthar

    LPITEM CHARACTER::GetSkillBookInventoryItem(WORD wCell) const
    {
    	return GetItem(TItemPos(INVENTORY, wCell));
    }
    LPITEM CHARACTER::GetUpgradeItemsInventoryItem(WORD wCell) const
    {
    	return GetItem(TItemPos(INVENTORY, wCell));
    }
    LPITEM CHARACTER::GetStoneInventoryItem(WORD wCell) const
    {
    	return GetItem(TItemPos(INVENTORY, wCell));
    }
    LPITEM CHARACTER::GetBoxInventoryItem(WORD wCell) const
    {
    	return GetItem(TItemPos(INVENTORY, wCell));
    }
    LPITEM CHARACTER::GetEfsunInventoryItem(WORD wCell) const
    {
    	return GetItem(TItemPos(INVENTORY, wCell));
    }
    LPITEM CHARACTER::GetCicekInventoryItem(WORD wCell) const
    {
    	return GetItem(TItemPos(INVENTORY, wCell));

    If anyone could give me some heads up would be greatful

     

    Kind regards!

  2. 19 hours ago, Abdu90 said:

    same problem @ Ulthar can u help pls?

    Port scanning is a popular method cyber criminals use to search for vulnerable servers. They often use it to discover organizations’ security levels, determine whether businesses have effective firewalls, and detect vulnerable networks or servers. Some TCP methods also enable attackers to hide their location.

    Cyber criminals search through networks to assess how ports react, which enables them to understand the business's security levels and the systems they deploy.

    Preventing a port scan attack is reliant on having effective, updated threat intelligence that is in line with the evolving threat landscape. Businesses also require strong security software, port scanning tools, and security alerts that monitor ports and prevent malicious actors from reaching their network. Useful tools include IP scanning, Nmap, and Netcat.

    Other defense mechanisms include:

    A strong firewall: A firewall can prevent unauthorized access to a business’s private network. It controls ports and their visibility, as well as detects when a port scan is in progress before shutting it down.

    TCP wrappers: These enable administrators to have the flexibility to permit or deny access to servers based on IP addresses and domain names.

    Uncover network holes: Businesses can use a port checker or port scanner to determine whether more ports are open than required. They need to regularly check their systems to report potential weak points or vulnerabilities that could be exploited by an attacker.

    You should listen to AZICKO advice and never leave deafult credentials.

  3. On 3/9/2023 at 11:52 AM, Alessio said:

    anyone know something about this error?

    0309 12:09:20662 :: ui:2815: RuntimeWarning: tp_compare didn't return -1 or -2 for exception
    
    0309 12:09:20663 :: 
    uiInventory.py(line:68) __LoadWindow
    ui.py(line:2808) LoadScriptFile
    ui.py(line:2998) LoadChildren
    ui.py(line:2998) LoadChildren
    ui.py(line:2815) LoadChildren
    
    CostumeWindow.LoadWindow.LoadObject - <type 'exceptions.RuntimeError'>:Failed to load image (filename: d:/ymir work/ui/costume_bg.jpg)
    
    0309 12:09:20663 :: ============================================================================================================
    0309 12:09:20663 :: Abort!!!!
    

    i can't find any image inside the downloaded files the source that i'm using is 40250 from tmp4

    Yeah i got the same problem... prolly coz files are old

  4. quest collect_quest_lv30  begin
    	state start begin
    		when login or levelup with pc.level >= 30 begin
    			set_state(information)
    		end
    	end
    
    	state information begin
    		when letter begin
    			local v = find_npc_by_vnum(20084)
    			if v != 0 then
    				target.vid("__TARGET__", v, gameforge.collect_herb_lv10._150_sayTitle)
    			end
    			send_letter(gameforge.collect_quest_lv30._10_sendLetter)
    		end
    
    		when button or info begin
    			say_title(gameforge.collect_quest_lv30._10_sendLetter)
    			say(gameforge.collect_quest_lv30._20_say)
    		end
    
    		when __TARGET__.target.click or	20084.chat.gameforge.collect_quest_lv30._30_npcChat begin
    			target.delete("__TARGET__")
    			say_title(gameforge.collect_herb_lv10._50_sayTitle)
    			say(gameforge.collect_quest_lv30._40_say)
    			wait()
    			say_title(gameforge.collect_herb_lv10._50_sayTitle)
    			say(gameforge.collect_quest_lv30._50_say)
    			wait()
    			say_title(gameforge.collect_herb_lv10._150_sayTitle)
    			say(gameforge.collect_quest_lv30._60_say)
    			set_state(go_to_disciple) 
    			pc.setqf("collect_count",0)
    			pc.setqf("drink_drug",0)
    		end
    	end
    
    
    	state go_to_disciple begin
    		when letter begin
    			send_letter(gameforge.collect_quest_lv30._70_sendLetter)
    
    		end
    		when button or info begin
    			say_title(gameforge.collect_quest_lv30._80_sayTitle)
    			say(gameforge.collect_quest_lv30._90_say)
    			say_item_vnum(30006)
    			say_reward(string.format(gameforge.collect_quest_lv30._100_sayReward, pc.getqf("collect_count")))
    					end
    
    		when 71035.use begin
    			if pc.getqf("drink_drug")==1 then
    				say(gameforge.collect_quest_lv30._120_say)
    
    				return
    			end
    			if pc.count_item(30006)==0 then
    				say_title(gameforge.collect_herb_lv10._50_sayTitle)
    				say(gameforge.collect_quest_lv30._130_say)
    				return
    			end
    			pc.remove_item(71035, 1)
    			pc.setqf("drink_drug",1)
    		end
    
    		when 601.kill begin
    			local s = number(1, 100)
    			if s <= 5 then
    				pc.give_item2(30006, 1)
    			end 
    		end
    
    
        	when 20084.chat.gameforge.collect_quest_lv30._140_npcChat with pc.count_item(30006) >0   begin
    				if pc.count_item(30006) >0 then 
    				say_title(gameforge.collect_herb_lv10._150_sayTitle)
    				say(gameforge.collect_quest_lv30._150_say)
    				pc.remove_item("30006", 1)
    				wait()
    
    				local pass_percent
    				if pc.getqf("drink_drug")==0 then
    					pass_percent=60
    				else
    					if true == pet.is_summon(34003) or true == pet.is_summon(34001) then
    						pass_percent=92
    					else
    						pass_percent=90
    					end
    				end
    
    				notice(pass_percent)
    
    				local s= number(1,100)
    				if s <= pass_percent  then
    				   if pc.getqf("collect_count")< 9 then    
    						local index =pc.getqf("collect_count")+1
    						pc.setqf("collect_count",index)
    						say_title(gameforge.collect_herb_lv10._150_sayTitle)
    						say(string.format(gameforge.collect_quest_lv30._160_say, 10-pc.getqf("collect_count")))
    						pc.setqf("drink_drug",0)	
    						return
    					end
    					say_title(gameforge.collect_herb_lv10._50_sayTitle)
    					say(gameforge.collect_quest_lv30._170_say)
    					pc.setqf("collect_count",0)
    					pc.setqf("drink_drug",0)
    					set_state(key_item)
    					return
    				else
    				say_title(gameforge.collect_herb_lv10._50_sayTitle)
    				say(gameforge.collect_quest_lv30._180_say)
    				pc.setqf("drink_drug",0)	
    				return
    				end
    			else
    				say_title(gameforge.collect_herb_lv10._50_sayTitle)
    				--say(string.format(gameforge.collect_quest_lv30._190_say, item_name(30006)))
    				say(gameforge.collect_quest_lv30._190_say)
    				return
    			end
    	    else
    		  say_title(gameforge.collect_herb_lv10._50_sayTitle)
    		  say(gameforge.collect_quest_lv30._200_say)
    		  return
    		end
    
    	end
    end
    
    
    	state key_item begin
    		when letter begin
    			send_letter(gameforge.collect_quest_lv30._210_sendLetter)
    
    			if pc.count_item(30220)>0 then
    				local v = find_npc_by_vnum(20084)
    				if v != 0 then
    					target.vid("__TARGET__", v, gameforge.collect_herb_lv10._150_sayTitle)
    				end
    			end
    
    		end
    		when button or info begin
    			if pc.count_item(30220) >0 then
    				say_title(gameforge.collect_quest_lv30._220_sayTitle)
    								say_reward(gameforge.collect_quest_lv30._230_sayReward)
    								return
    			end
    			say_title(gameforge.collect_quest_lv30._220_sayTitle)
    			say(gameforge.collect_quest_lv30._240_say)
    			say_item_vnum(30220)
    			say(gameforge.collect_quest_lv30._250_say)
    		end
    
    
    
    		when 631.kill or 632.kill or 633.kill or 634.kill or 635.kill or 636.kill or 637.kill  begin
    			local s = number(1, 500)
    			if s == 1 and pc.count_item(30220)==0 then
    				pc.give_item2(30220, 1)
    				send_letter(gameforge.collect_quest_lv30._260_sendLetter)
    			end
    		end
    
    		when __TARGET__.target.click  or	20084.chat.gameforge.collect_quest_lv30._270_npcChat with pc.count_item(30220) > 0  begin
    			target.delete("__TARGET__")
    			if pc.count_item(30220) > 0 then 
    				say_title(gameforge.collect_herb_lv10._150_sayTitle)
    				say(gameforge.collect_quest_lv30._280_say)
    				pc.remove_item(30220,1)
    				set_state(__reward)
    			else
    				say_title(gameforge.collect_herb_lv10._150_sayTitle)
    				--say(string.format(gameforge.collect_quest_lv30._290_say, item_name(30220)))
    				say(gameforge.collect_quest_lv30._290_say)
    				return
    			end
    		end
    
    	end
    
    	state __reward begin
    		when letter begin
    			send_letter(gameforge.collect_quest_lv30._300_sendLetter)
    
    			local v = find_npc_by_vnum(20018)
    			if v != 0 then
    				target.vid("__TARGET__", v, gameforge.collect_quest_lv30._310_targetVid)
    			end
    
    		end
    		when button or info begin
    			say_title(gameforge.collect_quest_lv30._300_sendLetter)
    			say(gameforge.collect_quest_lv30._320_say)
    		end
    
    		when __TARGET__.target.click  or	20018.chat.gameforge.collect_quest_lv30._330_npcChat  begin
    			target.delete("__TARGET__")
    			say_title(gameforge.collect_quest_lv30._340_sayTitle)
    			say(gameforge.collect_quest_lv30._350_say)
    			say_reward(gameforge.collect_quest_lv30._360_sayReward)
    
    			affect.add_collect(apply.MOV_SPEED, 10, 60*60*24*365*60) --60Jahre
    			pc.give_item2(50109)
    			clear_letter()
    			set_quest_state("collect_quest_lv40", "run")
    			set_state(__complete)
    		end
    
    	end
    
    
    	state __giveup__ begin
    		when 20084.chat.gameforge.collect_quest_lv30._370_npcChat begin
    			say_title(gameforge.collect_herb_lv10._50_sayTitle)
    			say(gameforge.collect_quest_lv30._380_say)
    			set_state(start)
    	     end
    	 end
    	state __complete begin
    	end
    end

    so this is what i did but it doesn't seem to work...

  5. 2 hours ago, Helicopterinhuh said:

    Hey guys

    I have a problem, I don't know if it's ever happened to anyone else. I downloaded the files via the mega link (the metin2.download link breaks when it reaches 2Gb, I don't know if it's just with my connection) and without making any type of modification (adding systems and the like), I just compile the server and the client. But the equipment disappears when I compile. The executable that comes in the compressed file does not have this error. Does anyone know what causes this problem?

      Reveal hidden contents

    spacer.png

     

    If your download brakes you're prolly missing files i would reccomend you get premium for 1 month on mega and dowload it again or try installing the MEGA app.

  6. 310 08:47:07828 :: 
    networkModule.py(line:208) SetSelectCharacterPhase
    system.py(line:130) __pack_import
    system.py(line:110) _process_result
    introSelect.py(line:30) <module>
    system.py(line:130) __pack_import
    system.py(line:110) _process_result
    interfaceModule.py(line:12) <module>
    system.py(line:130) __pack_import
    
    networkModule.SetSelectCharacterPhase - <type 'exceptions.IndentationError'>:unindent does not match any outer indentation level (uiInventory.py, line 313)
    
    0310 08:47:07829 :: ============================================================================================================
    0310 08:47:07829 :: Abort!!!!

    Could anyone explain or help? this is my 313 line in uiinvetory and it doesn't seem anything is wrong https://metin2.download/picture/GuUiJIkD9h5NpTthlBSVOXm6SEO3Z6ms/.png

  7. On 10/16/2019 at 11:17 PM, Mali said:

    M2 Download Center 

    This is the hidden content, please
    ( Internal )
    This is the hidden content, please
    ( GitHub )

     

     

    Prepared src packages:

    *Granny 2.11.8

    *libjpeg-9a

    *Python-2.7

    *Crypto++ 8.4.0

    *DevIL-1.6.5

    *lzo-2.10

    Archive password: black

    Hey Mali!!! Could you pls explain, so i added 4 inventory pages i did everything expect the client-source-userinterface how do i reach GameType.h  im a little bit lost here =P (SOLVED)

    • Metin2 Dev 2
×
×
  • 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.