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

Troll Scripter's Free Script Service.

Troll Scripter

Gesior is my God.
Joined
Jan 29, 2012
Messages
145
Reaction score
4
Request scripts here and I'll make them for you if it's not ALL too much work to be done.

  • I am scripting with the latest TFS 0.4 functions, so it is not recommended to ask for a script if you are using below 0.4.
  • I don't edit existing scripts because I don't want to go trough other people's code. I only go trough my own, so if you make a request I'll make it from scratch.
  • You have to tell me in detail excatly what it is that you want.
  • I don't make spells, NPC's or PHP.

Understand that a script can take minutes or hours to make from the time that you've made a post. It all depends on my activity.

P.S: If you're a scripter, don't create scripts in my thread. This is my thread and I make the scripts here :)
 
Last edited:
Lua:
function onUse(cid, item, fromPosition, itemEx, toPosition)
	doPlayerAddStamina(cid), 2520)
end

Thx, btw theres no rain system, i already searched :C

rain.jpg


the icicle is like the rain and the "z" effect is the "water" can you help me with that?:3

Edit:
Something like a command to activate the rain for a configurable time in all the city or a big area :$
 
Thx, btw theres no rain system, i already searched :C

View attachment 12227


the icicle is like the rain and the "z" effect is the "water" can you help me with that?:3

Edit:
Something like a command to activate the rain for a configurable time in all the city or a big area :$

Maybe I'll make this script someday, but not today..
 
try this.

Lua:
local pos = {x = 100, y = 100, z = 7}, {x = 101, y = 100, z = 7}, {x = 102, y = 100, z = 7},
local transformItemTile = {x = 103, y = 100, z = 7},
local item1, item2, item3 = [2476, 2147, 2160],
local newItem = [7000]
 
function onUse(cid, item, fromPosition, itemEx, toPosition)
	if item.itemid == 1945 then
		if getThingFromPos(pos[1]).actionid, getThingFromPos(pos[2]).actionid, getThingFromPos(pos[3]).actionid = 9991, 9992, 9993 then
			if getTileItemById(pos[1], item1) and getTileItemById(pos[2], item2) and getTileItemById(pos[3], item3) then
				doTransformItem(item.uid, 1946, 1)
				doPlayerRemoveItem(cid, item1, 1)
				doPlayerRemoveItem(cid, item2, 1)
				doPlayerRemoveItem(cid, item3, 10)
				doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You have created an item!.")
				doCreateItem(newItem, 1, transformItemTile)
				doTransformItem(item.uid, 1945, 1)
			else
				doPlayerSendCancel(cid, "The required items have not been placed on the tile.")
			end
		end
	end
	return true
end

Thank you for helping me I appriciate it, the only problem I have is this:
[04/02/2012 15:09:19] [Error - LuaScriptInterface::loadFile] data/actions/scripts/custom/Lever.lua:2: unexpected symbol near 'local'
[04/02/2012 15:09:19] [Warning - Event::loadScript] Cannot load script (data/actions/scripts/custom/Lever.lua)
[04/02/2012 15:09:19] data/actions/scripts/custom/Lever.lua:2: unexpected symbol near 'local'

Any idea what might have caused this?

Thanks in advance~
 
Thank you for helping me I appriciate it, the only problem I have is this:
[04/02/2012 15:09:19] [Error - LuaScriptInterface::loadFile] data/actions/scripts/custom/Lever.lua:2: unexpected symbol near 'local'
[04/02/2012 15:09:19] [Warning - Event::loadScript] Cannot load script (data/actions/scripts/custom/Lever.lua)
[04/02/2012 15:09:19] data/actions/scripts/custom/Lever.lua:2: unexpected symbol near 'local'

Any idea what might have caused this?

Thanks in advance~

Lua:
local pos = {x = 100, y = 100, z = 7}, {x = 101, y = 100, z = 7}, {x = 102, y = 100, z = 7},
local transformItemTile = {x = 103, y = 100, z = 7},
local item1, item2, item3 = {2476}, {2147}, {2160},
local newItem = [7000]
 
function onUse(cid, item, fromPosition, itemEx, toPosition)
	if item.itemid == 1945 then
		if getThingFromPos(pos[1]).actionid, getThingFromPos(pos[2]).actionid, getThingFromPos(pos[3]).actionid = 9991, 9992, 9993 then
			if getTileItemById(pos[1], item1) and getTileItemById(pos[2], item2) and getTileItemById(pos[3], item3) then
				doTransformItem(item.uid, 1946, 1)
				doPlayerRemoveItem(cid, item1, 1)
				doPlayerRemoveItem(cid, item2, 1)
				doPlayerRemoveItem(cid, item3, 10)
				doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You have created an item!.")
				doCreateItem(newItem, 1, transformItemTile)
				doTransformItem(item.uid, 1945, 1)
			else
				doPlayerSendCancel(cid, "The required items have not been placed on the tile.")
			end
		end
	end
	return true
end
 
man could you make a Transformation script for the rainbow shield?

Example:
You have normal rainbow shield, If you click it it will transform to sparking rainbow shield, another click and it will transform into terran rainbow shield, click again and it'll transform into fiery rainbow shield, click it again please, and it will transform into icy rainbow shield, other click and it will become into a normal rainbow shield again.

Each Shield will have different atributtes
Maybe could be a transformation interval (exhausted)
 
man could you make a Transformation script for the rainbow shield?

Example:
You have normal rainbow shield, If you click it it will transform to sparking rainbow shield, another click and it will transform into terran rainbow shield, click again and it'll transform into fiery rainbow shield, click it again please, and it will transform into icy rainbow shield, other click and it will become into a normal rainbow shield again.

Each Shield will have different atributtes
Maybe could be a transformation interval (exhausted)

The attributes are already set in the items.xml, just pass me the Item ID's of the different shields.
 
Lua:
local pos = {x = 100, y = 100, z = 7}, {x = 101, y = 100, z = 7}, {x = 102, y = 100, z = 7},
local transformItemTile = {x = 103, y = 100, z = 7},
local item1, item2, item3 = {2476}, {2147}, {2160},
local newItem = [7000]
 
function onUse(cid, item, fromPosition, itemEx, toPosition)
	if item.itemid == 1945 then
		if getThingFromPos(pos[1]).actionid, getThingFromPos(pos[2]).actionid, getThingFromPos(pos[3]).actionid = 9991, 9992, 9993 then
			if getTileItemById(pos[1], item1) and getTileItemById(pos[2], item2) and getTileItemById(pos[3], item3) then
				doTransformItem(item.uid, 1946, 1)
				doPlayerRemoveItem(cid, item1, 1)
				doPlayerRemoveItem(cid, item2, 1)
				doPlayerRemoveItem(cid, item3, 10)
				doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You have created an item!.")
				doCreateItem(newItem, 1, transformItemTile)
				doTransformItem(item.uid, 1945, 1)
			else
				doPlayerSendCancel(cid, "The required items have not been placed on the tile.")
			end
		end
	end
	return true
end

Same problem haha :$
 
Lua:
local pos = {x = 100, y = 100, z = 7}, {x = 101, y = 100, z = 7}, {x = 102, y = 100, z = 7},
local transformItemTile = {x = 103, y = 100, z = 7},
local item1, item2, item3 = {2476}, {2147}, {2160},
local newItem = [7000]
 
function onUse(cid, item, fromPosition, itemEx, toPosition)
	if item.itemid == 1945 then
		if getThingFromPos(pos[1]).actionid, getThingFromPos(pos[2]).actionid, getThingFromPos(pos[3]).actionid = 9991, 9992, 9993 then
			if getTileItemById(pos[1], item1) and getTileItemById(pos[2], item2) and getTileItemById(pos[3], item3) then
				doTransformItem(item.uid, 1946, 1)
				doPlayerRemoveItem(cid, item1, 1)
				doPlayerRemoveItem(cid, item2, 1)
				doPlayerRemoveItem(cid, item3, 10)
				doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You have created an item!.")
				doCreateItem(newItem, 1, transformItemTile)
				doTransformItem(item.uid, 1945, 1)
			else
				doPlayerSendCancel(cid, "The required items have not been placed on the tile.")
			end
		end
	end
	return true
end

remove the "," of the "locals"
 
Then it expects an symbol 0,o dam this is hardcore xD

well change 'local pos = {x = 100, y = 100, z = 7}, {x = 101, y = 100, z = 7}, {x = 102, y = 100, z = 7},' to
'local pos = {{x = 100, y = 100, z = 7}, {x = 101, y = 100, z = 7}, {x = 102, y = 100, z = 7}}'
and delete the "," from the OTHER locals
 
local pos = {{x = 100, y = 100, z = 7}, {x = 101, y = 100, z = 7}, {x = 102, y = 100, z = 7}}
local transformItemTile = {x = 103, y = 100, z = 7}
local item1, item2 item3 = {2476} {2147} {2160}
local newItem = [7000]

this is what I have now atm, and it gave an error xD sorry for being a no0b.
 
Lua:
local pos = {{x = 100, y = 100, z = 7}, {x = 101, y = 100, z = 7}, {x = 102, y = 100, z = 7}},
local transformItemTile = {x = 103, y = 100, z = 7},
local item1, item2, item3 = {2476}, {2147}, {2160},
local newItem = [7000]
 
Last edited:
More like:
Lua:
local pos = {{x = 100, y = 100, z = 7}, {x = 101, y = 100, z = 7}, {x = 102, y = 100, z = 7}}
local transformItemTile = {x = 103, y = 100, z = 7}
local item1, item2, item3 = 2476, 2147, 2160
local newItem = 7000
 
Back
Top