• 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 juggernaut Anni Powered By Normal Anni.

Erikas Kontenis

Board Moderator
Staff member
Board Moderator
Joined
Jul 3, 2009
Messages
1,870
Reaction score
576
Location
Lithuania
Here Its My First Script THen i Sharing With Us :p I Hope Us Will Like IT And It Work 100% I tested On 0.2.5 It Should Work And On All 0.2.~ Wersions :) i Wanna Realy Hope This One, us Will Like IT.

Something About Script To Make IT U need 5 Peapols. And Will By Summoned 10 Juggernauts. i Showing Ss how Its Will Looks.

jugeani.png


:) us Will Get The Idea How It Should Looks. I Posting IT From My OT :) And Reward Is The Rare Items I Will Give For Us That Too. Wanna Hope Us Will Like It And Mayby Someone Will Rep++ ? :blink:

Lua:
local playerPosition =
{
	{x = 1102, y = 723, z = 7, stackpos = STACKPOS_TOP_CREATURE},
	{x = 1102, y = 724, z = 7, stackpos = STACKPOS_TOP_CREATURE},
	{x = 1102, y = 725, z = 7, stackpos = STACKPOS_TOP_CREATURE},
      {x = 1102, y = 726, z = 7, stackpos = STACKPOS_TOP_CREATURE},
	{x = 1102, y = 727, z = 7, stackpos = STACKPOS_TOP_CREATURE}
}

local newPosition =
{
	{x = 1099, y = 725, z = 8},
 	{x = 1098, y = 725, z = 8},
	{x = 1097, y = 725, z = 8},
      {x = 1096, y = 725, z = 8},
	{x = 1095, y = 725, z = 8}
}

local monsterPosition =
{
  {x = 1101, y = 725, z = 8},
 	{x = 1100, y = 725, z = 8},
	{x = 1101, y = 723, z = 8},
	{x = 1099, y = 723, z = 8},
	{x = 1097, y = 723, z = 8},
      {x = 1095, y = 723, z = 8},
      {x = 1095, y = 727, z = 8},
	{x = 1097, y = 727, z = 8},
	{x = 1099, y = 727, z = 8},
	{x = 1101, y = 727, z = 8}
}

local player = {0, 0, 0, 0, 0}
local failed = FALSE

function onUse(cid, item, fromPosition, itemEx, toPosition)
	if item.itemid == 9827 then
		for i = 1, 5 do
			failed = TRUE
			player[i] = getThingfromPos(playerPosition[i])
			if player[i].itemid > 0 then
				if isPlayer(player[i].uid) == TRUE then
					if getPlayerStorageValue(player[i].uid, queststorage) == -1 then
						if getPlayerLevel(player[i].uid) >= 1 then
							failed = FALSE
						end
					end
				end
			end
			if failed == TRUE then
				doPlayerSendCancel(cid, "Sorry, not possible.")
				return TRUE
			end
		end
		for i = 1, 5 do
			doSendMagicEffect(playerPosition[i], CONST_ME_POFF)
			doTeleportThing(player[i].uid, newPosition[i], FALSE)
			doSendMagicEffect(newPosition[i], CONST_ME_ENERGYAREA)
        for m = 1, 10 do
          doSummonCreature("Juggernaut", monsterPosition[m])
        end
      doTransformItem(item.uid, item.itemid + 1)
      addEvent(CleanArea, 300000)
		end
	elseif item.itemid == 9828 then
		doPlayerSendCancel(cid, "Sorry, not possible.")
	end
	return TRUE
end



function CleanArea(startPos, endPos)
local startPos={x=1094, y=722, z=8, stackpos=253}
local endPos={x=1102, y=729, z=8, stackpos=253}
local creatures = {monsters = 0, monsterNames = {}}
  for posX=startPos.x, endPos.x do
    for posY=startPos.y, endPos.y do
      for posZ=startPos.z, endPos.z do
        local check = getThingfromPos({x=posX, y=posY, z=posZ, stackpos=253})
        if isCreature(check.uid) == TRUE then
          creatures.monsters = creatures.monsters+1
          table.insert(creatures.monsterNames, getCreatureName(check.uid))
          doRemoveCreature(check.uid)
          addEvent(LeverBack, 0, param)
        end
      end
    end
  end
  return creatures
end

function LeverBack(param)
  l1 = {x=1102, y=722, z=7, stackpos=1}
  getl1 = getThingfromPos(l1)
  doTransformItem(getl1.uid, 9827)
end


Chest Lua.

Lua:
function onUse(cid, item, fromPosition, itemEx, toPosition)
   	if item.uid == 3000 then
		queststatus = getPlayerStorageValue(cid,6076)
   		if queststatus == -1 then
   			doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "You have found a winged helmet.")
   			doPlayerAddItem(cid,2474,1)
   			setPlayerStorageValue(cid,6076,1)
   		else
   			doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "It is empty.")
   		end
   	elseif item.uid == 3001 then
		queststatus = getPlayerStorageValue(cid,6076)
   		if queststatus == -1 then
   			doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "You have found a  magic plate armor.")
   			doPlayerAddItem(cid,2472,1)
   			setPlayerStorageValue(cid,6076,1)
   		else
   			doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "It is empty.")
   		end
   	elseif item.uid == 3002 then
		queststatus = getPlayerStorageValue(cid,6076)
   		if queststatus == -1 then
   			doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "You have found a demon legs.")
   			doPlayerAddItem(cid,2495,1)
   			setPlayerStorageValue(cid,6076,1)
   		else
   			doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "It is empty.")
		end
   	elseif item.uid == 3003 then
		queststatus = getPlayerStorageValue(cid,6076)
   		if queststatus == -1 then
   			doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "You have found a present.")
   			doPlayerAddItem(cid,10137,1)
   			setPlayerStorageValue(cid,6076,1)
   		else
   			doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "It is empty.")
   		end
	end
   	return 1
end

My First Script.
 
Last edited:
And this is for ?? How much x exp? You're goin to face 10 juggernauts at the same time... Even 1 is hard.

Abilities: Melee (0-1480), Distance Fighting (Boulder 0-780), Self-Healing, Strong Haste.
Est. Max. Damage: 2260 hp per turn
 
lol, fail
the jug isnt hitting like demon (firebomb) so why do u put him in the north and south sides?Fail
 
And this is for ?? How much x exp? You're goin to face 10 juggernauts at the same time... Even 1 is hard.

I see how you're complaing on players how they choose their exp rate, it's totally up to them...

Easy to edit this from a normal anni script

@up
They're still throwing "stones"
 
And this is for ?? How much x exp? You're goin to face 10 juggernauts at the same time... Even 1 is hard.

And Mayby Someone Will Rep++ ?

Well man you dont try to trick otland ;) maybe otfan*s but we look on script before and also why giv rep to u.?

1. you scam
2. You are destroying other rep to others.........
3. You are trying to trick otland...

My prob with u : Why are you still here why cant talaturen ip ban or something -.-
 
yes im using High Exp Rate's... So ? But It's Anyways Hard. In Mine OT u can Take 300 if u playing 10h Per Hour 7 days and u got 300 lvl The Quest requiment is 150 LVl. I maked The Gate's. And The Stones Doing Not Bad Damage. + In Mine OT Juggernaut Got More Hp Then In rl Tibia. So Its hard To Defeated Theys 2 To go...
 
Well man you dont try to trick otland ;) maybe otfan*s but we look on script before and also why giv rep to u.?

1. you scam
2. You are destroying other rep to others.........
3. You are trying to trick otland...

My prob with u : Why are you still here why cant talaturen ip ban or something -.-

First Of All u need A Doctor. Or u Are The Noobest Sweden Peapol What i saw i Thinked i Hate Polands becouse They 100% Retarted But u More Retarded Then 90% Poland. U know about what i teling? I know u just kid 13 Years Old But I think Kids in 10 years using Brains Isint ? U Self Maked A shit in Mine Ot I Still Have ur Command Log :D And What U wanna To Say? Omg It Isnt Me ? That Ip Is Not mine :D Changed Living Place? or new Internet? So Dont Give A Fuck. And I Didn't know this one. Somebody is posted it i Self Created It 100% With Friend Help. And U Giving For me Shit U Should Say Thanks Becouse i Posting And Shareing IT. But Now U Just Tried To Give A Shit And ur Self making Fail. Mayby Just Calm Down ? If u noob It not contains U need Take WOrld To Shit Same? i saying u need doctor Thats All. and i wanna think this one to Other Peapols Got Almost Same Reputation about u. :mad:
 
Well man you dont try to trick otland ;) maybe otfan*s but we look on script before and also why giv rep to u.?

1. you scam
2. You are destroying other rep to others.........
3. You are trying to trick otland...

My prob with u : Why are you still here why cant talaturen ip ban or something -.-

Ur talking to me? Or what?
 
No, lol :D He for Me But U Know :DDD I saying u He Sick :D Self Dunno For What Shit He Quated Ur Text :D
 
Found A Small Bug. it Now Fixed, The lever Doesnt Repair To 9827 becouse The Transform Was 9828 it now fixed.

Lua:
function LeverBack(param)
  l1 = {x=1102, y=722, z=7, stackpos=1}
  getl1 = getThingfromPos(l1)
  doTransformItem(getl1.uid, 9827)
end
 
Back
Top