View Full Version : c4 level 80 bug(SERIOUS)
nitromaxboi
14.04.2006, 23:12
when players reach level 80 with 100% experience , they are able to use bug which enables them to gain full hp and mp. Players just have to unequip and equip their armor.
when the bug is used, the level up animation will be shown and players char will then have full mp and hp which makes them impossible to die during pvp.
another bug which exist is when players level over 80, his level will reset to level 1. I have tried using HF script with over exp hexed into my l2server but it did not solve any problem as the bug still exist.
nitromaxboi
15.04.2006, 15:01
anyone can fix this?
i have.. but isn't important in low rates servers.... no one reach level 80 at 100% xD
nitromaxboi
15.04.2006, 17:17
so how to fix this problem?
angelicmercer
15.04.2006, 17:39
I've only seen this happen with l2j Servers are you on l2j or L2Off? ill work on the issue with a few friends of Mine email me if you have any extra info that may help is when attempting to fix this.
humordwarf
15.04.2006, 17:59
just can try add something like
if exp>max_exp then exp=max_exp
but using SQL language =)
here:
Stored Procedure dbo.lin_ModChar
Stored Procedure dbo.lin_ModChar2
Stored Procedure dbo.lin_ModChar3 <== here i think
CREATE PROCEDURE [DBO].[lin_ModChar3]
(
@sp int,
@exp int,
@align int,
@pk int,
@pkpardon int,
@duel int,
@char_id int
)
AS
SET NOCOUNT ON
update user_data set
sp = sp + @sp,
exp = exp + @exp,
align = align + @align,
pk = pk + @pk,
pkpardon = pkpardon + @pkpardon,
duel = duel + @duel
where char_id = @char_id
of course not tested =) but i think here must be some condition checkups before adding values
nitromaxboi
15.04.2006, 19:12
i tried using this sql code
if exp >2000000000 then exp = 2000000000
end if
but it reports syntax error when i try to click ok
nitromaxboi
16.04.2006, 12:49
any other solutions?
Simple, create a trigger
CREATE TRIGGER trig_ModChar3
ON [dbo].[user_data]
FOR UPDATE
AS
DECLARE @currxp INT
IF NOT UPDATE (exp)
BEGIN
RETURN
END
SELECT @currxp = (SELECT exp FROM DELETED)
IF @currxp > 2067940873
UPDATE user_data SET exp = 2067940873
This is not tested, but should work. Change the 2067940873 to whatever you want the max to be.
EDIT NOTE: Grrrr, typos for the win
top-gear
21.05.2006, 17:54
hex the server to level 90:P or restore the good old limit of lvl 75
this trigger actually doesn't work, so don't use it, i will do some more digging and figure this one out
testdude
21.05.2006, 20:40
mmmk well ive not had this, and my friend has a 45x server with many many many people at 100% into 80, i guess its just high high high rate servers that they can do it but w/e, btw 80->1 bug is fixed, use search, posted by torune