the acc maker is fixed. see my post in web applications.@Pietia This is the best distribution, ever, but what is the problem with the AAC?
the acc maker is fixed. see my post in web applications.@Pietia This is the best distribution, ever, but what is the problem with the AAC?
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.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
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
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
Those are normals in every gesior release just set in php error reporting to production.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.
You need to setWhere do i change the error reporting? can't find it anywhere
no it does not you can port it to otserv using normal actions and movements.Also, How do i get tfs mods working for otserv? Does it even support tfs mods?
Yes there is.Is there a working warmode? looking nice
I always liked gesior more.@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?
<talkaction words="!buyaol" access="0" filter="first word" script="aol.lua"/>
<talkaction words="!buybless" access="0" filter="first word" script="bless.lua"/>
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
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
<event name="RemoveBless" type="die" script="removebless.lua"/>
function onDie(cid, corpse)
if isPlayer(cid) then
setPlayerStorageValue(cid, 9999998, -1)
end
end
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)