Jump to content

clydelion

Members
  • Posts

    754
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by clydelion

  1. Patch this to you grf. http://rathena.org/board/files/file/2665-original-prontera-model-texture-files/
  2. Search for getequipid(<equipment slot>) in script_commands.txt. Its usage is well documented and a sample script is provided. https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/doc/script_commands.txt
  3. Web hosts usually have GD enabled.. If you are using a vps/dedicated server as your webhost then install GD via ssh yum install gd-devel
  4. Grabbed news from http://www.gmanetwork.com/news/rss/news <?php foreach($rss->items as $item):?> <table width="800" > <tr> <td align="left"> <b><a href="<?php echo $item['link'] ?>" target="_blank"><?php echo $item['title'] ?></a></b> </td><td align="right"> <?php if(isset($item['pubdate'])): ?> <i> <?php $item['pubdate'] = date ('l, F dS, Y', strtotime ($item['pubdate'])); echo $item['pubdate'];?></i><?php endif; ?> </td> </tr> </table> <?php endforeach; ?>
  5. Using my rss2news to display it like that is easy. Here's a port of it for thor, you can base it off from Web/Index.php http://rathena.org/board/topic/75817-thor-patcher-question/#entry164447
  6. Here's the file, but what should be its script? Do you have its description? saiyan.rar
  7. bale diba kapag sinet mo sa 10, ang weight nya in-game ay 1. So kung gusto mo in-game 0.1, lagay mo sa database na weight is 1.
  8. item_db.txt 501,Red_Potion,Red Potion,0,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ itemheal rand(45,65),0; },{},{} Yung 7th field, yun ang weight. Sa case na to, 70. Note: Each 10 is 1 weight.
  9. http://rathena.org/wiki/Clientinfo.xml Just duplicate the <connection></connection>, and change the ip/port for the 2nd connection
  10. Just change the loc. ID,AegisName,Name,Type,Buy,Sell,Weight,ATK,DEF,Range,Slots,Job,Upper,Gender,Loc,wLV,eLV,Refineable,View,{ Script },{ OnEquip_Script },{ OnUnequip_Script } 2^12 4096 = Costume Low Headgear 2^11 2048 = Costume Mid Headgear 2^10 1024 = Costume Top Headgear
  11. The dye is not present for that sprite (job with mount). Try using kamishi's pack. http://rathena.org/board/files/file/2701-553251-old-dyes-palettes-working-all-classes/
  12. *checkquest(<ID>{,PLAYTIME|HUNTING}) If no additional argument supplied, return the state of the quest: -1 = Quest not started (not in quest log) 0 = Quest has been given, but the state is "inactive" 1 = Quest has been given, and the state is "active" 2 = Quest completed If parameter "PLAYTIME" is supplied: -1 = Quest not started (not in quest log) 0 = the time limit has not yet been reached 1 = the time limit has not been reached but the quest is marked as complete 2 = the time limit has been reached If parameter "HUNTING" is supplied: -1 = Quest not started (not in quest log) 0 = you haven't killed all of the target monsters and the time limit has not been reached. 1 = you haven't killed all of the target monsters but the time limit has been reached. 2 = you've killed all of the target monsters ref: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/doc/script_commands.txt
  13. Index: skill_unit_db.txt =================================================================== --- skill_unit_db.txt (revision 17161) +++ skill_unit_db.txt (working copy) @@ -41,7 +41,7 @@ 91,0x86, , 0, 2,1000,enemy, 0x010 //WZ_HEAVENDRIVE 92,0x8e, , 2, 0, -1,enemy, 0x010 //WZ_QUAGMIRE 115,0x90, , 0, 1,1000,enemy, 0x006 //HT_SKIDTRAP -116,0x93, , 0, 1,1000,enemy, 0x006 //HT_LANDMINE +116,0x93, , 0, 1,1000,enemy, 0x002 //HT_LANDMINE 117,0x91, , 0, 1,1000,enemy, 0x006 //HT_ANKLESNARE 118,0x94, , 0, 1,1000,enemy, 0x006 //HT_SHOCKWAVE 119,0x95, , 0, 1,1000,enemy, 0x006 //HT_SANDMAN
  14. LOL that's me from years ago. It should xD
  15. Oh, yeah, I accidentally wrote catch_target_class instead of catch_rate_target_class. I edited the paste, rediff it
  16. You are doing it correctly. Probably those errors are because of the existing guilds?
  17. Cheers! Welcome to rathena! http://rathena.org/wiki/Custom_Items
  18. You can use this trick http://www.eathena.ws/board/index.php?showtopic=181741
  19. OnNPCKillEvent: if( killedrid == 1002 ){ poring_count++; dispbottom "You killed "+poring_count+" Poring."; } if( poring_count >=5 ){ //This part checks if you have met the requirements.(auto-prize) dispbottom "You have killed the required number of porings!"; getitem 501,1; // give prize? poring_count = 0; //reset/delete char variable } end; Here's how you can check how many poring are killed, and give a prize if condition was met. If you want the prize to be claimed from a separate NPC.. prontera,167,177,5 script Pudge 1107,{ if( poring_count >=5 ){ mes "You have killed the required number of porings!"; getitem 501,1; // give prize? poring_count = 0; //reset/delete char variable } else mes "Errr.. Please kill 5 Porings for me!"; close; }
  20. Yes. poring_count++ is how you increment the character variable 'poring_count' by 1. It is the same as set poring_count, poring_count + 1; or poring_count += 1;
  21. show us the modifications you made in your lua files.. jobname.lua npcidentity.lua oops, it is there. try lower ids
  22. Here's what you need in the source. http://pastebin.com/CeyckWYt Now, you still have to.. 1. Edit max level of the skill in skill_db.txt 2. Make it level selectable in the from the client files.(lua, txt) clue: http://www.eathena.ws/board/index.php?showtopic=220255
  23. Index: skill.c =================================================================== --- skill.c (revision 17161) +++ skill.c (working copy) @@ -12439,7 +12439,7 @@ struct status_change *sc; struct skill_condition require; int i; - uint inf2; + int inf2; nullpo_ret(sd); Just change uint to int. Or wait for the devs to fix it.
  24. I think using int instead of uint would work. But let us wait for a fix from the devs. Probably a cross platform compatibility issue.
  25. New mounts are supported by that client. But kagerou/oboro support starts in 2011-11-22 clients.
×
×
  • Create New...