-
Posts
1298 -
Joined
-
Last visited
-
Days Won
38 -
Feedback
100%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by Syreldar
-
-
Not that one, there's one quest that sets the target to the NPC, i need that one.
-
Post the quest.
-
The answer below is correct. I need some sleep.
-
The only 2 other errors i see in the quest are the usage of game.get_event_flags to assign a personal flag to a player and deleting a clear_server_timer using get_server_timer_arg() outside of server_timer scope, but the error you're getting depends solely on you, the set_warp_location snippet is fine.
-
Quote
d.set_warp_location(data["outside_index"], outside_coords_l["x"], outside_coords_l["y"]);
use
Quotepc.set_warp_location(data["outside_index"], outside_coords_l["x"], outside_coords_l["y"]);
make sure ["outside_Pos"] are correct.
-
2 hours ago, xKnox said:
I see, didn't know anything about this, sorry
Yes, now it's working, thank you!
But there's another issue, after I killed the Razador I'm being teleported to the same map: https://metin2.download/picture/A276Bolx8YT5EvFYP8Y6Vs3654b5nuDC/.png and it's something like this .
235 metin2_map_n_flame_dungeon_01
And that's the index, I think it doesn't change it after I'm being teleported, how could I change this?The lib is there, it's the file that contains the functions like "BlazingPurgatory.ReturnData()" provide it if possible.
-
19 minutes ago, WeedHex said:
I knew it xD
QC compiler ignore them, so useless. Btw they stole/copied your codes? It means you're a good LUA boy, dont help them
Braxy did and sold quests to many, this guy is one of them.
-
6 hours ago, xKnox said:
Hello there, I'm using this quest for the Razador Purgatory:
quest BlazingPurgatory_Zone begin state start begin when login with BlazingPurgatory.isInDungeon() begin local data = BlazingPurgatory.ReturnData(); local outside_coords_l = data["outside_Pos"]; local FirstBossCoords = data["boss_Posit"]; d.set_warp_location(data["outside_index"], outside_coords_l["x"], outside_coords_l["y"]); if (party.is_party() and party.is_leader() or not party.is_party()) then d.spawn_mob(data["PurgatoryKing"], FirstBossCoords["x"], FirstBossCoords["y"]); d.regen_file(get_locale_base_path().."/quest/dungeon/flame_dungeon/blazingpurgatory_monster_7.txt"); server_timer("blazingpurgatory_time_out", data["time_until_you_got_kicked"], d.get_map_index()); d.notice(string.format("From now on you will have %s.", get_time_format(data["time_until_you_got_kicked"]))) d.notice("to complete the dungeon.") end end when logout with BlazingPurgatory.isInDungeon() begin local data = BlazingPurgatory.ReturnData(); if (data["time_after_you_complete_the_dungeon"] > 0) then local party_pids = party_get_member_pids(); BlazingPurgatory.setWatingTime(party_pids); end end when kill with BlazingPurgatory.isInDungeon() begin local data = BlazingPurgatory.ReturnData(); if npc.get_race() == data["PurgatoryKing"] then clear_server_timer("blazingpurgatory_time_out", get_server_timer_arg()); server_timer("blazingpurgatory_time_out", 60, d.get_map_index()); BlazingPurgatory.ClearDungeon(); d.notice(" Congralutions, Razador was defeated.") d.notice(" You will be teleported in 60 seconds.") end end when blazingpurgatory_time_out.server_timer begin if (d.select(get_server_timer_arg())) then d.notice("Time expired, you will be teleported outside.") d.exit_all(); end end when 20394.chat."Enter the BlazingPurgatory" with not BlazingPurgatory.isInDungeon() begin say_title(string.format("%s:[ENTER]", mob_name(npc.get_race()))) say("Would you like to enter and destroy the Razador?") if (select("Yes", "No") == 1) then if BlazingPurgatory.CheckInfo() then BlazingPurgatory.EnterInDungeon(); end end end end end
The problem is that the timer is not working at all, I can re-enter the dungeon how many times I want, could you please tell me what's wrong or anything that can help me?
Your problem is unclear to me, could you please describe it better and also provide the Library file I'm sure comes with the quest? Thanks.
-
3 hours ago, WeedHex said:
; in LUA ahaha
Let me clear this up for you: The quest clearly comes from Braxy, and Braxy copied a lot of my old code.
";" is one of the little things I use in Lua, like a signature, that helps me determine wether or not that code snippet is mine, cause I'm the only one who does it, and changes virtually nothing, so there's nothing to laugh about.
Also could you please not comment unless you wanna try and be helpful?
- 1
-
I'm curious as of how you "analyzed" the problem with the game.core not even being in debug mode.
- 1
-
- 1
-
On 10/11/2020 at 4:21 PM, Gurgarath said:
You... Always... Were..
Simp detected
- 1
- 1
-
Do you really expect to get support when you clearly got the leaked version of the system online? We don't do that, here.
-
9 hours ago, weryoliveira said:
Now i'm have one problem in my server and idk why this is happening because, i'm not see this before in probably 4 years, i'm using martysama files and my tower when i stay in 5th floor, and need drop keys, the mobs didn't respaw after kill, if i drop the key and drag in npc look ok but mobs didn't come more, someone can help my? i didn't have any syserr in core and nothing using test_server, just didn't respawn after death, and my regen is this
Post the quest.
-
2 hours ago, Shang said:
It isn't. You should be able to do this:
https://metin2.download/picture/Qnb77z7d6E8OLwQru4I3201eaK89kiK8/.gif
That's what this fix offers.
Oh you quoted me on a 2 year old post haha
-
34 minutes ago, Cripplez said:
I will explain better, it's impossible what is happening to me..
this is for example the regen.txt of the bayblack map and everything is okay, it is spawning the group 3023
If i try to use the same group vnum in the regen.txt of the new map, like this:When i start the server i will have this error in the syserr:
SYSERR: Jul 14 19:16:26 :: SpawnMob: SpawnMob: no mob data for vnum 3023But in the baybalck map everything is ok, in the other map there are no mob
If i try to use "g" instead of "r" for example with the group mob vnum 3023 i will receive the same syserr error and if i try to use "g" and the mob vnum 101 (the same group for wolves of village 1) instead of the group of mobs it will spawn only the mob 101, not the group
the stone.txt and boss.txt is working okay for metin stones and bosses, just regen.txt notYou're not giving random coordinate spaces to them, you cannot use 0 and 0 as randx and randy, min. 1 for both.
-
you're using the arg "m" instead of "g" in the regen, so it tries to spawn the mob instead of a group.
-
show ninetails values in database.
-
1 minute ago, GameAthar said:
I tried the but it does not work, and I don't know why!
debug it? lol
-
It's quest related, I would need to see the quest to help you, though.
-
local _, player_search_check = mysql.direct_query(string.format("SELECT name FROM player.player WHERE name = '%s';", player_search)); if (player_search_check[1] ~= nil) then chat(string.format("Hello %s.", player_search_check[1].name)) -- or.. chat(string.format("Hello %s.", player_search)) -- Since the name exist and it will be the same. else -- Player doesn't exist in the database. end -- if/else
-
local _, player_search_check = mysql.direct_query(string.format("SELECT name FROM player.player WHERE name = '%s';", player_search)); if (player_search_check[1] ~= nil) then -- Player exists in the database. else -- Player doesn't exist in the database. end -- if/else
- 1
-
I'll give you an hint.
20 -> -20 --> 40 -> -40 --> 60 -> -60
- 1
-
21 minutes ago, Alerin said:
Thank you for opinion. You can do it nicely in an array, but I made editing the version for the less experienced easier. I also try to avoid unnecessary loops. Lua is the fastest scripting language but implementation in metin is scary.
Don't be scared using loops by any means, they work fine and fast.
Arrow NPC Effect Bug
in Community Support - Questions & Answers
Posted · Edited by Syreldar
Navigate to quest/object and screenshot the content of the folder 60003