Jump to content

Promise

Members
  • Posts

    386
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Promise

  1. Any error on the console?
  2. Man this is a payed emulator, did you asked Zephy if you can do it? They have maps, codes, etc only for they emulator.
  3. Oh im sorry haahha im spanish! So i have to update the files? Again, sorry!
  4. Hi guys, i just made a script, its a random machine, easy to configure, etc. Idea: Kami thanks you very much! I create easy custom mobs, imposible to give crash. (not custom textures.) Script: The users camp the custom mobs who drops a unique item, so when you get 10 of them, you talk with the machine, and it gives you a random item (you can configure the items.) Codes: npc/custom/dreamachine.txt prontera,150,150,4 script Dream Machine 910,{ //============== NPC CONF =================== set .@item,530; // Item needed ID. set .@itemcant,10; // Items needed cant. set .@premiocant,1; // PRIZE CANT setarray .@randomitem[0],12103,12107,12105,12108,12109,12110,5300,5301,5302,5303,5304,5305,5306,5307,5308,5309,5310,5311,5312,5313,5314,5315,5316,5317,5318,5319,5320,5321,5322,5323,5324,5325,5326,5327,5328,5329,5330,5331,5332,5333,5334,5335,5336,5337,5338,5339,5340,5341,5342,5343,5344,5389,5398,5452,5453,5463,5500,5502,5505,5506,5507,5518,5529,5532,5564; // LIST OF ITEMS, JUST REPLACE WITH THE ITEMS ID set .@maxitems,getarraysize(.@randomitem); //=============== SCRIPT ===================== mes "^0000FFD^FF00BFream ^0000FFM^FF00BFachine^000000";; mes "Hi! Im Dream Machine!"; mes "Hey! What can i do for you?"; next; switch(select("Change my items:What is this?:Nothing, thanks.")) { case 1: mes "^0000FFD^FF00BFream ^0000FFM^FF00BFachine^000000"; mes "Ok, but first i will check if you have the necessary items!"; next; if(countitem(.@item) >= .@itemcant) { mes "^0000FFD^FF00BFream ^0000FFM^FF00BFachine^000000";; mes "Hey! You have the items!"; next; delitem .@item, .@itemcant; next; mes "Here is your prize!"; getitem( .@randomitem[rand(.@maxitems)], .@premiocant); mes "Bye!"; close; } else { mes "^0000FFD^FF00BFream ^0000FFM^FF00BFachine^000000";; mes "Im sorry but you dont have the items..."; mes "Come back soon!"; close; } case 2: mes "^0000FFD^FF00BFream ^0000FFM^FF00BFachine^000000";; mes "Im the dream machine, if you bring me the necessary items i will give you nice treasures!"; next; mes "You need the next things:"; mes "^FF0000> 10x Cacao ^000000"; // IF YOU WANT ANOTHER ITEM JUST CHANGE THE NAME next; switch(select("Where i get this?:Thanks you!")) { case 1: mes "You can find the items in the next maps:"; // IF YOU ADD ANOTHER MAP PUT IT HERE mes "^FF0000> Anthell01 x 2 Mobs ^000000"; mes "^FF0000> Anthell02 x 2 Mobs ^000000"; mes "^FF0000> Payon Dungeon00 x 2 Mobs ^000000"; mes "^FF0000> Payon Dungeon01 x 2 Mobs ^000000"; mes "^FF0000> Payon Dungeon02 x 2 Mobs ^000000"; mes "^FF0000> Payon Dungeon03 x 2 Mobs ^000000"; close; case 2: mes "^0000FFD^FF00BFream ^0000FFM^FF00BFachine^000000"; mes "Bye!"; close; } case 3: mes "^0000FFD^FF00BFream ^0000FFM^FF00BFachine^000000"; mes "Bye!"; close; } } /////////////////////////////////////////// // // //=========== MONSTER SPAWN =============// // // /////////////////////////////////////////// anthell01,0,0,0,0 monster Cacao 2800,5,14400000,7200000,0 anthell02,0,0,0,0 monster Cacao 2800,5,14400000,7200000,0 pay_dun00,0,0,0,0 monster Cacao 2800,5,14400000,7200000,0 pay_dun01,0,0,0,0 monster Cacao 2800,5,14400000,7200000,0 pay_dun02,0,0,0,0 monster Cacao 2800,5,14400000,7200000,0 pay_dun03,0,0,0,0 monster Cacao 2800,5,14400000,7200000,0 //============= rAthena/db/mob_avail.txt ================= // Dream Machine MOB 2800,1784 1784: Its the view ID of the mob, you can change it for another if you want. //============= rAthena/db/pre-re//re/mob_db2.txt ============ // Dream Machine MOB 2800,Dream_Cacao,Dream Cacao,Dream Cacao,98,1000,0,0,0,1,0,0,100,99,1,17,1,80,126,20,10,12,2,0,20,0x160,300,1288,288,384,0,0,0,0,0,0,0,512,100,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 "512,100" change it for your item ID and the rate. Please report any bug.
  5. 200x200 T_T i not did very things xD this was a fast map xD i have more two maps or tree for show too xD but just put lightmaps and the littles effects xD this map only need the lightmaps and little effects too xD Very things? 200x200 its so big lol. Nice job !
  6. Revisaste los Luas? tienen que ser de la versión correspondiente de tu exe, si están bien, intenta cambiando la fecha ya que a veces vienen Bug. No me imagino que otra cosa puede ser ademas de los luas o una fecha de exe bugueada.
  7. Any error? The commands dont are coded in this files, we need to see the src.
  8. {set #CASHPOINTS, #CASHPOINTS+100; dispbottom "You have received 100 Cash Points.";},{},{} Añade esto a tu item_db al item que quieras en los efectos y obviamente cambialo para que sea un usable.
  9. I think harmony can, but im not sure, starting banning him haha..
  10. You can search the script and change the variable: set .@canenter, 1; to set #canenter, 1; http://rathena.org/wiki/Variables # Variables are account variables ## Variables are global variables. If you want, you can give me the entrance quest script and i can edit it for you.
  11. Explícame como lo quieres y te lo creo :3
  12. Any error? i dont test it.
  13. I remember how i have fixed it: open src/map/clif.c Find: const int se = 20; //entry size equip const int sidxe = 4; //start itemlist idx const int cmde = 0xa6; Change to: const int se = 20; //entry size equip const int sidxe = 4; //start itemlist idx const int cmde = 0x2d1; Then find: /// 01df <account id>.L void clif_parse_GMReqAccountName(int fd, struct map_session_data *sd) { char command[30]; int account_id = RFIFOL(fd,packet_db[sd->packet_ver][RFIFOW(fd,0)].pos[0]); Change to: /// 01df <account id>.L void clif_parse_GMReqAccountName(int fd, struct map_session_data *sd) { if (sd->bl.type&BL_PC) { // Only show for players char command[30]; int account_id = RFIFOL(fd,packet_db[sd->packet_ver][RFIFOW(fd,0)].pos[0]); Find: //tmp get all display safesnprintf(command,sizeof(command),"%caccinfo %d", atcommand_symbol, account_id); is_atcommand(fd, sd, command, 1); //clif_account_name(sd, account_id, ""); //! TODO request to login-serv Replace to: //tmp get all display safesnprintf(command,sizeof(command),"%caccinfo %d", atcommand_symbol, account_id); is_atcommand(fd, sd, command, 1); //clif_account_name(sd, account_id, ""); //! TODO request to login-serv } REMEMBER DO A BACKUP OF YOUR clif.c
  14. The script dont have a mission x cards option, just time x mission. You can add a menu like: prontera,149,175,5 script Time Points Trader 88,{ mes "[Trader]"; mes "Hello, what do you need?"; mes "You currently have: "+#Time+""; next; switch(select("Time Points x Mission Points:Mission Points x TCG Card")) { mes "Would you want to proceed?"; case 1: if( #Time < 15 ){ mes "[Trader]"; mes "You will need at least 15 Time Points to proceed."; close; } else{ .@amount = ( #Time / 15 ); #Time = #Time - ( .@amount * 15 ); #Mission_Points += .@amount; message strcharinfo(0),"You converted "+( .@amount * 15 )+" Time Points to "+.@amount+" Mission Points."; } case 2: mes "[Trader]"; mes "How many Points you want to change?"; input @cant$; if(#Mission_Points < @cant$) { mes "Sorry, you dont have this Mission Points."; close; } else { getitem 7227,#Mission_Points; #Mission_Points = 0; mes "Thank You! Bye!"; } } end; } I dont test it yet, if you have any error let me know.
  15. If you want to have to use the item and delete it, you have to do: mes "[Costume-IT]"; if( !countitem(<item_id>) < 20) { mes "I'm sorry but you need at least one "+getitemname(<item_id>)+" before you may use my services!"; close; } delitem <item_id>, 20; mes "Hello and welcome to the Costume-IT service."; mes "Here you can convert your headgears into a Costume Headgear.";
  16. You can hide the exe, so just put the patcher "Yourserver.exe" and the exe like "ragnaroksetting.exe" and change the icon haha
  17. Yes it is, and you can add portals to change room Thank you, im doing a big city now for free. Thank you!
  18. Oh, my bad, fixed, now the download link are good.
×
×
  • Create New...