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

OTClient Script not removing mud splash from the ground.

jigsaw

Member
Joined
Dec 21, 2008
Messages
143
Solutions
4
Reaction score
17
So, I've tried everything possible. I'm using OT HIRE 7,72 and after creating a bunch of mud splash on RME, I tried to wipe them out with a script using broom. It worked for the quest I'm creating but, it is not removing it from the map. After I used it is not cleaning, here is part of the script:


1749768488811.webp
LUA:
   local bucketId = 2005
    local broomId = 2324
    local mudIds = {4526, 4568, 2021, 4539}
    local requiredMud = 8
    local fluidMudType = 19 -- mud fluidClient
    local mudStorage = 91500
    
    
    doRemoveItem(itemEx.uid, 1)
    doSendMagicEffect(toPosition, CONST_ME_POFF)
    doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You cleaned some mud.")

<action itemid="2324" script="Rook/clean_mud_bucket.lua"/>

If I change the IDs for the splash ones, it just delete the entire tile.

Can anyone give a me light?
Post automatically merged:

Its solved already. The RME pool splash is not removable, I had to create it via script on globalevents. thanks!
 
Last edited:
Back
Top