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

oldschool pot

Spo teh pro

New Member
Joined
Jan 3, 2008
Messages
319
Reaction score
1
hey I'd like to implant the "oldschool-pot" to my server but I don't know how that works ;S

If anyone who's not oldschool here, I would like to make pot NOT walkable, but you can still carry it in your backpack and you cant shot runes on it etc.

Is it possible on a 8.57 client?

Thanks :)

rep ofc =D
 
Do I have to add this under the item

Code:
<attribute key="blockprojectile" value="1" />
?

//Edit
You'll say something like "Try it yourself instead of asking here", but my friend is hosting the server and I can't reach it untill hes back at PC
I'll tell him to install Team Viewer and I'll work faster probaly ;]
 
Wouldn't this work? ;p
Code:
function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor)
    if toPosition.itemid == POT ID HERE then
        doTeleportThing(cid, fromPosition, false)
    end
end
 
Last edited:
If you just register it to walkback.lua, you will still be able to shoot magic wall on it you will also have to make a script using AddItem with a script similar to this.

Code:
function onAddItem(moveitem, tileitem, position, cid)
	if moveitem.itemid == mwallID then
		doRemoveItem(moveitem.uid)
	end
	return true
end

It might just be easier to edit the items.otb and make it block pathfind (I think) its been awhile since I have been in the items.otb
 
I checked how the program looks like and I didn't understand anything
I think I viewed a thread called "How to make your own items in items.otb" or smth

I added this;

Code:
function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor)
    if toPosition.itemid == 2562 then
        doTeleportThing(cid, fromPosition, false)
    end
end

to my actions folder

actions xml;
Code:
	<action itemid="2562" event="script" value="tools/pot.lua"/>

but I can still walk over it but can't shot mwall :p


What to do in lua?

+rep you all but cant cykotitan cus i already rep him ;<
It's working so you cant shot mwall on it atm :p
 
I checked how the program looks like and I didn't understand anything
I think I viewed a thread called "How to make your own items in items.otb" or smth

I added this;

Code:
function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor)
    if toPosition.itemid == 2562 then
        doTeleportThing(cid, fromPosition, false)
    end
end

to my actions folder

actions xml;
Code:
	<action itemid="2562" event="script" value="tools/pot.lua"/>

but I can still walk over it but can't shot mwall :p


What to do in lua?

+rep you all but cant cykotitan cus i already rep him ;<
It's working so you cant shot mwall on it atm :p

noo, not actions, register it in MOVEMENTS :p:p
Code:
	<movevent type="StepIn" itemid="2562" event="buffer" value="doTeleportThing(cid, fromPosition, true)"/>
 
Thanks, it's working but isn't it possible just to do it like street lamp for example?

You can't move on it at all but still can keep it in the backpack
 
Nono^^
I wrote wrong sorry ;D

Well I meant that it should be possible to pick up pots but not moveable at all, because when you run in war against a pot it waste you alot of time to make you "walkback"

Do you know if it's possible to make it not moveable without editing items.otb?
 
Will the people debug that join the server then?
no right?

I don't have to make custom client or?

well I could give it a try but i'm sure I won't make it >.<
 
Will the people debug that join the server then?
no right?

I don't have to make custom client or?

well I could give it a try but i'm sure I won't make it >.<

no custom client, just get OTItemEditor and edit your items.otb :p
 
I did it.. I edited it I just did block pathfind

and now when I try run the server it says

"Unable to load items.otb"
"Other version of items.otb required"

;S I'm using crying damson 0.3.6 (8.57) tibia and I use otitemeditor-0.3.8 ;o

Know what's wrong?
 
Last edited:
:p it saved the file in a newer OTB version (18?), and TFS 0.3.6 only supports versions 16 and 17 afaik. You have to edit OTItemEditor's graphics.dat and change 18 to 17 :p
 
;s I'm confused
Can't I upload my items.otb here and you fix my pot fast?;S

I know I demand much but we would save alot more time I think >.<
ahhh only because I want oldschool feeling in my server all this work!!:mad:
 
Back
Top