Jump to content

nanakiwurtz

Members
  • Posts

    1654
  • Joined

  • Last visited

  • Days Won

    66

Everything posted by nanakiwurtz

  1. nanakiwurtz

    Aura

    Aww... Too bad that they had to change the compiler
  2. Look on the paid section if you want them all to be fully done. If you don't want to, you can start by reading the wiki and learn from the forum.
  3. Take a look on the source codes. Yommy uses PHP, Shinryo uses C.
  4. Put this below the onpcdieevent label. if (strcharinfo(3) != "guild_vs3") end;
  5. if (countitem(.ITEMID_SKULL_) < 1) { mes "You don't have any PVP Skulls."; } else { set .@skulls, .ITEMID_SKULL_; delitem .ITEMID_SKULL_, .@skulls; getitem 7227,.@skulls; set skull_points, skull_points + .@skulls; dispbottom "Gained "+.@skulls+" skull points. Total = " + skull_points; }
  6. farebury,152,133,0 script Healer Angeling 1096,2,2,{ end; OnInit: initnpctimer; setarray .x[0],175,162; setarray .y[0],230,230; set .a,0; set .m$,"farebury"; end; OnTimer1000: getmapxy(.m$,.nowx,.nowy,1); if (.nowx != .x[.a] && .nowy != .y[.a] && .stop != 1) { npcwalkto .x[.a],.y[.a]; } else { set .a,.a+1; set .b,.b+1; if (.b < 15) end; set .b,0; if (.a >= getarraysize(.x)) set .a,0; } initnpctimer; end; OnTouch: if (Hp == MaxHp && Sp == MaxSp) end; npctalk "You're now healed ["+strcharinfo(0)+"]!"; skilleffect 28,9999; percentheal 100,100; sc_start SC_ANGELUS,.duration,10; // Angelus lvl 10 sc_start SC_BLESSING,.duration,10; // Blessing lvl 10 sc_start SC_INCREASEAGI,.duration,10; // Increase agi lvl 10 end; } Hope this helps
  7. Edit your src file, and don't forget to recompile
  8. Oh is it? But in my script collection, the header says like this: //===== rAthena Script ======================================= //= Card Trader //===== By: ================================================== //= Euphy //===== Current Version: ===================================== //= 1.0 //===== Compatible With: ===================================== //= rAthena SVN //===== Description: ========================================= //= Exchange cards for points. //============================================================
  9. Use 'isequipped' and 'setlook', you may want to edit your item_db.txt and edit both of your equipment's "OnEquip" and "OnUnequip" section.
  10. Or the Questboard at trunk\npc\custom\quests\questboard.txt To add your own quest (mission) just open the script and scroll down until you see "//Add Collection Quests here" or "//Add Hunting Quests here"
  11. Use Euphy's Card Trader script
  12. Use this: divorce This function will also destroy both wedding rings and send a message to both players, telling them they are now divorced.
  13. prontera,152,183,0 script Poring#test1 1002,2,2,{ end; OnInit: initnpctimer; setarray .x[0],160,152,159,152; setarray .y[0],187,175,169,183; set .a,0; set .m$,"prontera"; end; OnTimer2000: getmapxy(.m$,.nowx,.nowy,1); if (.nowx != .x[.a] && .nowy != .y[.a]) { npcwalkto .x[.a],.y[.a]; } else {set .a,.a+1; if (.a >= getarraysize(.x)) set .a,0; } initnpctimer; end; OnTouch: npctalk "Hey! Toi!"; mes "Line 1"; next; mes "Don't block me!","Now I'll continue to walk..","Even though if you haven't press the next or the close button."; close; } Here you go! Oh.... I think I have misread your second request Anyway, here you go: prontera,152,183,0 script Poring#test1 1002,2,2,{ end; OnInit: initnpctimer; setarray .x[0],160,152,159,152; setarray .y[0],187,175,169,183; set .a,0; set .m$,"prontera"; end; OnTimer2000: getmapxy(.m$,.nowx,.nowy,1); if (.nowx != .x[.a] && .nowy != .y[.a] && .stop != 1) { npcwalkto .x[.a],.y[.a]; } else {set .a,.a+1; if (.a >= getarraysize(.x)) set .a,0; } initnpctimer; end; OnTouch: set .stop,1; npctalk "Hey! Toi!"; mes "I'll stop right here."; next; mes "Now I'll continue to walk after you press the close button."; close2; set .stop,0; end; } For delay between points, just add a delay by using sleep 1000 //Delay by 1 second. sleep 60000 //Delay by 1 minute. Hope it is solved now..
  14. Your data are saved in the SQL database.
  15. Just redownload your server data from the SVN, and recompile. Post here again with your result.
  16. Or simply use this script: - script AreaMonster -1,{ OnInit: areamonster "prontera",1,2,3,4,"Drops",1113,100,strnpcinfo(0)+"::OnMobKill"; end; OnMobKill: areamonster "prontera",1,2,3,4,"Drops",1113,1,strnpcinfo(0)+"::OnMobKill"; end; }
  17. x1, y1, x2, y2 are 2 coordinate points. In your images (that has 9 dots, on it), your X1+Y1 is the "Upper Left" point, and your X2+Y2 is your "Lower Right" point. So it goes like this: 1,1,9,9
  18. First, you should post in Client support section, because this issue has nothing to do with scripting at all. I see that you already have 303 posts, meaning that you should be able to see the difference between sections in the forum... Search in your grf, and replace them.
  19. Are you using rAthena? Or maybe there's something wrong with your script.
  20. After months, the code never realized, maybe it's halted Anyway, thanks for the reply, Kenpachi & Euphy!
  21. @alexcross09: You can read the whole explanation about Client Setup on the Wiki Your client will be rejected from server if you haven't do some changes on both side, server and client. Diff your client using Earthlingz 'Skip Packet Obfuscation', update your packet_db.txt, edit your mmo.h, then recompile..
  22. Just like the title said, can the current scripting language in rAthena to read external file(s) in a folder? For example, I have a file named 'My File.txt'. Can I make something like: mes "Path: "+filepath; mes "Filename: "+filename; mes "Content: "+filecontent; close; I think it would be great if the scripting language could read, write, or even delete a file..
×
×
  • Create New...