• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

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.
ok, finally, i finished and this is how it looks:

Dibujo123-1.jpg



doing this is simple, if you know:

-first, i had the problem that the images were too big, so one appeared under the other. the problem was solved by making the images smaller. for that i used the microsoft office picture manager.

-then, i had a second problem: i resized the images, so the top rep character (name, rank and rep points) wasnt in the place where they where supposed to be. for that, y explored a litle and i found how to correct it:

go to htdocs/reppics.php



and you can change this numbers for a perfect order in your rep page =D:


Dibujoxfdshryj.jpg


these are the numbers that i left on my page



it is allways easier to make a drawing =D

@Cybermaster: it isnt allways bad to try to do things by yourself =D
thanks by the way.

conclussion:this is the best rep system ever!!!!
 
Last edited:
conclussion:this is the best rep system ever!!!!

ah thanks, I needed that =p, and the rep too
and credits to makromango for the php

btw I'll add the PSD photoshop bars to be able to download asap
 
hi, i had a little proble. when i restarted my pc, the images turned into their original size (bigger). so i had to configure all again. maybe it is coincidense or not. plz tell me =D.


second: this is a request =D
can you make a script that if you got jailed, win -5 of rep. when u get muted, win -2. when you lvl up you win+5,
 
Last edited:
1: idk, weird thing :s download the new rar in the first post, I included the PSD bars there so they can be edited easier

2: pm me ur jail script

Lua:
registerCreatureEvent(cid, "repPets")

Lua:
<event type="kill" name="repPets" event="script" value="rep/repPets.lua"/>

Lua:
 -- >>> THE Players'REP++System CryingDamson Edition by Cybermaster <<< --
-- >>> Scripted IN and ONLY for TFS 0.3<<< --

function onKill(cid, target, lastHit)
    if (isPlayer(cid) == true) then 
        if getCreatureName(target) == "Cat" then
            removePlayerRep(cid, 1, TEXTCOLOR_RED)
        elseif getCreatureName(target) == "Dog" then
            removePlayerRep(cid, 5, TEXTCOLOR_LIGHTGREEN)
        end    
    end
    return true
end
 
Last edited:
@up
i was thinking to put this in rep monster:
addPlayerRep(cid, 5, TEXTCOLOR_LIGHTGREEN)
elseif getCreatureName(target) == "Cat" then
removePlayerRep(cid, 1, TEXTCOLOR_LIGHTBLUE)
elseif getCreatureName(target) == "Dog" then
removePlayerRep(cid, 1, TEXTCOLOR_LIGHTBLUE)
elseif getCreatureName(target) == "Dragon" then
addPlayerRep(cid, 1, TEXTCOLOR_LIGHTGREEN)
elseif getCreatureName(target) == "Dragon Lord" then
addPlayerRep(cid, 2, TEXTCOLOR_LIGHTGREEN)
end
end
return TRUE
end

instead of addplayer rep, it is removeplayerrep.
i dont know if this is correct cuz i know allmost nothing about this.
 
thanks.
another questionxD:

When you are in war, if you kill another guy you earn rep-?
 
I suppose that rep is applied as in repKill.lua
 
so, i think i should make a war zone, where when you die, you are teleported back to the temple, but you loose lvl.
gonna see how to do it.
help is allways wellcome =D
 
hey cyber! remember me? I'll finish the Castle this week to lingering because happened an accident in my family, but I'll finish the vc Castle this week to make the system...

I'd also 1 item that you uses it and all of the guild that online teleport around the guild leader.

srry for this T_T
 
finish the map then I'll begin scripting that, no need to hurry
 
I won't release my CTF systems for some years =P
 
resize both pics so they can fit the page, you can easily do it in photoshop
and the second pic isnt shown because there are not negative repped players on your ot yet
I'll add a fix patch to the rep functions soon
by the way the tibiacom layout I have here isn't the same as yours, idk if its because of my big screen resolution
 
Same error AGAIN.

That's because when you copy an script from a CODE(lua, php, quote, etc), there is an space in the start of the document, delete that space in xml files or you will get an error
 
Status
Not open for further replies.
Back
Top