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

TalkAction (6.1) Cyber's REPSystem w/Opinion Points for 0.4 && mAAC

Is this the best reputation system?

  • Yes.

    Votes: 131 66.2%
  • No.

    Votes: 30 15.2%
  • It's good but can be improved.

    Votes: 37 18.7%

  • Total voters
    198
  • Poll closed .
Status
Not open for further replies.
i have a question.. what if you are trying to get highest negative reputation and you get killed... you get -5 rep .. so that is good :S for you, is it?..
 
i have a question.. what if you are trying to get highest negative reputation and you get killed... you get -5 rep .. so that is good :S for you, is it?..
oh right, thnx for the report
if a player is killed and he has neg rep he must lose 5 negrep points so he will gain +5
but if he has positive rep then he will get -5 rep points.. i'll fix that later
EDIT: fixed repDeath.lua
 
Last edited:
PHP:
Lua Script Error: [CreatureScript Interface]
data/creaturescripts/scripts/rep/repLook.lua:onLook

data/lib/database.lua:60: [Result:getDataInt] Result not set!
stack traceback:
        [C]: in function 'error'
        data/lib/database.lua:60: in function 'getDataInt'
        data/lib/function.lua:469: in function 'getRepPoints'
        data/creaturescripts/scripts/rep/repLook.lua:7: in function <data/creatu
rescripts/scripts/rep/repLook.lua:5>
 
@lava
did you execute the sql query for rep?
did you add my functions to ur functions.lua?
what distro do you use? it's a weird bug, never seen it before
 
crying damson 0.3.5pl1
copyed the scripts 100% exept the quests and door and sql
 
crying damson 0.3.5pl1
copyed the scripts 100% exept the quests and door and sql
did you execute the sql query to add the "rep" table to players that I posted? I have tested this sys on latest crying damson so must be something easy to fix
 
i have a question.. what if you are trying to get highest negative reputation and you get killed... you get -5 rep .. so that is good :S for you, is it?..
thnx, buddy I already fixed it at the main post
 
:) good, I'm happy that it worked for you
btw I fixed repDeath.lua, it had a critical bug
 
cyber theres a problem, players make another acc and they kill them selfs to get rep

can you make a script that if you kill some1 with your ip you lose 15 rep points?
 
cyber theres a problem, players make another acc and they kill them selfs to get rep

can you make a script that if you kill some1 with your ip you lose 15 rep points?
ok, I'm on it! thnx for your report
I won't make it to lose rep because that would be good for ppl who want bad rep
instead, I'll add a script to cancel the rep function when players kill in their same ip
bytheway you shouldn't worry about that, increase the rep points and you'll see that the players will stop doing this nonsense act
 
how would it be in the repkill.lua if i want that when i kill a not "isPlayer(target)"... i mean a creature it gives me x rep??

BTW... when a player gets an outfit depending of his rep.. and then he dies and lose reputation, he doesnt lose the outfit.. would be good if the looses it at the moment he dies or when he writes !rep again..
 
Last edited:
@up
edit: I just released repMonster.lua script, check it at the main post
that outfit matter maybe I will fix it later
 
Last edited:
is there anyway to register the function getRepPoints(target)?? i'd like to set the amount of rep given onkill depending of target reputation.. if you know what i mean hehe..

BTW.. when i kill a monster set into repMonster i do get the reputation points but the text doest appear :S... ive tried with some other colours +Rep text isn't shown...

well thats for now ^^
 
Last edited:
post me here ur script so I can check it out
and I tested RepMonster, the +REP message appears
maybe you have my outdated functions, check if the rep functions in ur functions.lua are the same as here
 
my repMonster.lua

PHP:
 -- >>> THE Players'REP++System CryingDamson Edition by Cybermaster <<< --
 -- >>> Scripted IN and ONLY for TFS 0.3<<< --
 -- >>> To add a new monster, copy an ..elseif.. line and modify it<<< --

function onKill(cid, target, lastHit)
        if (isPlayer(cid) == true) and (isMonster(target) == true) then
                if getCreatureName(target) == "Demon" then
                        addPlayerRep(cid, 3, TEXTCOLOR_LIGHTGREEN)
                elseif getCreatureName(target) == "Ferumbras" then
                        addPlayerRep(cid, 250, TEXTCOLOR_LIGHTGREEN)
                elseif getCreatureName(target) == "Orshabaal" then
                        addPlayerRep(cid, 100, TEXTCOLOR_LIGHTGREEN)
                elseif getCreatureName(target) == "Hellfire Fighter" then
                        addPlayerRep(cid, 1, TEXTCOLOR_LIGHTGREEN)
                elseif getCreatureName(target) == "Grim Reaper" then
                        addPlayerRep(cid, 1, TEXTCOLOR_LIGHTGREEN)
                elseif getCreatureName(target) == "Dracola" then
                        addPlayerRep(cid, 50, TEXTCOLOR_LIGHTGREEN)
                elseif getCreatureName(target) == "Dark torturer" then
                        addPlayerRep(cid, 2, TEXTCOLOR_LIGHTGREEN)
                elseif getCreatureName(target) == "Juggernaut" then
                        addPlayerRep(cid, 5, TEXTCOLOR_LIGHTGREEN)
                elseif getCreatureName(target) == "bones" then
                        addPlayerRep(cid, 40, TEXTCOLOR_LIGHTGREEN)
                elseif getCreatureName(target) == "Demodras" then
                        addPlayerRep(cid, 25, TEXTCOLOR_LIGHTGREEN)
                elseif getCreatureName(target) == "Mr. Punish" then
                        addPlayerRep(cid, 50, TEXTCOLOR_LIGHTGREEN)
                elseif getCreatureName(target) == "Fluffy" then
                        addPlayerRep(cid, 50, TEXTCOLOR_LIGHTGREEN)
                elseif getCreatureName(target) == "The Handmaiden" then
                        addPlayerRep(cid, 50, TEXTCOLOR_LIGHTGREEN)
                elseif getCreatureName(target) == "Massacre" then
                        addPlayerRep(cid, 50, TEXTCOLOR_LIGHTGREEN)
                elseif getCreatureName(target) == "Annihilon" then
                        addPlayerRep(cid, 200, TEXTCOLOR_LIGHTGREEN)
                elseif getCreatureName(target) == "Ushuriel" then
                        addPlayerRep(cid, 200, TEXTCOLOR_LIGHTGREEN)
                elseif getCreatureName(target) == "Zugurosh" then
                        addPlayerRep(cid, 200, TEXTCOLOR_LIGHTGREEN)
                elseif getCreatureName(target) == "Latrivan" then
                        addPlayerRep(cid, 200, TEXTCOLOR_LIGHTGREEN)
                elseif getCreatureName(target) == "Golgordan" then
                        addPlayerRep(cid, 200, TEXTCOLOR_LIGHTGREEN)
                elseif getCreatureName(target) == "Madareth" then
                        addPlayerRep(cid, 200, TEXTCOLOR_LIGHTGREEN)
                elseif getCreatureName(target) == "Hellgorak" then
                        addPlayerRep(cid, 250, TEXTCOLOR_LIGHTGREEN)
                elseif getCreatureName(target) == "Morgaroth" then
                        addPlayerRep(cid, 500, TEXTCOLOR_LIGHTGREEN)
                elseif getCreatureName(target) == "Ghazbaran" then
                        addPlayerRep(cid, 500, TEXTCOLOR_LIGHTGREEN)
                elseif getCreatureName(target) == "Zoralurk" then
                        addPlayerRep(cid, 500, TEXTCOLOR_LIGHTGREEN)
                elseif getCreatureName(target) == "Apocalypse" then
                        addPlayerRep(cid, 2000, TEXTCOLOR_LIGHTGREEN)
                elseif getCreatureName(target) == "Infernatil" then
                        addPlayerRep(cid, 2000, TEXTCOLOR_LIGHTGREEN)
                elseif getCreatureName(target) == "Bazir" then
                        addPlayerRep(cid, 2000, TEXTCOLOR_LIGHTGREEN)
                end    
        end
    return TRUE
end

I checked the function.lua in data/lib and seems to be the same but i repaste it in case had something different... should i update anything else?

PD: can you help me adding that getRepPoints(target) funcion?, thanks :)
 
is there anyway to register the function getRepPoints(target)?? i'd like to set the amount of rep given onkill depending of target reputation.. if you know what i mean hehe..
do you mean when killing another player, based on the target's rep?

about ur script, Im testing it. Your Distro is TFS 0.3.5pl1? I say it because of the textcolors.
wait for the edit...:ninja:
EDIT: your RepMonster.lua worked for me, and I see the animated text
maybe you should change the textcolor to TEXTCOLOR_TEAL
idk, must be something easy to fix. check if your functions are updated too
 
Last edited:
0.3.4pl2
yes i mean that the rep given depends of how much reputation the target had... so if you kill for example a high reputation player it will give you more negative/positive Rep points than killing a noob.. hope you get what i mean :)
 
yeh, I get it.. i'll try later
 
Status
Not open for further replies.
Back
Top