Jump to content
  • 0

Question

12 answers to this question

Recommended Posts

Posted
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.

  • Upvote 1
Posted

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; },{},{}
Posted (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 by Namaste
Posted

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....

Posted

@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.

Posted

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

Posted

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 ...
Posted

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  /thx

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...