Issue information

Issue ID
#5800
Status
Fixed
Severity
None
Started
Hercules Elf Bot
May 24, 2012 4:19
Last Post
Ind
Apr 16, 2013 5:18
Confirmation
N/A

Hercules Elf Bot - May 24, 2012 4:19

Originally posted by [b]Majinken[/b]
[url="http://rathena.org/board/tracker/issue-5794-bypass-max-level-setting/"]This fix[/url] prevents people from leveling up over the server's limit, but you can still have people with overleveled characters if you follow the steps in that bug up to step 4.

ex: 1st /2nd/Trans class max level set to 99, 3rd class set to 150.

Become a 3rd class, level up to 150, and change back to 1st/2nd/Trans. Your base level will stay at 150.

Hercules Elf Bot - May 24, 2012 4:30

Originally posted by [b]malufett[/b]
just make a follow up on the previous report..
[url="http://rathena.org/board/tracker/issue-5794-bypass-max-level-setting/"]http://rathena.org/board/tracker/issue-5794-bypass-max-level-setting/[/url]

Hercules Elf Bot - May 24, 2012 6:12

Originally posted by [b]Ind[/b]
i reopened o-o since its not the same thing i find it more easy to manage if its in its own bug report

Hercules Elf Bot - May 24, 2012 6:17

Originally posted by [b]malufett[/b]
oic..cause I think it is relative with the other post cause same way to produce it and topic title...
hope you see my fix @ http://rathena.org/board/tracker/issue-5794-bypass-max-level-setting/
/no1

Hercules Elf Bot - May 24, 2012 14:01

Originally posted by [b]Ind[/b]
[quote name='malufett' timestamp='1337840233' post='9513']
oic..cause I think it is relative with the other post cause same way to produce it and topic title...hope you see my fix @ http://rathena.org/board/tracker/issue-5794-bypass-max-level-setting/ /no1
[/quote]
the site isn't allowin me download that o.o

Hercules Elf Bot - May 24, 2012 14:16

Originally posted by [b]malufett[/b]
i'll just post it here...

[CODE]
Index: pc.c
===================================================================
--- pc.c (revision 16141)
+++ pc.c (working copy)
@@ -6903,6 +6903,17 @@
sd->class_ = (unsigned short)b_class;
sd->status.job_level=1;
sd->status.job_exp=0;
+
+ if (sd->status.base_level > pc_maxbaselv(sd)){
+ sd->status.base_level = pc_maxbaselv(sd);
+ sd->status.base_exp=0;
+ pc_resetstate(sd);
+ clif_updatestatus(sd, SP_STATUSPOINT);
+ clif_updatestatus(sd, SP_BASELEVEL);
+ clif_updatestatus(sd, SP_BASEEXP);
+ clif_updatestatus(sd, SP_NEXTBASEEXP);
+ }
+
clif_updatestatus(sd,SP_JOBLEVEL);
clif_updatestatus(sd,SP_JOBEXP);
clif_updatestatus(sd,SP_NEXTJOBEXP);[/CODE]

Hercules Elf Bot - May 31, 2012 19:12

Originally posted by [b]Ind[/b]
looks ok to me o-o

Ind - Apr 16, 2013 5:18

was already fixed by malufett some time ago