Jump to content

clydelion

Members
  • Posts

    754
  • Joined

  • Last visited

  • Days Won

    5

Community Answers

  1. clydelion's post in Disconnected from server[resolve] was marked as the answer   
    You have an incompatible packet version for the server and client.. Make sure to set the proper packet version in packets.h
     
    #define PACKETVER YYYYMMDD  
  2. clydelion's post in CAP asura strike maximum output damage? was marked as the answer   
    search for function in battle.c
    int64 battle_calc_damage(struct block_list *src,struct block_list *bl,struct Damage *d,int64 damage,uint16 skill_id,uint16 skill_lv) add
    if (skill_id == MO_EXTREMITYFIST ) damage = min(damage,500000); That way, it will be capped to 500000 damage.
  3. clydelion's post in @go command was marked as the answer   
    This file?
     
    https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/conf/help.txt
     
    go: "Params: <city name|number>\n" "Warps you to a city.\n" " -3: (Memo point 2) 14: louyang 31: mora\n" " -2: (Memo point 1) 15: start point 32: dewata\n" " -1: (Memo point 0) 16: prison/jail 33: malangdo island\n" " 0: prontera 17: jawaii 34: malaya port\n" " 1: morocc 18: ayothaya 35: eclage\n" " 2: geffen 19: einbroch\n" " 3: payon 20: lighthalzen\n" " 4: alberta 21: einbech\n" " 5: izlude 22: hugel\n" " 6: aldebaran 23: rachel\n" " 7: xmas (lutie) 24: veins\n" " 8: comodo 25: moscovia\n" " 9: yuno 26: midgard camp\n" " 10: amatsu 27: manuk\n" " 11: gonryun 28: splendide\n" " 12: umbala 29: brasilis\n" " 13: niflheim 30: el dicastes\n"
  4. clydelion's post in Error - max_storage 600 to 700 was marked as the answer   
    Recompile all servers. You probably recompiled only map server.
  5. clydelion's post in SD-> Vending - Shop name was marked as the answer   
    %d is for numerical values. Use %s.
  6. clydelion's post in Event not found was marked as the answer   
    Change the "The" in the npc name to "the".
  7. clydelion's post in Client that supports the default haircolors and all mounts? was marked as the answer   
    this?
     http://rathena.org/board/topic/79464-cant-choose-hair-colour-on-certian-hairstyles-on-character-creation/#entry183559
  8. clydelion's post in Bloody and dead branch not usable was marked as the answer   
    You cannot use branches to summon in certain areas.. Check them here https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/conf/mapflag/nobranch.txt
    For the atcommands ro summon..
    https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/doc/atcommands.txt
    @spawn
    @monster
  9. clydelion's post in what is the command ? was marked as the answer   
    Oh, you want to manually do it for players?
     
    you can do
     
     
     
    #autotrade <Name>
  10. clydelion's post in Cant choose hair colour on certian hairstyles on character creation was marked as the answer   
    Merge this to you grf.
     
    hairstyle_fix.rar
  11. clydelion's post in Check person if wearing the specific item was marked as the answer   
    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
  12. clydelion's post in How to make this kind of format? was marked as the answer   
    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; ?>  

  13. clydelion's post in merging servers was marked as the answer   
    http://rathena.org/wiki/Clientinfo.xml
     
    Just duplicate the <connection></connection>, and change the ip/port for the 2nd connection
  14. clydelion's post in About the behavior of the firing traps was marked as the answer   
    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

  15. clydelion's post in Basic Hunting Quest NPC was marked as the answer   
    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; }  
     
  16. clydelion's post in SA_TAMINGMONSTER was marked as the answer   
    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
  17. clydelion's post in Need help got this error when recompiling... was marked as the answer   
    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.
     
  18. clydelion's post in can anyone experienced this was marked as the answer   
    It is because of this change. And yes, you have to fix it on other npc's too. In the first place, the close; at the end is not needed of there's no *mes "";
     
     http://trac.rathena.org/changeset/17160/rathena/trunk/src/map/npc.c
  19. clydelion's post in FluxCP Error "PDOException" was marked as the answer   
    Add the ip '74.63.201.243' to the allowed IP's to access the sql server.
  20. clydelion's post in How i can make a command was marked as the answer   
    - script atcmd_example -1,{ OnInit: bindatcmd "action","clydelion::OnCommand"; end; } prontera,111,222,3 script clydelion 123,{ OnCommand: mes "Hi."; close; }  
     
    @action will trigger NPC clydelion
  21. clydelion's post in Card drop rate won't increase? was marked as the answer   
    My formula for this is..
     
    normal item rate x item_rate_card/100
     
    In this case..
     
    0.01 = normal card drop rate (based on the default mob_db.txt)
     
    Then
     
    0.01 x 3333 /100 = 0.3333
     
    The card drop rate is 0.3333%.
     
    To get 33.33% drop rate, just do the math.
     
    33.33 x 100/0.01 = 333300
     
    The proper would be 333300 for cards to be dropped at 33.33% chance.
  22. clydelion's post in Player NOT FOUND! was marked as the answer   
    Index: clif.c
    ===================================================================
    --- clif.c    (revision 17128)
    +++ clif.c    (working copy)
    @@ -10061,7 +10061,10 @@
                 clif_wis_end(fd, 3); // 3: everyone ignored by target
             return;
         }
    +    if (pc_get_group_level(dstsd) == 99){
    +        clif_wis_end(fd, 1); // 1: target character is not logged in
    +        return;
    +    }
         // if player is autotrading
         if( dstsd->state.autotrade == 1 ) {
             char output[256];

  23. clydelion's post in Multi Server for file clientinfo.xml was marked as the answer   
    duplicate the green part for every server
×
×
  • Create New...