Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Softcode bypass for last Build where packpack have a limit
Author Message
Jhobean
Journeyman
*

Posts: 60
Likes Given: 7
Likes Received: 0 in 0 posts
Joined: Jun 2019
Reputation: 0



Post: #1
Softcode bypass for last Build where packpack have a limit
Hi,

I use the new build where we have a 550 stone backpack limit and an unlimited power for deplacing object. I want softcode a Bypass for this for doing like in the 55i version:

1- Not able to move item more than 2 times my weight limit.
I doing this on a character event:
Code:
ON=@ItemPickup_Pack / @ItemPickup_Self   /  @ItemPickup_Stack
/@ItemPickup_Ground
IF (<i.isGM>)
    return 0
ENDIF
IF (<ACT.WEIGHT> > <eval <i.MAXWEIGHT>*2>)
    i.messagerouge C'est trop lourd pour vous!
  return 1
ENDIF

It's work only if it's an item. IF it's a stack of 5000 ingots, i'm not able to deplace 1 ingot...

2- I don't want to be able to put item on my backpack if I am overweight (MAXWEIght)
That do not work because it's suppose to be a trigger on an item.... How i CAN do a Typedef for ALL item?
Code:
ON=@dropon_Self
IF (<src.isGM>)
    return 0
ENDIF

IF (<eval <src.WEIGHT>+<ARGO.WEIGHT>> > <src.MAXWEIGHT>)
    src.messagerouge C'est trop lourd pour vous!
  return 1
ENDIF

With these 2 modifications, the functionnality will be like 55i. I sincerely don't know why we put a maximum in the .ini.... The maximum should be link to your strengh...

Please Coruja would you revise your commit and set maxweight with STR? Or set an INI flag for let us decide?

Thx for your help.

https://www.uocryptonite.com/
(This post was last modified: 03-12-2020 05:58 AM by Jhobean.)
03-12-2020 05:49 AM
Find all posts by this user Like Post Quote this message in a reply
Jhobean
Journeyman
*

Posts: 60
Likes Given: 7
Likes Received: 0 in 0 posts
Joined: Jun 2019
Reputation: 0



Post: #2
RE: Softcode bypass for last Build where packpack have a limit
How Maxbackpackweight can follow MAXWEIGHT?

https://www.uocryptonite.com/
03-18-2020 08:14 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

This forum uses Lukasz Tkacz MyBB addons.