antiblock
Cyphriun
  • Chatbox

    You don't have permission to chat.
    Load More
  • 0
Sign in to follow this  
єxŧєrмiηαŧєr

Ajuda Com Esta Quest

Question

Alguem me podia ajudar com esta quest dame erro na linha 100 da erro core dumped

 

da erro na linha a vermelho

 

 

-- Talk-System by Fear
quest talk begin
state start begin
  function data()
local n = {
-- Mapindex, Mp3 name, x, y, länge der mp3
-- rot
{1, 'gemi', 678, 565, 12},
{1, 'schmied', 672, 556, 23},
{1, 'banker', 675, 561, 10},
{1, 'aranjo', 687, 475, 12},
{1, 'desdorfplatzes', 647, 582, 3},
{1, 'event', 645, 571, 7},
{1, 'event', 615, 618, 7},
{1, 'heillehrer', 654, 548, 9},
{1, 'kklehrer', 622, 556, 8},
{1, 'kopfgeld', 635, 591, 13},
{1, 'mine', 582, 578, 9},
{1, 'mklehrer', 625, 555, 8},
{1, 'oma', 633 ,622, 7},
{1, 'bogen', 633, 553, 7},
{1, 'drachenschami', 651, 549, 11},
{1, 'magiesura', 647, 550, 7},
{1, 'nahkampf', 629, 554, 8},
{1, 'waffensura3', 644, 551, 10},
-- gelb
{21, 'gemi', 590, 689, 12},
{21, 'schmied', 594, 692, 23},
{21, 'banker', 596, 694, 10},
{21, 'aranjo', 554, 597, 12},
{21, 'desdorfplatzes', 633, 640, 3},
{21, 'event', 620, 639, 7},
{21, 'heillehrer', 657, 595, 9},
{21, 'kklehrer', 623, 594, 8},
{21, 'kopfgeld', 637, 629, 13},
{21, 'mine', 717, 633, 9},
{21, 'mklehrer', 627, 594, 8},
{21, 'oma', 588, 633, 7},
{21, 'bogen', 635, 595, 7},
{21, 'drachenschami', 653, 595, 11},
{21, 'magiesura', 649, 595, 7},
{21, 'nahkampf', 631, 595, 8},
{21, 'waffensura3', 645, 595, 10},
-- blau
{41, 'gemi', 381, 693, 12},
{41, 'schmied', 393, 692, 23},
{41, 'banker', 377, 692, 10},
{41, 'aranjo', 343, 560, 12},
{41, 'desdorfplatzes', 383, 640, 3},
{41, 'event', 372, 647, 7},
{41, 'heillehrer', 443, 656, 9},
{41, 'kklehrer',  444 ,623, 8},
{41, 'kopfgeld', 399, 643, 13},
{41, 'mine', 336, 770, 9},
{41, 'mklehrer', 444, 627, 8},
{41, 'oma', 417, 671, 7},
{41, 'bogen', 444, 635, 7},
{41, 'drachenschami', 443, 652, 11},
{41, 'magiesura', 443, 648, 7},
{41, 'nahkampf', 444, 631, 8},
{41, 'waffensura3', 443, 644, 10},
-- Dämonenturm
{65, 'damonenturm', 532, 596, 10}
   }
return n
end
 
  --- Ab hier nichts mehr ändern !!!!
  -----------------------------------------------------
 
  when login begin
   pc.setqf('talk_block', 0)
   loop_timer('talk_check', 1)
  end
  function is_near(x,y,range)
   get_x = pc.get_local_x()
   get_y = pc.get_local_y()
   x1 = x-range
   y1 = y-range
   x2 = x+range
   y3 = y+range
   if (get_x &--#62; x1 and get_x &--#60; x2) and (get_y &--#62; y1 and get_y &--#60; y3) then
return true
   else
return false
   end
  end
  when talk_check.timer with pc.getqf('talk_block') == 0 and get_time() &--#62; pc.getqf('talk_duration') begin
   local n = talk.data()
   for i = 1, table.getn(n)
if pc.get_map_index() == n[1] then
if talk.is_near(n[3], n[4], 3) == true then
 cmdchat('npctalk '..n[2]..'.mp3')
 pc.setqf('talk_block', 1)
 timer('npc_is_talk', n[5])
end
end
   end
  end
  when npc_is_talk.timer with pc.getqf('talk_block') == 1 begin
   cmdchat('lastmusic')
   pc.setqf('talk_block', 0)
   pc.setqf('talk_duration', get_time()+60*2)
  end
  when logout with pc.getqf('talk_block') == 1 begin
   cleartimer('npc_is_talk')
   pc.setqf('talk_block', 0)
  end
end
end

Share this post


Link to post
Share on other sites

16 answers to this question

  • 0

isso e sobre o q?

Share this post


Link to post
Share on other sites
antiblock
https://i.imgur.com/aJ17bf7.gif
  • 0

  when npc_is_talk.timer with pc.getqf('talk_block') == 1 begin

when npc_is_talk.(timer)tens de meter o tempo

Share this post


Link to post
Share on other sites
  • 0

mas meto npc_is_talk.30 ou meto npc_is_talk.(30) ou npc_is_talk 30

Share this post


Link to post
Share on other sites
  • 0

  when npc_is_talk.timer with pc.getqf('talk_block') == 1 begin

when npc_is_talk.(timer)tens de meter o tempo

Nada a ver.

 

Os erros são estes:

 if (get_x &--#62; x1 and get_x &--#60; x2) and (get_y &--#62; y1 and get_y &--#60; y3) thenwhen talk_check.timer with pc.getqf('talk_block') == 0 and get_time() &--#62; pc.getqf('talk_duration') begin
&--#62; é um erro, nem sei se se pode chamar de erro, mas aparece em vez de caracteres ou símbolos especiais quando se edita um post, ou um tópico.

Aconselho-te a procurares a quest original.

Share this post


Link to post
Share on other sites
  • 0

Nada a ver. Os erros são estes:

 if (get_x &--#62; x1 and get_x &--#60; x2) and (get_y &--#62; y1 and get_y &--#60; y3) thenwhen talk_check.timer with pc.getqf('talk_block') == 0 and get_time() &--#62; pc.getqf('talk_duration') begin
&--#62; é um erro, nem sei se se pode chamar de erro, mas aparece em vez de caracteres ou símbolos especiais quando se edita um post, ou um tópico.Aconselho-te a procurares a quest original.

 

Não me consegues tirar esse erro por favor

Share this post


Link to post
Share on other sites
  • 0

E como vou eu saber que símbolos estavam antes disso?

Share this post


Link to post
Share on other sites
  • 0

Se tens aí a quest original, porque raios não a metes?

Share this post


Link to post
Share on other sites
  • 0

Se tens aí a quest original, porque raios não a metes?

Foi essa que meti mas dame o erro

Share this post


Link to post
Share on other sites
  • 0

Se tens aí a quest original, porque raios não a metes?

ta ai a quest original sem ser alterada

 

-- Talk-System by Fear

quest talk begin

state start begin

function data()

local n = {

-- Mapindex, Mp3 name, x, y, länge der mp3

-- rot

{1, 'gemi', 678, 565, 12},

{1, 'schmied', 672, 556, 23},

{1, 'banker', 675, 561, 10},

{1, 'aranjo', 687, 475, 12},

{1, 'desdorfplatzes', 647, 582, 3},

{1, 'event', 645, 571, 7},

{1, 'event', 615, 618, 7},

{1, 'heillehrer', 654, 548, 9},

{1, 'kklehrer', 622, 556, 8},

{1, 'kopfgeld', 635, 591, 13},

{1, 'mine', 582, 578, 9},

{1, 'mklehrer', 625, 555, 8},

{1, 'oma', 633 ,622, 7},

{1, 'bogen', 633, 553, 7},

{1, 'drachenschami', 651, 549, 11},

{1, 'magiesura', 647, 550, 7},

{1, 'nahkampf', 629, 554, 8},

{1, 'waffensura3', 644, 551, 10},

-- gelb

{21, 'gemi', 590, 689, 12},

{21, 'schmied', 594, 692, 23},

{21, 'banker', 596, 694, 10},

{21, 'aranjo', 554, 597, 12},

{21, 'desdorfplatzes', 633, 640, 3},

{21, 'event', 620, 639, 7},

{21, 'heillehrer', 657, 595, 9},

{21, 'kklehrer', 623, 594, 8},

{21, 'kopfgeld', 637, 629, 13},

{21, 'mine', 717, 633, 9},

{21, 'mklehrer', 627, 594, 8},

{21, 'oma', 588, 633, 7},

{21, 'bogen', 635, 595, 7},

{21, 'drachenschami', 653, 595, 11},

{21, 'magiesura', 649, 595, 7},

{21, 'nahkampf', 631, 595, 8},

{21, 'waffensura3', 645, 595, 10},

-- blau

{41, 'gemi', 381, 693, 12},

{41, 'schmied', 393, 692, 23},

{41, 'banker', 377, 692, 10},

{41, 'aranjo', 343, 560, 12},

{41, 'desdorfplatzes', 383, 640, 3},

{41, 'event', 372, 647, 7},

{41, 'heillehrer', 443, 656, 9},

{41, 'kklehrer', 444 ,623, 8},

{41, 'kopfgeld', 399, 643, 13},

{41, 'mine', 336, 770, 9},

{41, 'mklehrer', 444, 627, 8},

{41, 'oma', 417, 671, 7},

{41, 'bogen', 444, 635, 7},

{41, 'drachenschami', 443, 652, 11},

{41, 'magiesura', 443, 648, 7},

{41, 'nahkampf', 444, 631, 8},

{41, 'waffensura3', 443, 644, 10},

-- Dämonenturm

{65, 'damonenturm', 532, 596, 10}

}

return n

end

--- Ab hier nichts mehr ändern !!!!

-----------------------------------------------------

when login begin

pc.setqf('talk_block', 0)

loop_timer('talk_check', 1)

end

function is_near(x,y,range)

get_x = pc.get_local_x()

get_y = pc.get_local_y()

x1 = x-range

y1 = y-range

x2 = x+range

y3 = y+range

if (get_x &--#62; x1 and get_x &--#60; x2) and (get_y &--#62; y1 and get_y &--#60; y3) then

return true

else

return false

end

end

when talk_check.timer with pc.getqf('talk_block') == 0 and get_time() &--#62; pc.getqf('talk_duration') begin

local n = talk.data()

for i = 1, table.getn(n) do

if pc.get_map_index() == n[i][1] then

if talk.is_near(n[i][3], n[i][4], 3) == true then

cmdchat('npctalk '..n[i][2]..'.mp3')

pc.setqf('talk_block', 1)

timer('npc_is_talk', n[i][5])

end

end

end

end

when npc_is_talk.timer with pc.getqf('talk_block') == 1 begin

cmdchat('lastmusic')

pc.setqf('talk_block', 0)

pc.setqf('talk_duration', get_time()+60*2)

end

when logout with pc.getqf('talk_block') == 1 begin

cleartimer('npc_is_talk')

pc.setqf('talk_block', 0)

end

end

end

Share this post


Link to post
Share on other sites
  • 0

Se essa fosse a original, não tinha os simbolos aqueles.

Share this post


Link to post
Share on other sites
  • 0

"Fonte: epvp"

Se essa fosse a original, não tinha os simbolos aqueles.

Vai procurar a original na epvp, ganhas mais.

Share this post


Link to post
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
Sign in to follow this