Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 12/31/13 in Posts

  1. Guia sistema donaciones SmS by Racing Requisitos: -Servidor web que permita php. -Cuenta con Paygol. -eAthena SQL o rAthena SQL Registración & creación del servicio Primero tienes que registrarte en el siguiente Link: paygol.com Ahi lo vas a ver en el lado izquierdo "Crea una nueva cuenta" Ya cuando esten registrados prosigamos a crear un nuevo servicio que está en el lado izquierdo en Servicios Luego cuando le des click a nuevo servicio deberas elejir para que es el servicio, en nuestro caso seleccionamos la opcion: Para cualquier tipo de sitio web Ya adentro sigue las siguientes instrucciones: En Nombre: Este es el nombre de tu servicio que será mostrado a tus visitantes. Ejemplo "Racing" En Tipo: Seleccionen Integrado En Precio: Selecciona la moneda y luego escribe el precio que tus visitantes paguen. El precio será automáticamente convertido dependiendo del país o moneda del visitante. En Margen de Precio: Dejenlo en Automatico En Reporte por correo: Escribe tu dirección de email, si quieres recibir reportes por cada pago. En Url de proceso (IPN): Aquí pondrán la url de un php que mandará la función a la base de datos sql. Ejemplo: http://tuserver.com/generate.php - El archivo generate.php esta en el paquete rar (\Sms\Host Web\generate.php) - OJO: Debes abrirlo con un editor de texto y editarle esta parte: Citar $dbhost = "localhost"; //Host del MySQL (normalmente localhost si es casero, si es con dedicado o vps pideselo a tu provedor) $dbuser = "root"; //Nombre de usuario para conectar a la Base de Datos $dbpassword = "password"; //Contraseña para conectar a la Base de Datos $db = "ragnarok"; //Nombre de la Base de Datos con la cual se trabaja - Salvalo y subela a la raiz de tu pagina web. Normalmente es el folder "www" o "public_html" - Luego pon la ruta en la parte Url de proceso (IPN). En Url Exito: Ahi pones una url donde redireccionará a tus visitante cuando la donación tenga éxito. En Url Fracaso: Ahí pones una url donde redireccionará a tus visitante cuando fracase la donación. En Países: Selecciona los países en donde te gustaría operar tu servicio. (Se recomienda selecciona todo) Ahora debes Elige un botón: Elige uno de los botones, puedes reemplazarlo fácilmente por tu propio botón u alguno de los que traen después de haber creado el servicio. Luego le das al botón GUARDAR para crear tu servicio. Implementacion: Ya con tu servicio creado vas al siguiente boton para ver los metodos de implementacion: Ahi pueden usar el script creado por la misma pagina (deben de salvarlo en un archivo .php y subirlo junto con el archivo generate.php. O bien pueden usar el que esta en el rar editandolo de la siguiente manera: EDITANDO SOLO LO QUE ESTA EN AZUL xD Citar <title>:: Ragnarok Online :: - Confirmacion!</title> <center><!-- PayGol JavaScript --> <script src=" http://www.paygol.com/micropayment/js/paygol.js " type="text/javascript"></script> <!-- PayGol Form --> <form name="pg_frm"> <input type="hidden" name="pg_serviceid" value=" 2734 "> <!--Aqui la Id de tu servicio--> <input type="hidden" name="pg_currency" value=" USD "> <!--Aqui la moneda que Pusiste en tu servicio--> <input type="hidden" name="pg_name" value=" Ragnarok Online - Donacion "> <!--Nombre del titulo del php--> <input type="hidden" name="pg_custom" value=""> <input type="hidden" name="pg_price" value=" 3 "> <!--Aqui el precio que pusiste en tu servicio--> <input type="hidden" name="pg_return_url" value=" http://localhost/fl/gracias_por_tu_donacion.php "> <!--Aqui el URL exito que pusiste en tu servicio--> <input type="hidden" name="pg_cancel_url" value=" http://localhost/fl/error_en_donacion.php "> <!--Aqui el URL fracaso que pusiste en tu servicio--> <input type="image" name="pg_button" class="paygol" src="images/continue.png" border="0" alt="Realiza pagos con PayGol: la forma mas facil!" title="Realiza pagos con PayGol: la forma mas facil!" onClick="pg_reDirect(this.form)"> </form> </center> - Lo salvan en un archivo php y lo suben en su web junto con generate.php. Implementando la tabla sms en la base de datos SQL Dentro del paquete rar que esta en la descarga de esta guia, encontraras un archivo .sql llamado "Base de datos SMS.sql" en (\Sms\SQL\Base de datos SMS.sql) Este archivo deben importarlo en la base de datos del servidor. (Todo admin debe saber como implementar archivos sql) Configuracion del Script Ya hecho todo lo anterior, solo falta configurar el script. Dentro del paquete rar, encontraran un script llamado "SmsDona.txt" en (\Sms\npc\SmsDona.txt). Abran este archivo y modifiquen las siguientes lineas a su gusto: EDITANDO SOLO LO QUE ESTA EN AZUL CUIDADO CON BORRAR ALGO MAS Configuraciones: */ prontera,147,168,4 script Donaciones SMS 719 ,{ // Posicion del npc, Nombre y sprite ID set .@n$,"^008888[ Donaciones SMS ]^000000"; //Nombre del NPC set @srv$,"^00FF37 Server Test ^000000"; //Nombre del server set @url$,"^0000FF www.tuserver ro. çom ^000000"; //Url de tu server set @custom, 7539 ; //ID del item por default "Poring Coin" set @pxe, 150 ; //Cantidad de Item que recibirá por cada SMS. Instrucciones de uso: El visitante visita tu web y le da click al banner que seleccionó apareciendole el cuadro de la donación informándole todo lo necesario para hacer la donación. Al hacer la donación siguiendo las instrucciones recibirá un minimensaje agradeciendole por la donacion y al final habrá un codigo, Ejemplo: gracias por tu pago. este pago ha sido completado #88777 En el juego vas al npc y te pedirá que introduzca el codigo en el caso del ejemplo es "88777" Y asi el jugador recibirá los coins el cual se canjearán por equipo e Items dependiendo del uso del server. ScreenShot: Agradecimientos especiales: Alaude (Daniel Art me ayudo a modificar el primer script :*) Karmic (El script original fue creado por el) GeForce (Cuando buscaba información, tus datos fueron los mejores thank you.) Xcution RO (Servidor donde hice el test ademas de mi server casero.) paygol (Empresa donde se hace la mayor parte del proceso) Espero que le sea de mucha utilidad les dejo los archivos adjunto en un rar tal como lo dije el la guia. Les deharé varios mirrors. Mega: https://mega.co.nz/#!TBUmiIgD!U-Y1_ESvBUCwtN_15UXTyHTA8_RJRtD_-EAL3aZSddM MediaFire: https://www.mediafire.com/?rju0patdjacpcnt Luego Haré otra guía de donaciones SMS con script php. Saludos. Sms.rar
    1 point
  2. Added AEGIS 'CLASS_' enum (dae8122, 8120164) contains updates in item bonuses. Item bonuses 'bAddDefClass' and 'bAddMdefClass' replaced by 'bAddDefMonster' and 'bAddMdefMonster'. Item bonuses 'bIgnoreMdefRate' and 'bIgnoreDefRate' replaced by 'bIgnoreMdefRaceRate' and 'bIgnoreDefRaceRate'. Added new item bonuses: bIgnoreDefClass, bDefRatioAtkClass, bAddClass, bSubClass, bMagicAddClass, bWeaponComaClass, bHpDrainValueClass, bSpDrainValueClass, bIgnoreMdefClassRate. All monsters separated on Class_, like in AEGIS: Class_Normal - all normal monsters Class_Boss - all boss monsters Class_Guardian - all Guardian type monsters (in gvg map) For example, we use now '{ bonus2 bAddClass,Class_Normal,10; }' instead of '{ bonus2 bAddRace,RC_NonBoss,10; }' in item bonus filed. This bonus will not affect on Guardians, only on Normal class. Also was added new constants: RC_ALL (RC_All) - Immediately to indicate all races. CLASS_ALL (Class_All) - Immediately to indicate all classes. ELE_ALL (Ele_All) - Immediately to indicate all elements. SZ_ALL (Size_All) - Immediately to indicate all sizes. For example, { bonus2 bAddSize,Size_All,40; } instead of { bonus2 bAddSize,Size_Small,40; bonus2 bAddSize,Size_Medium,40; bonus2 bAddSize,Size_Large,40; } New lines in doc/item_bonus.txt bonus bIgnoreDefClass,n; Disregard DEF against enemies of class n n: Class_Normal, Class_Boss, Class_Guardian bonus bDefRatioAtkClass,n; Does more damage depending on monster Defense against class n (defense disregard) bonus2 bIgnoreDefRaceRate,n,x; Disregard x% of the target's DEF if the target belongs to race n n: RC_Formless, RC_Undead, RC_Brute, RC_Plant, RC_Insect, RC_Fish, RC_Demon, RC_DemiHuman, RC_Angel, RC_Dragon, RC_All bonus2 bAddClass,n,x; +x% physical damage against class n n: Class_Normal, Class_Boss, Class_Guardian bonus2 bSubClass,n,x; +x% damage reduction against class n n: Class_Normal, Class_Boss, Class_Guardian bonus2 bMagicAddClass,n,x; +x% magical damage against class n n: Class_Normal, Class_Boss, Class_Guardian bonus2 bWeaponComaClass,n,y; y/100% chance to cause Coma when attacking a monster of class x with a normal attack n: Class_Normal, Class_Boss, Class_Guardian bonus2 bHpDrainValueClass,n,x; Heals +x HP when attacking a monster of class n with normal attack. n: Class_Normal, Class_Boss, Class_Guardian bonus2 bSpDrainValueClass,n,x; Heals +x SP when attacking a monster of class n with normal attack. n: Class_Normal, Class_Boss, Class_Guardian bonus2 bIgnoreMdefClassRate,n,x; Disregard x% of the target's MDEF if the target belongs to class n n: Class_Normal, Class_Boss, Class_Guardian
    1 point
  3. 1. Concept Here comes another map which has another new feature I've tried so far. I showed this one on my facebook site and people loved it and they were really interested about how I did these lights on it. Perhaps some mappers wants to give a try to this. The Gambling Capital is a small map or a small area inspired in Las Vegas. My customer asked me to recreate a "modern city" full of life and colors. In the reference you can see the caesars palace in las vegas and thats kinda the idea of the map: iluminate everything. 2. Features Light on models: There are plenty of color lights on the structures as also in some palm trees in the map. This effect was possible by doing a looot of tests and errors in game. Some custom buildings to fit the modern style. Effects everywhere! sparklights, fireworks, and so on Some representative neon signs, like, the market area has some pots on it. The cabaret area, 2 alligators having fun. The casino, some dices and that sort of stuff. 3. Video *watch in HD 1080p* If you want to enjoy the fireworks, please watch the video 4. Screenshots Some screenshots. There isn't a particular order or purpose on the screens here, just some overview screenshots and maybe some others that has to do with close ups.
    1 point
  4. I don't know if it's the new year for all of you, but here in france it's THE FUCKING NEW YEAR 2014 and we are ALL STILL ALIVE! AND the planet didn't explode yet. The church near my place is rining for about 10 mins and My brain is going to explode. RATHENA 2014 HAPPY NEW YEAR EVERYONE!! /lv
    1 point
  5. i want to npc script that give the player a rental item for ticket 1 ticket = 1 day item ex.. if the player choose the item and choose 1 ticket the npc will give 1 day rental item. etc. like Npc: what do you want?(a menu appeared) menu = Gears, Gods, Extend my items. player: he choose Gods. Npc: what item you want?(a menu appeared) player: he choose sleipnir; Npc: how many days: (a menu appeared) maximum is 10 days player: he choose 3 if he has insufficient ticket. Npc: sorry insufficient ticket! if he has sufficient ticket Npc: here's you're item! in extend my items he will choose how many days. Npc: how many days: (a menu appeared) maximum is 10 days player: he choose 3 if he has insufficient ticket. Npc: sorry insufficient ticket! if he has sufficient ticket Npc: here's you're item! thanks!!
    1 point
  6. 1 point
  7. huh Annie did it o: thanks Annie o:! lol sorry i didn't read the second post of yours Mau, where you specify the acces and ids and items x_x sorry D:! i made the script only based on the first post so sorry DDDD:! well, anyway, Annie ended it with short and best results, you are on the best hands with her when she does script lol here is my script made with only menu options, eveyrone will laught/cry about this lol prontera,156,174,5 script Rental Guy 822,{ mes "Hello, i can exchange your tickets for rentals and or expand the time of your rental item"; mes "However, i can only do it for 1 day per ticket with a limit of 10 tickets or 10 days"; next; mes "Firstly, please select how many days do you wish to expand your item, if you want to expand, if not select the last option."; mes "Note, tickets will be deleted on selection so please pick wise, also note that to expand the duration of an item you will need the item with you"; next; menu "1 day",L_1,"2 days",L_2,"3 days",L_3,"4 days",L_4,"5 days",L_5,"6 days",L_6,"7 days",L_7,"8 days",L_8,"9 days",L_9,"10 days",L_10,"Rent an item for first time",L_rent,"cancel",L_cancel; next; L_1: if(countitem(7711)<1)goto no_item; delitem 7711,1; mes "Allright, now select an item"; menu "Sleipnir",L_S1,"Meginghard",L_M1,"Asprika",L_A1,"Brisingamen",L_B1,"Mjolnir",L_Mj1; next; L_S1: if(countitem(2410)<1)goto no_equip; delitem 2410,1; rentitem 2410,86400; next; close; L_M1: if(countitem(2629)<1)goto no_equip; delitem 2629,1; rentitem 2629,86400; next; close; L_A1: if(countitem(2541)<1)goto no_equip; delitem 2541,1; rentitem 2541,86400; next; close; L_B1: if(countitem(2630)<1)goto no_equip; delitem 2630,1; rentitem 2630,86400; next; close; L_Mj1: if(countitem(1530)<1)goto no_equip; delitem 1530,1; rentitem 1530,86400; next; close; L_2: if(countitem(7711)<2)goto no_item; delitem 7711,2; mes "Allright, now select an item"; menu "Sleipnir",L_S2,"Meginghard",L_M2,"Asprika",L_A2,"Brisingamen",L_B2,"Mjolnir",L_Mj2; next; L_S2: if(countitem(2410)<1)goto no_equip; delitem 2410,1; rentitem 2410,172800; next; close; L_M2: if(countitem(2629)<1)goto no_equip; delitem 2629,1; rentitem 2629,172800; next; close; L_A2: if(countitem(2541)<1)goto no_equip; delitem 2541,1; rentitem 2541,172800; next; close; L_B2: if(countitem(2630)<1)goto no_equip; delitem 2630,1; rentitem 2630,172800; next; close; L_Mj2: if(countitem(1530)<1)goto no_equip; delitem 1530,1; rentitem 1530,172800; next; close; L_3: if(countitem(7711)<3)goto no_item; delitem 7711,3; mes "Allright, now select an item"; menu "Sleipnir",L_S3,"Meginghard",L_M3,"Asprika",L_A3,"Brisingamen",L_B3,"Mjolnir",L_Mj3; L_S3: if(countitem(2410)<1)goto no_equip; delitem 2410,1; rentitem 2410,259200; next; close; L_M3: if(countitem(2629)<1)goto no_equip; delitem 2629,1; rentitem 2629,259200; next; close; L_A3: if(countitem(2541)<1)goto no_equip; delitem 2541,1; rentitem 2541,259200; next; close; L_B3: if(countitem(2630)<1)goto no_equip; delitem 2630,1; rentitem 2630,259200; next; close; L_Mj3: if(countitem(1530)<1)goto no_equip; delitem 1530,1; rentitem 1530,259200; next; close; L_4: if(countitem(7711)<4)goto no_item; delitem 7711,4; mes "Allright, now select an item"; menu "Sleipnir",L_S4,"Meginghard",L_M4,"Asprika",L_A4,"Brisingamen",L_B4,"Mjolnir",L_Mj4; next; L_S4: if(countitem(2410)<1)goto no_equip; delitem 2410,1; rentitem 2410,345600; next; close; L_M4: if(countitem(2629)<1)goto no_equip; delitem 2629,1; rentitem 2629,345600; next; close; L_A4: if(countitem(2541)<1)goto no_equip; delitem 2541,1; rentitem 2541,345600; next; close; L_B4: if(countitem(2630)<1)goto no_equip; delitem 2630,1; rentitem 2630,345600; next; close; L_Mj4: if(countitem(1530)<1)goto no_equip; delitem 1530,1; rentitem 1530,345600; next; close; L_5: if(countitem(7711)<5)goto no_item; delitem 7711,5; mes "Allright, now select an item"; menu "Sleipnir",L_S5,"Meginghard",L_M5,"Asprika",L_A5,"Brisingamen",L_B5,"Mjolnir",L_Mj5; next; L_S5: if(countitem(2410)<1)goto no_equip; delitem 2410,1; rentitem 2410,432000; next; close; L_M5: if(countitem(2629)<1)goto no_equip; delitem 2629,1; rentitem 2629,432000; next; close; L_A5: if(countitem(2541)<1)goto no_equip; delitem 2541,1; rentitem 2541,432000; next; close; L_B5: if(countitem(2630)<1)goto no_equip; delitem 2630,1; rentitem 2630,432000; next; close; L_Mj5: if(countitem(1530)<1)goto no_equip; delitem 1530,1; rentitem 1530,432000; next; close; L_6: if(countitem(7711)<6)goto no_item; delitem 7711,6; mes "Allright, now select an item"; menu "Sleipnir",L_S6,"Meginghard",L_M6,"Asprika",L_A6,"Brisingamen",L_B6,"Mjolnir",L_Mj6; next; L_S6: if(countitem(2410)<1)goto no_equip; delitem 2410,1; rentitem 2410,518400; next; close; L_M6: if(countitem(2629)<1)goto no_equip; delitem 2629,1; rentitem 2629,518400; next; close; L_A6: if(countitem(2541)<1)goto no_equip; delitem 2541,1; rentitem 2541,518400; next; close; L_B6: if(countitem(2630)<1)goto no_equip; delitem 2630,1; rentitem 2630,518400; next; close; L_Mj6: if(countitem(1530)<1)goto no_equip; delitem 1530,1; rentitem 1530,518400; next; close; L_7: if(countitem(7711)<7)goto no_item; delitem 7711,7; mes "Allright, now select an item"; menu "Sleipnir",L_S7,"Meginghard",L_M7,"Asprika",L_A7,"Brisingamen",L_B7,"Mjolnir",L_Mj7; next; L_S7: if(countitem(2410)<1)goto no_equip; delitem 2410,1; rentitem 2410,604800; next; close; L_M7: if(countitem(2629)<1)goto no_equip; delitem 2629,1; rentitem 2629,604800; next; close; L_A7: if(countitem(2541)<1)goto no_equip; delitem 2541,1; rentitem 2541,604800; next; close; L_B7: if(countitem(2630)<1)goto no_equip; delitem 2630,1; rentitem 2630,604800; next; close; L_Mj7: if(countitem(1530)<1)goto no_equip; delitem 1530,1; rentitem 1530,604800; next; close; L_8: if(countitem(7711)<8)goto no_item; delitem 7711,8; mes "Allright, now select an item"; menu "Sleipnir",L_S8,"Meginghard",L_M8,"Asprika",L_A8,"Brisingamen",L_B8,"Mjolnir",L_Mj8; next; L_S8: if(countitem(2410)<1)goto no_equip; delitem 2410,1; rentitem 2410,691200; next; close; L_M8: if(countitem(2629)<1)goto no_equip; delitem 2629,1; rentitem 2629,691200; next; close; L_A8: if(countitem(2541)<1)goto no_equip; delitem 2541,1; rentitem 2541,691200; next; close; L_B8: if(countitem(2630)<1)goto no_equip; delitem 2630,1; rentitem 2630,691200; next; close; L_Mj8: if(countitem(1530)<1)goto no_equip; delitem 1530,1; rentitem 1530,691200; next; close; L_9: if(countitem(7711)<9)goto no_item; delitem 7711,9; mes "Allright, now select an item"; menu "Sleipnir",L_S9,"Meginghard",L_M9,"Asprika",L_A9,"Brisingamen",L_B9,"Mjolnir",L_Mj9; next; L_S9: if(countitem(2410)<1)goto no_equip; delitem 2410,1; rentitem 2410,777600; next; close; L_M9: if(countitem(2629)<1)goto no_equip; delitem 2629,1; rentitem 2629,777600; next; close; L_A9: if(countitem(2541)<1)goto no_equip; delitem 2541,1; rentitem 2541,777600; next; close; L_B9: if(countitem(2630)<1)goto no_equip; delitem 2630,1; rentitem 2630,777600; next; close; L_Mj9: if(countitem(1530)<1)goto no_equip; delitem 1530,1; rentitem 1530,777600; next; close; L_10: if(countitem(7711)<10)goto no_item; delitem 7711,10; mes "Allright, now select an item"; menu "Sleipnir",L_S0,"Meginghard",L_M0,"Asprika",L_A0,"Brisingamen",L_B0,"Mjolnir",L_Mj0; next; L_S0: if(countitem(2410)<1)goto no_equip; delitem 2410,1; rentitem 2410,864000; next; close; L_M0: if(countitem(2629)<1)goto no_equip; delitem 2629,1; rentitem 2629,864000; next; close; L_A0: if(countitem(2541)<1)goto no_equip; delitem 2541,1; rentitem 2541,864000; next; close; L_B0: if(countitem(2630)<1)goto no_equip; delitem 2630,1; rentitem 2630,864000; next; close; L_Mj0: if(countitem(1530)<1)goto no_equip; delitem 1530,1; rentitem 1530,864000; next; close; no_item: mes "Huh trying to fool me?"; mes "you don't have sufficent tickets."; mes "Sorry i can't refund any ticket."; close; no_equip: mes "Sorry but seems that you don't even have the correct equip"; mes "First get it and then we may talk"; close; L_cancel: mes "Allright don't worry, come to me any time"; close; L_rent: mes "Allright, select an item to rent for first time and how many days"; mes "Note, on selection the ticket will be deleted, so please pick wise"; mes "Remember, for each day you will need a ticket"; menu "1 Day",L_n1,"2 Days",L_n2,"3 Days",L_n3,"4 Days",L_n4,"5 Days",L_n5,"6 Days",L_n6,"7 Days",L_n7,"8 Days",L_n8,"9 Days",L_n9,"10 Days",L_n10,"Cancel",L_cancel; next; L_n1: if(countitem(7711)<1)goto no_item; delitem 7711,1; mes "Allright, now select an item"; menu "Sleipnir",L_nSs1,"Meginghard",L_nMm1,"Asprika",L_nAa1,"Brisingamen",L_nBb1,"Mjolnir",L_nMmj1; next; L_nSs1: rentitem 2410,86400; next; close; L_nMm1: rentitem 2629,86400; next; close; L_nAa1: rentitem 2541,86400; next; close; L_nBb1: rentitem 2630,86400; next; close; L_nMmj1: rentitem 1530,86400; next; L_n2: if(countitem(7711)<2)goto no_item; delitem 7711,2; mes "Allright, now select an item"; menu "Sleipnir",L_nSs2,"Meginghard",L_nMm2,"Asprika",L_nAa2,"Brisingamen",L_nBb2,"Mjolnir",L_nMmj2; next; L_nSs2: rentitem 2410,172800; next; close; L_nMm2: rentitem 2629,172800; next; close; L_nAa2: rentitem 2541,172800; next; close; L_nBb2: rentitem 2630,172800; next; close; L_nMmj2: rentitem 1530,172800; next; close; L_n3: if(countitem(7711)<3)goto no_item; delitem 7711,3; mes "Allright, now select an item"; menu "Sleipnir",L_nSs3,"Meginghard",L_nMm3,"Asprika",L_nAa3,"Brisingamen",L_nBb3,"Mjolnir",L_nMmj3; L_nSs3: rentitem 2410,259200; next; close; L_nMm3: rentitem 2629,259200; next; close; L_nAa3: rentitem 2541,259200; next; close; L_nBb3: rentitem 2630,259200; next; close; L_nMmj3: rentitem 1530,259200; next; close; L_n4: if(countitem(7711)<4)goto no_item; delitem 7711,4; mes "Allright, now select an item"; menu "Sleipnir",L_nSs4,"Meginghard",L_nMm4,"Asprika",L_nAa4,"Brisingamen",L_nBb4,"Mjolnir",L_nMmj4; next; L_nSs4: rentitem 2410,345600; next; close; L_nMm4: rentitem 2629,345600; next; close; L_nAa4: rentitem 2541,345600; next; close; L_nBb4: rentitem 2630,345600; next; close; L_nMmj4: rentitem 1530,345600; next; close; L_n5: if(countitem(7711)<5)goto no_item; delitem 7711,5; mes "Allright, now select an item"; menu "Sleipnir",L_nSs5,"Meginghard",L_nMm5,"Asprika",L_nAa5,"Brisingamen",L_nBb5,"Mjolnir",L_nMmj5; next; L_nSs5: rentitem 2410,432000; next; close; L_nMm5: rentitem 2629,432000; next; close; L_nAa5: rentitem 2541,432000; next; close; L_nBb5: rentitem 2630,432000; next; close; L_nMmj5: rentitem 1530,432000; next; close; L_n6: if(countitem(7711)<6)goto no_item; delitem 7711,6; mes "Allright, now select an item"; menu "Sleipnir",L_nSs6,"Meginghard",L_nMm6,"Asprika",L_nAa6,"Brisingamen",L_nBb6,"Mjolnir",L_nMmj6; next; L_nSs6: rentitem 2410,518400; next; close; L_nMm6: rentitem 2629,518400; next; close; L_nAa6: rentitem 2541,518400; next; close; L_nBb6: rentitem 2630,518400; next; close; L_nMmj6: rentitem 1530,518400; next; close; L_n7: if(countitem(7711)<7)goto no_item; delitem 7711,7; mes "Allright, now select an item"; menu "Sleipnir",L_nSs7,"Meginghard",L_nMm7,"Asprika",L_nAa7,"Brisingamen",L_nBb7,"Mjolnir",L_nMmj7; next; L_nSs7: rentitem 2410,604800; next; close; L_nMm7: rentitem 2629,604800; next; close; L_nAa7: rentitem 2541,604800; next; close; L_nBb7: rentitem 2630,604800; next; close; L_nMmj7: rentitem 1530,604800; next; close; L_n8: if(countitem(7711)<8)goto no_item; delitem 7711,8; mes "Allright, now select an item"; menu "Sleipnir",L_nSs8,"Meginghard",L_nMm8,"Asprika",L_nAa8,"Brisingamen",L_nBb8,"Mjolnir",L_nMmj8; next; L_nSs8: rentitem 2410,691200; next; close; L_nMm8: rentitem 2629,691200; next; close; L_nAa8: rentitem 2541,691200; next; close; L_nBb8: rentitem 2630,691200; next; close; L_nMmj8: rentitem 1530,691200; next; close; L_n9: if(countitem(7711)<9)goto no_item; delitem 7711,9; mes "Allright, now select an item"; menu "Sleipnir",L_nSs9,"Meginghard",L_nMm9,"Asprika",L_nAa9,"Brisingamen",L_nBb9,"Mjolnir",L_nMmj9; next; L_nSs9: rentitem 2410,777600; next; close; L_nMm9: rentitem 2629,777600; next; close; L_nAa9: rentitem 2541,777600; next; close; L_nBb9: rentitem 2630,777600; next; close; L_nMmj9: rentitem 1530,777600; next; close; L_n10: if(countitem(7711)<10)goto no_item; delitem 7711,10; mes "Allright, now select an item"; menu "Sleipnir",L_nSs0,"Meginghard",L_nMm0,"Asprika",L_nAa0,"Brisingamen",L_nBb0,"Mjolnir",L_nMmj0; next; L_nSs0: rentitem 2410,864000; next; close; L_nMm0: rentitem 2629,864000; next; close; L_nAa0: rentitem 2541,864000; next; close; L_nBb0: rentitem 2630,864000; next; close; L_nMmj0: rentitem 1530,864000; next; close; OnInit: waitingroom "Rentals",0; end; } i totally suugest you to use AnnieRuru's script, the one that is over this post lol well Mau, i hope your request is satisfied (which i assume it is lol) hope see you around here on the community, always ask for help if you need again, cya !
    1 point
  8. If you are only using lan. NO NEED to open ports do you use 2012-04-18RagexeRE as your client? also 2012-04-18 is packet_ver: 31 //2012-04-18aRagexeRE [Special Thanks to Judas!] packet_ver:31 you need to change your clientinfo.xml to 31 <version>26</version> to <version>31</version> to match the packets.
    1 point
  9. Eh... that was entirely a joke, I would never put such effort into a real script. ;D In case you need one, here's the actual version of that script (as you can see, it's pretty bare): prontera,148,170,6 script MVP Ladder 891,{ mes "[MVP Ladder]"; mes "Hello!"; mes "What are you doing here?"; next; switch(select("Check rankings.:My stats.:Nothing...")) { case 1: mes "[MVP Ladder]"; query_sql("SELECT char_id,CAST(`value` AS SIGNED) FROM `global_reg_value` WHERE `str` = 'MVP_Rank' ORDER BY CAST(`value` AS SIGNED) DESC LIMIT 20",.@cid,.@value); for(set .@i,0; .@i<getarraysize(.@cid); set .@i,.@i+1) { query_sql("SELECT `name` FROM `char` WHERE char_id = "+.@cid[.@i]+";",.@j$); set .@name$[.@i], .@j$; } if (!getarraysize(.@cid)) mes "The rankings are empty."; else for(set .@i,0; .@i<getarraysize(.@cid); set .@i,.@i+1) mes "["+(.@i+1)+"] "+.@name$[.@i]+" ~ "+.@value[.@i]+" kills"; close; case 2: mes "[MVP Ladder]"; mes "You have killed "+((MVP_Rank)?"^0055FF"+MVP_Rank:"no")+"^000000 MVP"+((MVP_Rank == 1)?".":"s."); close; case 3: close; } OnNPCKillEvent: if (getmonsterinfo(killedrid,22)) { set MVP_Rank, MVP_Rank+1; if (MVP_Rank == 1) query_sql("INSERT INTO `global_reg_value` (`char_id`,`str`,`value`,`type`,`account_id`) VALUES ("+getcharid(0)+",'MVP_Rank','1',3,0)"); else query_sql("UPDATE `global_reg_value` SET `value` = '"+MVP_Rank+"' WHERE char_id = "+getcharid(0)+" AND `str` ='MVP_Rank'"); dispbottom "~ You've killed "+MVP_Rank+" MVP"+((MVP_Rank == 1)?"":"s")+". ~"; specialeffect2 313; } end; }
    1 point
  10. yes, it made by me the part you posted is incomplete so I make a link to original topic http://rathena.org/board/topic/76954-can-i-request-script-evolution-pet/ since the config says 900, so I use 900 instead of 1000so ... prontera,156,178,5 script ldfhsdfkljs 100,{ if ( getpetinfo(PET_CLASS) ) { mes "please return your pet into egg state to continue"; close; } getinventorylist; for ( .@i = 0; .@i < @inventorylist_count; .@i++ ) { if ( @inventorylist_card1[.@i] == -256 ) { query_sql "select intimate, class, level, equip, name from pet where pet_id = "+( .@id = @inventorylist_card2[.@i] + ( ( @inventorylist_card2[.@i] >= 0 )? 0 : 1 << 16 ) + @inventorylist_card3[.@i] * ( 1 << 16 ) ), .@intimate, .@class, .@level, .@equipped, .@name$; if ( .@intimate > .pet_min_friendly ) { .@menu$ = .@menu$ +"^0000FF"+ .@name$ +" ^00CC00{"+ getmonsterinfo( .@class, 0 ) +"} ^000000["+ .@level +"] ^FF0000"+( ( .@equipped )? "*equipped" : "" )+":"; .@pet_id[.@c] = .@id; .@egg_id[.@c] = @inventorylist_id[.@i]; .@pet_name$[.@c] = .@name$; .@pet_class[.@c] = .@class; .@pet_level[.@c] = .@level; .@pet_equipped[.@c] = .@equipped; .@c++; } } } if ( !.@c ) { mes "your inventory doesn't have any pet egg that intimate enough"; close; } mes "select which pet that you want it to evolve"; next; .@s = select( .@menu$ ) -1; mes "selected : "+ .@pet_name$[.@s]; mes "level : "+ .@pet_level[.@s]; mes "equipped : "+( ( .@pet_equipped[.@s] )? "Yes" : "No" ); if ( getd( ".petr"+ .@pet_class[.@s] ) ) { mes "require :-"; .@size = getarraysize( getd( ".petr"+ .@pet_class[.@s] ) ); for ( .@i = 0; .@i < .@size; .@i += 2 ) mes getd( ".petr"+ .@pet_class[.@s] +"["+( .@i +1 )+"]" )+"x "+ getitemname( getd( ".petr"+ .@pet_class[.@s] +"["+ .@i +"]" ) ); } next; if ( !getd( ".pet"+ .@pet_class[.@s] ) ) { mes "this pet cannot evolve any further"; close; } if ( .@pet_level[.@s] < .min_level ) { mes "this pet doesn't meet the level requirement"; close; } if ( .@pet_equipped[.@s] ) { mes "please unequip this pet accesory to continue"; close; } if ( getd( ".petr"+ .@pet_class[.@s] ) ) { .@size = getarraysize( getd( ".petr"+ .@pet_class[.@s] ) ); for ( .@i = 0; .@i < .@size; .@i += 2 ) { if ( countitem( getd( ".petr"+ .@pet_class[.@s] +"["+ .@i +"]" ) ) < getd( ".petr"+ .@pet_class[.@s] +"["+( .@i +1 )+"]" ) ) { mes "you need "+ getd( ".petr"+ .@pet_class[.@s] +"["+( .@i +1 )+"]" ) +"x "+ getitemname( getd( ".petr"+ .@pet_class[.@s] +"["+ .@i +"]" ) ) +" to evolve this pet"; close; } } for ( .@i = 0; .@i < .@size; .@i += 2 ) delitem getd( ".petr"+ .@pet_class[.@s] +"["+ .@i +"]" ), getd( ".petr"+ .@pet_class[.@s] +"["+( .@i +1 )+"]" ); } delitem2 .@egg_id[.@s], 1, 1, 0, 0, -256, ( .@pet_id[.@s] % ( 1 << 16 ) - ( .@remainder15 = .@pet_id[.@s] % ( 1 << 15 ) ) < ( 1 << 15 ) )? .@remainder15 : ( .@remainder15 - ( 1 << 15 ) ), .@pet_id[.@s] >> 16, 0; makepet .@get_pet_id = getd( ".pet"+ .@pet_class[.@s] +"["+ rand( getarraysize( getd( ".pet"+ .@pet_class[.@s] ) ) ) +"]" ); mes "your "+ .@pet_name$[.@c] +" has reborn into "+ getmonsterinfo( .@get_pet_id, 0 ); mes "please rename your pet ~"; close; OnInit: .min_level = 80; // minimum level 80 to change pet egg .pet_min_friendly = getbattleflag("pet_support_min_friendly"); // setarray getd( ".petr"+ <require pet egg> ), <require itemID 1>, <require item require 1>, <require itemID 2>, <require item require 2>, ... setarray getd( ".petr"+ 1002 ), 501,1, 502,2, 503,10; setarray getd( ".petr"+ 1011 ), 512,5, 513,8, 514,20; // setarray getd( ".pet"+ <require pet egg> ), <random pet egg 1>, <random pet egg 2> .... setarray getd( ".pet"+ 1002 ), 1113, 1031; // poring pet(1002) can evolve into drops(1113) or poporing(1031) setarray getd( ".pet"+ 1011 ), 1042; // chonchon(1011) can evolve into steel chonchon(1042) // add more as needed end; }
    1 point
  11. can i see your server side configuration and clientinfo. also check your packet_ver in mmo.h
    1 point
  12. Just wanted to say kudos to clydelion, which I failed to do so a couple of years ago.. He was probably the most friendly person you'll ever meet in this forum, imo. He's very reliable and kind. Well to cut it short, here's what I requested him to do for my server way back... It's an awesome modification that would really make a narutard like me go.. such pro much ninja very w0w Here it is! http://www.youtube.com/watch?v=bPDmLxkfoWM
    1 point
  13. It's a joke, I suggest you don't use it. xD
    1 point
×
×
  • Create New...