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

How to add old rope system in Cip files?

BananaJuice

New Member
Joined
Oct 5, 2021
Messages
61
Reaction score
4
Hello, I would like to know what file I should modify to simulate the old rope system in Cip files.

So far I have been able to find in moveuse.dat a part called "Roping" I attach the script here:


BEGIN "Roping"
MultiUse, IsType (Obj1,3003), IsType (Obj2,386) -> MoveRel(User,Obj2,[0,1,-1])
MultiUse, IsType (Obj1,3003), IsType (Obj2,293) -> Retrieve(Obj2,[0,0,1],[0,1,0])
MultiUse, IsType (Obj1,3003), IsType (Obj2,294) -> Retrieve(Obj2,[0,0,1],[0,1,0])
MultiUse, IsType (Obj1,3003), IsType (Obj2,369) -> Retrieve(Obj2,[0,0,1],[0,1,0])
MultiUse, IsType (Obj1,3003), IsType (Obj2,370) -> Retrieve(Obj2,[0,0,1],[0,1,0])
MultiUse, IsType (Obj1,3003), IsType (Obj2,385) -> Retrieve(Obj2,[0,0,1],[0,1,0])
MultiUse, IsType (Obj1,3003), IsType (Obj2,394) -> Retrieve(Obj2,[0,0,1],[0,1,0])
MultiUse, IsType (Obj1,3003), IsType (Obj2,411) -> Retrieve(Obj2,[0,0,1],[0,1,0])
MultiUse, IsType (Obj1,3003), IsType (Obj2,412) -> Retrieve(Obj2,[0,0,1],[0,1,0])
MultiUse, IsType (Obj1,3003), IsType (Obj2,421) -> MoveRel(User,Obj2,[0,1,-1])
MultiUse, IsType (Obj1,3003), IsType (Obj2,432) -> Retrieve(Obj2,[0,0,1],[0,1,0])
MultiUse, IsType (Obj1,3003), IsType (Obj2,433) -> Retrieve(Obj2,[0,0,1],[0,1,0])
MultiUse, IsType (Obj1,3003), IsType (Obj2,435) -> Retrieve(Obj2,[0,0,1],[0,1,0])
MultiUse, IsType (Obj1,3003), IsType (Obj2,482) -> Retrieve(Obj2,[0,0,1],[0,1,0])
MultiUse, IsType (Obj1,3003), IsType (Obj2,5081) -> Retrieve(Obj2,[0,0,1],[0,1,0])
MultiUse, IsType (Obj1,3003), IsType (Obj2,483) -> Retrieve(Obj2,[0,0,1],[0,1,0])
MultiUse, IsType (Obj1,3003), IsType (Obj2,594) -> Retrieve(Obj2,[0,0,1],[0,1,0])
MultiUse, IsType (Obj1,3003), IsType (Obj2,595) -> Retrieve(Obj2,[0,0,1],[0,1,0])
MultiUse, IsType (Obj1,3003), IsType (Obj2,607) -> Retrieve(Obj2,[0,0,1],[0,1,0])
MultiUse, IsType (Obj1,3003), IsType (Obj2,609) -> Retrieve(Obj2,[0,0,1],[0,1,0])
MultiUse, IsType (Obj1,3003), IsType (Obj2,610) -> Retrieve(Obj2,[0,0,1],[0,1,0])
MultiUse, IsType (Obj1,3003), IsType (Obj2,615) -> Retrieve(Obj2,[0,0,1],[0,1,0])
MultiUse, IsType (Obj1,3003), IsType (Obj2,1066) -> Retrieve(Obj2,[0,0,1],[0,1,0])
MultiUse, IsType (Obj1,3003), IsType (Obj2,1067) -> Retrieve(Obj2,[0,0,1],[0,1,0])
MultiUse, IsType (Obj1,3003), IsType (Obj2,1080) -> Retrieve(Obj2,[0,0,1],[0,1,0])
END

I have tried in several ways to modify this script but every time I try to start the server it throws me an error on the line that I modify in this script since I am doing something wrong. For example:

Original: MultiUse, IsType (Obj1,3003), IsType (Obj2,386) -> MoveRel(User,Obj2,[0,1,-1])

My attempts:

MultiUse, IsType (Obj1,3003), IsType (Obj2,386), !IsPlayer (Obj2), !IsObjectThere (Obj2) -> MoveRel(User,Obj2,[0,1,-1])

MultiUse, IsType (Obj1,3003), IsType (Obj2,386), !IsPlayer (User), !IsObjectThere (User) -> MoveRel(User,Obj2,[0,1,-1])


Some idea? Very thank you!
 
Solution
The types (items) are described in the objects.srv file. Find the ids I've mentioned and remove, if I recall correctly, ForceUse from Flags.

As for the dat, any dat editor (itemeditor?, objectbuilder?) that supports 7.7 is enough.
I am not sure that you will find a solution to be used in the scripts. What would probably work is to edit objects.srv and remove force use flag from TypeID 386 & 421. You would possibly have to also remove it from Tibia.dat (client).
 
Thank you very much for your answer @EvulMastah What do you mean by remove force use flag from TypeID 386 & 421? And excuse my ignorance, how or what do I need to edit the .dat? Thank you very much and a cordial greeting, you are always helping me:)
 
The types (items) are described in the objects.srv file. Find the ids I've mentioned and remove, if I recall correctly, ForceUse from Flags.

As for the dat, any dat editor (itemeditor?, objectbuilder?) that supports 7.7 is enough.
 
Solution
Thank you very much @EvulMastah for your attention, you always save me :) Right now I'm not at home, tomorrow I'll try what you say. I'll mark you as an answer because I'm sure you're right.
 
Back
Top