NexusXVI

Members
  • Content Count

    224
  • Avg. Content Per Day

    0
  • Joined

  • Last visited

Community Reputation

5 Neutral

About NexusXVI

  • Rank
    Marin

Profile Information

  • Gender
    Male
  • Location
    Philippines
  • Interests
    Helping others

Contact Methods

Recent Profile Visitors

2,375 profile views
  1. My fault clyd.. Used a different rev, happens when both are in the same folder.. Newest one dsnt have packet_db anymore.. Got confused.
  2. iteminfo_Sak.lua is also in the file. Also diff your client to load LUA before LUB if you only have the lua files.. If you only have the _Sak try finding an updated system folder. Here is mine for reference. And I suggest you make your own iteminfo.. So that updates won't hurt you if they come.
  3. There are 2 ways that I can think of here : 1. Admin should be set to both Yellow and Aid. <yellow> <admin>2000000</admin> </yellow> <aid> <admin>2000000</admin> </aid> 2. Do not check the Remove GM Sprite when you diff your client like so :
  4. As per experience only.. Items will appear as apples if item ID does not match the appropriate view ID Refer to here. Or sprite misalignment, have you checked the iteminfo?.
  5. Client Date : 2015 - 05 - 13 MapServer Error : clif_parse @ packet 0x0a35, disconnection session #3 Client Error : Disconnected from the Server
  6. //===== rAthena Script ======================================= //= Sample Random Option Script //===== Description: ========================================= //= Enchant a weapon with a random element option //= to a weapon with no random option. //===== Changelogs: ========================================== //= 1.0 First version. [Secretdataz] //============================================================ //===== rAthena Script ======================================= //= Random Option NPC dealer //===== By: ================================================== //= Keitenai //===== Current Version: ===================================== //= 1.0 //===== Compatible With: ===================================== //= rAthena Project //===== Description: ========================================= //= Deals with a player to apply random item option //= for the price of zeny/cashpoint //============================================================ quiz_00,16,107,6 script Keitenai 856,{ goto NPC; end; OnInit: //============================== // CURRENCY SETTING // 1 = Zeny // 0 = Cashpoints //============================== set .Currency,1; // Currency to buy random option set .Price,1000000; // Prize of random option //============================== // RANDOM OPTION SETTING //============================== set .OverWrite,1; // Allows overwriting the already existing option enchantment ( 0 to disable ) set .FailRate,10; // Sets fail chance set .MaxOpt,192; // Maximum item option a player can enchant ( reference: https://github.com/rathena/rathena/blob/master/db/const.txt#L1645-L1836 ) set .MinOpt,1; // Minimum item option a player can enchant set .MinValue,1; // Minimum option effect value set .MaxValue,10; // Maximum option effect value set .MaxIndex,4; // Maximum option slots ( default is 0 to 4 ) set .Wait,5; // Progress bar delay in seconds // Random option that will not be applied setarray .ignore[0], 86, // RDMOPT_BODY_ATTR_ALL 173, // RDMOPT_HP_DRAIN 174, // RDMOPT_SP_DRAIN 190, // RDMOPT_MDAMAGE_SIZE_SMALL_USER 191, // RDMOPT_MDAMAGE_SIZE_MIDIUM_USER 192, // RDMOPT_MDAMAGE_SIZE_LARGE_USER 193; // RDMOPT_ATTR_TOLERACE_ALL end; NPC: disable_items; mes "[ Keitenai ]"; mes "Good day young fella!"; mes "I came from the land of"; mes "far far away to introduce the"; mes "amazing equipment ^FF0000random^000000"; mes "option enchantment."; next; mes "[ Keitenai ]"; mes "I can make any of your equipment"; mes "become more powerful"; mes "than its current condition..."; if(.Currency){ mes "For a prize of ^0000FF"+.Price+" Zeny^000000,"; } else { mes "For a prize of ^0000FF"+.Price+" Cashpoints^000000,"; } mes "I will apply a ^FF0000RANDOM^000000"; mes "option enchantment on your"; mes "equipment. (^_^)"; next; mes "[ Keitenai ]"; mes "I forgot to tell you that"; mes "there is ^FF0000"+.FailRate+"%^000000 chance"; mes "that this process may ^FF0000FAIL^000000"; mes "and lose your equip along"; mes "with its card..."," "; next; mes "[ Keitenai ]"; mes "Do you still want to take"; mes "the risk of enchanting with"; mes "^FF0000"+.FailRate+"%^000000 chance to ^FF0000Fail^000000"; mes "and lose your equip along"; mes "with its card?"; next; if(select("Nah! I don't want to...:^0000FFI'll Take the risk! Enchant my equip!^000000")==1) goto OnCancel; mes "[ Keitenai ]"; mes "Wonderful!"; mes "This process will take"; mes "about ^0000FF"+.Wait+"^000000 seconds..."; mes "Don't move a muscle while"; mes "i'm enchanting your equipment!"; close2; setarray [email protected][1], EQI_HEAD_TOP,EQI_ARMOR,EQI_HAND_L,EQI_HAND_R,EQI_GARMENT,EQI_SHOES,EQI_ACC_L,EQI_ACC_R,EQI_HEAD_MID,EQI_HEAD_LOW; for(set [email protected],1; [email protected]<getarraysize([email protected]); set [email protected],[email protected]+1){ if(getequipisequiped([email protected][[email protected]])){ set [email protected]$,[email protected]$+F_getpositionname([email protected][[email protected]])+" ~ [ " + getequipname([email protected][[email protected]]) + " ]"; set [email protected],1; } set [email protected]$,[email protected]$+":"; } set [email protected],[email protected][select([email protected]$)]; set [email protected],rand(.MinValue,.MaxValue); IgnoreCheck: set [email protected],rand(.MinOpt,.MaxOpt); for(set [email protected],1; [email protected]<getarraysize(.ignore); set [email protected],[email protected]+1) if([email protected]==.ignore[[email protected]]) goto IgnoreCheck; set [email protected],rand(.MaxIndex); if(!.OverWrite){ if(getequiprandomoption([email protected],4,ROA_ID,getcharid(0))) set [email protected],4; if(getequiprandomoption([email protected],3,ROA_ID,getcharid(0))) set [email protected],3; if(getequiprandomoption([email protected],2,ROA_ID,getcharid(0))) set [email protected],2; if(getequiprandomoption([email protected],1,ROA_ID,getcharid(0))) set [email protected],1; if(getequiprandomoption([email protected],0,ROA_ID,getcharid(0))) set [email protected],0; if([email protected] == 0 && [email protected]) if([email protected]==.MaxIndex) goto OnMax; else set [email protected],1; if([email protected] == 1 && [email protected]) if([email protected]==.MaxIndex) goto OnMax; else set [email protected],2; if([email protected] == 2 && [email protected]) if([email protected]==.MaxIndex) goto OnMax; else set [email protected],3; if([email protected] == 3 && [email protected]) if([email protected]==.MaxIndex) goto OnMax; else set [email protected],4; if([email protected] == 4 && [email protected]) if([email protected]==.MaxIndex) goto OnMax; } if([email protected] == 4 && (!getequiprandomoption([email protected],3,ROA_ID,getcharid(0)))) set [email protected],3; if([email protected] == 3 && (!getequiprandomoption([email protected],2,ROA_ID,getcharid(0)))) set [email protected],2; if([email protected] == 2 && (!getequiprandomoption([email protected],1,ROA_ID,getcharid(0)))) set [email protected],1; if([email protected] == 1 && (!getequiprandomoption([email protected],0,ROA_ID,getcharid(0)))) set [email protected],0; progressbar "ffff00",.Wait; if(.Currency){ if(Zeny < .Price) goto PriceFail; else set Zeny,Zeny-.Price; } else { if(#CASHPOINTS < .Price) goto PriceFail; else set #CASHPOINTS,#CASHPOINTS-.Price; } // Failed... if(.FailRate > 100) set .FailRate,100; if(rand(100) <= .FailRate) goto OnFailure; // Success!! setrandomoption([email protected],[email protected],[email protected],[email protected],[email protected],getcharid(0)); end; OnMax: mes "[ Keitenai ]"; mes "Wow! your equip already"; mes "Maxed out its option"; mes "enchant slots!"; mes "Sorry but I can't add"; mes "any more enchantment with"; mes "your equipment."; close; OnFailure: specialeffect2 EF_PHARMACY_FAIL; mes "[ Keitenai ]"," "; mes "I'm really sorry..."," "; mes "^FF0000The process have failed..."; mes "Your item has been destroyed.^000000"; delequip [email protected]; close; PriceFail: mes "[ Keitenai ]"; mes "What's this?"; mes "Are you kidding me?"; mes "Sorry but I don't work"; mes "for free!"; mes "You can come back if you"; mes "Have enough to pay for"; mes "my service."; close; OnCancel: mes "[ Keitenai ]"; mes "Suit yourself."; mes "Let me know if you"; mes "ever changed you mind"; close; } This I have tested and it's working, I did try to separate the armor and weapon based. This is to separate the effect for Armor and Weapons, ex. Enchant Weapon with Ghost Property on an Armor!! -.- Here is the concerns : * Shield is equipped on the left hand, but it is considered an armor, So If I just set the array for Left and Right hand, the shield will still gain bonus for weapons. So if anyone would like to help on this??
  7. Are there still flux cp theme makers out there?? Fully coded ones?.. Probably Working on specifics or has a collection of on sale pre-made flux cp
  8. Ty so much sader, But I know this, I was asking if I turn that on.. Will that actually put all my item_db2_re, up on sql? so that my flux can read it and I can put my custom Items up for donation.
  9. so I was trying to add custom stuffs on the donation panel on flux cp, I succesfully added the sql's item_db_re and item_db2_re, now If I am not mistaken the item_db_re is where all the official items are, but there is nothing on the item_db2_re, so I can't add it on the shop on the fluxcp.. Now I have somethings in mind like , putting the items directly into item_db.txt, on db/re/item_db rather than on import but I don't know if that will work somehow, So might as well ask if there is a posibility to just add the all custom items from db/import/item_db on item_db2_re on the sql.
  10. https://github.com/rathena/rathena/blob/master/npc/custom/etc/mvp_room.txt It's on the github..
  11. It would be really nice to see this, fixed.. Tried it again today.. the first one was a success got my points and stuff, after that I had my cooldown set on 5 hours and re tried it again after 5 hours.. and the monster won't count again..
  12. What is the difference? should it be commented out? #define RENEWAL_DROP #define RENEWAL_DROP Cause I also have the problem, Its the other way around the MVP cards has a higher drop rate than normal cards.
  13. We'll as I have understand ragnarok database, you can't just make a costume out of an Item, It will never do that except : 1. That item has a mirror costume item.. ex. 5011 Aerial and it's counter part 20120 Costume Aerial.. (Which I think what you mean). 2, If you make a new item as a costume and manually add it on your database using this : https://github.com/rathena/rathena/wiki/Custom_Items PS : It's actually very easy to do that if you want. you can use the existing quest_shop script available npc/custom/quest/quest_shop.txt.. Here : Where Aerial Costume costs Aerial and Platinum Coin // ----------------------------------------------------------- // Quest items -- do NOT use a reward item more than once! // Add(<shop ID>,<reward ID>,<reward amount>, // <Zeny cost>,<point cost>, // <required item ID>,<required item amount>{,...}); // ----------------------------------------------------------- //EXAMPLE Add(1,20120,1,0,0,5100,1,677,1); // ----------------------------------------------------------- Script is Here : https://github.com/rathena/rathena/blob/5f20c0ce0cbe4bc22b8bf1df9c36c0ef9a480ef3/npc/custom/quests/quest_shop.txt I hope I helped.!!