Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

Problem z dozorca


Rekomendowane odpowiedzi

Opublikowano

Czesc mam problem i co najsmieszniejsze od bardzo dawna ;p

 

Wogole nie dziala mi dozorca po wpisaniu hasla 000000 po prostu nie reaguje

zle haslo odpada poniewaz robilem nowe konta nawet znajomi mi to testowali i takze nie bylo odzewu :/

Tylko jest problem dlaczego ? ItemShop normalnie sie odpala po wpisaniu hasla

 

A w sysser nic nie ma oprocz:

 

1112 18:28:08370 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x80000015, which doesn't match this version of Granny (0x80000010).  Automatic conversion will be attempted.

8999514546913221016689.png

Opublikowano

Co pokazuje syserr serwerowy?

Hmm  syserr z ch1 z id dozorcy "9005"

 

SYSERR: Oct 15 06:39:51 :: ChildLoop: AsyncSQL: query failed: Data too long for column 'username' at row 1 (query: INSERT DELAYED INTO command_log (userid, server, ip, port, username, command, date ) VALUES(58909, 999, 'MOJEIPNIEDLAWAS', 1, '[.*.Erion.*.]', 'm 9005', NOW())  errno: 1406)

Trudno mi sie polapac bo prawie 800mb ten syserr ma :O

8999514546913221016689.png

Opublikowano

Hmm  syserr z ch1 z id dozorcy "9005"

SYSERR: Oct 15 06:39:51 :: ChildLoop: AsyncSQL: query failed: Data too long for column 'username' at row 1 (query: INSERT DELAYED INTO command_log (userid, server, ip, port, username, command, date ) VALUES(58909, 999, 'MOJEIPNIEDLAWAS', 1, '[.*.Erion.*.]', 'm 9005', NOW())  errno: 1406)

Trudno mi sie polapac bo prawie 800mb ten syserr ma :O

Tabelki w bazie zjebane. Wgraj z jakichs plików user do db w ftp

Opublikowano

Hmm  syserr z ch1 z id dozorcy "9005"

SYSERR: Oct 15 06:39:51 :: ChildLoop: AsyncSQL: query failed: Data too long for column 'username' at row 1 (query: INSERT DELAYED INTO command_log (userid, server, ip, port, username, command, date ) VALUES(58909, 999, 'MOJEIPNIEDLAWAS', 1, '[.*.Erion.*.]', 'm 9005', NOW())  errno: 1406)

Trudno mi sie polapac bo prawie 800mb ten syserr ma :O

 

Wyczyść i włącz od nowa serwer po czym wpisz hasło do dozorcy. Wtedy daj cały syserr najlepiej na wklej.to

Opublikowano

Wyczyść i włącz od nowa serwer po czym wpisz hasło do dozorcy. Wtedy daj cały syserr najlepiej na wklej.to

 

 

SYSERR: Nov 13 17:13:15 :: GetMotionFileName: Motion: 0 have not motlist.txt vnum(2093) folder(0)
SYSERR: Nov 13 17:13:15 :: GetMotionFileName: Motion: 0 have not motlist.txt vnum(2093) folder(0)
SYSERR: Nov 13 17:13:15 :: GetMotionFileName: Motion: 0 have not motlist.txt vnum(2093) folder(0)
SYSERR: Nov 13 17:13:15 :: GetMotionFileName: Motion: 0 have not motlist.txt vnum(2097) folder(0)
SYSERR: Nov 13 17:13:15 :: GetMotionFileName: Motion: 0 have not motlist.txt vnum(2097) folder(0)
SYSERR: Nov 13 17:13:15 :: GetMotionFileName: Motion: 0 have not motlist.txt vnum(2097) folder(0)
SYSERR: Nov 13 17:13:39 :: GetServerLocation: location error name testererere mapindex 21 51845 x 166673 empire 2
SYSERR: Nov 13 17:13:39 :: GetServerLocation: cannot find server for mapindex 21 55700 x 157900 (name testererere)
SYSERR: Nov 13 17:13:45 :: GetServerLocation: location error name testererere mapindex 21 51845 x 166673 empire 2
SYSERR: Nov 13 17:13:45 :: GetServerLocation: cannot find server for mapindex 21 55700 x 157900 (name testererere)
SYSERR: Nov 13 17:13:46 :: ItemLoad: cannot create item by vnum 800014 (name [.*.Erion.*.] id 10759561)
SYSERR: Nov 13 17:13:46 :: ItemLoad: cannot create item by vnum 800015 (name [.*.Erion.*.] id 10759560)
SYSERR: Nov 13 17:13:46 :: ItemLoad: cannot create item by vnum 292999 (name [.*.Erion.*.] id 10758552)
SYSERR: Nov 13 17:13:46 :: ItemLoad: cannot create item by vnum 393999 (name [.*.Erion.*.] id 10758554)
SYSERR: Nov 13 17:13:58 :: ChildLoop: AsyncSQL: query failed: Data too long for column 'username' at row 1 (query: INSERT DELAYED INTO command_log (userid, server, ip, port, username, command, date ) VALUES(58909, 999, 'xxxxxxx', 1, '[.*.Erion.*.]', 'xmas 1', NOW())  errno: 1406)

 

Po wpisaniu hasla raczej nic od dozorcy nie wyskakuje

8999514546913221016689.png

Opublikowano
SYSERR: Nov 13 17:13:15 :: GetMotionFileName: Motion: 0 have not motlist.txt vnum(2093) folder(0)
SYSERR: Nov 13 17:13:15 :: GetMotionFileName: Motion: 0 have not motlist.txt vnum(2093) folder(0)
SYSERR: Nov 13 17:13:15 :: GetMotionFileName: Motion: 0 have not motlist.txt vnum(2093) folder(0)
SYSERR: Nov 13 17:13:15 :: GetMotionFileName: Motion: 0 have not motlist.txt vnum(2097) folder(0)
SYSERR: Nov 13 17:13:15 :: GetMotionFileName: Motion: 0 have not motlist.txt vnum(2097) folder(0)
SYSERR: Nov 13 17:13:15 :: GetMotionFileName: Motion: 0 have not motlist.txt vnum(2097) folder(0)
SYSERR: Nov 13 17:13:39 :: GetServerLocation: location error name testererere mapindex 21 51845 x 166673 empire 2
SYSERR: Nov 13 17:13:39 :: GetServerLocation: cannot find server for mapindex 21 55700 x 157900 (name testererere)
SYSERR: Nov 13 17:13:45 :: GetServerLocation: location error name testererere mapindex 21 51845 x 166673 empire 2
SYSERR: Nov 13 17:13:45 :: GetServerLocation: cannot find server for mapindex 21 55700 x 157900 (name testererere)
SYSERR: Nov 13 17:13:46 :: ItemLoad: cannot create item by vnum 800014 (name [.*.Erion.*.] id 10759561)
SYSERR: Nov 13 17:13:46 :: ItemLoad: cannot create item by vnum 800015 (name [.*.Erion.*.] id 10759560)
SYSERR: Nov 13 17:13:46 :: ItemLoad: cannot create item by vnum 292999 (name [.*.Erion.*.] id 10758552)
SYSERR: Nov 13 17:13:46 :: ItemLoad: cannot create item by vnum 393999 (name [.*.Erion.*.] id 10758554)
SYSERR: Nov 13 17:13:58 :: ChildLoop: AsyncSQL: query failed: Data too long for column 'username' at row 1 (query: INSERT DELAYED INTO command_log (userid, server, ip, port, username, command, date ) VALUES(58909, 999, 'xxxxxxx', 1, '[.*.Erion.*.]', 'xmas 1', NOW())  errno: 1406)

Po wpisaniu hasla raczej nic od dozorcy nie wyskakuje

 

Tak jak pisałem napraw tabelki a jak to nie pomoze zmien plik user w db.

 

Z błędu wynika ze data w kolumnie "username" jest za duża

 

 

btw. Jak wygląda sprawa z questem na dozorce ? Mógłbyś tutaj wrzucić ?

Opublikowano

Tak jak pisałem napraw tabelki a jak to nie pomoze zmien plik user w db.

 

Z błędu wynika ze data w kolumnie "username" jest za duża

 

 

btw. Jak wygląda sprawa z questem na dozorce ? Mógłbyś tutaj wrzucić ?

Ok zaraz sprawdze z tymi tabelkami ;p

 

a tutaj jest quest

 

quest stash begin
    state start begin
        when warehouse_keeper.click begin
            local l = game.get_safebox_level()
            if l == 0 then
                say(locale.stash.greet1)
                if pc.gold < 500 then
                    say(locale.stash.not_enough_money)
                else
                    local s = select(locale.stash.pay_ok, locale.stash.pay_no)
                    if s == 1 then
                    pc.changegold(-500)
                    game.set_safebox_level(1)
                    say(locale.stash.first_open)
                    else
                    say(locale.stash.dont_open)
                    end
                end
            elseif l == 1 then
                say_trawa("Dozorca:")
                say("")
                if pc.getqf("open_count") < 3 then
                    say(locale.stash.beginner_info)
                    pc.setqf("open_count",pc.getqf("open_count")+1)
                end
                local s = select(locale.stash.open_stash, locale.stash.buy_silver_and_gold_bar, locale.stash.open_mall, locale.stash.nomatter)
                if s == 1 then
                    game.open_safebox()
                elseif s == 2 then
                    say_trawa("Dozorca:")
                    say("")
                    say("Wszystkie kopalnie są wyeksplotowane.")
                    say("Ciężko jest znaleźć coś cennego.")
                    say("Narazie mogę zaoferować Ci to. ")
                    npc.open_shop()
                    q.done()
                elseif s == 3 then
                    game.open_mall()
                end
            elseif l == 2 then
                say(locale.stash.greet3)
                local f = pc.getqf("recommendation")
                local s = 0
                if f <= 1 then
                    s = select(locale.stash.enlarge, locale.stash.open_stash, locale.stash.buy_silver_and_gold_bar, locale.stash.open_mall, locale.stash.nomatter)
                elseif f == 2 then
                    s = select(locale.stash.enlarge_2_no_mark, locale.stash.open_stash, locale.stash.buy_silver_and_gold_bar, locale.stash.open_mall, locale.stash.nomatter)
                elseif f == 3 then
                    s = select(locale.stash.enlarge_2_have_mark, locale.stash.open_stash, locale.stash.buy_silver_and_gold_bar, locale.stash.open_mall, locale.stash.nomatter)
                end
                if s == 1 then
                    if f == 1 then
                        say(locale.stash.enlarge_2_again)
                        q.set_title(locale.stash.enlarge_2_title)
                        if pc.countitem(locale.stash.enlarge_2_item) < 1 then
                            pc.give_item2(locale.stash.enlarge_2_item)
                        end
                    elseif f == 2 then
                        say(locale.stash.enlarge_2_no_mark2)
                        pc.setqf("recommendation", 0)
                        q.done()
                    elseif f == 3 then
                        if pc.countitem(locale.stash.enlarge_2_mark_item) == 0 then
                            say(locale.stash.enlarge_2_have_mark2)
                            q.set_title(locale.stash.enlarge_2_title)
                            q.start()
                            pc.setqf("recommendation", 1)
                        else
                            say(locale.stash.enlarge_2_have_mark3)
                            game.set_safebox_level(3)
                            pc.removeitem(locale.stash.enlarge_2_mark_item)
                            q.done()
                        end
                    else
                        say(locale.stash.enlarge_2_msg1,pc.name,math.mod(pc.job,2)==0 and locale.man_postfix or locale.woman_postfix,locale.stash.enlarge_2_msg2)
                        if pc.countitem(locale.stash.enlarge_2_item)<1 then
                            pc.give_item2(locale.stash.enlarge_2_item)
                        end
                        pc.setqf("recommendation",1)
                        q.set_title(locale.stash.enlarge_2_title)
                        q.start()
                    end
                elseif s == 2 then
                    game.open_safebox()
                elseif s == 3 then
                    npc.open_shop()
                    say_trawa("Dozorca:")                    say("Wszystkie kopalnie są wyeksplotowane.")
                    say("Ciężko jest znaleźć coś cennego.")
                    say("Narazie mogę zaoferować Ci to. ")
                    q.done()
                elseif s == 4 then
                    game.open_mall()
                end
            elseif l == 3 then
                say_trawa("Dozorca:")
                local s = select(locale.stash.open_stash, locale.stash.buy_silver_and_gold_bar, locale.stash.open_mall, locale.stash.nomatter)
                if s == 1 then
                    game.open_safebox()
                elseif s == 2 then
                    npc.open_shop()
                    say_trawa("Dozorca:")                    say("Wszystkie kopalnie są wyeksplotowane.")
                    say("Ciężko jest znaleźć coś cennego.")
                    say("Narazie mogę zaoferować Ci to. ")
                    q.done()
                elseif s == 3 then
                    game.open_mall()
                end
            elseif l >= 3 then
                say(locale.stash.greet2)
                local s = select(locale.stash.open_stash, locale.stash.buy_silver_and_gold_bar, locale.stash.open_mall, locale.stash.nomatter)
                if s == 1 then
                    game.open_safebox()
                elseif s == 2 then
                    npc.open_shop()
                    say_trawa("Dozorca:")                    say("Wszystkie kopalnie są wyeksplotowane.")
                    say("Ciężko jest znaleźć coś cennego.")
                    say("Narazie mogę zaoferować Ci to. ")
                    q.done()
                elseif s == 3 then
                    game.open_mall()
                end
            end
        end
        when oldwoman.chat.locale.stash.enlarge_2_recommendation with pc.getf("stash","recommendation") == 1 begin
            say(locale.stash.enlarge_2_oldwoman_greet)
            say(delay(400), ". . . [/DELAY]")
            if pc.level < 25 then
                say(locale.stash.enlarge_2_oldwoman_reject)
                pc.setqf("recommendation", 2)
                q.set_title(locale.stash.enlarge_2_oldwoman_title1)
            else
                say(locale.stash.enlarge_2_oldwoman_accept)
                pc.setqf("recommendation", 3)
                pc.give_item2(locale.stash.enlarge_2_mark_item)
                q.set_title(locale.stash.enlarge_2_oldwoman_title2)
            end
            pc.removeitem(locale.stash.enlarge_2_item)
        end
    end
    state enlarge_stash1 begin
        when info begin
            setskin(SCROLL)
            setbgimage("level_bg.tga")
            addimage(20,12,special.levelup_quest[8][4])
            setcolor(0,0,0)
            say(locale.stash.enlarge_1_info1,item_name(pc.job<3 and locale.stash.enlarge_item1 or locale.stash.enlarge_item2),locale.stash.enlarge_1_info2)
            if pc.get_map_index() > 0 and pc.get_map_index() <= table.getn(special.lvq_map) then
                for j,i in {8,9,10,11,17} begin
                    table.foreachi(
                    special.lvq_map[pc.get_map_index()][i],
                    function (n,p) addmapsignal(p[1]*100, p[2]*100) end)
                end
                setmapcenterposition(200, 0)
            end
            select(locale.confirm)
            clearmapsignal()
            setskin(NOWINDOW)
        end
        when warehouse_keeper.click begin
            say(locale.stash.greet2)
            local s = select(locale.stash.enlarge_1_take_bear,locale.stash.open_stash, locale.stash.open_mall, locale.stash.nomatter);
            if s == 1 then
                if pc.countitem(locale.stash.enlarge_1_item)>=30 then
                    say(locale.stash.enlarge_1_success)
                    pc.removeitem(locale.stash.enlarge_1_item,30)
                    game.set_safebox_level(2)
                    setstate(start)
                    q.done()
                    cleartimer("enlarge_1_kill_bear")
                else
                    say(locale.stash.enlarge_1_notyet)
                end
            elseif s == 2 then
                game.open_safebox()
            elseif s == 3 then
                game.open_mall()
            end
        end
        when kill begin
            if npc.race >= 112 and npc.race <= 116 and (pc.weapon == 50 or pc.weapon == 5030) then
                if math.random(5) == 1 then
                    syschat(locale.stash.enlarge_1_getone)
                    pc.give_item2(locale.stash.enlarge_1_item)
                    if pc.countitem(locale.stash.enlarge_1_item) == 30 then
                        q.set_counter_value(0)
                        chat(pc.name,locale.stash.enlarge_1_complete)
                    elseif pc.countitem(locale.stash.enlarge_1_item) < 30 then
                        q.set_counter_value(30 - pc.countitem(locale.stash.enlarge_1_item))
                    end
                end
            end
        end
        when enlarge_1_kill_bear.timer begin
            setstate(enlarge_1_fail)
        end
        when login begin
            if game.get_safebox_level() == 1 then
                setstate(enlarge_1_fail)
            else
                setstate(start)
            end
        end
    end
    state enlarge_1_fail begin
        when info begin
            say(locale.stash.enlarge_1_fail_info)
        end
        when warehouse_keeper.click begin
            say(locale.stash.enlarge_1_fail_ms)
            q.done()
            setstate(start)
        end
    end
    state enlarge_3 begin
        when info begin
        end
        when warehouse_keeper.click begin
            say(locale.stash.greet2)
            local s = select(locale.stash.enlarge_3_complete, locale.stash.open_stash, locale.stash.open_mall, locale.stash.nomatter)
            if s == 1 then
                if pc.getqf("3_left_count")<=0 then
                    say(locale.stash.enlarge_3_success)
                    game.set_safebox_level(4)
                    setstate(start)
                    q.done()
                    cleartimer("enlarge_3_kill_esoteric")
                else
                    say(locale.stash.enlarge_3_notyet)
                end
            elseif s == 2 then
                game.open_safebox()
            elseif s == 3 then
                game.open_mall()
            end
        end
        when kill begin
            if npc.race >= 601 and npc.race <= 609 then-- ??????
                local n = pc.getqf("3_left_count")-1
                pc.setqf("3_left_count",n)
                q.set_counter_name(locale.stash.enlarge_3_counter)
                q.set_counter_value(n)
            end
        end
        when enlarge_3_kill_esoteric.timer begin
            local t = pc.getqf("3_left_time")
            if t <= 0 then
                setstate(enlarge_3_fail)
                cleartimer("enlarge_3_kill_esoteric")
            else
                pc.setqf("3_left_time",t-3);
            end
        end
        when login begin
            local t = pc.getqf("3_left_time")
            if t <= 0 then
                setstate(enlarge_3_fail)
            else
                loop_timer("enlarge_3_kill_esoteric",3)
                q.set_counter_name(locale.stash.enlarge_3_counter)
                q.set_counter_value(pc.getqf("3_left_count"))
                q.set_clock_name(locale.stash.enlarge_3_timer)
                q.set_clock_value(t)
                q.start()
            end
        end
    end
    state enlarge_3_fail begin
        when warehouse_keeper.click begin
            say(locale.stash.enlarge_1_fail_msg)
            q.done()
            setstate(start)
        end
    end
end

8999514546913221016689.png

Opublikowano

 

Ok zaraz sprawdze z tymi tabelkami ;p

 

a tutaj jest quest

quest stash begin
    state start begin
        when warehouse_keeper.click begin
            local l = game.get_safebox_level()
            if l == 0 then
                say(locale.stash.greet1)
                if pc.gold < 500 then
                    say(locale.stash.not_enough_money)
                else
                    local s = select(locale.stash.pay_ok, locale.stash.pay_no)
                    if s == 1 then
                    pc.changegold(-500)
                    game.set_safebox_level(1)
                    say(locale.stash.first_open)
                    else
                    say(locale.stash.dont_open)
                    end
                end
            elseif l == 1 then
                say_trawa("Dozorca:")
                say("")
                if pc.getqf("open_count") < 3 then
                    say(locale.stash.beginner_info)
                    pc.setqf("open_count",pc.getqf("open_count")+1)
                end
                local s = select(locale.stash.open_stash, locale.stash.buy_silver_and_gold_bar, locale.stash.open_mall, locale.stash.nomatter)
                if s == 1 then
                    game.open_safebox()
                elseif s == 2 then
                    say_trawa("Dozorca:")
                    say("")
                    say("Wszystkie kopalnie są wyeksplotowane.")
                    say("Ciężko jest znaleźć coś cennego.")
                    say("Narazie mogę zaoferować Ci to. ")
                    npc.open_shop()
                    q.done()
                elseif s == 3 then
                    game.open_mall()
                end
            elseif l == 2 then
                say(locale.stash.greet3)
                local f = pc.getqf("recommendation")
                local s = 0
                if f <= 1 then
                    s = select(locale.stash.enlarge, locale.stash.open_stash, locale.stash.buy_silver_and_gold_bar, locale.stash.open_mall, locale.stash.nomatter)
                elseif f == 2 then
                    s = select(locale.stash.enlarge_2_no_mark, locale.stash.open_stash, locale.stash.buy_silver_and_gold_bar, locale.stash.open_mall, locale.stash.nomatter)
                elseif f == 3 then
                    s = select(locale.stash.enlarge_2_have_mark, locale.stash.open_stash, locale.stash.buy_silver_and_gold_bar, locale.stash.open_mall, locale.stash.nomatter)
                end
                if s == 1 then
                    if f == 1 then
                        say(locale.stash.enlarge_2_again)
                        q.set_title(locale.stash.enlarge_2_title)
                        if pc.countitem(locale.stash.enlarge_2_item) < 1 then
                            pc.give_item2(locale.stash.enlarge_2_item)
                        end
                    elseif f == 2 then
                        say(locale.stash.enlarge_2_no_mark2)
                        pc.setqf("recommendation", 0)
                        q.done()
                    elseif f == 3 then
                        if pc.countitem(locale.stash.enlarge_2_mark_item) == 0 then
                            say(locale.stash.enlarge_2_have_mark2)
                            q.set_title(locale.stash.enlarge_2_title)
                            q.start()
                            pc.setqf("recommendation", 1)
                        else
                            say(locale.stash.enlarge_2_have_mark3)
                            game.set_safebox_level(3)
                            pc.removeitem(locale.stash.enlarge_2_mark_item)
                            q.done()
                        end
                    else
                        say(locale.stash.enlarge_2_msg1,pc.name,math.mod(pc.job,2)==0 and locale.man_postfix or locale.woman_postfix,locale.stash.enlarge_2_msg2)
                        if pc.countitem(locale.stash.enlarge_2_item)<1 then
                            pc.give_item2(locale.stash.enlarge_2_item)
                        end
                        pc.setqf("recommendation",1)
                        q.set_title(locale.stash.enlarge_2_title)
                        q.start()
                    end
                elseif s == 2 then
                    game.open_safebox()
                elseif s == 3 then
                    npc.open_shop()
                    say_trawa("Dozorca:")                    say("Wszystkie kopalnie są wyeksplotowane.")
                    say("Ciężko jest znaleźć coś cennego.")
                    say("Narazie mogę zaoferować Ci to. ")
                    q.done()
                elseif s == 4 then
                    game.open_mall()
                end
            elseif l == 3 then
                say_trawa("Dozorca:")
                local s = select(locale.stash.open_stash, locale.stash.buy_silver_and_gold_bar, locale.stash.open_mall, locale.stash.nomatter)
                if s == 1 then
                    game.open_safebox()
                elseif s == 2 then
                    npc.open_shop()
                    say_trawa("Dozorca:")                    say("Wszystkie kopalnie są wyeksplotowane.")
                    say("Ciężko jest znaleźć coś cennego.")
                    say("Narazie mogę zaoferować Ci to. ")
                    q.done()
                elseif s == 3 then
                    game.open_mall()
                end
            elseif l >= 3 then
                say(locale.stash.greet2)
                local s = select(locale.stash.open_stash, locale.stash.buy_silver_and_gold_bar, locale.stash.open_mall, locale.stash.nomatter)
                if s == 1 then
                    game.open_safebox()
                elseif s == 2 then
                    npc.open_shop()
                    say_trawa("Dozorca:")                    say("Wszystkie kopalnie są wyeksplotowane.")
                    say("Ciężko jest znaleźć coś cennego.")
                    say("Narazie mogę zaoferować Ci to. ")
                    q.done()
                elseif s == 3 then
                    game.open_mall()
                end
            end
        end
        when oldwoman.chat.locale.stash.enlarge_2_recommendation with pc.getf("stash","recommendation") == 1 begin
            say(locale.stash.enlarge_2_oldwoman_greet)
            say(delay(400), ". . . [/DELAY]")
            if pc.level < 25 then
                say(locale.stash.enlarge_2_oldwoman_reject)
                pc.setqf("recommendation", 2)
                q.set_title(locale.stash.enlarge_2_oldwoman_title1)
            else
                say(locale.stash.enlarge_2_oldwoman_accept)
                pc.setqf("recommendation", 3)
                pc.give_item2(locale.stash.enlarge_2_mark_item)
                q.set_title(locale.stash.enlarge_2_oldwoman_title2)
            end
            pc.removeitem(locale.stash.enlarge_2_item)
        end
    end
    state enlarge_stash1 begin
        when info begin
            setskin(SCROLL)
            setbgimage("level_bg.tga")
            addimage(20,12,special.levelup_quest[8][4])
            setcolor(0,0,0)
            say(locale.stash.enlarge_1_info1,item_name(pc.job<3 and locale.stash.enlarge_item1 or locale.stash.enlarge_item2),locale.stash.enlarge_1_info2)
            if pc.get_map_index() > 0 and pc.get_map_index() <= table.getn(special.lvq_map) then
                for j,i in {8,9,10,11,17} begin
                    table.foreachi(
                    special.lvq_map[pc.get_map_index()][i],
                    function (n,p) addmapsignal(p[1]*100, p[2]*100) end)
                end
                setmapcenterposition(200, 0)
            end
            select(locale.confirm)
            clearmapsignal()
            setskin(NOWINDOW)
        end
        when warehouse_keeper.click begin
            say(locale.stash.greet2)
            local s = select(locale.stash.enlarge_1_take_bear,locale.stash.open_stash, locale.stash.open_mall, locale.stash.nomatter);
            if s == 1 then
                if pc.countitem(locale.stash.enlarge_1_item)>=30 then
                    say(locale.stash.enlarge_1_success)
                    pc.removeitem(locale.stash.enlarge_1_item,30)
                    game.set_safebox_level(2)
                    setstate(start)
                    q.done()
                    cleartimer("enlarge_1_kill_bear")
                else
                    say(locale.stash.enlarge_1_notyet)
                end
            elseif s == 2 then
                game.open_safebox()
            elseif s == 3 then
                game.open_mall()
            end
        end
        when kill begin
            if npc.race >= 112 and npc.race <= 116 and (pc.weapon == 50 or pc.weapon == 5030) then
                if math.random(5) == 1 then
                    syschat(locale.stash.enlarge_1_getone)
                    pc.give_item2(locale.stash.enlarge_1_item)
                    if pc.countitem(locale.stash.enlarge_1_item) == 30 then
                        q.set_counter_value(0)
                        chat(pc.name,locale.stash.enlarge_1_complete)
                    elseif pc.countitem(locale.stash.enlarge_1_item) < 30 then
                        q.set_counter_value(30 - pc.countitem(locale.stash.enlarge_1_item))
                    end
                end
            end
        end
        when enlarge_1_kill_bear.timer begin
            setstate(enlarge_1_fail)
        end
        when login begin
            if game.get_safebox_level() == 1 then
                setstate(enlarge_1_fail)
            else
                setstate(start)
            end
        end
    end
    state enlarge_1_fail begin
        when info begin
            say(locale.stash.enlarge_1_fail_info)
        end
        when warehouse_keeper.click begin
            say(locale.stash.enlarge_1_fail_ms)
            q.done()
            setstate(start)
        end
    end
    state enlarge_3 begin
        when info begin
        end
        when warehouse_keeper.click begin
            say(locale.stash.greet2)
            local s = select(locale.stash.enlarge_3_complete, locale.stash.open_stash, locale.stash.open_mall, locale.stash.nomatter)
            if s == 1 then
                if pc.getqf("3_left_count")<=0 then
                    say(locale.stash.enlarge_3_success)
                    game.set_safebox_level(4)
                    setstate(start)
                    q.done()
                    cleartimer("enlarge_3_kill_esoteric")
                else
                    say(locale.stash.enlarge_3_notyet)
                end
            elseif s == 2 then
                game.open_safebox()
            elseif s == 3 then
                game.open_mall()
            end
        end
        when kill begin
            if npc.race >= 601 and npc.race <= 609 then-- ??????
                local n = pc.getqf("3_left_count")-1
                pc.setqf("3_left_count",n)
                q.set_counter_name(locale.stash.enlarge_3_counter)
                q.set_counter_value(n)
            end
        end
        when enlarge_3_kill_esoteric.timer begin
            local t = pc.getqf("3_left_time")
            if t <= 0 then
                setstate(enlarge_3_fail)
                cleartimer("enlarge_3_kill_esoteric")
            else
                pc.setqf("3_left_time",t-3);
            end
        end
        when login begin
            local t = pc.getqf("3_left_time")
            if t <= 0 then
                setstate(enlarge_3_fail)
            else
                loop_timer("enlarge_3_kill_esoteric",3)
                q.set_counter_name(locale.stash.enlarge_3_counter)
                q.set_counter_value(pc.getqf("3_left_count"))
                q.set_clock_name(locale.stash.enlarge_3_timer)
                q.set_clock_value(t)
                q.start()
            end
        end
    end
    state enlarge_3_fail begin
        when warehouse_keeper.click begin
            say(locale.stash.enlarge_1_fail_msg)
            q.done()
            setstate(start)
        end
    end
end

Quest wydaje się ok. Ale zawsze możesz podmienić na tego z terenzo.

Opublikowano

Quest wydaje się ok. Ale zawsze możesz podmienić na tego z terenzo.

Niestety ale nic mi nie daje podmiana tabelek "User"

 

Zmień na terenzo i powinno być ok a jak nie to tabelka jest zjeb*na i tyle.

Zmienilbys pliki ktore uzywasz kilka lat po to by robic wszystko od 0 ? Wiem ze mozna wszystko przeniesc na pliki no ale po co sie pier*olic skoro mozna to po prostu naprawic ?

8999514546913221016689.png

Opublikowano

Niestety ale nic mi nie daje podmiana tabelek "User"

 

Zmienilbys pliki ktore uzywasz kilka lat po to by robic wszystko od 0 ? Wiem ze mozna wszystko przeniesc na pliki no ale po co sie pier*olic skoro mozna to po prostu naprawic ?

Weź quest na depozyt z jakichkolwiek innych plików, oraz spróbuj na postaci z nickiem typu 12345. Wtedy daj syserr, jeśli nie zadziała. Najlepiej dorzuć ss'a z Desgin table --> safeboxu,

Opublikowano

Weź quest na depozyt z jakichkolwiek innych plików, oraz spróbuj na postaci z nickiem typu 12345. Wtedy daj syserr, jeśli nie zadziała. Najlepiej dorzuć ss'a z Desgin table --> safeboxu,

@ZoneWar.pl

Sposobu z innym questem probowalem dzieje sie dokladnie to samo co z tym questem ;]

SYSERR: Nov 13 20:32:27 :: Analyze: login phase does not handle this packet! header 100
SYSERR: Nov 13 20:35:27 :: Analyze: login phase does not handle this packet! header 100
SYSERR: Nov 13 20:38:27 :: Analyze: login phase does not handle this packet! header 100
SYSERR: Nov 13 20:41:27 :: Analyze: login phase does not handle this packet! header 100

SS safeboxu:

 

7150614474440591016689.png

8999514546913221016689.png

Opublikowano

a przez pierścień ci się otwiera spróbuj weź jakąś książkę.

 

uest przenosny_magazyn begin
state start begin
when 70010.use begin
game.open_safebox()
end
end
end
Opublikowano

 

a przez pierścień ci się otwiera spróbuj weź jakąś książkę.

uest przenosny_magazyn begin
state start begin
when 70010.use begin
game.open_safebox()
end
end
end

Tego questa rowniez mam i tez testowalem = nie dziala :D

8999514546913221016689.png

Opublikowano

Najpierw, zmień nazwę gracza z pokemonowej na normalną. Nie po to robili Koreańczycy zabezpieczenia przeciwko specjalnym znakom w kliencie, żeby je teraz omijać i dziwić się dlaczego zapytanie się nie wykonuje, jak nick postaci działa jak sql inject.

A później będzie wszystko działać.. Nie dziękuj.

307681428489538142351.png

Metin2 Balmora Staff

Opublikowano

Najpierw, zmień nazwę gracza z pokemonowej na normalną. Nie po to robili Koreańczycy zabezpieczenia przeciwko specjalnym znakom w kliencie, żeby je teraz omijać i dziwić się dlaczego zapytanie się nie wykonuje, jak nick postaci działa jak sql inject.

A później będzie wszystko działać.. Nie dziękuj.

 

@Bambus3k

Mądre słowa, przez chwilę to było dostępne z tego co pamiętam (Nawet na PL), później były z tym problemy i pojawiło się zabezpieczenie.

Opublikowano

@Bambus3k

Mądre słowa, przez chwilę to było dostępne z tego co pamiętam (Nawet na PL), później były z tym problemy i pojawiło się zabezpieczenie.

Nie pomoglo ;] Ten problem mam prawie od 2-3 lat :D Lecz nigdy go nie probowalem naprawic zbytnio :D Jakies inne propozycje ?

8999514546913221016689.png

Opublikowano

Nie pomoglo ;] Ten problem mam prawie od 2-3 lat :D Lecz nigdy go nie probowalem naprawic zbytnio :D Jakies inne propozycje ?

sysser nic nie sypie? dosłownie nic, a nic?

Problem z dupy się nie bierze...

Za wszelkie zachowania z ostatniego roku przepraszam. Jeżeli Cię uraziłem wybacz. ~ Cannzas.

Opublikowano

sysser nic nie sypie? dosłownie nic, a nic?

Problem z dupy się nie bierze...

Wszystko co sysser sypie jest podane w temacie czyli nic zwiazanego z dozorca no niestety to nie moja wina ;/

8999514546913221016689.png

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...