s1mple
DevlandOT.eu
- Joined
- Oct 6, 2009
- Messages
- 274
- Solutions
- 1
- Reaction score
- 89
Nvm, i got this, but still i need private conversation.What if i get:
autogen.sh: 3: autogen.sh: autoreconf: not found
Nvm, i got this, but still i need private conversation.What if i get:
autogen.sh: 3: autogen.sh: autoreconf: not found
What if i get:
autogen.sh: 3: autogen.sh: autoreconf: not found
Error: Your database is outdated. Run the dbupdate utility to update it to the latest schema verison.
Its Othire with Othire Znote
What did i wrong ? Server is running on debian 7, i created acc, char, and after trying to connect i get this. Probably its sth with db schema or just db.
Any solution, guide or maybe tips where to look or what to fix ? Pls ;s
Hello,
Maybe it's not 100% related to OTHire distro, but...
I'm using your distro(Peonso datapack), did some changes, everything seems to work really fine so far, but i got an issue with a spellbook and editing items.otb.
First: I got same problem as Arcadius few pages earlier, spellbook crashes Tibia client.
I really don't know what causes it.
Already tried to change spells.xml (dunno if its even related to that crash), other spellbook scripts, making !spellbook command, still crashes.
The second problem I'm messing with is editing items.otb with OTItemEditor 0.2.2 (as proposed by Peonso), but when I edit something and save it, Server says that items.otb version is invalid. Also, ItemEditor doesn't load item names, descriptions etc., only item IDs, I think thats the problem, but don't know how to fix this.
Thanks from above : )
+---------------------------------------------------------------
Debug Assertion 7.72 Utils.cpp 310
Thu Dec 25 23:58:36 2014
Windows Version: 6.1 build 7601 on 2 with Service Pack 1
Graphic Engine: 1
Last Packet Types: 150 110 109 109 109 109 131 160 109 109
Last Packet: 231 011 150 001 000 000 000 243 011 220 011 220 011 083 112 101
Player Position: [1310,580,6]
Player.cpp 383: exception occurred, reason:
Network.cpp 885: exception occurred (ErrorCode = 0), reason:
Control.cpp 1280: exception occurred (Type = 150), reason:
Communication.cpp 2303: exception occurred, reason:
Network.cpp 482: exception occurred, reason:
Utils.cpp 310: assertion failed (Position = 3051) (Size = 3051), reason:
Position<=Size-2
----------------------------------------------------------------
Tested book(id 2325 for example), and writeable and readable parchment, works fine. Can write and read text.Concerning spellbook, does it only happen with the spellbook itself or all other types of readable books?
I noticed this error too. It's probably the script for spellbook, try and disable the script and see if it still gives the errorTested book(id 2325 for example), and writeable and readable parchment, works fine. Can write and read text.
Well, when I disabled spellbook script it didn't give me error, that's nice, but dunno what's so bad in that spellbook script? It looks simple, in addition to that I wasn't able to find any different script.
function onUse(cid, item, frompos, item2, topos)
local count = getPlayerInstantSpellCount(cid)
local text = ""
local t = {}
for i=0, count-1 do
local spell = getPlayerInstantSpellInfo(cid, i)
if spell.level ~= 0 then
if spell.manapercent > 0 then
spell.mana = spell.manapercent .. "%"
end
table.insert(t, spell)
end
end
table.sort(t, function(a, b) return a.level < b.level end)
local prevLevel = -1
for i,spell in ipairs(t) do
local line = ""
if prevLevel ~= spell.level then
if i ~= 1 then
line = "\n"
end
line = line .. "Spells for Level " .. spell.level .. "\n"
prevLevel = spell.level
end
text = text .. line .. " " .. spell.words .. " - " .. spell.name .. " : " .. spell.mana .. "\n"
end
doShowTextDialog(cid, item.itemid, text)
return true
end
function onUse(cid, item, frompos, item2, topos)
local count = getPlayerInstantSpellCount(cid)
local text = ""
local t = {}
for i=0, count-1 do
local spell = getPlayerInstantSpellInfo(cid, i)
if spell.level ~= 0 then
if spell.manapercent > 0 then
spell.mana = spell.manapercent .. "%"
end
table.insert(t, spell)
end
end
table.sort(t, function(a, b) return a.level < b.level end)
local prevLevel = -1
for i,spell in ipairs(t) do
local line = ""
if prevLevel ~= spell.level then
if i ~= 1 then
line = "\n"
end
line = line .. "Spells for Level " .. spell.level .. "\n"
prevLevel = spell.level
end
text = text .. line .. " " .. spell.words .. " - " .. spell.name .. " : " .. spell.mana .. "\n"
end
doShowTextDialog(cid, item.itemid, text)
return 1
end
I've made a very simple script to test doShowTextDialog function:I'm not at home so I can't really test anything under OTHire environment, so have you tried just using e.g; "doShowTextDialog(cid, item.itemid, "Hello")" to see if it crashes? If it doesn't, then I'm guessing it might be the "text" being too big for the client to handle?
function onUse(cid, item, frompos, item2, topos)
doShowTextDialog(cid, item.itemid, "hello")
end
Kungenn, have you tried to edit items.otb file?I tried it too and I can confirm as well that it causes the client to crash