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

[Request] Text Up With full EQ

tanii

Empire-war.com
Joined
Jan 16, 2015
Messages
383
Solutions
1
Reaction score
12
Hello otlanders i am seaching for Text Up with Full EQ Script this script comes from mArlboro-war.

Pls any body can help me get this script?

06bf03f846fcd78a417336a727a95964.gif
 
Last edited:
So add an ondequip simple :S
Code:
function onDeEquip(cid, item, slot)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You removed one of the items.")
end

not saying it will work either just idea's
Code:
local IDHEAD = PUT ITEM ID
local IDARMOR = PUT ITEM ID
local IDLEGS = PUT ITEM ID
local THETEXT = "BINGO"

function onDeEquip(cid, item, slot)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You removed one of the items.")
end

function onEquip(cid, item, slot)
if getPlayerSlotItem(cid, CONST_SLOT_HEAD).itemid == IDHEAD and getPlayerSlotItem(cid, CONST_SLOT_ARMOR).itemid == IDARMOR and getPlayerSlotItem(cid, CONST_SLOT_LEGS).itemid == IDLEGS then
doSendAnimatedText(getCreaturePosition(cid), THETEXT, 210)
end
return true
end

Bro sorry i am asking this stupid question!

If i put this on script and for example first armor was give u 10 ml after using this script...

The armor will give 10 ml?
 
just add 10 ml to that item in items.xml then when it is on you get that ml
Example
Code:
  <item id="2423" article="a" name="Test Wand">
     <attribute key="weight" value="5800" />
     <attribute key="weaponType" value="wand" />
     <attribute key="range" value="5" />
     <attribute key="magiclevelpoints" value="5" />
   </item>

This will make it give 10Ml
Code:
<attribute key="magiclevelpoints" value="5" />
 
So add an ondequip simple :S
Code:
function onDeEquip(cid, item, slot)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You removed one of the items.")
end

not saying it will work either just idea's
Code:
local IDHEAD = PUT ITEM ID
local IDARMOR = PUT ITEM ID
local IDLEGS = PUT ITEM ID
local THETEXT = "BINGO"

function onDeEquip(cid, item, slot)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You removed one of the items.")
end

function onEquip(cid, item, slot)
if getPlayerSlotItem(cid, CONST_SLOT_HEAD).itemid == IDHEAD and getPlayerSlotItem(cid, CONST_SLOT_ARMOR).itemid == IDARMOR and getPlayerSlotItem(cid, CONST_SLOT_LEGS).itemid == IDLEGS then
doSendAnimatedText(getCreaturePosition(cid), THETEXT, 210)
end
return true
end

Well Its Works! I want 1 think now aver 1 sec text to can u help me i dont know how to add!
 
Last edited:
Well Its Works! I want 1 think now aver 1 sec text to can u help me i dont know how to add!
I already told you how to do it, you just aren't willing to learn a damn thing yourself and want everything handed to you. Well you're shit outta luck sunshine.
 
I already told you how to do it, you just aren't willing to learn a damn thing yourself and want everything handed to you. Well you're shit outta luck sunshine.

1- First of all learn my messges i sayed every 1 sec text up messge and u send me this.

2- if u dont wanna help me or other guys just stop messege and dont reply.

3- you no have permisión to insult other people.

Code:
function onEquip(cid, item, slot)
doSendAnimatedText(getCreaturePosition(cid), "text", 210)
return true
end
 
Last edited:
@tanii
Here is an example of what i did with the ideas we provided you with i am not just going to give this to you but its another idea and an example of what has been done.
Code:
local IDHEAD = 2461
local IDARMOR = 2467
local IDLEGS = 2649
local IDFEET = 2643
local THETEXT = "*Leather*"

function onDeEquip(cid, item, slot)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You have just lost the bonus for wearing a full set of equipment. please equipped the item you remove to get the bonus again.")
end

function onEquip(cid, item, slot)
if getPlayerSlotItem(cid, CONST_SLOT_HEAD).itemid == IDHEAD then
doSendAnimatedText(getCreaturePosition(cid), THETEXT, 99)
local spot = getThingPosition(cid)
doSendDistanceShoot(spot, CONST_ANI_HOLY)
end
return true
end

I also think if you made the equipment change the color of the players feet head shirt and paints according to the color of the armor he is wearing that would be cool as well. Just an idea tho

Taking 1 piece of from the set.
IUgIzLs.png


Putin all the pieces needed back on.
aHeEASx.png
 
@tanii
Here is an example of what i did with the ideas we provided you with i am not just going to give this to you but its another idea and an example of what has been done.
Code:
local IDHEAD = 2461
local IDARMOR = 2467
local IDLEGS = 2649
local IDFEET = 2643
local THETEXT = "*Leather*"

function onDeEquip(cid, item, slot)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You have just lost the bonus for wearing a full set of equipment. please equipped the item you remove to get the bonus again.")
end

function onEquip(cid, item, slot)
if getPlayerSlotItem(cid, CONST_SLOT_HEAD).itemid == IDHEAD then
doSendAnimatedText(getCreaturePosition(cid), THETEXT, 99)
local spot = getThingPosition(cid)
doSendDistanceShoot(spot, CONST_ANI_HOLY)
end
return true
end

I also think if you made the equipment change the color of the players feet head shirt and paints according to the color of the armor he is wearing that would be cool as well. Just an idea tho

Taking 1 piece of from the set.
IUgIzLs.png


Putin all the pieces needed back on.
aHeEASx.png

But text up every 2 sec?
 
@tanii
Here is an example of what i did with the ideas we provided you with i am not just going to give this to you but its another idea and an example of what has been done.
Code:
local IDHEAD = 2461
local IDARMOR = 2467
local IDLEGS = 2649
local IDFEET = 2643
local THETEXT = "*Leather*"

function onDeEquip(cid, item, slot)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You have just lost the bonus for wearing a full set of equipment. please equipped the item you remove to get the bonus again.")
end

function onEquip(cid, item, slot)
if getPlayerSlotItem(cid, CONST_SLOT_HEAD).itemid == IDHEAD then
doSendAnimatedText(getCreaturePosition(cid), THETEXT, 99)
local spot = getThingPosition(cid)
doSendDistanceShoot(spot, CONST_ANI_HOLY)
end
return true
end

I also think if you made the equipment change the color of the players feet head shirt and paints according to the color of the armor he is wearing that would be cool as well. Just an idea tho

Taking 1 piece of from the set.
IUgIzLs.png


Putin all the pieces needed back on.
aHeEASx.png
I told him exactly what to do, he's just not willing. He has to make an onEquip with a table to check sets, and everytime and item of a set is equipped, add storage + 1, onDeequip remove a storage. Then use onThink to check online players and if players storage = x then send text. Can't spell it out much more for him.
 
Example just put this in global events!
Code:
local t = {
  -- words,helmet,armor,legs,boots,effect --
  {"Leather", 2482, 2484, 2468, 2526, 29},
  {"Chain", 2457, 2463, 2647, 2521, 30},
}

function onThink(interval)
  for _, cid in ipairs(getPlayersOnline()) do
  for i = 1, #t do
  if getPlayerSlotItem(cid, CONST_SLOT_HEAD).itemid == t[i][2] and getPlayerSlotItem(cid, CONST_SLOT_ARMOR).itemid == t[i][3] and getPlayerSlotItem(cid, CONST_SLOT_LEGS).itemid == t[i][4] and getPlayerSlotItem(cid, CONST_SLOT_RIGHT).itemid == t[i][5] then
  doCreatureSay(cid, t[i][1], TALKTYPE_ORANGE_1)
  doSendMagicEffect(getCreaturePosition(cid), t[i][6])
  end
  end
  end
  return true
end
 
All Works Fine Thank u so much!

But Try Change Color ORANGE to YELLOW for example and see the debug the debug is your client crash automatically!

and the text not float always comes on char head!
 
Last edited:
i tryed edit this but still fail!

local IDHEAD = 9778
local IDARMOR = 9776
local IDLEGS = 9777
local THETEXT = "*Leather*"
local seg = 1

EVENT = {}

local function Animado(cid)
if isPlayer(cid) then
doSendAnimatedText (getThingPos(cid), THETEXT)
EVENT[cid] = addEvent(Animado, 1000*seg, cid)
end
end

function onDeEquip(cid, item, slot)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You have just lost the bonus for wearing a full set of equipment. please equipped the item you remove to get the bonus again.")
Animado(cid)
return true
end

function onEquip(cid, item, slot)
if getPlayerSlotItem(cid, CONST_SLOT_HEAD).itemid == IDHEAD then
doSendAnimatedText(getCreaturePosition(cid), THETEXT, 99)
local spot = getThingPosition(cid)
end
return true
end
 
Back
Top