Jump to content

All Activity

This stream auto-updates     

  1. Past hour
  2. the tables are all imported and added correctly without any errors. now I don't know why it's not working...
  3. Today
  4. In the diff skill.cpp:3054: -#ifdef RENEWAL skill_blockpc_start(sd, skill_id, skill_get_cooldown(skill_id, skill_lv)); -#else - guild_block_skill(sd, skill_get_time2(skill_id, skill_lv)); -#endif I suggest: #ifdef BGEXTENDED skill_blockpc_start(sd, skill_id, skill_get_cooldown(skill_id, skill_lv)); #else #ifdef RENEWAL skill_blockpc_start(sd, skill_id, skill_get_cooldown(skill_id, skill_lv)); #else guild_block_skill(sd, skill_get_time2(skill_id, skill_lv)); #endif #endif And in diff skill.cpp:3140: -#ifdef RENEWAL skill_blockpc_start(sd, skill_id, skill_get_cooldown(skill_id, skill_lv)); -#else - guild_block_skill(sd, skill_get_time2(skill_id, skill_lv)); #endif to: #ifdef BGEXTENDED skill_blockpc_start(sd, skill_id, skill_get_cooldown(skill_id, skill_lv)); #else #ifdef RENEWAL skill_blockpc_start(sd, skill_id, skill_get_cooldown(skill_id, skill_lv)); #else guild_block_skill(sd, skill_get_time2(skill_id, skill_lv)); #endif #endif #endif Thanks for the code.
  5. Hi po Ask po ulit ako Pano po palitan ung theme ng Party Window ko? Gusto ko sana gawin same sa Number 1, ung simple lang para hindi ma lag thank you po
  6. I've already compiled the emulator, I'm just not getting it to work, the tables are imported into the database... how do i run this web.sql?
  7. compile with visual studio and running web.sql
  8. So the original code is // START OF NEW CHECK - [Duplicate IP in one party?] attachrid [email protected]; // for IP check set [email protected]_list$, ""; set [email protected]_list$, ""; set [email protected], 0; // Check Party Members for ( [email protected] = 0; [email protected] < [email protected]; [email protected]++ ) { if (isloggedin( [email protected][[email protected]], [email protected][[email protected]] ) == 0) continue;{ attachrid [email protected][[email protected]]; query_sql ("SELECT `last_ip` FROM `login` WHERE `account_id`=" + [email protected][[email protected]] + "", [email protected]$); // If same IP is on party if(compare([email protected]_list$, "|" + [email protected]$ + "|" ) == 1) { set [email protected], 1; } else // Add IP to party list for checking [email protected]_list$ += "|" + [email protected]$ + "|"; // If acc has entered ladder if (compare( .en_acc_list$, "|" + getcharid(3,strcharinfo(0)) + "|" ) == 1) { if([email protected]_list$ == "") [email protected]_list$ += strcharinfo(0); else [email protected]_list$ += ", " + strcharinfo(0); } } } // Get back to PTL to display message attachrid [email protected]; if([email protected]) { mes "Sorry, party members with the same IP address can't enter."; close; } if([email protected]_list$ != "") { mes "Sorry, the following people has already entered the ladder today:"; mes [email protected]_list$; close; } // END OF NEW CHECK This checks the party member is the same IP as party leader. But I'm also trying to check to see if the party member has done the event before using uniqueID, here's my attempt. // START OF NEW CHECK - [Duplicate IP in one party?] attachrid [email protected]; // for IP check set [email protected]_list$, ""; set [email protected]_list$, ""; set [email protected], 0; set [email protected], 0; // Check Party Members for ( [email protected] = 0; [email protected] < [email protected]; [email protected]++ ) { if (isloggedin( [email protected][[email protected]], [email protected][[email protected]] ) == 0) continue;{ attachrid [email protected][[email protected]]; [email protected] = query_sql ("SELECT `last_ip` FROM `login` WHERE `account_id`=" + [email protected][[email protected]] + "", [email protected]$); [email protected] = query_sql("SELECT last_unique_id FROM `login` WHERE account_id ="[email protected][[email protected]]+"", [email protected]_mem_uid$); [email protected] = query_sql("SELECT `dailybbq` FROM `bloody_branch_uid` WHERE `unique_id` = "[email protected]_mem_uid$+" LIMIT 1", [email protected]$); [email protected] = compare([email protected]_list$, "|" + [email protected]$ + "|" ) [email protected] = compare([email protected]_list$, "|" + [email protected]$ + "|" ) //Check party member UniqueID and see if they have completed for the day. if([email protected] == 0 && [email protected] == 1) { set [email protected], 1; } // If same IP is on party else if([email protected] == 1 && [email protected] == 0) { set [email protected], 1; } else if([email protected] == 0 && [email protected] == 0) { // Add IP to party list for checking [email protected]_list$ += "|" + [email protected]$ + "|"; // Add Unique_ID to party list for checking [email protected]_list$ += "|" + [email protected]$ + "|"; } // If acc has entered ladder if (compare( .en_acc_list$, "|" + getcharid(3,strcharinfo(0)) + "|" ) == 1) { if([email protected]_list$ == "") [email protected]_list$ += strcharinfo(0); else [email protected]_list$ += ", " + strcharinfo(0); } } } // Get back to PTL to display message attachrid [email protected]; if([email protected]) { mes "A party member has completed the Bloody branch Quest today."; close; } if([email protected]) { mes "Sorry, party members with the same IP address can't enter."; close; } if([email protected]_list$ != "") { mes "Sorry, the following people has already entered the ladder today:"; mes [email protected]_list$; close; } // END OF NEW CHECK Could someone help me in this please?
  9. Many ask me for support, although there is a guide here from another member on the forum., for some reason this guide, besides being outdated, has files that don't exist (iteminfo.lub with another name) and it confuses a lot of people Quick guide to hands-on teaching you how to install garment on your rAthena emulator and Client-side Note: The garments are not considerable common looks, so they do not use Accessoryid.lub and accname.lub. Features we’re going to use: • iteminfo.lua • SpriteRobeId.lub • SpriteRobeName.lub • item_db_equip.yml • 1 image Collection • 1 bmp image for inventory • 1 spr and act of item when dragged • 1 spr and act of the equipment (male or female) STEP 1 First let’s add the name we want to the client-side System/iteminfo.lub Orange = Item id Green = collection/act/spr file name Blue = Title name Purple = item description [250001] = { unidentifiedDisplayName = "Unidentified Garment", unidentifiedResourceName = "후드", unidentifiedDescriptionName = { "Can be identified by using a ^990099Magnifier^000000." }, identifiedDisplayName = "Super Angel Wing", identifiedResourceName = "Angel_wing", identifiedDescriptionName = { "White wings of a holy Archangel.", "____________", "^0000CCType:^000000 Garment", "^0000CCDefense:^000000 18", "^0000CCWeight:^000000 20", "____________", "^0000CCRequirement:^000000 None" }, slotCount = 1, ClassNum = 1, costume = false }, • In the print it will look like this: STEP 2 Add file name in data\luafiles514\lua files\Datainfo\SpriteRobeName.lub search for RobeNameTable, and at the end of the last robe you add yours, like this: RobeNameTable = { ... [SPRITE_ROBE_IDs.ROBE_C_Sakura_Wing] = "C_Sakura_Wing", [SPRITE_ROBE_IDs.ROBE_Angel_Wing] = "Angel_Wing", } If yours has this RobeNameTable_Eng, also put it: RobeNameTable_Eng = { ... [SPRITE_ROBE_IDs.ROBE_C_Sakura_Wing] = "C_Sakura_Wing", [SPRITE_ROBE_IDs.ROBE_Angel_Wing] = "Angel_Wing", } Now let’s go to SpriteRobeId.lub, you will find something like: ROBE_C_BlackBear_Back_TW = 81, ROBE_Calabash = 82, ROBE_C_Sakura_Wing = 83 Just add one more id, remember to add the comma in the previous one. (marked in blue) ROBE_C_BlackBear_Back_TW = 81, ROBE_Calabash = 82, ROBE_C_Sakura_Wing = 83, ROBE_Angel_Wing = 84 The bureaucratic part is almost over… now you need to open your item_db.yml, I particularly love using tokei’s SERVER DATA BASE EDITOR, if you don’t know what it is, you can click in link here or direct download here. In this tutorial I’m going to use SDE, but I’ll also show you how the result will look in .YML if you don’t want to download and just copy it. First I looked up the ID of the item I want to make, to make sure it doesn’t have it yet. Now I’m going to right click on any item or id and select the option COPY TO… Obs: the ideal is you already get the id of some wing, for example the ArchAngel which is the 2573 as we are going to make a wing, it can be the same as it. (if I were to make a sword for example or something related in the back, it could be Thanatos Sword as an example) and you put the new id, in the case of the example it is the 250001 If you notice the Archangel Wings VIEWID is the 1: So let’s put the ID of our custom, which is 84, the ID we chose in the file SpriteRobeID.lub Staying like this in the Server data base: In YML it looked like this, after saving: Now the bureaucratic part is definitely over, let’s just copy the files to the data folder and connect. STEP 3 Let’s go to the files now, the paths we’re going to use is: inventory= data\texture\À¯ÀúÀÎÅÍÆäÀ̽º\item\ Collection = data\texture\À¯ÀúÀÎÅÍÆäÀ̽º\collection\ drag inventory = data\sprite\¾ÆÀÌÅÛ\ wing (Male) = data\sprite\·Îºê\Angel_Wing\³²\ wing (Female) = data\sprite\·Îºê\Angel_Wing\¿©\ Note: Currently the client only reads the file by the name of the class, I’m going to use the LEARN (novice) class in the example, but ideally you use a garment generator and generate the same file for all classes (I think this one can be a good gerator *I haven’t tested it yet* But let’s test only with 1 class to test, as I said, I’ll use the apprentice, the sprite name is: Ãʺ¸ÀÚ_³² first let’s paste the textures, Collection folder in place data\texture\À¯ÀúÀÎÅÍÆäÀ̽º\collection\ folder item inventory = data\texture\À¯ÀúÀÎÅÍÆäÀ̽º\item\ Now we can go to the Sprites, Drop inventory = data\sprite\¾ÆÀÌÅÛ\ wing (male) = data\sprite\·Îºê\Angel_Wing\³²\ Note that the filename goes one folder before, and in the file goes the class name, this can be repeated for the female folder. in-game looked like this on @item 250001 with the class @job 0 Some observations: 1 – I had to change the SDE from (4) to 8192 to test if the robe custom was right, so that’s why it’s in the look tab and not the Equip tab, but I saw that it doesn’t make a difference, so disregard it. 2 – If the Wing appears on the ALT+Q but does not appear on the character as in this image below you probably don’t have the id in transparentitem.lub is an extra file that controls the transparency of the item, this file’s default for non-existent ids is 0 (transparent) so you just open it and so here: 84 = is ID { 84, 255, 255, 0 },
  10. put the file you edited in the first grf in your data.ini list example 1=first.grf <--- here you are going to put the file you edited to be read by the client 2=second.grf
  11. Random Item Option doesn't work like that. RandomOptionGroup don't exist in item_db.yml ########################################################################### # Item Database ########################################################################### # # Item Settings # ########################################################################### # - Id Item ID. # AegisName Server name to reference the item in scripts and lookups, should use no spaces. # Name Name in English for displaying as output. # Type Item type. (Default: Etc) # SubType Weapon or Ammo type. (Default: 0) # Buy Buying price. When not specified, becomes double the sell price. (Default: 0) # Sell Selling price. When not specified, becomes half the buy price. (Default: 0) # Weight Item weight. Each 10 is 1 weight. (Default: 0) # Attack Weapon's attack. (Default: 0) # MagicAttack Weapon's magic attack. (Default: 0) # Defense Armor's defense. (Default: 0) # Range Weapon's attack range. (Default: 0) # Slots Available slots in item. (Default: 0) # Jobs Jobs that can equip the item. (Map default is 'All: true') # Classes Upper class types that can equip the item. (Map default is 'All: true') # Gender Gender that can equip the item. (Default: Both) # Locations Equipment's placement. (Default: None) # WeaponLevel Weapon level. (Default: 0) # EquipLevelMin Minimum required level to equip. (Default: 0) # EquipLevelMax Maximum level that can equip. (Default: 0) # Refineable If the item can be refined. (Default: false) # View View sprite of an item. (Default: 0) # AliasName Another item's AegisName that will be sent to the client instead of this item's AegisName. (Default: null) # Flags: Item flags. (Default: null) # BuyingStore If the item is available for Buyingstores. (Default: false) # DeadBranch If the item is a Dead Branch. (Default: false) # Container If the item is part of a container. (Default: false) # UniqueId If the item is a unique stack. (Default: false) # BindOnEquip If the item is bound to the character upon equipping. (Default: false) # DropAnnounce If the item has a special announcement to self on drop. (Default: false) # NoConsume If the item is consumed on use. (Default: false) # DropEffect If the item has a special effect on the ground when dropped by a monster. (Default: None) # Delay: Item use delay. (Default: null) # Duration Duration of delay in seconds. # Status Status Change used to track delay. (Default: None) # Stack: Item stack amount. (Default: null) # Amount Maximum amount that can be stacked. # Inventory If the stack is applied to player's inventory. (Default: true) # Cart If the stack is applied to the player's cart. (Default: false) # Storage If the stack is applied to the player's storage. (Default: false) # GuildStorage If the stack is applied to the player's guild storage. (Default: false) # NoUse: Conditions when the item is unusable. (Default: null) # Override Group level to override these conditions. # Sitting If the item can not be used while sitting. (Default: false) # Trade: Trade restrictions. (Default: null) # Override Group level to override these conditions. # NoDrop If the item can not be dropped. (Default: false) # NoTrade If the item can not be traded. (Default: false) # TradePartner If the item can not be traded to the player's partner. (Default: false) # NoSell If the item can not be sold. (Default: false) # NoCart If the item can not be put in a cart. (Default: false) # NoStorage If the item can not be put in a storage. (Default: false) # NoGuildStorage If the item can not be put in a guild storage. (Default: false) # NoMail If the item can not be put in a mail. (Default: false) # NoAuction If the item can not be put in an auction. (Default: false) # Script Script to execute when the item is used/equipped. (Default: null) # EquipScript Script to execute when the item is equipped. (Default: null) # UnEquipScript Script to execute when the item is unequipped or when a rental item expires. (Default: null) ###########################################################################
  12. hi miss @Emistry it seems i do have problem with your refine item/useable thanks for helping
  13. Yesterday
  14. do i need to use some command before?? I imported the tables, and put 8000 ExternalSettings_kr, but the emblem still doesn't appear..
  15. How to make this command work ?
  16. it seems selection dont show up heres the script //--- Bitmasks ---- // 1 - Top Headgear // 2 - Armor // 4 - Left Hand // 8 - Right Hand // 16 - Garment // 32 - Shoes // 64 - Left Accessory // 128 - Right Accessory // 256 - Middle Headgear // 512 - Lower Headgear // .....callfunc( "RefineFunc",<itemID>,<Amount>,<BitMasks>,<MinRefine>,<MaxRefine>,<CheckEquip>,<RefineMode>,<Percent> ); // 1. itemID -> Item that will be used during Refine. // 2. Amount -> Amount of Required Items. // 3. BitMask -> Refer to above bitmask table. // 4. MinRefine -> Required Min Refine to use. // 5. MaxRefine -> What is the Max Refine. [ Can Bypass Default Server Max Refine ] // 6. CheckEquip -> Check Equipments is Refineable or not. [ 0 = Disable / 1 = Enable ] // 7. RefineMode -> +1 / Max Refine. [ 0 = +1 Refine / 1 = Max Refine ] // 8. Percent -> Rate of Success to refine current Equipment. // Notes : You can Customize it according to whatever way you want. // Different NPCs / Items with Different Settings. // It will consume the items that you defined to Refine the Equipments according to your Settings. //----------- If used this as Item Script ----------- // Example : Red Potion with 100% Refine Rate // 501,Red_Potion,Red Potion,11,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc( "RefineFunc",501,1,63,0,10,1,0,100 ); },{},{} // Change Item Type to 11 and Amount Required to 1 ( Advised ) //----------- If used this as NPC Script ------------ // Example : 90% Success Rate Refiner. // turbo_room,108,112,5 script Refiner 757,{ // callfunc( "RefineFunc",3036,1,8,8,10,1,1,100); // } function script RefineFunc { for( set [email protected],1; [email protected] <= 10; set [email protected],[email protected] + 1 ) set [email protected]$,[email protected]$ + (( getarg(2) & pow( 2,([email protected] ) ) && getequiprefinerycnt( [email protected] ) >= getarg(3) && getequiprefinerycnt( [email protected] ) < getarg(4) && getequipisequiped( [email protected]) )?"^FF0000+"+getequiprefinerycnt( [email protected] )+" ^0000FF"+getequipname( [email protected] )+" "+( getitemslots( getequipid( [email protected] ) )?"["+getitemslots( getequipid( [email protected] ) )+"]":"" )+"^000000":"" )+":"; set [email protected],select( [email protected]$ ); mes "Required ^FF0000"+getarg(1)+" x "+getitemname( getarg(0) )+"^000000"; if( getarg(5) == 1 && !getequipisenableref( [email protected] ) ) mes "I cant refine this items. Because it is ^FF0000Un-Refineable^000000."; else{ if( select( "^FF0000Refine^000000:Cancel" ) == 2 ) close; if( countitem( getarg(0) ) < getarg(1) ) close; delitem getarg(0),getarg(1); if( rand(100) < getarg(7) ){ if( getarg(6) ) while( getequiprefinerycnt( [email protected] ) < getarg(4) ) successrefitem ( [email protected] ); else successrefitem ( [email protected] ); mes "You have refined : "; mes "^FF0000+"+getequiprefinerycnt( [email protected] )+" ^0000FF"+getequipname( [email protected] )+"^000000"; }else{ failedrefitem ( [email protected] ); mes "Sorry, Failed in Refine and Equipment...Destroyed."; } } close; } this is the selection window im using it as an useable item 3036,+9_Weapon_Refine_Deed,+9 Weapon Refine Deed,11,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc( "RefineFunc",3036,1,8,8,10,1,1,100); },{},{} thanks for the help @Emistry
  17. i have the same problem, other character in one account is totally fine but when one specific character log-in map-server got crash. im running debug in visual studio and found this error maybe somebody can help me?
  18. Hi, guys. This is my first ever post. I tried to make a tiny add-ons for FluxCP News module. My goal is to be able to view a news by its ID. Something like WordPress. So far it works on my side and I want to share it on "Downloads" page, but I'm not sure if its good enough. Can you please try it? Let me know what do you think. Thank you *file attached news-custom.rar
  19. no caso aonde fica armazenado estas senha, caso o player se esquece, ou caso o adm necessite entrar na conta do mesmo.
  20. I did the whole procedure again but the emblem doesn't appear in the game.. ;(
  21. Couldn't you make a little tutorial on how I do in the final part to make it work? please friend.if not to bother.
  22. I understand, but my server is using offline windows, why is it not picking up?
  23. You can PM @Functor. He will give u some patch for it.
  24. You can change the script like what @Akkarin post in here:
  1. Load more activity
  • Newsletter

    block_newsletter_signup
    Sign Up
×
×
  • Create New...

Important Information

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