Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 14.04.2006, 23:12   #1
nitromaxboi
Архивный участник
 
Join Date: Feb 2005
Posts: 62
Default c4 level 80 bug(SERIOUS)

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 is offline  
Old 15.04.2006, 15:01   #2
nitromaxboi
Архивный участник
 
Join Date: Feb 2005
Posts: 62
Default

anyone can fix this?
nitromaxboi is offline  
Old 15.04.2006, 16:20   #3
MuNLoK
Архивный участник
 
Join Date: Sep 2005
Posts: 255
Default

I dont have this bug :S
MuNLoK is offline  
Old 15.04.2006, 16:32   #4
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

i have.. but isn't important in low rates servers.... no one reach level 80 at 100% xD
FidoW is offline  
Old 15.04.2006, 17:17   #5
nitromaxboi
Архивный участник
 
Join Date: Feb 2005
Posts: 62
Default

so how to fix this problem?
nitromaxboi is offline  
Old 15.04.2006, 17:39   #6
angelicmercer
Архивный участник
 
Join Date: Apr 2006
Posts: 42
Default

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.
angelicmercer is offline  
Old 15.04.2006, 17:59   #7
humordwarf
Архивный участник
 
Join Date: Feb 2006
Posts: 453
Default

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

Code:
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
humordwarf is offline  
Old 15.04.2006, 19:12   #8
nitromaxboi
Архивный участник
 
Join Date: Feb 2005
Posts: 62
Default

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 is offline  
Old 16.04.2006, 12:49   #9
nitromaxboi
Архивный участник
 
Join Date: Feb 2005
Posts: 62
Default

any other solutions?
nitromaxboi is offline  
Old 21.05.2006, 17:48   #10
Haygor
Архивный участник
 
Join Date: Apr 2006
Posts: 36
Default

Simple, create a trigger

Code:
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
Haygor is offline  
Old 21.05.2006, 17:54   #11
top-gear
Архивный участник
 
Join Date: Aug 2005
Posts: 605
Default

hex the server to level 90:P or restore the good old limit of lvl 75
top-gear is offline  
Old 21.05.2006, 18:07   #12
Haygor
Архивный участник
 
Join Date: Apr 2006
Posts: 36
Default

this trigger actually doesn't work, so don't use it, i will do some more digging and figure this one out
Haygor is offline  
Old 21.05.2006, 20:40   #13
testdude
Архивный участник
 
Join Date: Nov 2005
Posts: 504
Default

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
testdude is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 15:30.