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

Need a good lua programer, gonna pay for few scripts done. PAYING!

CheatsBCN

New Member
Joined
Mar 6, 2012
Messages
131
Reaction score
1
Hello, i've tryed to ask for help this days cus i wanna open a nice ot but after one asnwer noone asnwers again and noone cares so the last thing i could do is this, tell me ur skype and ill add u, then we talk about price etc.Oh and dont come with "pay me first".

CheatsBCN,
 
Maybe ask about the scripts at request borad and i can take a look and see if i can help :)
 
okay the first one is that in the tutorial of znote, http://otland.net/f479/video-tutorial-nothing-fully-working-ot-server-website-shop-system-166818/

1)

i instlaled tfs 0.2.14

and i tryed to make that when a monster is killed a stairs apppears. I did it like on this thread. and i cant get any solution.

http://otland.net/f132/take-look-please-script-isnot-working-169054/

2) i have and account with for characters druid, sorcerer, paladin, knight. its a war server so clon is able. but i want the "exiva" spell to be used therefore not everyoen can be called "druid" or "sorcercer" then i need somehow adding each time some1 logs into the accounts, that after "druid" a random number appears so for exzmaple i log into druid and now im druid12143.

3) When someone tryes to write number "one" in numbers so like this "1" a windows popups advising you aboutnot giving the password to anyone (how can disactivate it?)

4) i want to add the talkaction !t1-6 to teleport to x town (but i dont find any version for tfs0.2.14.


this are the qeustions wich im willing also to pay if noone has time =(
 
There are several people offering scripting services in the marketplace. That's where you should go if you are paying.
 
#2 is probably only done in the sources.
#3 is either only done in the sources or client modification.
#4 is super easy, if you can't make this script, you shouldn't be working on OT.
 
I made a edit on inq quest, instead of teleport. It create stairs:
Goto creaturescripts/creaturescripts.xml and add this line:
Code:
<event type="kill" name="Inquisition" script="Inquisition.lua"/>

Then goto creaturescripts/data/login.lua and add this under
Code:
function onLogin(cid)
registerCreatureEvent(cid, "Inquisition")
Now goto creaturescript/data and create new lua and name it:
Code:
Inquisition
Lua:
local config = {
	message = "Go up on the stairs, else it will disappear in 120 seconds.",
	timeToRemove = 120, -- seconds
	StairId = 1385,
	bosses = { -- Monster Name, Stair Posistion
 
		["Medusa"] = {{ x = 1345, y = 1523, z = 1, stackpos = 1 } },
	}
}
 
local function removal(position)
	local thing = getTileItemById(position, config.StairId)
	if thing.itemid ~= 0 then
		doRemoveItem(thing.uid)
	end
	return TRUE
end
 
function onKill(cid, target, lastHit)
if lastHit == true then
	local position = getCreaturePosition(cid)
	for name, pos in pairs(config.bosses) do
		if name == getCreatureName(target) then
			teleport = doCreateTeleport(config.StairId, pos[1])
			doCreatureSay(cid, config.message, TALKTYPE_ORANGE_1)
			addEvent(removal, config.timeToRemove * 1000, pos[1])
		end
	end
end
	return TRUE
end

Now goto the monster which you want to create a stair and add this line:
Monster/data/medusa.xml
Code:
<script>
	<event name="Inquisition"/>
</script>

2. I dont know

3. Make sure to make a new client using v.a.p.u.s.net/customclient, and click in
Account Data
Warning and also
Copy Warning

4. I found this on search:
Go to talkactions/talkactions.xml and add this line:
Code:
<talkaction words="!tp" case-sensitive="no" event="script" value="tele.lua"/>

Now goto talkactions/data and create new lua and name it
then add this text below!
to teleport use Example: !tp depot
Lua:
local teleport = {
	['temple'] = {x=100, y=678, z=7},
	['depot'] = {x=64, y=674, z=7},
}
 
local storage = 1000
local time = 30
 
function onSay(cid, words, param, channel)
 
	if exhaustion.check(cid, storage) then      
        	return doPlayerSendCancel(cid, "You have to wait "..time.." seconds before you can teleport again.")
    	end
	local s = teleport[param:lower()]
        if s then
	if getCreatureCondition(cid, CONDITION_INFIGHT)== false then
	doTeleportThing(cid, s)
	doSendMagicEffect(s, CONST_ME_TELEPORT)
	exhaustion.set(cid, storage, time)
		else
			doPlayerSendCancel(cid, 'You are currently in a fight.')
		end
	else
		doPlayerSendCancel(cid, 'Destination doesn\'t exist.')
	end
	return true
end

Enjoy!
 
the stair thing wont work, i did what u said killed medusa and nothing hapens...

and on the tp command:






[26/09/2012 22:21:17] Lua Script Error: [TalkAction Interface]
[26/09/2012 22:21:17] data/talkactions/scripts/tele.lua:eek:nSay
[26/09/2012 22:21:17] data/talkactions/scripts/tele.lua:11: attempt to index global 'exhaustion' (a nil value)
[26/09/2012 22:21:17] stack traceback:
[26/09/2012 22:21:17] [C]: in function '__index'
[26/09/2012 22:21:17] data/talkactions/scripts/tele.lua:11: in function <data/talkactions/scripts/tele.lua:9>

[26/09/2012 22:21:22] Lua Script Error: [TalkAction Interface]
[26/09/2012 22:21:22] data/talkactions/scripts/tele.lua:eek:nSay
[26/09/2012 22:21:22] data/talkactions/scripts/tele.lua:11: attempt to index global 'exhaustion' (a nil value)
[26/09/2012 22:21:22] stack traceback:
[26/09/2012 22:21:22] [C]: in function '__index'
[26/09/2012 22:21:22] data/talkactions/scripts/tele.lua:11: in function <data/talkactions/scripts/tele.lua:9>

[26/09/2012 22:21:24] Lua Script Error: [TalkAction Interface]
[26/09/2012 22:21:24] data/talkactions/scripts/tele.lua:eek:nSay
[26/09/2012 22:21:24] data/talkactions/scripts/tele.lua:11: attempt to index global 'exhaustion' (a nil value)
[26/09/2012 22:21:24] stack traceback:
[26/09/2012 22:21:24] [C]: in function '__index'
[26/09/2012 22:21:24] data/talkactions/scripts/tele.lua:11: in function <data/talkactions/scripts/tele.lua:9>

[26/09/2012 22:21:25] Lua Script Error: [TalkAction Interface]
[26/09/2012 22:21:25] data/talkactions/scripts/tele.lua:eek:nSay
[26/09/2012 22:21:25] data/talkactions/scripts/tele.lua:11: attempt to index global 'exhaustion' (a nil value)
[26/09/2012 22:21:25] stack traceback:
[26/09/2012 22:21:25] [C]: in function '__index'
[26/09/2012 22:21:25] data/talkactions/scripts/tele.lua:11: in function <data/talkactions/scripts/tele.lua:9>

- - - Updated - - -

anda again no answer as the 10 psots i did before xdddd tahts why i need to pay some1
 
Back
Top