[Release] Make Items Indestructible

08/15/2023 10:36 White Ros3#16
Thread Updated..
08/15/2023 13:53 Ozgacer#17
very helpful thanks
08/15/2023 20:28 Pure3viL#18
useful information thank you .
08/31/2023 16:41 kotsh23#19
working with weapons weapons 295/295 and working fine
set go to 425/255
and keep decreasing to 0
09/01/2023 01:46 White Ros3#20
Quote:
Originally Posted by kotsh23 View Post
working with weapons weapons 295/295 and working fine
set go to 425/255
and keep decreasing to 0
Something wrong in your database, How did you test it just normal bot ?
09/01/2023 14:27 kotsh23#21
i tested on D10 Set parts weapon also D10
12/30/2023 19:36 Judgelemental#22
Quote:
Originally Posted by White Ros3 View Post
Something wrong in your database, How did you test it just normal bot ?
Hi, sorry for bumping but if D10 items drop from monsters they are 1 durability and cannot be repaired, do you know any fix for this?

[Only registered and activated users can see links. Click Here To Register...]
12/31/2023 06:42 White Ros3#23
Quote:
Originally Posted by Judgelemental View Post
Hi, sorry for bumping but if D10 items drop from monsters they are 1 durability and cannot be repaired, do you know any fix for this?

[Only registered and activated users can see links. Click Here To Register...]
Code:
00726132
I don't remember but I think that's the non repairable param offset for normal items drop from uniques you can change to maximum durability then repair will be fine for it.
12/31/2023 09:48 Judgelemental#24
Quote:
Originally Posted by White Ros3 View Post
Code:
00726132
I don't remember but I think that's the non repairable param offset for normal items drop from uniques you can change to maximum durability then repair will be fine for it.
Sorry, I will explain again.

The item is normal (doesn't have max durability reduce) and drops from normal monsters too but IF the item is D10 then the durability is 1.
12/31/2023 16:43 White Ros3#25
Quote:
Originally Posted by Judgelemental View Post
Sorry, I will explain again.

The item is normal (doesn't have max durability reduce) and drops from normal monsters too but IF the item is D10 then the durability is 1.
does it has not repairable blue ?
12/31/2023 18:05 Judgelemental#26
Quote:
Originally Posted by White Ros3 View Post
does it has not repairable blue ?
No and can't be repaired because I used your edits and items are indestructible and cannot be repaired.

Normal 1-9 DG items drop from monsters and uniques : normal durability
10 DG items drop from monsters and uniques : 1 durability

There's a workaround around it. Basically every time you teleport the durability gets updated to the maximum:

However my query has faults in it and I'll make it as an item instead.

[Only registered and activated users can see links. Click Here To Register...]


Of course you can change the slots to apply to the whole armor, however I am not sure if it affects the whole server or just your character...
12/31/2023 23:44 Judgelemental#27
Alright, so I found a random query on the internet that will change the durability according to the Dur_L of the _RefObjItem table.


[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]
12/31/2023 23:48 Judgelemental#28
IF (@Operation = 41) -- If item used!
Begin
IF (@ItemRefID = 42856) --
Begin

EXEC [dbo].[_UpgradeSystem] @CharID
End
End
01/01/2024 04:19 White Ros3#29
Quote:
Originally Posted by Judgelemental View Post
IF (@Operation = 41) -- If item used!
Begin
IF (@ItemRefID = 42856) --
Begin

EXEC [dbo].[_UpgradeSystem] @CharID
End
End
""There's a workaround around it. Basically every time you teleport the durability gets updated to the maximum:""

you can just teleport or that doesn't work with D10 ?
01/01/2024 11:04 Judgelemental#30
Quote:
Originally Posted by White Ros3 View Post
""There's a workaround around it. Basically every time you teleport the durability gets updated to the maximum:""

you can just teleport or that doesn't work with D10 ?
I made a scroll to increase the durability from 1 to 77, I posted it above.

(I don't know how to make the teleport only affect the player and slot 6/7, not the whole server, not good at SQL.)