Sistem Pet BASIC ! (fără nivel , etc)

Înainte de a posta o problemă, caută în acest forum și poate găsești rezolvare.
Închis
Avatar utilizator
likeabeast
Nivel 2

Nivel 2
Mesaje: 150
Membru din: 12 Sep 2014, 19:13
Server: Average2
Regat: Jinno
Aprecieri: 22  
Mulţumiri: 3  
Medalii

Salut,

Am luat un serverfiles care din câte văd , nu are pet-uri , pur şi simplu nu merg sigiliile , aş vrea să ştiu daca are cineva un quest care mă poate ajuta.Nu vreau un pet system cu nivel sau alt ceva , doar când dau click pe sigiliu , să cheme petul şi să primesc bonusul respectiv , codul la mob + item le schimb eu.

Mulţumesc.
Imagine
Afișează semnătura
Avatar utilizator
[FlorinSalam]
Nou Venit

Nou Venit
Mesaje: 10
Membru din: 28 Aug 2016, 20:32
Server: Indisponibil
Regat: Chunjo
Aprecieri: 2  
Mulţumiri: 0
 Contact:
Medalii

Îți este greu să dai un search pe forum sau pe google ?

Cod: Selectaţi tot

quest ride begin
state start begin
   function Ride( vnum )
     ride_info = {
     [71114] = { 20110,   5*60,apply.DEF_GRADE_BONUS,   70,75,   true   }, --gelb
     [71115] = { 20110,   5*60,apply.DEF_GRADE_BONUS,   100,100,   true   }, --blau
     [71116] = { 20111,   5*60,apply.DEF_GRADE_BONUS,   100,80,   true   }, --gelb
     [71117] = { 20111,   5*60,apply.DEF_GRADE_BONUS,   150,100,   true   }, --blau
     [71118] = { 20112,   5*60,apply.DEF_GRADE_BONUS,   125,80,   true   }, --gelb
     [71119] = { 20112,   5*60,apply.DEF_GRADE_BONUS,   200,100,   true   }, --blau
     [71120] = { 20113,   5*60,apply.ATT_GRADE_BONUS,   200,85,   true   }, --gelb
     [71121] = { 20113,   5*60,apply.ATT_GRADE_BONUS,   400,110,   true   }, --blau
     [71131] = { 20221,   5*60,apply.MOV_SPEED,   100,75,   true   }, --blau
    
    
     [52001]   = { 20201,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52002]   = { 20201,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52003]   = { 20201,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52004]   = { 20201,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52005]   = { 20201,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
    
     [52061]   = { 20213,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52066]   = { 20214,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
    
    
     [52016]   = { 20202,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52017]   = { 20202,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52018]   = { 20202,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52019]   = { 20202,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52020]   = { 20202,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
    
      
     [52046]   = { 20203,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52047]   = { 20203,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52048]   = { 20203,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52049]   = { 20203,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52050]   = { 20203,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
    
    
     [52031]   = { 20204,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52032]   = { 20204,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52033]   = { 20204,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52034]   = { 20204,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
     [52035]   = { 20204,   5*60,apply.MOV_SPEED,   40,1,   false   }, --blau
    
     [52011]   = { 20209,   5*60,apply.ATTBONUS_MONSTER,   5,1,   false   }, --blau
     [52012]   = { 20209,   5*60,apply.EXP_DOUBLE_BONUS,   1,1,   false   }, --blau
     [52013]   = { 20209,   5*60,apply.MAX_HP,   500,1,   false   }, --blau
     [52014]   = { 20209,   5*60,apply.DEF_GRADE_BONUS,   150,1,   false   }, --blau
     [52015]   = { 20209,   5*60,apply.ATT_GRADE_BONUS,   100,1,   false   }, --blau
    
    
     [52026]   = { 20210,   5*60,apply.ATTBONUS_MONSTER,   5,1,   false   }, --blau
     [52027]   = { 20210,   5*60,apply.EXP_DOUBLE_BONUS,   1,1,   false   }, --blau
     [52028]   = { 20210,   5*60,apply.MAX_HP,   500,1,   false   }, --blau
     [52029]   = { 20210,   5*60,apply.DEF_GRADE_BONUS,   150,1,   false   }, --blau
     [52030]   = { 20210,   5*60,apply.ATT_GRADE_BONUS,   100,1,   false   }, --blau
    
      
     [52056]   = { 20211,   5*60,apply.ATTBONUS_MONSTER,   5,1,   false   }, --blau
     [52057]   = { 20211,   5*60,apply.EXP_DOUBLE_BONUS,   1,1,   false   }, --blau
     [52058]   = { 20211,   5*60,apply.MAX_HP,   500,1,   false   }, --blau
     [52059]   = { 20211,   5*60,apply.DEF_GRADE_BONUS,   150,1,   false   }, --blau
     [52060]   = { 20211,   5*60,apply.ATT_GRADE_BONUS,   100,1,   false   }, --blau
    
    
     [52041]   = { 20212,   5*60,apply.ATTBONUS_MONSTER,   5,1,   false   }, --blau
     [52042]   = { 20212,   5*60,apply.EXP_DOUBLE_BONUS,   1,1,   false   }, --blau
     [52043]   = { 20212,   5*60,apply.MAX_HP,   500,1,   false   }, --blau
     [52044]   = { 20212,   5*60,apply.DEF_GRADE_BONUS,   150,1,   false   }, --blau
     [52045]   = { 20212,   5*60,apply.ATT_GRADE_BONUS,   100,1,   false   }, --blau
    
     [71124] = { 20114,   item.get_socket(2)*100,POINT_EXP_DOUBLE_BONUS,1,1,   true   }, ----Weißer Löwe
     [71125] = { 20115,   item.get_socket(2)*60,apply.ATTBONUS_MONSTER,20,1,   true   }, --Kriegskeiler
     [71126] = { 20116,   item.get_socket(2)*60,apply.STEAL_HP,15,1,   true   }, --Streitwolf-Siegel
     [71127] = { 20117,   item.get_socket(2)*60,apply.HP_REGEN,50,1,   true   }, --Sturmtiger-Siegel
     [71128] = { 20118,   item.get_socket(2)*60,POINT_DEF_BONUS,15,1,   true   }, --Schlachtenlöwen-Siegel
     [52066] = { 20215,   item.get_socket(2)*50,ATTBONUS_MONSTER,15,1,   true   }, --Schlachtenlöwen-Siegel
    
    
     [80110] = { 20114,   item.get_socket(2)*60,POINT_EXP_DOUBLE_BONUS,1,1,   false   }, ----Weißer Löwe
     [80111] = { 20115,   item.get_socket(2)*60,apply.ATTBONUS_MONSTER,20,1,   false   }, --Kriegskeiler
     [80112] = { 20116,   item.get_socket(2)*60,apply.STEAL_HP,15,1,   false   }, --Streitwolf-Siegel
     [80113] = { 20117,   item.get_socket(2)*60,apply.HP_REGEN,50,1,   false   }, --Sturmtiger-Siegel
     [80114] = { 20118,   item.get_socket(2)*60,POINT_DEF_BONUS,15,1,   false   }, --Schlachtenlöwen-Siegel
    
     [71132] = { 20119,   60*60,apply.SKILL,1,1,   false   }, --Horse_event
     [71133] = { 20119,   120*60,apply.SKILL,1,1,   false   }, --Horse_event
     [71134] = { 20119,   180*60,apply.SKILL,1,1,   false   }, --Horse_event
    
     [71137] = { 20120,   item.get_socket(2)*60,PREMIUM_EXP,30,100,   false   }, --Horse_event
     }
     if pc.level < ride_info[vnum][5] then
       say_title("Informaþie:")
       say("Nu ai nivelul necesar pentru a îmblânzi acest")
       say("mount, înearcã mai târziu.")
       return
     elseif pc.is_polymorphed() then
       say_title("Informaþie:")
       say("Nu poþi face aºa ceva cât timp eºti transformat.")
       return
     elseif pc.is_riding() then
       say_title("Informaþie:")
       say("Nu poþi face aºa ceva, deoarece eºti")
       say("deja pe un mount..")
       return
     else
   pc.mount( ride_info[vnum][1], ride_info[vnum][2] )
   pc.mount_bonus( ride_info[vnum][3], ride_info[vnum][4], ride_info[vnum][2] )
   if true == ride_info[vnum][6] then
   pc.remove_item(vnum, 1)
   end
   end
   end
   when 71114.use or 71137.use or 71115.use or 71116.use or 71117.use or 71118.use or 71119.use or 71120.use or 71121.use --normale siegel
   or 71124.use or 71125.use or 71126.use or 71127.use or 71128.use or 52061.use or 52066.use--48H reittier siegel
   or 80110.use or 80111.use or 80112.use or 80113.use or 80114.use --Anfangs Siegel Starterse
   or 71131.use or 71132.use or 71133.use or 71134.use or 52001.use or 52002.use or 52003.use or 52004.use or 52005.use
   or 52016.use or 52017.use or 52018.use or 52019.use or 52020.use or 52031.use or 52032.use or 52033.use or 52034.use or 52035.use
   or 52046.use or 52047.use or 52048.use or 52049.use or 52050.use or 71137.use or
   52011.use or 52012.use or 52013.use or 52014.use or 52015.use or 52026.use or 52027.use or 52028.use or 52029.use or 52030.use
   or 52056.use or 52057.use or 52058.use or 52059.use or 52060.use or 52041.use or 52042.use or 52043.use or 52044.use or 52045.use begin
     if pc.get_map_index() == 113 or
     pc.get_map_index() == 118 or
     pc.get_map_index() == 119 or
     pc.get_map_index() == 120 or
     pc.get_map_index() == 122 or
     pc.get_map_index() == 123 or
     pc.get_map_index() == 124 or
     pc.get_map_index() == 126 or
     pc.get_map_index() == 127 or
     pc.get_map_index() == 128 and not pc.is_gm() then
     return
     end
   ride.Ride(item.get_vnum())
   end
   when login begin
     if pc.get_map_index() == 113 or
     pc.get_map_index() == 118 or
     pc.get_map_index() == 119 or
     pc.get_map_index() == 120 or
     pc.get_map_index() == 122 or
     pc.get_map_index() == 123 or
     pc.get_map_index() == 124 or
     pc.get_map_index() == 126 or
     pc.get_map_index() == 127 or
     pc.get_map_index() == 128 and not pc.is_gm() then
     return
     end
     local vnum, remain_time = pc.get_special_ride_vnum()
     if 0 != vnum then
       if pc.is_polymorphed() then
         return
       elseif pc.is_riding() then
         return
       else
         ride.Ride(vnum, remain_time)
       end
     end
   end

end
end
Pentru cei care primesc aceasta eroare:
Calls undeclared function! :
ride.Ride
Sa adaugati in quest_function: ride.ride

Tutorial instalare quest:
1. Salvaţi conţinutul quest-ului într-un fişier text numit de exemplu rasplata.quest .
2. Vă conectaţi la filezilla / winscp şi întrati în /usr/home/game/share/locale/germany/quest (depinde ce server aveţi).
3. Îl puneţi acolo (să fie .quest) şi da-ţi permisiuni 777.
4. Te loghezi în FreeBSD / putty şi scrii în felul următor: cd /usr/home/game/share/locale/germany/quest apoi ./qc rasplata.quest
5. Intraţi pe server şi scrieţi /reload q .
6. Testaţi quest-ul .
Imagine
Afișează semnătura
Avatar utilizator
likeabeast
Nivel 2

Nivel 2
Mesaje: 150
Membru din: 12 Sep 2014, 19:13
Server: Average2
Regat: Jinno
Aprecieri: 22  
Mulţumiri: 3  
Medalii

Pet MĂ ! (Animăluţe de companie) :))
Şi nu îmi trebuie tutorial instalare quest , nu sunt bătut în cap , ştiu să fac asta , am nevoie doar de quest
Am căutat system de pet destul de mult , şi am găsit doar peturi cu nivel , etc , îmi trebuiesc basic.
Imagine
Afișează semnătura
Avatar utilizator
likeabeast
Nivel 2

Nivel 2
Mesaje: 150
Membru din: 12 Sep 2014, 19:13
Server: Average2
Regat: Jinno
Aprecieri: 22  
Mulţumiri: 3  
Medalii

Bump , e cineva? :(
Imagine
Afișează semnătura
Avatar utilizator
likeabeast
Nivel 2

Nivel 2
Mesaje: 150
Membru din: 12 Sep 2014, 19:13
Server: Average2
Regat: Jinno
Aprecieri: 22  
Mulţumiri: 3  
Medalii

Up ..
Imagine
Afișează semnătura
Avatar utilizator
likeabeast
Nivel 2

Nivel 2
Mesaje: 150
Membru din: 12 Sep 2014, 19:13
Server: Average2
Regat: Jinno
Aprecieri: 22  
Mulţumiri: 3  
Medalii

Am rezolvat singur , T/C
Imagine
Afișează semnătura
Avatar utilizator
L.a.D l Catalin
Nivel 6

Nivel 6
Mesaje: 1078
Membru din: 15 Sep 2014, 18:27
Server: Freakz Metin2
Regat: Jinno
Aprecieri: 15  
Mulţumiri: 132  
 Contact:
Medalii

Rezolvat
[center]VAND CONT STEAM 112 GAMES[/center]
Afișează semnătura
Închis

Înapoi la “Probleme rezolvate”

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Semrush [Bot] și 7 vizitatori