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

Otswe Free Scripting Service (Actions/Movements/Creaturescripts) Open Again!

Printer

if Printer then print("LUA") end
Senator
Premium User
Joined
Dec 27, 2009
Messages
5,782
Solutions
31
Reaction score
2,286
Location
Sweden?
Cyko Free Scripting Service (Actions/Movements/Creaturescripts/Talkactions) ReOpen!

Hello,

I decide to make scripts depending on players request.

Why im doing this?
Ticket to hevean? <- Also helping people and learn the lua language.
Please post below and i will hopefully be able to make the script you desire.

I repon Otswe Free Scripting Service, Ill only accept medium hard scripts. Follow these rules and we are good to go!

Rule number 1: No Spamming!
Rule number 2: Be Patient!
Rule number 3: There is no rule number 3!
Rule number 4: Follow all these rules!

Asfar you can see i accept only Actions/Movements/Creaturescripts/Talkactions/Globalevents! But ill accept npcs to, but depends how hard the request is.
My scripting Corner! Here you will be able to find scripts :D

My Scripts:
Need Special Storage To Enter The Platform!
Open Secret Hole - Timer!
Fire Explosion Into Area!
Remove Swarms From Magical Bushs!
Simple Upgrade Item!
Automatic Cleaning Spefic Area!
Magic Wall With Countdown!
Premium Scroll!
http://otland.net/f81/anti-lure-monster-v-1-otswe-171236/
http://otland.net/f81/advance-tutorial-hints-script-easy-configure-170739/
http://otland.net/f81/house-system-171153/
http://otland.net/f82/update-automatic-currently-health-mana-172129/
Check Points - Advanced!

Older Scripts:
Simple Premium Tile!
Exp Token!
Throw item get teleported!
 
Last edited:
Hello Cyko,
I Need one script , one npc where You can rent horse mount ,this mount during 1 day, after 30 mounts rented player cant rent more horse but appear 3 respaws wild horse in map..
 
Ok i see. sorry ;/
But i need now swamp system : )
Send priv msg if you'll create.

- - - Updated - - -

Ok i see. sorry ;/
But i need now swamp system : )
Send priv msg if you'll create.
 
I understand that the life system is pretty big, don't worry about it! :D

I'll make another request though.

A creaturescript called "Call for Help!".

Basically, it's for a monster, and when it gets attacked/dealt damage and reaches a certain % of HP, the call for help creature script activates.

What it does is, it makes monsters around the monster that does the call for help.

Some of the monsters will always spawn, some will have a % chance of spawning.

The example for it is:

A penguin gets attacked below 90% HP, it does the call for help, and then the creature script has a chance of spawning a king penguin (2% chance) or 1-3 penguin guards (50% chance).
 
Last edited:
why do you use local otswe in every single script you make?
you can just write --made by otswe

because every newby can delete easy the sign of Cyko and post the the script in another site owning the credits
with that method is not so easy for newbys, steal the credits :D

- - - Updated - - -

here a lua request: a function to recognize the day of week example:
  • Day of week:
    Lua:
    if(getDayOfWeek("Monday")) then
        setCreatureStorage(cid, storage)
        return true
    end

- - - Updated - - -
Now with this you can help me to make the Magic Up System with SoulPoints?
http://otland.net/f35/creatureevent...ger-functions-when-soul-points-change-172788/
 
Last edited:
@exedion:

Lua:
function getDayOfWeek()
return tostring(os.date(%A))
end

If it's monday, it will return "Monday"...

So if you want to compare with something, you do this:

if getDayOfWeek == "Monday" then
 
Hello everybody, can somebody make me a Npc Script which is a monk which summons Training monks.

Text log should be something like this:

P>Hi
M>Hello! If you need to train your skills, I can summon for you a trainingmonk for 300gp.
P> Training monk
M>Here it is!
P> Bye
M> Luck young adventurer!

Player loose 300 gp and a training monk is summoned next to player.

Thanks!!!
 
He doents do npc scripts !!!

- - - Updated - - -

Hello Otlanders,

i Wanted to ask
if Somebody can create
a House/Castle Script (simple one More details Below):

• If there is a 2sqm Building with 1 Teleport ( like in Castle ) Then
You can't buy it. ( Item from Sms Shop is Needed )

• To own that 2sqm Building you need To buy an Item for Sms Shop ( CAstle / Private House ticket )
After the person purchased the Ticket then they have to stand in the front of the 2sqm Building and press on the ticket
Then a message will come up saying " Well done you have successfuly purchased *House name* ".

• Also when the 2sqm Building is already Owned and some other person would like to have it...
and they will stand in front of the 2sqm building door and they would use the Ticket then
They would get an Error Saying " This Building is Already Owned " ( They dont loose the Item )

sqm = Square Tile.


Ill Rep++ For the Script and Ill Tell everyone Else to Rep++ that Person too..

Regards, Otlander Patrick...
 
Hello everybody, can somebody make me a Npc Script which is a monk which summons Training monks.

Text log should be something like this:

P>Hi
M>Hello! If you need to train your skills, I can summon for you a trainingmonk for 300gp.
P> Training monk
M>Here it is!
P> Bye
M> Luck young adventurer!

Player loose 300 gp and a training monk is summoned next to player.

Thanks!!!

Hope this works:
Lua:
local cyko = {
money = 300, --300gp--3000=3k--etc..
monster = "Training Monk"
}

local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
 
local Topic = {}
function onCreatureAppear(cid)				npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) 			npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(cid, type, msg) 	npcHandler:onCreatureSay(cid, type, msg) end
function onThink() 						npcHandler:onThink() end

function creatureSayCallback(cid, type, msg)
	if not npcHandler:isFocused(cid) then
		return false
	end
 
	if msgcontains(msg, 'help') or msgcontains(msg, 'training') or msgcontains(msg, 'train') then
			npcHandler:say('Hello do you want to train?. {yes}', cid)
			elseif(msgcontains(msg, 'yes')) then
			if doPlayerRemoveMoney(cid, cyko.money) then
				npcHandler:say('Thank you!', cid)
				if #getCreatureSummons(cid) == 0 then
			        doSummonMonster(cid, cyko.monster)
				focus = 0
			else
				npcHandler:say('Are you kidding me ? I dont see any money! Grrr... come back when you\'ve got the cash.', cid)
		end
	end
end
	return true
end
 
npcHandler:setCallback(CALLBACK_GREET, greetCallback)
npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback)
npcHandler:addModule(FocusModule:new())

- - - Updated - - -

He doents do npc scripts !!!

- - - Updated - - -

Hello Otlanders,

i Wanted to ask
if Somebody can create
a House/Castle Script (simple one More details Below):

• If there is a 2sqm Building with 1 Teleport ( like in Castle ) Then
You can't buy it. ( Item from Sms Shop is Needed )

• To own that 2sqm Building you need To buy an Item for Sms Shop ( CAstle / Private House ticket )
After the person purchased the Ticket then they have to stand in the front of the 2sqm Building and press on the ticket
Then a message will come up saying " Well done you have successfuly purchased *House name* ".

• Also when the 2sqm Building is already Owned and some other person would like to have it...
and they will stand in front of the 2sqm building door and they would use the Ticket then
They would get an Error Saying " This Building is Already Owned " ( They dont loose the Item )

sqm = Square Tile.


Ill Rep++ For the Script and Ill Tell everyone Else to Rep++ that Person too..

Regards, Otlander Patrick...

Sorry but this require source edit, since i cant edit the buyhouse command bcz its build into the sources.
 
Still doesnt understand the request.

- - - Updated - - -

What do you want change vocation book or what?
 
Change Profession (400 points)
're Bored with the game profession you have chosen you to create a character? Now you can change it. Buy the item thanks to which you will be a better fighter. The command to change / change nazwa_profy eg / change sorcerer. NOTE! item resets skills, mlvl, set hp / mana / cap according to the profession. Write / change profession_name to change your profession. For example: / change druid
 
make me a script
if vocation id 1,2,3 dies dey' teleport to temple id 1 and if vocation id 4 5 6 dies dey teleport to temple id 2
u can use isinarray and getPlayerVocation. elseif
onlogin ofc
 
@UP

If i understand right Ex. If voc 1 die his residence is thais forever and when voc 4 dies his residence is carlin or?
 
Back
Top