Jump to content
  • 0

request, Lua Files 2011-11-02


Question

17 answers to this question

Recommended Posts

Posted

D:??? um... error2n.png

Those NPC are in hide.. but with this client they showed up even in hide and i can't hide them... also the chat window doesn't save the chats... i configured "public" and "guild" etc etc, and after re log, they disapear... also i got this error when i opened the client...!

errormd.png

Posted

yes :) wanna see?

// 2011-11-02aRagexe

packet_ver: 28

0x0436,26,friendslistadd,2

0x0898,5,hommenu,2:4

0x0281,36,storagepassword,2:4:20

0x088d,26,partyinvite2,2

0x083c,19,wanttoconnection,2:6:10:14:18

0x08aa,7,actionrequest,2:6

0x02c4,10,useskilltoid,2:4:6

0x0811,-1,itemlistwindowselected,2:4:8

0x890,8

0x08a5,18,bookingregreq,2:4:6

0x0835,-1,reqopenbuyingstore,2:4:8:9:89

0x089b,2,reqclosebuyingstore,0

0x08a1,6,reqclickbuyingstore,2

0x089e,-1,reqtradebuyingstore,2:4:8:12

0x08ab,-1,searchstoreinfo,2:4:5:9:13:14:15

0x088b,2,searchstoreinfonextpage,0

0x08a2,12,searchstoreinfolistitemclick,2:6:10

are this correct?

Posted (edited)


//===== Athena Script =====================================
//= Cluck! Cluck! Boom!
//===== ========================
//
//= Original Script from Keale of VoidRO (http://voidro.com)
//===== Description =======================================
//= Click the chicken and try retrieve the item at a low
//= chance. If you fail he will nuke, freeze, stone,
//= stun, or make you fall asleep.
//= The prize is configurable and triggered by the NPC.
//===== Traduccion ========================================
//= Clickea la gallina e intenta conseguir el item con baja
//= probabilidad de exito. Si fallas, la gallina te dara
//= nuke, Freeze, stone, stun o hara que te quedes dormido.
//= El premio es configurable dentro del script.
//===== Credits ===========================================
//= LuTze for his 'Chicken of Punishment' script.
//= BrianL for suggesting the 'switch' command.
//= Keale for the original script
//===== Version ===========================================
//= v2.0 - Edited By Keisi~
//=========================================================
//= v1.0 - First release.
//= v1.1 - Using 'switch rand' instead.
//= V2.0 - Made it an diary autoevent starts at 20:00
//=	  - the prize and cantity can be change in the script.
//=	  - changed the "atcommand @nuke..." line for
//=		"percentheal -100,-100;" with specialeffect2
//=========================================================

- script announce_cluck -1,{

OnInit:
disablenpc "Cluckers";
inicio:
sleep2 rand(3600000,10800000);

announce "[Evento] Cluckers acaba de salir a pasear!",0;
sleep 10000; //10 s <-- Espera 10 segundos para el proximo mensaje

announce "[Evento] ¿Quien es Cluckers? es nuestra mascota y le encanta pasear en Prontera... o dormir...",0; //puedes poner cualquier ciudad
enablenpc "Cluckers"; //Aqui se activa la gallina
sleep 10000; //10 s

announce "[Evento] El problema es que ha tomado algunas poring coins, quien logre quitarselas puede conservarlas",0; //puedes elegir el premio que te plasca
sleep 5000; //5 s

announce "[Evento] Solo recuerden, ella despierta de muy mal humor!",0;
sleep 5000; //5 s
end;
}

//===============================================================
//= CLUCKERS!
//===============================================================
prontera,155,176,4 script Cluckers 800,{
set .prize,29997; // Item Recompensa
set .cprize,2;   // Cantidad del item


specialeffect2 2;
switch( rand(15) ) {
case 0:
npctalk "CLUUUUUUCK!!!";
specialeffect2 183;
emotion 23;
percentheal -100,-100;
break;
case 1:
npctalk "Cluuuuuck!~";
break;
case 2:
specialeffect2 183;
emotion 23;
percentheal -100,-100;
break;
case 3:
sc_start SC_Freeze,10000,0;
dispbottom "Cluckers te ha congelado!";
break;
case 4:
npctalk "CLUUUUUUUUUCK!!!";
specialeffect2 183;
emotion 23;
percentheal -100,-100;
break;
case 5:
sc_start SC_Sleep,10000,0;
dispbottom "Cluckers te mando a dormir!";
break;
case 6:
emotion 29;
sc_start SC_Stone,10000,0;
dispbottom "Cluckers te hizo piedra!";
break;
case 7:
npctalk "CLUUUUUUCK!!!";
specialeffect2 183;
emotion 23;
percentheal -100,-100;
break;
case 8:
npctalk "Cluck! CLUUUCK!!";
specialeffect2 183;
emotion 23;
percentheal -100,-100;
break;
case 9:
sc_start SC_Stun,10000,0;
dispbottom "Cluckers te dio Stun!";
break;
case 10:
emotion 29;
sc_start SC_Sleep,10000,0;
dispbottom "Cluckers te mando a dormir!";
break;
case 11:
npctalk "Cluck! Cluck!";
break;
case 12:
sc_start SC_Stun,10000,0;
dispbottom "Cluckers te dio Stun!";
break;
case 13:
specialeffect2 183;
emotion 23;
percentheal -100,-100;
break;
default:
if( rand(50) < 3 ) {
npctalk "WOOF!...........";
specialeffect2 72;
announce "[Evento] Cluckers por fin se rindio! " + strcharinfo(0) + " logro conseguir el premio! Bien hecho!",0;
getitem .prize,.cprize;
sleep 5000;
announce "[Evento] Despidanse de Cluckers y esperenla en su proximo paseo!",0;
disablenpc "Cluckers";
} else {
npctalk "Cluck! CLUUUCK!!";
specialeffect2 183;
emotion 23;
percentheal -100,-100;
break;
}
break;
}
}

Here you go... :)

Edited by InFiNiTe
Posted

try these packets instead

0x0436,26,friendslistadd,2
0x0898,5,hommenu,4
0x0281,36,storagepassword,0
0x088d,26,partyinvite2,2
0x083c,19,wanttoconnection,2:6:10:14:18
0x08aa,7,actionrequest,2:6
0x02c4,10,useskilltoid,2:4:6
0x0811,-1,itemlistwindowselected,2:4:8
0x890,8
0x08a5,18,bookingregreq,2:4:6
0x0835,-1,reqopenbuyingstore,2:4:8:9:89
0x089b,2,reqclosebuyingstore,0
0x08a1,6,reqclickbuyingstore,2
0x089e,-1,reqtradebuyingstore,2:4:8:12
0x08ab,-1,searchstoreinfo,2:4:5:9:13:14:15
0x088b,2,searchstoreinfonextpage,0
0x08a2,12,searchstoreinfolistitemclick,2:6:10

0x0364,5,walktoxy,2
0x0817,6,ticksend,2
0x0366,5,changedir,2:4
0x0815,6,takeitem,2
0x0885,6,dropitem,2:4
0x0893,8,movetokafra,2:4
0x0897,8,movefromkafra,2:4
0x0369,10,useskilltopos,2:4:6:8
0x08ad,90,useskilltoposinfo,2:4:6:8:10
0x088a,6,getcharnamerequest,2
0x0838,6,solvecharname,2

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...