Page 2 of 2

Re: Level Sync

Posted: Sat Jul 13, 2013 3:06 pm
by tazm
Can someone give me a 2 min rundown on how to make an lua file for level sync to make it take all armor off and u have to buy new armor?

Re: Level Sync

Posted: Sat Jul 13, 2013 3:44 pm
by kjLotus
tazm wrote:Can someone give me a 2 min rundown on how to make an lua file for level sync to make it take all armor off and u have to buy new armor?
it would be a core function, not a script

Re: Level Sync

Posted: Sat Jul 13, 2013 3:52 pm
by tazm
just wanna know how to do it as we already know that lvl sync is in the game how do i make it bring my lvl down to another charc strip my armor of course ill have to buy new armor but it will be easier to help other people lvl up or is it even possible to do?

Re: Level Sync

Posted: Sat Jul 13, 2013 8:22 pm
by bluekirby0
I already said its doable but in the time it would take for me to explain how to do it I could fix 3 bugs.

Re: Level Sync

Posted: Sat Jul 13, 2013 10:49 pm
by kjLotus
tazm wrote:just wanna know how to do it as we already know that lvl sync is in the game how do i make it bring my lvl down to another charc strip my armor of course ill have to buy new armor but it will be easier to help other people lvl up or is it even possible to do?
ready how levelRestriction works in lua_baseentity.cpp and copy that logic to where it would be applied in packet_system.cpp (assuming the packet is even set up)

Re: Level Sync

Posted: Mon Sep 29, 2014 3:34 pm
by Cyprus
Digging around the forums I noticed that in November of last year, Level Sync was turned on in the Old School server (for testing purposes from what I could gather). Was curious what the outcome was for this in regards to bugs & whatnot & how to implement it into my server if it worked well enough.

Re: Level Sync

Posted: Mon Sep 29, 2014 3:54 pm
by kjLotus
Cyprus wrote:Digging around the forums I noticed that in November of last year, Level Sync was turned on in the Old School server (for testing purposes from what I could gather). Was curious what the outcome was for this in regards to bugs & whatnot & how to implement it into my server if it worked well enough.
it's already implemented

edit: my mistake, you have to enable it in map_darkstar.conf

Re: Level Sync

Posted: Tue Sep 30, 2014 8:23 am
by Cyprus
Oh awesome, I was assuming that it wasn't available since it didn't work on my server. I assume that I just change the value from 0 to 1 then reboot server yes? Gonna go change that as soon as I get home! Thanks!

*EDIT* Looking at the conf file in github, I notice the setting to have level cap in CoP battlefields as well. Is this turned on by default? I'm assuming the 1 means it's enabled. I would hate to roll into the battlefield & overpower it lol.

Re: Level Sync

Posted: Tue Sep 30, 2014 1:25 pm
by kjLotus
yes and whatever you see on github is the default (CoP is level capped by default)

Re: Level Sync

Posted: Tue Sep 30, 2014 2:06 pm
by Cyprus
Awesome, thanks again!