Jump to content

xKnox

Inactive Member
  • Posts

    9
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by xKnox

  1. Hello to everyone. As you can see in the title I'm looking for a developer that I can trust and I can count on, I don't need the usual kids that are going to scam me one way or another, I will ask for some portofolio or something that proves that I can trust you. The server is already 90% done so you don't have a lot of things to do. This is a long-term project, I need someone with me that knows what he's doing, I'm in a bit of hurry, so please contact me as soon as possible in a private message here on the forum and then we will move on to Discord, we will talk about the payment and other agreements in private. Thank you! 

  2. 1 hour ago, Syreldar said:

    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.

    Well, I have no idea, the mapindex is good, the coordonates are good, but it's still teleporting me to the same mapindex as the razador out of no where..

  3. 47 minutes ago, Braxy said:

    As i said, these quests were spread everywhere. The problem comes because you don't have a func that returns the player pids from party.

    party_get_member_pids = function()
        local pids = {party.get_member_pids()};
        return pids;
    end

    add this in questlib

    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/C3MS1C83CadtR2KQyywBmd7Nwg1spsK9/.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?

  4. 7 hours 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 ;) 

    I didn't stole anything, I paid for this quest. This one was sold by another guy, I couldn't know if he was the original author, I'm sorry.

    6 hours ago, Syreldar said:

    Braxy did and sold quests to many, this guy is one of them. 

    I'm really sorry about this situation, I really didn't know, there was another guy that sold me this quest, not Braxy, and he's not responding to anything, the irony :). The quest didn't come with any lib files, he told me this is all I need so I can get to the Razador directly without doing the run and that's what I needed. The timer is completely fucked up basically, I can enter the dungeon, kill Razador but I can do it for how many times I want because the timer is not working, so if I killed the Razador now after I'm being teleported outside I can do it again at the same time..

    This is what I receive in sysser:

     

    SYSERR: Dec 6 22:59:29 :: RunState: LUA_ERROR: [string "BlazingPurgatory_Zone"]:3: attempt to call global `party_get_member_pids' (a nil value) SYSERR: Dec 6 22:59:29 :: WriteRunningStateToSyserr: LUA_ERROR: quest BlazingPurgatory_Zone.start click

     

    I have party_get_member_pids in quest_function and questlua_party.cpp

    I'm really stuck here, I don't know what should I do..

  5. 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?

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