Jaburak Posted May 3, 2013 Posted May 3, 2013 db/item_db.txt // Items Database // // Structure of Database: // ID,AegisName,Name,Type,Price,Sell,Weight,ATK,DEF,Range,Slot,Job,Upper,Gender,Loc,wLV,eLV,Refineable,View,{ Script },{ OnEquip_Script },{ OnUnequip_Script } For example; Apple has 20 weights. 512,Apple,Apple,0,15,,20,,,,,0xFFFFFFFF,7,2,,,2,,,{ itemheal rand(16,22),0; },{},{} If I want to change the weight to 99; it will become. 512,Apple,Apple,0,15,,99,,,,,0xFFFFFFFF,7,2,,,2,,,{ itemheal rand(16,22),0; },{},{} Quote
Namaste Posted May 3, 2013 Author Posted May 3, 2013 (edited) db/item_db.txt // Items Database // // Structure of Database: // ID,AegisName,Name,Type,Price,Sell,Weight,ATK,DEF,Range,Slot,Job,Upper,Gender,Loc,wLV,eLV,Refineable,View,{ Script },{ OnEquip_Script },{ OnUnequip_Script } For example; Apple has 20 weights. 512,Apple,Apple,0,15,,20,,,,,0xFFFFFFFF,7,2,,,2,,,{ itemheal rand(16,22),0; },{},{} If I want to change the weight to 99; it will become. 512,Apple,Apple,0,15,,99,,,,,0xFFFFFFFF,7,2,,,2,,,{ itemheal rand(16,22),0; },{},{} Sorry for my bad English. I want to change not Item weight but char's max weight using equipping some item Edited May 3, 2013 by Namaste Quote
Rage Guy Posted May 3, 2013 Posted May 3, 2013 (edited) Edit the Weight value inside the file trunk/db/re/job_db1.txt Edited May 3, 2013 by SpongeBOB Quote
Jaburak Posted May 3, 2013 Posted May 3, 2013 How about adding 'Enlarge Weight Limit' skill in the item script? 1 Quote
Namaste Posted May 3, 2013 Author Posted May 3, 2013 How about adding 'Enlarge Weight Limit' skill in the item script? Hmm, let's try to, but can it be more than 10 lvl ? For example, i need add weight to creator, he already learned this skill lvl 10. What i need use in item script to do this? If i wand to stay job weight with default values.... Quote
Capuche Posted May 3, 2013 Posted May 3, 2013 5010,Indian_Hair_Piece,Indian Fillet,5,20,,100,,5,,0,0xFFFFFFFF,7,2,256,,0,1,96,{ set MaxWeight, MaxWeight + 5000; },{},{} => weight + 500 Be aware that you'll be able to go past 100% weight capacity when removing the item. 1 Quote
Drakkus Posted June 8, 2013 Posted June 8, 2013 Is there any way that instead of using script, possible via source? i want to increase Via Source. Anyone? Quote
Emistry Posted August 8, 2013 Posted August 8, 2013 @Capuche i think should be .....{ },{ MaxWeight,MaxWeight + 5000; },{ MaxWeight,MaxWeight - 5000; } otherwise i think the script will provide users with "unlimit" maxweight ... anyway i think maxweight limit should be done using the enlarge weight limit or src mod to ensure it work perfectly. Quote
Capuche Posted August 8, 2013 Posted August 8, 2013 The bonus on Script type disappear when you unequip an equippable item (an example, you loose the skill you get with Skill command when you unequip the item). otherwise i think the script will provide users with "unlimit" maxweight ... So it doesn't Quote
AnnieRuru Posted January 25, 2014 Posted January 25, 2014 I knew about this trick since long time ago http://www.eathena.ws/board/index.php?s=&showtopic=165856&view=findpost&p=915097 but only today I knew about this bug http://rathena.org/board/tracker/issue-8541-set-maxweight-item-script-error/ he said the method above has bugs after soul linked so I tried create a patch [paste=5dtzwyegzv5b] .....,{ bonus baddmaxweight, 10000; },{},{}somehow its fixed ... Quote
Euphy Posted January 25, 2014 Posted January 25, 2014 Added 'bonus bAddMaxWeight,n;' in 0b6c542. Thanks, Annie! 1 Quote
croxinuz Posted January 25, 2014 Posted January 25, 2014 I knew about this trick since long time ago http://www.eathena.ws/board/index.php?s=&showtopic=165856&view=findpost&p=915097 but only today I knew about this bug http://rathena.org/board/tracker/issue-8541-set-maxweight-item-script-error/ he said the method above has bugs after soul linked so I tried create a patch [paste=5dtzwyegzv5b] .....,{ bonus baddmaxweight, 10000; },{},{}somehow its fixed ... Thank You Annie Quote
Question
Namaste
How to increase max weight in item script?
12 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.