Jump to content

sader1992

Content Moderator
  • Posts

    1691
  • Joined

  • Last visited

  • Days Won

    77

Everything posted by sader1992

  1. forgot to type Moved to the right section
  2. prontera,0,0,0 script buffer 444,{ //buffs for everyone specialeffect2 EF_INCAGILITY; sc_start SC_INCREASEAGI,60000,10; specialeffect2 EF_BLESSING; sc_start SC_BLESSING,60000,10; specialeffect2 EF_HEAL2; percentheal 100,100; //vip buffs if(vip_status(VIP_STATUS_ACTIVE)){ sc_start SC_STRFOOD,60000,10; sc_start SC_INTFOOD,60000,10; sc_start SC_DEXFOOD,60000,10; sc_start SC_AGIFOOD,60000,10; sc_start SC_VITFOOD,60000,10; sc_start SC_LUKFOOD,60000,10; } end; }
  3. this will help you if you want the best result *movenpc "<NPC name>",<x>,<y>{,<dir>}; This command looks like the NPCWalkToxy function,but is a little different. While NPCWalkToXY just makes the NPC 'walk' to the coordinates given (which sometimes gives problems if the path isn't a straight line without objects), this command just moves the NPC. It basically warps out and in on the current and given spot. Direction can be used to change the NPC's facing direction. Example: // This will move Bugga from it's old coordinates to the new coordinates at 100,20 (if those coordinates are legit). moveNPC "Bugga",100,20; --------------------------------------- *freeloop({<toggle>}) Toggling this to enabled (1) allows the script instance to bypass the infinite loop protection, allowing your script to loop as much as it may need. Disabling (0) will warn you if an infinite loop is detected. The command will return the state of freeloop for the attached script, even if no argument is provided. Example: freeloop(1); // enable script to loop freely // be careful with what you do here for ( .@i = 0; .@i < .@bigloop; .@i++ ) { dothis; // will sleep the script for 1ms when detect an infinity loop to // let rAthena do what it needs to do (socket, timer, process, etc.) } freeloop(0); // disable freeloop for ( .@i = 0; .@i < .@bigloop; .@i++ ) { dothis; // throw an infinity loop error } ---------------------------------------
  4. it would be easier if you explain what you want the npcs to do from the start to end if you want the best result and try this globalmes "" + getd(".npcwalk"+strnpcinfo(2));
  5. you are not showing the terminal error (you should have) i see there is only one loop on your script while( .@x != .@walkto_x || .@y != .@walkto_y ){ getmapxy .@map$,.@x,.@y,1; npcwalkto .@walkto_x,.@walkto_y; } use this command before your loop freeloop(1) and after the loop is done use freeloop(0) freeloop(1); while( .@x != .@walkto_x || .@y != .@walkto_y ){ getmapxy .@map$,.@x,.@y,1; npcwalkto .@walkto_x,.@walkto_y; } freeloop(0);
  6. @luizragna feedback : don't read if you are sensitive , and feel offended fast xD i know you have good intention ,maybe you will write something verygood ,hope the best to you
  7. yes but you can overwrite it in the next line too - script NO_WATER -1,{ OnInit: //setcell "<map_name>",0,0,<max x>,<max y>,CELL_WATER,0; //Example: //Removeing the water from the map setcell "prt_fild05",0,0,400,400,CELL_WATER,0; //Adding water cells to the map //120,120 is water setcell "prt_fild05",120,120,120,120,CELL_WATER,1; //from 150,140 to 150,190 is water setcell "prt_fild05",150,140,150,190,CELL_WATER,1; //etc } just general information xD and i think editing the map it self better for you , so if you counter this problem again you would know the fix
  8. use tab nos space <map name>,<x>,<y>,<facing>%TAB%script%TAB%<NPC Name>%TAB%<sprite id>,{<code>}
  9. it's not what you ask for but it would do what you want you can do this with script side - script NO_WATER -1,{ OnInit: //setcell "<map_name>",0,0,<max x>,<max y>,CELL_WATER,0; //Example: setcell "prt_fild05",0,0,400,400,CELL_WATER,0; }
  10. it's already moved this where your topic was as your topic may related to more than 1 thing (db/src/script/client) your topic place is here in the General Support
  11. the last supported Ragexe is 2015-11-04aRagexe you can find the download link here
  12. (Ragnarok host) i would say none , this is my suggestion
  13. Moved to the right section
  14. this maybe related https://github.com/rathena/rathena/issues/3391
  15. i know what it was so change it as said also your server files as old as one and half year ago as for a lot happen for the refine system so i don't know a way to fix the issue you have but what i told you to do above would let you get around the issue
  16. this is a temporary fix change this line https://github.com/rathena/rathena/blob/83c8183a2ed2e46ffd7005ee9cb998c0f20dfda0/npc/merchants/refine.txt#L572 to setarray .@indices[1], EQI_HEAD_TOP, EQI_ARMOR, EQI_HAND_L, EQI_HAND_R, EQI_GARMENT, EQI_SHOES; and this line https://github.com/rathena/rathena/blob/83c8183a2ed2e46ffd7005ee9cb998c0f20dfda0/npc/re/merchants/refine.txt#L60 to setarray .@indices[1], EQI_HEAD_TOP, EQI_ARMOR, EQI_HAND_L, EQI_HAND_R, EQI_GARMENT, EQI_SHOES; and reload the script /or use @reloadscript command and please don't send your server files to anyone again and don't download as zip from github next time
  17. how did you download it from git hub ? you followed the documents ? or you download a zip file ?
  18. this a git command (nothing to do with Linux ) when you downloaded your rAthena ? can you give me a date ? and if it was from github or another link ?
  19. your rathena version how old is your rathena ? How to get your GitHub Hash: 1. cd your/rAthena/directory/ 2. git rev-parse --short HEAD 3. Copy the resulting hash. also you don't have Gepard or any protection?
  20. you need to give more info what the refine script you are using ? what your rathena hash ? renewal or pre-renewal did you edit the item_db for that item ? any custom src edit ? if you give us these info i would tell you about a way to prevent this ?
  21. char_conf.txt login_ip: 127.0.0.1 char_ip: vps_ip map_conf.txt char_ip: 127.0.0.1 map_ip: vps_ip
  22. nope but the array wont be overwritten anyway with this small script however i would like to get the error xD , i would test that latter
×
×
  • Create New...