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

[8.6] OTServ 0.6.4 STABLE

Error occured!
Error ID:
More info: ERROR: #C-1 : Class::ConfigLUA - Line 145 of LUA config file is not valid [key: banishment_length]

File: C:\Users\Nieznany\Desktop\UniServerZ\www\classes/configlua.php Line: 59
File: C:\Users\Nieznany\Desktop\UniServerZ\www\classes/configlua.php Line: 20
File: C:\Users\Nieznany\Desktop\UniServerZ\www\classes/configlua.php Line: 12
File: C:\Users\Nieznany\Desktop\UniServerZ\www/install.php Line: 249
 
Error occured!
Error ID:
More info: ERROR: #C-1 : Class::ConfigLUA - Line 145 of LUA config file is not valid [key: banishment_length]

File: C:\Users\Nieznany\Desktop\UniServerZ\www\classes/configlua.php Line: 59
File: C:\Users\Nieznany\Desktop\UniServerZ\www\classes/configlua.php Line: 20
File: C:\Users\Nieznany\Desktop\UniServerZ\www\classes/configlua.php Line: 12
File: C:\Users\Nieznany\Desktop\UniServerZ\www/install.php Line: 249
You haven't read my post in website applications you need to use latest config.lua file the file from this server is not valid or just delete those comments "--" after banishment_length.
 
Yeah I cant install Geisor because it gives me this code when Im told to put in the server directory:

Code:
STEP 1

Check server configuration
Error occured!

Error ID:
More info: ERROR: #C-1 : Class::ConfigLUA - Line 145 of LUA config file is not valid [key: banishment_length]

File: C:\xampp\htdocs\classes/configlua.php   Line: 59
File: C:\xampp\htdocs\classes/configlua.php   Line: 20
File: C:\xampp\htdocs\classes/configlua.php   Line: 12
File: C:\xampp\htdocs/install.php   Line: 249
 
Soo.. Im using latest from https://github.com/Pietia10/Gesior-for-OTServ/archive/master.zip and latest otserv and im getting HUUGE amounts of error notices on webpage. on pretty much everything i click. Like
Code:
Notice: Undefined variable: offer_array in C:\Webserver\htdocs\pages\shopsystem.php on line 116

Notice: Undefined index: lastday in C:\Webserver\htdocs\classes\account.php on line 208

Notice: Undefined index: lastday in C:\Webserver\htdocs\classes\account.php on line 206

Notice: Undefined index: lastday in C:\Webserver\htdocs\classes\account.php on line 206

Notice: Undefined variable: number_of_rows in C:\Webserver\htdocs\pages\forum.php on line 165

Notice: Undefined variable: number_of_rows in C:\Webserver\htdocs\pages\forum.php on line 165

Notice: Undefined variable: counters in C:\Webserver\htdocs\pages\forum.php on line 166

Notice: Undefined variable: counters in C:\Webserver\htdocs\pages\forum.php on line 166

Notice: Undefined variable: counters in C:\Webserver\htdocs\pages\forum.php on line 166

Notice: Undefined variable: counters in C:\Webserver\htdocs\pages\forum.php on line 166

Notice: Undefined variable: counters in C:\Webserver\htdocs\pages\forum.php on line 166

Etc etc, Any ideas?
 
I get the same errors as Nevalopo, using the latest Gesior aswell
 
Soo.. Im using latest from https://github.com/Pietia10/Gesior-for-OTServ/archive/master.zip and latest otserv and im getting HUUGE amounts of error notices on webpage. on pretty much everything i click. Like
Code:
Notice: Undefined variable: offer_array in C:\Webserver\htdocs\pages\shopsystem.php on line 116

Notice: Undefined index: lastday in C:\Webserver\htdocs\classes\account.php on line 208

Notice: Undefined index: lastday in C:\Webserver\htdocs\classes\account.php on line 206

Notice: Undefined index: lastday in C:\Webserver\htdocs\classes\account.php on line 206

Notice: Undefined variable: number_of_rows in C:\Webserver\htdocs\pages\forum.php on line 165

Notice: Undefined variable: number_of_rows in C:\Webserver\htdocs\pages\forum.php on line 165

Notice: Undefined variable: counters in C:\Webserver\htdocs\pages\forum.php on line 166

Notice: Undefined variable: counters in C:\Webserver\htdocs\pages\forum.php on line 166

Notice: Undefined variable: counters in C:\Webserver\htdocs\pages\forum.php on line 166

Notice: Undefined variable: counters in C:\Webserver\htdocs\pages\forum.php on line 166

Notice: Undefined variable: counters in C:\Webserver\htdocs\pages\forum.php on line 166

Etc etc, Any ideas?
Those are normals in every gesior release just set in php error reporting to production.
 
Where do i change the error reporting? can't find it anywhere
You need to set
error_reporting=E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
in php.ini
Also, How do i get tfs mods working for otserv? Does it even support tfs mods?
no it does not you can port it to otserv using normal actions and movements.
 
@Pietia Why you wanted to use Gesior AAC for OTServ? I dont see the point of doing that while ZnoteAAC is way cleaner and better structured and coded then Gesior AAC.
 
I'm trying to get a functional bless.lua within talkactions to work, but no luck. I got the aol one to work but I have tried different bless proposals that i've seen here on otland, maybe someone knows a working one or could help me make one? :)
 
I'm trying to get a functional bless.lua within talkactions to work, but no luck. I got the aol one to work but I have tried different bless proposals that i've seen here on otland, maybe someone knows a working one or could help me make one? :)

talkaction.xml
Code:
<talkaction words="!buyaol" access="0" filter="first word" script="aol.lua"/>
<talkaction words="!buybless" access="0" filter="first word" script="bless.lua"/>

scripts/aol.lua
Code:
function giveItemToPlayer(cid, itemid, count, cost, topos)
    if (doPlayerRemoveMoney(cid, cost) == true) then
        doPlayerAddItem(cid, itemid, count)
        doSendMagicEffect(topos, 12)
    else   
        doPlayerSendCancel(cid, "You don\'t have enough money, you need ".. cost .." gold coins.")
        return false
    end   
    return true
end

function onSay(cid, words, param)
    giveItemToPlayer(cid, 2173, 1, 20000, topos) ------------AOL
    return true
end

scripts/bless.lua
Code:
function onSay(cid, words, param)

    if getPlayerStorageValue(cid,9999998) == 1 then
        doPlayerSendTextMessage(cid,22,"You already possess this blessing.")
    else

        if doPlayerRemoveMoney(cid, 10000) == true then
            setPlayerStorageValue(cid,9999998,1)
            doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, 0)
            doPlayerSendTextMessage(cid,22,"You have received one blessing of the life.")
                n = math.random(0, 2)
        doSendMagicEffect(getPlayerPosition(cid), 28 + n)
        doSendMagicEffect(frompos, 28 + n)
        else
            doPlayerSendCancel(cid, "You dont have enough money.")  
        end
  
    end
    return true
end

creaturescripts.xml
Code:
<event name="RemoveBless" type="die" script="removebless.lua"/>

removebless.lua
Code:
function onDie(cid, corpse)
    if isPlayer(cid)  then
        setPlayerStorageValue(cid, 9999998, -1)
    end
end

login.lua
Code:
registerCreatureEvent(cid, "RemoveBless")

if getPlayerStorageValue(cid, 9999998) >= 1 then
        doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, 0)
else
        doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, 35)
end

doPlayerSetLossPercent(cid, PLAYERLOSS_SKILL, 0)
doPlayerSetLossPercent(cid, PLAYERLOSS_MANA, 0)
 
Back
Top