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

bless/items

imback1

Unknown member
Joined
Jul 11, 2013
Messages
785
Solutions
1
Reaction score
46
Hello
i've got some problems on scripts i can't solve it like
this armor was created on server not by me and found it appears for druids/sorcerers but i can wear it with paladin > i need to change it to appear for paladins only < how is it?
http://tinypic.com/r/2ja8n5/8

and this legs created on server too and there is distskill +5 but Is not given anything
http://tinypic.com/r/dw6r2o/8

and there is one problem more with my bless i mean if i die with level 1000 i will lose like 4 levels if i've bless
and without it 8 levels i need to change it :D please help me <3 thx
 
Above function onSay
Code:
local exhaust = createConditionObject(CONDITION_EXHAUST)
setConditionParam(exhaust, CONDITION_PARAM_TICKS, 2000)
Under function onSay
Code:
if getCreatureCondition(cid, CONDITION_EXHAUST) then
     return doPlayerSendCancel(cid, "You are exhausted.")
end
doAddCondition(cid, exhaust)
where is this function?
on bless script?
or where? say to me the position ,i'm very very sorry but this is first time for me
 
Code:
local cfg = {
    bless = { 1, 2, 3, 4, 5 },
    cost = 50000
}

function onSay(cid, words, param, channel)
    for i = 1, table.maxn(cfg.bless) do
        if(getPlayerBlessing(cid, cfg.bless)) then
            doSendMagicEffect(getCreaturePosition(cid), CONST_ME_POFF)
            doCreatureSay(cid, "You have already been blessed.", TALKTYPE_ORANGE_1)
            return true
        end
    end
    if (getPlayerMoney(cid) < cfg.cost) then
        doSendMagicEffect(getCreaturePosition(cid), CONST_ME_POFF)
        doSendAnimatedText(getCreaturePosition(cid), "$$$", TEXTCOLOR_WHITE)
        doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You do not have enough money.")
    elseif(doPlayerRemoveMoney(cid, cfg.cost) == TRUE) then
        for i = 1, table.maxn(cfg.bless) do
            doPlayerAddBlessing(cid, cfg.bless)
        end
        doSendMagicEffect(getCreaturePosition(cid), CONST_ME_HOLYAREA)
        doSendAnimatedText(getCreaturePosition(cid), "BLESSED!", TEXTCOLOR_RED)
        doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "You have been blessed by the gods.")
    end
    return true
end
 
Exactly like this.
Above function onSay
Code:
local exhaust = createConditionObject(CONDITION_EXHAUST)
setConditionParam(exhaust, CONDITION_PARAM_TICKS, 2000)
Under function onSay
Code:
if getCreatureCondition(cid, CONDITION_EXHAUST) then
     return doPlayerSendCancel(cid, "You are exhausted.")
end
doAddCondition(cid, exhaust)
 
i've made a port and this was
MySQLServer.com TCP/UDP 7171 7171 7171 192.168.1.100 Enable

and he can't log in :S:S please help me and say to me what i need to do btw 192.168.1.100 is my pc ip
 
Also open port 7172. Port 7171 is to see the characterlist, port 7172 is to login ingame.
If it still doesn't work, try to turn off your windows firewall (and anti-virus programs if you have them).
 
i closed all firewall router,,pc btw may you come on my pc with team viewer and make it please?!!!

cuz i tried it like 100 times till now and still nothing
 
Not the firewall in your router, your windows firewall, you can turn that off. If you have any anti-virus program turn that off aswell.
 
i made all this!! closed all fire wall i swear i did it btw come on! log in on my pc to do it man! please
 
I need to go to sleep now, school tomorrow :p
Try to follow some other portforward tutorials if it's still isn't solved I can help tomorrow.
 
Back
Top