Jump to content
×
×
  • Create New...
  • 0

Problem with quests


Indikator

Question

11 answers to this question

Recommended Posts

  • 0

[codesyntax]quest test_pvpecko begin
state start begin
when kill with npc.is_pc() begin
local vid = npc.get_vid()
local old_pc = pc.select(vid)
if old_pc != 0 then
local lev = pc.get_level()
local name = pc.get_name()
pc.select(old_pc)
if pc.get_level() >= 75 and pc.get_level() <= 80 then
pc.change_gold(5000)
pc.give_exp2(5000000)
chat("Zabil jsi: "..name..", level: "..lev)
elseif pc.get_level() >= 81 and pc.get_level() <= 84 then
pc.change_gold(10000)
pc.give_exp2(10000000)
chat("Zabil jsi: "..name..", level: "..lev)
elseif pc.get_level() >= 85 and pc.get_level() <= 90 then
pc.change_gold(15000)
pc.give_exp2(15000000)
chat("Zabil jsi: "..name..", level: "..lev)
end
end
end
end
end[/codesyntax]

 

Ingame - 0825_070319.jpg

Link to comment
Share on other sites

  • 0

Try this one:

quest test_pvpecko begin
	state start begin
		when kill with npc.is_pc() begin
			local vid = npc.get_vid()
			local old_pc = pc.select(vid)
			local show = 0
			if old_pc != 0 then
				local lev = pc.get_level()
				local name = pc.get_name()
				pc.select(old_pc)
				if pc.get_level() >= 75 and pc.get_level() <= 80 then
					pc.change_gold(5000)
					pc.give_exp2(5000000)
					show = 1
				elseif pc.get_level() >= 81 and pc.get_level() <= 84 then
					pc.change_gold(10000)
					pc.give_exp2(10000000)
					show = 1
				elseif pc.get_level() >= 85 and pc.get_level() <= 90 then
					pc.change_gold(15000)
					pc.give_exp2(15000000)
					show = 1
				end
				if show == 1 then chat("Zabil jsi: "..name..", level: "..lev) show = 0 end
			end
		end
	end
end
Link to comment
Share on other sites

  • 0

I discovered that problem is in every quest and isnt in Mijago system. Any ideas?

If you're using 34k game you can apply this diff:

 

0017F637: 89 90
0017F638: 5C 90
0017F639: 24 90
0017F63A: 04 90
0017F63B: 89 90
0017F63C: 04 90
0017F63D: 24 90
0017F63E: E8 90
0017F63F: 9D 90
0017F640: DC 90
0017F641: 00 90
0017F642: 00 90
  • Love 1
Link to comment
Share on other sites

  • 0

DIFF 34K FOR NPC GET VID

 

This difference file is created by IDA Pro | npc.get_vid() ~ P3NG3R


game_r34083_32
001690C3: 53 56
001690C4: 83 53
001690C5: EC 83
001690C6: 24 EC
001690C7: A1 20
001690C8: 18 8B
001690C9: 14 75
001690CA: 6A 08
001690CB: 08 A1
001690CC: 89 18
001690CD: 45 14
001690CE: F8 6A
001690CF: 31 08
001690D0: C0 89
001690D1: A1 45
001690D2: F0 F4
001690D3: 23 31
001690D4: 6A C0
001690D5: 08 A1
001690D6: 89 F0
001690D7: 04 23
001690D8: 24 6A
001690D9: E8 08
001690DA: F2 89
001690DB: F2 04
001690DC: 00 24
001690DD: 00 E8
001690DE: 85 EE
001690DF: C0 F2
001690E0: 89 00
001690E1: C3 00
001690E2: 74 85
001690E3: 07 C0
001690E4: 8B 75
001690E5: 40 2F
001690E6: 2C C7
001690E7: 85 44
001690E8: C0 24
001690E9: 74 04
001690EA: 15 00
001690EB: 31 00
001690EC: C0 00
001690ED: 8B 00
001690EE: 55 C7
001690EF: F8 44
001690F0: 33 24
001690F1: 15 08
001690F2: 18 00
001690F3: 14 00
001690F4: 6A 00
001690F5: 08 00
001690F6: 75 89
001690F7: 4F 34
001690F8: 83 24
001690F9: C4 E8
001690FA: 24 D2
001690FB: 5B E2
001690FC: 5D 28
001690FD: C3 00
001690FE: 89 8B
001690FF: F6 55
00169100: 89 F4
00169101: 1C 33
00169102: 24 15
00169103: E8 18
00169104: D8 14
00169105: A4 6A
00169106: EB 08
00169107: FF B8
00169108: 66 01
00169109: 3D 00
0016910A: 3F 00
0016910B: 4E 00
0016910D: DD 26
0016910E: C7 83
0016910F: 44 C4
00169110: 24 20
00169111: 04 5B
00169112: 5F 5E
00169113: 00 5D
00169114: 00 C3
00169115: 00 8B
00169116: 89 80
00169117: 1C 04
00169118: 24 01
00169119: E8 00
0016911A: A2 00
0016911B: BD 52
0016911C: EB 50
0016911D: FF DB
0016911E: C7 04
0016911F: 04 24
00169120: 24 83
00169121: 00 C4
00169122: 00 08
00169123: 00 DD
00169124: 00 5C
00169125: 83 24
00169126: E8 04
00169127: 01 89
00169128: 89 34
00169129: 44 24
0016912A: 24 E8
0016912B: 04 A1
0016912C: E8 E2
0016912D: BF 28
0016912E: 82 00
0016912F: 28 E9
00169130: 00 CA
00169131: C7 FF
00169132: 44 FF
00169133: 24 FF
00169134: 04 E8
00169135: 5F 47
00169136: 00 DA
00169137: 00 E9
00169138: 00 FF
00169139: 89 90
0016913A: 1C 90
0016913B: 24 90
0016913C: 89 90
0016913D: 44 90
0016913E: 24 90
0016913F: 08 90
00169140: E8 90
00169141: 5B 90
00169142: 1E 90
00169143: EC 90
00169144: FF 90
00169145: EB 90
00169146: A4 90
00169147: E8 90
00169148: 34 90
00169149: DA 90
0016914A: E9 90
0016914B: FF 90
00436D02: 64 67
00436D04: 63 74
00436D06: 72 76
00436D07: 65 69
00436D08: 6D 64
00436D09: 61 00

FOR GAME 2089

 

This difference file is created by The Interactive Disassembler


game2089
0014E673: 53 56
0014E674: 83 53
0014E675: EC 83
0014E676: 24 EC
0014E677: A1 20
0014E678: F8 8B
0014E679: 28 0D
0014E67A: 4C 20
0014E67B: 08 37
0014E67C: 89 4C
0014E67D: 45 08
0014E67E: F8 A1
0014E67F: 31 F8
0014E680: C0 28
0014E681: A1 4C
0014E682: 20 08
0014E683: 37 89
0014E684: 4C 45
0014E685: 08 F4
0014E686: 85 31
0014E688: 74 8B
0014E689: 74 75
0014E68A: A1 08
0014E68B: 20 90
0014E68C: 37 90
0014E68D: 4C 90
0014E68E: 08 90
0014E68F: 89 90
0014E690: 04 85
0014E691: 24 C9
0014E692: E8 74
0014E693: 59 5C
0014E694: FE A1
0014E695: 00 20
0014E696: 00 37
0014E697: 85 4C
0014E698: C0 08
0014E69A: C3 04
0014E69B: 74 24
0014E69C: 07 E8
0014E69D: 8B 4F
0014E69E: 40 FE
0014E69F: 24 00
0014E6A0: 85 00
0014E6A1: C0 85
0014E6A2: 74 C0
0014E6A3: 13 75
0014E6A4: 31 2F
0014E6A5: C0 C7
0014E6A6: 8B 44
0014E6A7: 55 24
0014E6A8: F8 04
0014E6A9: 33 00
0014E6AA: 15 00
0014E6AB: F8 00
0014E6AC: 28 00
0014E6AD: 4C C7
0014E6AE: 08 44
0014E6AF: 75 24
0014E6B0: 76 08
0014E6B1: 83 00
0014E6B2: C4 00
0014E6B3: 24 00
0014E6B4: 5B 00
0014E6B5: 5D 89
0014E6B6: C3 34
0014E6B7: 89 24
0014E6B8: 1C E8
0014E6B9: 24 03
0014E6BA: E8 63
0014E6BB: 31 18
0014E6BC: 38 00
0014E6BD: ED 8B
0014E6BE: FF 55
0014E6BF: 66 F4
0014E6C0: 3D 33
0014E6C1: 3F 15
0014E6C2: 4E F8
0014E6C3: 75 28
0014E6C4: DF 4C
0014E6C5: C7 08
0014E6C6: 44 B8
0014E6C7: 24 01
0014E6C8: 04 00
0014E6C9: 5F 00
0014E6CB: 00 75
0014E6CC: 00 4C
0014E6CD: 89 83
0014E6CE: 1C C4
0014E6CF: 24 20
0014E6D0: E8 5B
0014E6D1: 3B 5E
0014E6D2: 56 5D
0014E6D3: ED C3
0014E6D4: FF 8B
0014E6D5: C7 80
0014E6D6: 04 FC
0014E6D7: 24 00
0014E6DA: 00 52
0014E6DB: 00 50
0014E6DC: 83 DB
0014E6DD: E8 04
0014E6DE: 01 24
0014E6DF: 89 83
0014E6E0: 44 C4
0014E6E1: 24 08
0014E6E2: 04 DD
0014E6E3: E8 5C
0014E6E4: 68 24
0014E6E5: F6 04
0014E6E6: 17 89
0014E6E7: 00 34
0014E6E8: C7 24
0014E6E9: 44 E8
0014E6EA: 24 D2
0014E6EB: 04 62
0014E6EC: 5F 18
0014E6EE: 00 EB
0014E6EF: 00 CD
0014E6F0: 89 C7
0014E6F1: 1C 44
0014E6F3: 89 0C
0014E6F4: 44 E4
0014E6F5: 24 7B
0014E6F6: 08 33
0014E6F7: E8 08
0014E6F8: 74 C7
0014E6F9: 90 44
0014E6FA: ED 24
0014E6FB: FF 08
0014E6FC: EB 1A
0014E6FD: A6 00
0014E6FE: C7 00
0014E6FF: 44 00
0014E700: 24 C7
0014E701: 0C 44
0014E702: E4 24
0014E703: 7B 04
0014E704: 33 CA
0014E705: 08 7B
0014E706: C7 33
0014E707: 44 08
0014E708: 24 C7
0014E709: 08 04
0014E70A: 1A 24
0014E70B: 00 50
0014E70C: 00 A4
0014E70D: 00 35
0014E70E: C7 08
0014E70F: 44 E8
0014E710: 24 98
0014E711: 04 64
0014E712: CA EB
0014E713: 7B FF
0014E714: 33 E9
0014E715: 08 7B
0014E716: C7 FF
0014E717: 04 FF
0014E718: 24 FF
0014E719: 50 E8
0014E71A: A4 5E
0014E71B: 35 6A
0014E71C: 08 EB
0014E71D: E8 FF
0014E71E: 8A 90
0014E71F: 64 90
0014E720: EB 90
0014E721: FF 90
0014E722: E9 90
00312361: 64 67
00312363: 63 74
00312365: 72 76
00312366: 65 69
00312367: 6D 64
00312368: 61 00

 

Link to comment
Share on other sites

  • 0

 

I discovered that problem is in every quest and isnt in Mijago system. Any ideas?

If you're using 34k game you can apply this diff:

0017F637: 89 90
0017F638: 5C 90
0017F639: 24 90
0017F63A: 04 90
0017F63B: 89 90
0017F63C: 04 90
0017F63D: 24 90
0017F63E: E8 90
0017F63F: 9D 90
0017F640: DC 90
0017F641: 00 90
0017F642: 00 90

Thank you so much, now its worked normal (y)

Link to comment
Share on other sites

  • 0

 

 

I discovered that problem is in every quest and isnt in Mijago system. Any ideas?

If you're using 34k game you can apply this diff:

0017F637: 89 90
0017F638: 5C 90
0017F639: 24 90
0017F63A: 04 90
0017F63B: 89 90
0017F63C: 04 90
0017F63D: 24 90
0017F63E: E8 90
0017F63F: 9D 90
0017F640: DC 90
0017F641: 00 90
0017F642: 00 90

Thank you so much, now its worked normal (y)

 

No problem.
Besides I don't recommend using 34k game. It has many, many bugs.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Activity

    1. 4

      Ludus2: a metin2-like browser game

    2. 6
    3. 9

      Help in implementing a switch bot

    4. 0

      Special Inventory System Can't Sell To Npc's

    5. 0

      ROV2.GLOBAL | International | Server start 14.05.2022

    6. 75

      Services - System Ard [C ++ / Python / Lua]

    7. 76

      Chatting Window Renewal (Mini Version)

    8. 2

      ItemShop GM ZONE TAB

  • Recently Browsing

    • No registered users viewing this page.

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.