• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

VIP System [The Forgotten Server 1.0]

trustjah

Newbie
Joined
Jan 22, 2009
Messages
122
Solutions
5
Reaction score
12
Location
Belgium
In mine is like this, I try to change but just the error, what would be the correct way? Thanks

Lua:
    -- Experience Stage Multiplier
    local expStage = Game.getExperienceStage(self:getLevel())
    exp = exp * expStage
    baseExp = rawExp * expStage
    if Game.getStorageValue(GlobalStorage.XpDisplayMode) > 0 then
        displayRate = expStage
        else
        displayRate = 1
    end
What Strutz said, and which error is being thrown by the console?
 

strutZ

Australian OT Member {AKA Beastn}
Joined
Nov 16, 2014
Messages
1,380
Solutions
7
Reaction score
537
player.lua

Here you go:

All i did was add 3 lines of code at 757 to 761

Lua:
    -- VIP Bonus
    local vipBonus = 2 -- This is where you add your multip
    if self:isVip() then
        exp = exp * vipBonus
    end
 

Seitron

New Member
Joined
Jun 28, 2020
Messages
27
Reaction score
2

ofek75

New Member
Joined
Sep 21, 2020
Messages
51
Reaction score
1
script for VIP effect? that display on the character?
Post automatically merged:

script for VIP effect? that display on the character?
 
Last edited:
Top