Jump to content

Keitenai

Members
  • Posts

    98
  • Joined

  • Last visited

  • Days Won

    9

Everything posted by Keitenai

  1. Hello, A lot of rAthena users preferred to use text database, and I am one of these users since it is so much easier to trace | modify | compare. I've been trying to find a workaround to enable rAthena to still read text version of item database, but frustratingly I don't have the knowledge & capability to do so. I really hope that there would be someone out there who can help in making rAthena be able to read text version of item db. Please hit like if you are like me who prefer to use text version item db. Thank you!
  2. Currently, only those with gepard shield can get mac address of a player. Aside from gepard, there's no other option that i know of.
  3. I made a major clean-up on the code I've reduced the 5057 lines down to 633 in unit.cpp here's how it looks now
  4. Strong Shield gives -20 from Elements while thara frog card gives +30 resistance from Race These are 2 different types, and you can see that very clearly using @resist
  5. Thanks for pointing out these issues. The uploaded patch has been fixed.
  6. The latest rAthena git already have that. But it's yaml
  7. So many errors in this script. * SQL `guild_member` table doesn't have `account_id` * "getarraysize(.holderprize)" you should not use item ID as array size, ItemID is way too big for this * same with the "getarraysize(.defenderprize)" and "getarraysize(.bothprize)" * freeloop - you don't need to activate freeloop if you use the correct size for getarraysize since max guild member is only 50 (by default). * getitem - this function only requires 2 values ( getitem item ID, Amount; ). Making "getitem .bothprize[[email protected]], .bothprize[[email protected]+1], [email protected][[email protected]];" is too much.
  8. I've uploaded a new and highly improved updated patch. Enjoy guys!
  9. Next will be : 0x10000000 0x20000000 0x40000000 0x80000000
  10. Find this inside the Endless Tower script : function script F_Tower_Warp { set [email protected], getarg(0); set [email protected]$, getarg(1); switch([email protected]) { case 2: warp [email protected]$,136,354; break; case 3: warp [email protected]$,224,354; break; case 4: warp [email protected]$,310,354; break; case 5: warp [email protected]$,395,354; break; case 6: warp [email protected]$,52,270; break; case 7: warp [email protected]$,136,270; break; case 8: warp [email protected]$,224,270; break; case 9: warp [email protected]$,310,270; break; case 10: warp [email protected]$,395,270; break; case 11: warp [email protected]$,52,183; break; case 12: warp [email protected]$,136,183; break; case 13: warp [email protected]$,224,183; break; case 14: warp [email protected]$,310,183; break; case 15: warp [email protected]$,395,183; break; case 16: warp [email protected]$,52,99; break; case 17: warp [email protected]$,136,99; break; case 18: warp [email protected]$,224,99; break; case 19: warp [email protected]$,310,99; break; case 20: warp [email protected]$,395,99; break; case 21: warp [email protected]$,52,12; break; case 22: warp [email protected]$,136,12; break; case 23: warp [email protected]$,224,12; break; case 24: warp [email protected]$,310,12; break; case 25: warp [email protected]$,395,12; break; case 27: warp [email protected]$,136,354; break; case 28: warp [email protected]$,224,354; break; case 29: warp [email protected]$,310,354; break; case 30: warp [email protected]$,395,354; break; case 31: warp [email protected]$,52,270; break; case 32: warp [email protected]$,136,270; break; case 33: warp [email protected]$,224,270; break; case 34: warp [email protected]$,310,270; break; case 35: warp [email protected]$,395,270; break; case 36: warp [email protected]$,52,183; break; case 37: warp [email protected]$,136,183; break; case 38: warp [email protected]$,224,183; break; case 39: warp [email protected]$,310,183; break; case 40: warp [email protected]$,395,183; break; case 41: warp [email protected]$,52,99; break; case 42: warp [email protected]$,136,99; break; case 43: warp [email protected]$,224,99; break; case 44: warp [email protected]$,310,99; break; case 45: warp [email protected]$,395,99; break; case 46: warp [email protected]$,52,12; break; case 47: warp [email protected]$,136,12; break; case 48: warp [email protected]$,224,12; break; case 49: warp [email protected]$,310,12; break; case 50: warp [email protected]$,395,12; break; case 52: warp [email protected]$,136,354; break; case 53: warp [email protected]$,224,354; break; case 54: warp [email protected]$,310,354; break; case 55: warp [email protected]$,395,354; break; case 56: warp [email protected]$,52,270; break; case 57: warp [email protected]$,136,270; break; case 58: warp [email protected]$,224,270; break; case 59: warp [email protected]$,310,270; break; case 60: warp [email protected]$,395,270; break; case 61: warp [email protected]$,52,183; break; case 62: warp [email protected]$,136,183; break; case 63: warp [email protected]$,224,183; break; case 64: warp [email protected]$,310,183; break; case 65: warp [email protected]$,395,183; break; case 66: warp [email protected]$,52,99; break; case 67: warp [email protected]$,136,99; break; case 68: warp [email protected]$,224,99; break; case 69: warp [email protected]$,310,99; break; case 70: warp [email protected]$,395,99; break; case 71: warp [email protected]$,52,12; break; case 72: warp [email protected]$,136,12; break; case 73: warp [email protected]$,224,12; break; case 74: warp [email protected]$,310,12; break; case 75: warp [email protected]$,395,12; break; case 77: warp [email protected]$,136,354; break; case 78: warp [email protected]$,224,354; break; case 79: warp [email protected]$,310,354; break; case 80: warp [email protected]$,395,354; break; case 81: warp [email protected]$,52,270; break; case 82: warp [email protected]$,136,270; break; case 83: warp [email protected]$,224,270; break; case 84: warp [email protected]$,310,270; break; case 85: warp [email protected]$,395,270; break; case 86: warp [email protected]$,52,183; break; case 87: warp [email protected]$,136,183; break; case 88: warp [email protected]$,224,183; break; case 89: warp [email protected]$,310,183; break; case 90: warp [email protected]$,395,183; break; case 91: warp [email protected]$,52,99; break; case 92: warp [email protected]$,136,99; break; case 93: warp [email protected]$,224,99; break; case 94: warp [email protected]$,310,99; break; case 95: warp [email protected]$,395,99; break; case 96: warp [email protected]$,52,12; break; case 97: warp [email protected]$,136,12; break; case 98: warp [email protected]$,224,12; break; case 99: warp [email protected]$,309,12; break; } return; } Add getitem below before return: function script F_Tower_Warp { set [email protected], getarg(0); set [email protected]$, getarg(1); switch([email protected]) { case 2: warp [email protected]$,136,354; break; case 3: warp [email protected]$,224,354; break; case 4: warp [email protected]$,310,354; break; case 5: warp [email protected]$,395,354; break; case 6: warp [email protected]$,52,270; break; case 7: warp [email protected]$,136,270; break; case 8: warp [email protected]$,224,270; break; case 9: warp [email protected]$,310,270; break; case 10: warp [email protected]$,395,270; break; case 11: warp [email protected]$,52,183; break; case 12: warp [email protected]$,136,183; break; case 13: warp [email protected]$,224,183; break; case 14: warp [email protected]$,310,183; break; case 15: warp [email protected]$,395,183; break; case 16: warp [email protected]$,52,99; break; case 17: warp [email protected]$,136,99; break; case 18: warp [email protected]$,224,99; break; case 19: warp [email protected]$,310,99; break; case 20: warp [email protected]$,395,99; break; case 21: warp [email protected]$,52,12; break; case 22: warp [email protected]$,136,12; break; case 23: warp [email protected]$,224,12; break; case 24: warp [email protected]$,310,12; break; case 25: warp [email protected]$,395,12; break; case 27: warp [email protected]$,136,354; break; case 28: warp [email protected]$,224,354; break; case 29: warp [email protected]$,310,354; break; case 30: warp [email protected]$,395,354; break; case 31: warp [email protected]$,52,270; break; case 32: warp [email protected]$,136,270; break; case 33: warp [email protected]$,224,270; break; case 34: warp [email protected]$,310,270; break; case 35: warp [email protected]$,395,270; break; case 36: warp [email protected]$,52,183; break; case 37: warp [email protected]$,136,183; break; case 38: warp [email protected]$,224,183; break; case 39: warp [email protected]$,310,183; break; case 40: warp [email protected]$,395,183; break; case 41: warp [email protected]$,52,99; break; case 42: warp [email protected]$,136,99; break; case 43: warp [email protected]$,224,99; break; case 44: warp [email protected]$,310,99; break; case 45: warp [email protected]$,395,99; break; case 46: warp [email protected]$,52,12; break; case 47: warp [email protected]$,136,12; break; case 48: warp [email protected]$,224,12; break; case 49: warp [email protected]$,310,12; break; case 50: warp [email protected]$,395,12; break; case 52: warp [email protected]$,136,354; break; case 53: warp [email protected]$,224,354; break; case 54: warp [email protected]$,310,354; break; case 55: warp [email protected]$,395,354; break; case 56: warp [email protected]$,52,270; break; case 57: warp [email protected]$,136,270; break; case 58: warp [email protected]$,224,270; break; case 59: warp [email protected]$,310,270; break; case 60: warp [email protected]$,395,270; break; case 61: warp [email protected]$,52,183; break; case 62: warp [email protected]$,136,183; break; case 63: warp [email protected]$,224,183; break; case 64: warp [email protected]$,310,183; break; case 65: warp [email protected]$,395,183; break; case 66: warp [email protected]$,52,99; break; case 67: warp [email protected]$,136,99; break; case 68: warp [email protected]$,224,99; break; case 69: warp [email protected]$,310,99; break; case 70: warp [email protected]$,395,99; break; case 71: warp [email protected]$,52,12; break; case 72: warp [email protected]$,136,12; break; case 73: warp [email protected]$,224,12; break; case 74: warp [email protected]$,310,12; break; case 75: warp [email protected]$,395,12; break; case 77: warp [email protected]$,136,354; break; case 78: warp [email protected]$,224,354; break; case 79: warp [email protected]$,310,354; break; case 80: warp [email protected]$,395,354; break; case 81: warp [email protected]$,52,270; break; case 82: warp [email protected]$,136,270; break; case 83: warp [email protected]$,224,270; break; case 84: warp [email protected]$,310,270; break; case 85: warp [email protected]$,395,270; break; case 86: warp [email protected]$,52,183; break; case 87: warp [email protected]$,136,183; break; case 88: warp [email protected]$,224,183; break; case 89: warp [email protected]$,310,183; break; case 90: warp [email protected]$,395,183; break; case 91: warp [email protected]$,52,99; break; case 92: warp [email protected]$,136,99; break; case 93: warp [email protected]$,224,99; break; case 94: warp [email protected]$,310,99; break; case 95: warp [email protected]$,395,99; break; case 96: warp [email protected]$,52,12; break; case 97: warp [email protected]$,136,12; break; case 98: warp [email protected]$,224,12; break; case 99: warp [email protected]$,309,12; break; } getitem 6000,1; //Dark_Ashes return; }
  11. This bug has been long overdue for a fix. But better late than never right? I've uploaded an updated patch. This covers the fix for the said bug & is now compatible with rAthena git 97b5f3b
  12. Try disabling the OFFICIAL_WALKPATH in src/config/core.hpp
  13. Hello, How can i check unit skill on an area? EX: check deluge on area, or check firewall on area. Thanks!
  14. Hello! So instead of requesting for src mod, i'd like to request anyone who already have done adding a custom mapflag and have time to share their complete tutorial on how to add custom mapflag in clear steps. Thanks!
  15. in vending.cpp find this code: sprintf(message + strlen(message), "Total profit: %s x %d", "Zeny" ,(mailprofit -= mailprofit * (battle_config.vending_tax / 10000.))); change it to this: sprintf(message + strlen(message), "Total profit: %s x %d", "Zeny" ,(mailprofit -= mailprofit * (int)(battle_config.vending_tax / 10000.))); is my solution correct @Easycore ?
  16. He's trying to say that "getitem3" can only give 1 random option.. He is asking on how to make "getitem3" to give 2 or more random options in one time. perhaps @Cydh can help coz i am curious too.
  17. the problem is in "if( countitem(909) < 100 );" & "if( countitem(909) < 200 );" & "if( countitem(909) < 300 );" you should remove the ";"
  18. for Royal Guard's costume body sprite, rename ( grf\data\sprite\Àΰ£Á·\¸öÅë\³²\costume_1 ) it to Æȶóµò_³²_1 for male, while ( grf\data\sprite\Àΰ£Á·\¸öÅë\¿©\costume_1 ) Æȶóµò_¿©_1 for female sprite to be used by paladin.
  19. yes but you need to rename the costume sprite files according to the job the body costume sprite is named for 3rd classes, therefore, you need to rename those to Tans jobs.
  20. yes as long as you use the compatible client, and rename the costume sprite files according to the job that you will be adding it.
  21. Check your whole script. i'm not getting your error upon testing. Try making a separate txt file for the "guild_vs1s2" script so that you can trace where exactly is your missing ")"
  22. try this @Nero: - script guild_vs1s2 -1,{ OnAgitEnd: callsub( L_reward,0, "guild_vs1" ); end; OnAgitEnd2: callsub( L_reward,1, "guild_vs1" ); end; L_reward: [email protected] = getarg( 0,0 ); [email protected]$ = getarg( 1,"" ); if ( [email protected] == 0) { // woe fe setarray [email protected]_master, 30206,2; setarray [email protected]_member, 30206,1; } else { // woe se setarray [email protected]_master, 30206,2; setarray [email protected]_member, 30206,1; } [email protected]_master_size = getarraysize( [email protected]_master ) - 1; [email protected]_member_size = getarraysize( [email protected]_member ) - 1; if ( [email protected]$ != "" ) { [email protected] = getcastledata( [email protected]$,1 ); if ( [email protected] > 0 ) { getguildmember [email protected],1; getguildmember [email protected],2; [email protected]_id = getcharid( 3, getguildmaster( [email protected] ) ); while ( [email protected] < [email protected] ) { [email protected] = 0; if ( isloggedin( [email protected][[email protected]],[email protected][[email protected]] ) ) { if ( [email protected][[email protected]] == [email protected]_id ) { while ( [email protected] < [email protected]_master_size ) { if(!checkvending(strcharinfo(0,[email protected][[email protected]]))) getitem [email protected]_master[[email protected]],[email protected]_master[[email protected]+1],[email protected][[email protected]]; [email protected] += 2; } } else { while ( [email protected] < [email protected]_member_size ) { if(!checkvending(strcharinfo(0,[email protected][[email protected]]))) getitem [email protected]_member[[email protected]],[email protected]_member[[email protected]+1],[email protected][[email protected]]; [email protected] += 2; } } } [email protected]++; } } } return; }
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.