• 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!

How to stop getting exp from mc characters??

Gothric

New Member
Joined
Feb 6, 2010
Messages
264
Reaction score
1
I have set in my config.lua exp from players

Code:
	rateExperienceFromPlayers = 10

How can i fix to dont get exp from mc characters? :S

rep++
 
the chances that someone will try to abuse this high exp rate are higher, and can't be ignored :p
ontopic, edit the source part?
 
Cyko i am not pro in c++ ;< i wouldnt fix it by myself

Have u seen any thread where say how to do that?

There is another way to do it??
 
Lua:
function remove_exp(cid, old)
    if isPlayer(cid) then
        doPlayerAddExperience(cid, - (getPlayerExperience(cid) - old))
    end
end
 
function onKill(cid, target, deathList)
    if not isPlayer(target) then
        return true
    end
 
    if (getPlayerIp(cid) == getPlayerIp(target)) then
        addEvent(remove_exp, 100, cid, getPlayerExperience(cid))
    end
    return true
end

by Jano
 
This won't help your problem, but I'm guessing your trying to stop MC abuse with exp gain, so it servers him right if he's mcing and doesn't get exp from other people right?
 
I think you would need a more complex script then what was presented. Once that could single out mc from not mc and give the exp where it is needed and not take it all away. But not every one is mcing. There could be just friends playing at one house having a pk party or some shit haha. That's where the problem lies.
 
Back
Top