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

Action Working Demon Oak Quest

Code:
[02/08/2011 22:38:22] [Warning - Lib::DemonOak] Table: summons, Id: 4, Monster Hand Of Cursed Fate does not exists.
[02/08/2011 22:38:22] [Warning - Lib::DemonOak] Table: summons, Id: 5, Monster Bonebeast does not exists.
[02/08/2011 22:38:22] [Warning - Lib::DemonOak] Table: summons, Id: 3, Monster Bonebeast does not exists.
[02/08/2011 22:38:22] [Warning - Lib::DemonOak] Table: summons, Id: 6, Monster Bonebeast does not exists.
[02/08/2011 22:38:22] [Warning - Lib::DemonOak] Table: summons, Id: 11, Monster Hand Of Cursed Fate does not exists.

and i have all monsters.
 
We apologize for this second answer, but hey fixed the problem, sorry!, the problem was that I had to change the characters of the names of the monsters. Thank you.
nice script
 
Code:
[02/08/2011 23:32:07] [Error - MoveEvents Interface] 
[02/08/2011 23:32:07] buffer:onStepIn
[02/08/2011 23:32:07] Description: 
[02/08/2011 23:32:07] [string "loadBuffer"]:4: attempt to perform arithmetic on a string value
[02/08/2011 23:32:07] stack traceback:
[02/08/2011 23:32:07] 	[string "loadBuffer"]:4: in function <[string "loadBuffer"]:1>

[02/08/2011 23:33:03] [Error - Action Interface] 
[02/08/2011 23:33:03] buffer
[02/08/2011 23:33:03] Description: 
[02/08/2011 23:33:03] [string "loadBuffer"]:97: attempt to perform arithmetic on a string value

:O
 
Code:
[02/08/2011 23:32:07] [Error - MoveEvents Interface] 
[02/08/2011 23:32:07] buffer:onStepIn
[02/08/2011 23:32:07] Description: 
[02/08/2011 23:32:07] [string "loadBuffer"]:4: attempt to perform arithmetic on a string value
[02/08/2011 23:32:07] stack traceback:
[02/08/2011 23:32:07] 	[string "loadBuffer"]:4: in function <[string "loadBuffer"]:1>

[02/08/2011 23:33:03] [Error - Action Interface] 
[02/08/2011 23:33:03] buffer
[02/08/2011 23:33:03] Description: 
[02/08/2011 23:33:03] [string "loadBuffer"]:97: attempt to perform arithmetic on a string value

:O

That's not my script, you're using a script without file (buffer) or a mod file (I think that's isn't a mod file because it says [Error - MoveEvents Interface] , but i'm not 100% sure)
 
Should I edit anything in all of those scripts except the unique ID's in map editor? Newbie question, but yeah, gotta make it work somehow... :)
 
wtf with the requires.rar file xD what should I do? Do I really need it? Where should I put it?
 
That is unnecessarily, is jut that i don't know how to delete attached files ._.
okay :D

but i think that you need to made the npc more "user-friendly", since players don't know exactly what to say, and seems like the dead tree on entrance isn't spawning back after cutting it o_O and passing by
 
Last edited by a moderator:
okay :D

but i think that you need to made the npc more "user-friendly", since players don't know exactly what to say, and seems like the dead tree on entrance isn't spawning back after cutting it o_O and passing by

It works for me, are you adding script? line to movements.xl? and adding uniqueid to the tree with map editor?
 
It works for me, are you adding script? line to movements.xl? and adding uniqueid to the tree with map editor?
oh yea it is working, my bad sorry :D but what about the npc part? put something like this:
<parameter key="message_greet" value="Hello |PLAYERNAME|! Do you want to buy a {hallowed axe} or did you defeat the {demon oak}?"/>



@edit
when someone die, the monsters still there! o_O why they don't get removed?
 
Last edited by a moderator:
bump, I think that it really should remove monsters after someone die =/

Lua:
function doCleanAreaFromMonsters(area) -- area is a table with 2 directory tables inside: north-west corner and south-east one
	for x = area[1].x, area[2].x do
		for y = area[1].y, area[2].y do
			for z = area[1].z, area[2].z do
				if(isMonster(getTopCreature({x = x, y = y, z = z}))) then
					doRemoveCreature(getTopCreature({x = x, y = y, z = z}).uid)
				end
			end
		end
	end
	return true
end
 
[26/08/2011 13:04:18] [Error - TalkAction Interface]
[26/08/2011 13:04:18] data/lib/102-demonOak.lua
[26/08/2011 13:04:18] Description:
[26/08/2011 13:04:18] data/lib/102-demonOak.lua:235: attempt to perform arithmetic on a nil value
[26/08/2011 13:04:18] [Warning - LuaScriptInterface::initState] Cannot load data/lib/



what can i do ?
 
I did everything like you said,
but when i use hallowed axe, or step in the squares, nothing happens

errors in console :

[27/08/2011 14:59:40] Error: [MoveEvent::configureMoveEvent] No valid event name script
[27/08/2011 14:59:40] Warning: [BaseEvents::loadFromXml] Can not configure event
[27/08/2011 14:59:40] Error: [MoveEvent::configureMoveEvent] No valid event name script
[27/08/2011 14:59:40] Warning: [BaseEvents::loadFromXml] Can not configure event
[27/08/2011 14:59:40] Error: [MoveEvent::configureMoveEvent] No valid event name script
[27/08/2011 14:59:40] Warning: [BaseEvents::loadFromXml] Can not configure event
[27/08/2011 14:59:41] [Error - CreatureEvent::configureEvent] No valid type for creature event.attack
[27/08/2011 14:59:41] Warning: [BaseEvents::loadFromXml] Can not configure event

[27/08/2011 15:03:53] Lua Script Error: [Action Interface]
[27/08/2011 15:03:53] data/actions/scripts/demonOak.lua:eek:nUse
[27/08/2011 15:03:53] data/actions/scripts/demonOak.lua:3: attempt to index global 'blockingTree' (a nil value)
[27/08/2011 15:03:53] stack traceback:
[27/08/2011 15:03:53] [C]: in function '__index'
[27/08/2011 15:03:53] data/actions/scripts/demonOak.lua:3: in function <data/actions/scripts/demonOak.lua:1>
 
Last edited:
I haven't the lib folder, so I created him, and added the script like you said, umm maybe that was wrong idea, I don't know.
Could You show me what I am doing wrong ?
 
Last edited:
I haven't the lib folder, so I created him, and added the script like you said, umm maybe that was wrong idea, I don't know.
Could You show me what I am doing wrong ?

If you don't have the lib folder, then you should have a file called global.lua, paste the lib text there
 
Back
Top