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

TalkAction Bomberman

Could you tell me what does positions are exactly ;P?

Lua:
local t, n, storage = {
-- positions where players should stand before being teleported
	{x=496, y=537, z=9},
	{x=497, y=537, z=9},
	{x=498, y=537, z=9},
	{x=499, y=537, z=9}
}, {
-- positions in the game room where they get teleported to
	{x=490, y=495, z=9},
	{x=504, y=505, z=9},
	{x=504, y=495, z=9},
	{x=490, y=505, z=9}
 
Have you configured the positions properly?
Code:
local t, n, storage = {
	{x=496, y=537, z=9},
	{x=497, y=537, z=9},
	{x=498, y=537, z=9},
	{x=499, y=537, z=9}
}, {
	{x=490, y=495, z=9},
	{x=504, y=505, z=9},
	{x=504, y=495, z=9},
	{x=490, y=505, z=9}
}, {...
Yes, it needs an uniqueID / actionID, depends on how you registered it in actions.xml

Apparently the scripts don't work on 0.4

And .. don't go into the game room by teleporting, use the normal way (lever)

Script working on tfs 0.4 :) I using in my ots ;)
Thank for script ;) but when one player win then barrels do not appear on newly
 
Have you configured the positions properly?
Code:
local t, n, storage = {
	{x=496, y=537, z=9},
	{x=497, y=537, z=9},
	{x=498, y=537, z=9},
	{x=499, y=537, z=9}
}, {
	{x=490, y=495, z=9},
	{x=504, y=505, z=9},
	{x=504, y=495, z=9},
	{x=490, y=505, z=9}
}, {...
Yes, it needs an uniqueID / actionID, depends on how you registered it in actions.xml

Apparently the scripts don't work on 0.4

And .. don't go into the game room by teleporting, use the normal way (lever)

thx man it worked! Rep+++!
 
[09/06/2010 18:48:59] [Error - MoveEvents Interface]
[09/06/2010 18:48:59] data/movements/scripts/bombtiles.lua:eek:nStepIn
[09/06/2010 18:48:59] Description:
[09/06/2010 18:48:59] (luaDoItemSetAttribute) Item not found

[09/06/2010 18:49:06] [Error - MoveEvents Interface]
[09/06/2010 18:49:06] data/movements/scripts/bombtiles.lua:eek:nStepIn
[09/06/2010 18:49:06] Description:
[09/06/2010 18:49:06] (luaDoItemSetAttribute) Item not found

As under this error?
 
ur doing something wrong :p:p

what itemid are you using for floor ?
 
this isnt stolen by a stupid pl ot. this is nice to have on ots, because this is a game that all have been played.
 
All I have to say to you and Cyko, Please use LUA Tags can't read the code tags xD.

Else great work, rep++.
 
someone can help me fast
my only error is this:

[29/06/2010 21:32:25] Warning: [Event::checkScript] Can not load script. /scripts/other/bomberman.lua
[29/06/2010 21:32:25] data/actions/scripts/other/bomberman.lua:29: '}' expected near 'z'

my script:

23 local t, n, storage = {
24 {x=995, y=998, z=13},
25 {x=996, y=998, z=13},
26 {x=997, y=998, z=13},
27 {x=998, y=998, z=13}
28}, {
29 {x=990, y=993 z=14},
30 {x=1004, y=993, z=14},
31 {x=1004, y=1003, z=14},
32 {x=990, y=1003, z=14}
33}, {
34 placed = 10001,
35 max = 10002,
36 radius = 10003
37}
 
Ty Cykotitan
REP+ :p

Edi---
Now i have this error on console:
(ACTION -LEVER)
Code:
[30/06/2010 15:35:59] luaDoTeleportThing(). Thing not found

[30/06/2010 15:35:59] Lua Script Error: [Action Interface] 
[30/06/2010 15:35:59] data/actions/scripts/other/bomberman.lua:onUse

[30/06/2010 15:35:59] luaSetPlayerStorageValue(). Player not found

[30/06/2010 15:35:59] Lua Script Error: [Action Interface] 
[30/06/2010 15:36:00] data/actions/scripts/other/bomberman.lua:onUse

[30/06/2010 15:36:00] luaSetPlayerStorageValue(). Player not found

[30/06/2010 15:36:00] Lua Script Error: [Action Interface] 
[30/06/2010 15:36:00] data/actions/scripts/other/bomberman.lua:onUse

[30/06/2010 15:36:00] luaSetPlayerStorageValue(). Player not found

[30/06/2010 15:36:00] Lua Script Error: [Action Interface] 
[30/06/2010 15:36:00] data/actions/scripts/other/bomberman.lua:onUse

[30/06/2010 15:36:00] luaDoTeleportThing(). Thing not found


And this
(TALKACTION)
Code:
[30/06/2010 16:22:08] data/talkactions/scripts/bomb.lua:102: attempt to call global 'doBroadcastMessage' (a nil value)
[30/06/2010 16:22:08] stack traceback:
[30/06/2010 16:22:08] 	data/talkactions/scripts/bomb.lua:102: in function <data/talkactions/scripts/bomb.lua:87>

[30/06/2010 16:23:42] Lua Script Error: [TalkAction Interface] 
[30/06/2010 16:23:42] in a timer event called from: 
[30/06/2010 16:23:42] data/talkactions/scripts/bomb.lua:onSay
Someone help?

The lever teleport me to the ''arena'' but give error
When i press ''z'' the bomb is create, but the explosion is only 1 sqm, and later the explosion, the bomb dont dissapear
;x
 
Last edited:
I don't know is it bug but...

Everything works great, but that game don't have end! : D
Only:
01:49 Cleric Sample was killed by Squidy Archer!
01:49 Cleric Sample was killed by Squidy Archer!
01:49 Cleric Sample was killed by Squidy Archer!
01:49 Cleric Sample was killed by Squidy Archer!
01:49 Cleric Sample was killed by Squidy Archer!
01:49 Cleric Sample was killed by Squidy Archer!
01:49 Cleric Sample was killed by Squidy Archer!
01:49 Cleric Sample was killed by Squidy Archer!


WTF?
 
Thing not found
Player not found
Did you put correct positions in the script?
Lua:
local t, n, storage = {
-- positions where players should stand before being teleported
	{x=496, y=537, z=9},
	{x=497, y=537, z=9},
	{x=498, y=537, z=9},
	{x=499, y=537, z=9}
}, {
-- positions in the game room where they get teleported to
	{x=490, y=495, z=9},
	{x=504, y=505, z=9},
	{x=504, y=495, z=9},
	{x=490, y=505, z=9}
bomb.lua:102: attempt to call global 'doBroadcastMessage' (a nil value)
What server version do you have?
 
Can somebody tell me what can be wrong? I am using tfs 0.3.6

Lever works
Powerups works
But bomb..
When i place it on ground it says:
01:49 El Messi was killed by Squidy!

But "El Messi" is still alive.


If somebody can help it would be great :thumbup:
 
Back
Top