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

Darmowe skrypty LUA


P0ZAJM0WANE

Rekomendowane odpowiedzi

Opublikowano

Witam. Oferuje wam tworzenie skryptow LUA kompletnie za darmo. Wystarczy, ze napiszesz w komentarzu czego potrzebujesz, a ja postaram sie sprostac twojemu wymaganiu. Oczywiscie przed prosba nalezy sprawdzic, czy takowy w internecie juz sie znajduje, bo pet systemow pisac nie bede.

 

Sam skrypt bede zamieszczal cytujac twoj post i wklejajac go, tak aby kod byl dostepny dla kazdego i mial z tego korzysc.

Skrypty LUA Tibia za darmo!

  • Odpowiedzi 97
  • Dodano
  • Ostatniej odpowiedzi
Opublikowano

Witam, potrzebuję skryptu, aby wyświetlane inkantacje czarów graczy pojawiały się jako 'voice' czyli odgłosy monstera. Jest szansa, że takie coś będzie działać na 7.6?

  • 2 tygodnie później...
Opublikowano

Witam potrzebuje kilka skryptow:

1. Skrypt który da możliwość zwiększyć danemu przedmiotowi o 10% obrażenia zadane czarami (nie mlvl)

2. Skrypt który po rzucenie w gracza (można go użyć raz na minutę. ) ściągnie z niego odporności na 10s.

3. Czar który sprawi że przez minutę będziemy szybciej bić z broni

4. Runa która po użyciu zmniejszy nam exchausted na czary przez 30.

Ots 8,6

  • 4 miesiące temu...
Opublikowano

witam  potrzebuję skrypt Który za komendą !noweczary wyświetli Jakie są Nowe czary Je się dodaje samemu

 

Kolega Mi Napisał ale coś nie działa 

 

 

function onSay(cid, words)

local msg = [[ Lista nowych Czarów:
 
Czary Na knight
Exevo gran mas death combo
Czary Na Paladyn
Exevo gran mas multi san
Czary Na Sorce
Exevo gran mas fire guard
Czary Na Druida
Exevo gran mas Destruction
 
~~ Nazwa otsaTEAM]]
 
doPlayerPopupFYI(cid, msg)
return true
end
Opublikowano


function onSay(cid, words)

if getPlayerVocation(cid) == 1 then

doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR,"New Spell: Exevo gran mas fire guard.")

elseif getPlayerVocation(cid) == 2 then

doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR,"New Spell: Exevo gran mas Destruction.")

elseif getPlayerVocation(cid) == 3 then

doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR,"New Spell: Exevo gran mas multi san.")

elseif getPlayerVocation(cid) == 4 then

doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR,"New Spell: Exevo gran mas multi san.")

else

doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR,"Dla twojej profesji nie ma nowych spelli.")

end

return true

end

 

 

Opublikowano

 

ok dzięnki działa A ma Ktoś skryp aby na stronie pokazywalo sie ile Kto ma Rebon

 

musisz dodać tabele do mysql i zrobić żeby ja wyświetlało, poczytaj o mysql i php

 

 

Jest gdzieś jakiś spis skryptów .lua do XenoBota ?

 

http://www.mpcforum.pl/topic/1259260-pro%C5%9Bba-o-skryptywaypointycaveboty-real-tibia/

Opublikowano

Witam prosiłbym o napisanie tych dwóch skryptów, oczywiście jak autor tematu nie chce to nie musi pisać dwóch :) Bardziej mi zalezy na punkcie drugim.

 

1. Summon System - Polega na tym ze: Gdy gracz uzyje komendy to wtedy tworza sie 2 summony ktore po zaatakowaniu bija przeciwnika/mooba.
awanse summonow polegaja na tym ze (np: 1-40lvl = Noob summon, 41-81 -- First Summon, 82-150 - Pro summon, 151-250 -- Mega summon, 251-451 - Ultimate Summon)

2. Reborn system z blokadami == komenda na reborn - !reborn
Polega na tym ze od 30 do 35 reba mamy blokade na x godzin ( tak jak na candy otsie) i gdy gracz np ten 31 reborn i wpisze ten sam kod co na reborna to wyskoczy mu wiadomosc (przykladowo: 13 pazdziernika o godzinie 13:30:20 lub 13.10.2015 o godzinie 13:30:20 zostanie zdjeta blokada.)

Opublikowano

Witam, chciałbym prosić o napisanie skryptu na wbijanie mlvl'a 

Skrypt powinien: Używać utana vid , utamo vita , manasować się do fulla i znowu używac oraz kupowac potionki

Opublikowano

rafaeru jak  dodac nowe czary  aby tez mieli swoje czary  Elder Warlock Druid,Master Inferno Sorcerer,Royal Rogue Paladin,Elite Death Knight

 

w tym kodzie

function onSay(cid, words)

if getPlayerVocation(cid) == 1 then
doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR,"New Spell: Exevo gran mas fire guard.")
elseif getPlayerVocation(cid) == 2 then
doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR,"New Spell: Exevo gran mas Destruction.")
elseif getPlayerVocation(cid) == 3 then
doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR,"New Spell: Exevo gran mas multi san.")
elseif getPlayerVocation(cid) == 4 then
doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR,"New Spell: Exevo gran mas multi san.")
else
doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR,"Dla twojej profesji nie ma nowych spelli.")
end
return true
end

Opublikowano

Witam prosiłbym o napisanie tych dwóch skryptów, oczywiście jak autor tematu nie chce to nie musi pisać dwóch :) Bardziej mi zalezy na punkcie drugim.

 

1. Summon System - Polega na tym ze: Gdy gracz uzyje komendy to wtedy tworza sie 2 summony ktore po zaatakowaniu bija przeciwnika/mooba.

awanse summonow polegaja na tym ze (np: 1-40lvl = Noob summon, 41-81 -- First Summon, 82-150 - Pro summon, 151-250 -- Mega summon, 251-451 - Ultimate Summon)

2. Reborn system z blokadami == komenda na reborn - !reborn

Polega na tym ze od 30 do 35 reba mamy blokade na x godzin ( tak jak na candy otsie) i gdy gracz np ten 31 reborn i wpisze ten sam kod co na reborna to wyskoczy mu wiadomosc (przykladowo: 13 pazdziernika o godzinie 13:30:20 lub 13.10.2015 o godzinie 13:30:20 zostanie zdjeta blokada.)

za dużo roboty z jednym i  drugim skryptem wiec mi sie nie chce pisac

 

 

Witam, chciałbym prosić o napisanie skryptu na wbijanie mlvl'a 

Skrypt powinien: Używać utana vid , utamo vita , manasować się do fulla i znowu używac oraz kupowac potionki

to nie temat na skrypty do botów

 

rafaeru jak  dodac nowe czary  aby tez mieli swoje czary  Elder Warlock Druid,Master Inferno Sorcerer,Royal Rogue Paladin,Elite Death Knight

 

w tym kodzie

function onSay(cid, words)

if getPlayerVocation(cid) == 1 then

doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR,"New Spell: Exevo gran mas fire guard.")

elseif getPlayerVocation(cid) == 2 then

doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR,"New Spell: Exevo gran mas Destruction.")

elseif getPlayerVocation(cid) == 3 then

doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR,"New Spell: Exevo gran mas multi san.")

elseif getPlayerVocation(cid) == 4 then

doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR,"New Spell: Exevo gran mas multi san.")

else

doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR,"Dla twojej profesji nie ma nowych spelli.")

end

return true

end

elseif getPlayerVocation(cid) == 4 then   -- 4 to id profesji
doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR,"New Spell: Exevo gran mas multi san.")

więc dodajesz np. 

elseif getPlayerVocation(cid) == 5 then
doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR,"New Spell: czar dla profesji z voc 5.")
Opublikowano

witam potrzebuję skryptu lub pomocy przy przerobieniu tej manaruny w niej tylko nei działa pokazywanie many nad psotacią (ilość many która dostaliśmy od manaruny

function getPlayerManaMax(cid)manaNow = getPlayerMana(cid)doPlayerAddMana(cid,1000000)manaMax = getPlayerMana(cid)doPlayerAddMana(cid,manaNow-manaMax)
return manaMax
endfunction onUse(cid, item, frompos, item2, topos)local config = {ended = true,effect_enable = true,effect = 13,text_enable = true,text_colour = 191,exh =
 {exh_enable = true,exh_time = 1.4,storage = 12345, -- liczba przechowujaca exhausted}
}local voctab =
{
{minn=5, maxx=750, lvmul=2, mlmul=35},
{minn=150, maxx=550, lvmul=12, mlmul=1},
{minn=50, maxx=550, lvmul=5, mlmul=45},
{minn=150, maxx=1550, lvmul=3, mlmul=15}
}topos.stackpos = 253
player = getThingfromPos(topos)playerpos = getPlayerPosition(player.uid)cidpos = getPlayerPosition(cid)used = false
canUse = true
maglv = getPlayerMagLevel(cid)voc = getPlayerVocation(cid)lv=getPlayerLevel(cid)vocc=voctab[voc]addminn=vocc.minn +(vocc.lvmul*lv)+(vocc.mlmul*maglv)addmaxx=vocc.maxx +(vocc.lvmul*lv)+(vocc.mlmul*maglv)add=math.random(addminn,addmaxx)
if player.uid > 0 thenif getPlayerMana(player.uid) == getPlayerManaMax(player.uid) then
doPlayerSendCancel(cid, "Mana "..getPlayerName(player.uid).." is full!")
return 1
endelse
if getPlayerMana(cid) == getPlayerManaMax(cid) then
doPlayerSendCancel(cid, "Your mana is full.")
return 1
end
endif(os.time() < getPlayerStorageValue(cid, config.exh.storage)) then
 doPlayerSendCancel(cid,"You are exhausted.")canUse = false
endif (canUse) thenif player.itemid > 0 thenif (config.effect_enable) then
 doSendMagicEffect(playerpos, config.effect)endif (config.text_enable) then
 player:say("add", TALKTYPE_MONSTER_SAY)end
 doPlayerAddMana(player.uid,add)used = trueelse
 if config.effect_enable then
 doSendMagicEffect(cidpos, config.effect)endif (config.text_enable) then
 player:say("add", TALKTYPE_MONSTER_SAY)end
 doPlayerAddMana(cid,add)used = true
 end
endif (used) and (canUse) thenif (config.exh.exh_enable) then
 setPlayerStorageValue(cid, config.exh.storage, os.time() + config.exh.exh_time)endif (config.ended) thenif item.type > 1 then
 doChangeTypeItem(item.uid,item.type-1)
 elsedoRemoveItem(item.uid,1)end
 end
endreturn 1
end 

a tutaj screen

Screen_Shot_10_10_15_at_07_19_PM.png

 

a tutaj filmik https://www.youtube.com/watch?v=R2N3Mn0JBYo

Opublikowano

witam potrzebuję skryptu lub pomocy przy przerobieniu tej manaruny w niej tylko nei działa pokazywanie many nad psotacią (ilość many która dostaliśmy od manaruny

function getPlayerManaMax(cid)manaNow = getPlayerMana(cid)doPlayerAddMana(cid,1000000)manaMax = getPlayerMana(cid)doPlayerAddMana(cid,manaNow-manaMax)
return manaMax
endfunction onUse(cid, item, frompos, item2, topos)local config = {ended = true,effect_enable = true,effect = 13,text_enable = true,text_colour = 191,exh =
 {exh_enable = true,exh_time = 1.4,storage = 12345, -- liczba przechowujaca exhausted}
}local voctab =
{
{minn=5, maxx=750, lvmul=2, mlmul=35},
{minn=150, maxx=550, lvmul=12, mlmul=1},
{minn=50, maxx=550, lvmul=5, mlmul=45},
{minn=150, maxx=1550, lvmul=3, mlmul=15}
}topos.stackpos = 253
player = getThingfromPos(topos)playerpos = getPlayerPosition(player.uid)cidpos = getPlayerPosition(cid)used = false
canUse = true
maglv = getPlayerMagLevel(cid)voc = getPlayerVocation(cid)lv=getPlayerLevel(cid)vocc=voctab[voc]addminn=vocc.minn +(vocc.lvmul*lv)+(vocc.mlmul*maglv)addmaxx=vocc.maxx +(vocc.lvmul*lv)+(vocc.mlmul*maglv)add=math.random(addminn,addmaxx)
if player.uid > 0 thenif getPlayerMana(player.uid) == getPlayerManaMax(player.uid) then
doPlayerSendCancel(cid, "Mana "..getPlayerName(player.uid).." is full!")
return 1
endelse
if getPlayerMana(cid) == getPlayerManaMax(cid) then
doPlayerSendCancel(cid, "Your mana is full.")
return 1
end
endif(os.time() < getPlayerStorageValue(cid, config.exh.storage)) then
 doPlayerSendCancel(cid,"You are exhausted.")canUse = false
endif (canUse) thenif player.itemid > 0 thenif (config.effect_enable) then
 doSendMagicEffect(playerpos, config.effect)endif (config.text_enable) then
 player:say("add", TALKTYPE_MONSTER_SAY)end
 doPlayerAddMana(player.uid,add)used = trueelse
 if config.effect_enable then
 doSendMagicEffect(cidpos, config.effect)endif (config.text_enable) then
 player:say("add", TALKTYPE_MONSTER_SAY)end
 doPlayerAddMana(cid,add)used = true
 end
endif (used) and (canUse) thenif (config.exh.exh_enable) then
 setPlayerStorageValue(cid, config.exh.storage, os.time() + config.exh.exh_time)endif (config.ended) thenif item.type > 1 then
 doChangeTypeItem(item.uid,item.type-1)
 elsedoRemoveItem(item.uid,1)end
 end
endreturn 1
end 

a tutaj screen

Screen_Shot_10_10_15_at_07_19_PM.png

 

a tutaj filmik https://www.youtube.com/watch?v=R2N3Mn0JBYo

wklej ten skrypt poprawnie, chcesz zeby bylo pokazywanie czy nie ? bo nie zrozumialem

Opublikowano

wklej ten skrypt poprawnie, chcesz zeby bylo pokazywanie czy nie ? bo nie zrozumialem

tak chce taki sam efekt jak na zdjeciu zeby pokazywalo odnowioną mane min/max

function getPlayerManaMax(cid)
manaNow = getPlayerMana(cid)
doPlayerAddMana(cid,1000000)
manaMax = getPlayerMana(cid)
doPlayerAddMana(cid,manaNow-manaMax)
return manaMax
end
function onUse(cid, item, frompos, item2, topos)
   local config = {
   ended = true,
   effect_enable = true,
   effect = 13,
   text_enable = true,
   text_colour = 191,
   exh = 
   {
      exh_enable = true,
      exh_time = 1.4,
      storage = 12345, -- liczba przechowujaca exhausted
   }
}
local voctab =
{
{minn=5, maxx=750, lvmul=2, mlmul=35},
{minn=150, maxx=550, lvmul=12, mlmul=1},
{minn=50, maxx=550, lvmul=5, mlmul=45},
{minn=150, maxx=1550, lvmul=3, mlmul=15}
}
topos.stackpos = 253
player = getThingfromPos(topos)
playerpos = getPlayerPosition(player.uid)
cidpos = getPlayerPosition(cid)
used = false
canUse = true
maglv = getPlayerMagLevel(cid)
voc = getPlayerVocation(cid)
lv=getPlayerLevel(cid)
vocc=voctab[voc]
addminn=vocc.minn +(vocc.lvmul*lv)+(vocc.mlmul*maglv)
addmaxx=vocc.maxx +(vocc.lvmul*lv)+(vocc.mlmul*maglv)
add=math.random(addminn,addmaxx)
if player.uid > 0 then
if getPlayerMana(player.uid) == getPlayerManaMax(player.uid) then
doPlayerSendCancel(cid, "Mana "..getPlayerName(player.uid).." is full!")
return 1
end
else
if getPlayerMana(cid) == getPlayerManaMax(cid) then
doPlayerSendCancel(cid, "Your mana is full.")
return 1
end
end
if(os.time() < getPlayerStorageValue(cid, config.exh.storage)) then
   doPlayerSendCancel(cid,"You are exhausted.")
   canUse = false
end
if (canUse) then
if player.itemid > 0 then
  if (config.effect_enable) then
    doSendMagicEffect(playerpos, config.effect)
    end
if (config.text_enable) then
   doSendAnimatedText(playerpos, add, config.text_colour)
   end
   doPlayerAddMana(player.uid,add)
   used = true
    else
      if config.effect_enable then
         doSendMagicEffect(cidpos, config.effect)
      end
      if (config.text_enable) then
         doSendAnimatedText(cidpos, add, config.text_colour)
      end
      doPlayerAddMana(cid,add)
      used = true
   end
end
if (used) and (canUse) then
   if (config.exh.exh_enable) then
      setPlayerStorageValue(cid, config.exh.storage, os.time() + config.exh.exh_time)
   end
   if (config.ended) then
      if item.type > 1 then
         doChangeTypeItem(item.uid,item.type-1)
      else
         doRemoveItem(item.uid,1)
      end
   end
end
return 1
end

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...