Hey, I have both rook and mainland, but i wish to block mailbox and market for rookgaard players but WITHOUT making changes in core engine .cpp
I tried few things but all have dark sides:
1) I tried to make script to run market that would block players with id=0 (no vocations) from opening market, and it worked, but i couldn't run market with normal vocations as i couldn't put this function="market" to run from a script.
<action itemid="14405" function="market" />
2) I tried to give unique id to item 14405 with script when vocation player uses it and then from this unique id run function market but it didn'r work either
3) I thought that hey, i can always throw out banker from rookgaard as without money on player account You will not buy anything from market and won't sell anything... and then i remembered that i have houses on rook and you need to be charged from account monthly.
4) I tried to give instead of locker, that have inside depot, mail, market, just depot locker, but it doesnt work, I simply can't overwrite depot in rme with town id same way as locker. I heard that i can do it manually but each time i edit map i would have to do it over and over again.
4,5) I tried to give uid to each locker, to run with script as a depot for rookgaard, but none of the functions i used my TFS 1.3 could read.
I read this topic: Help with Locker/Sending Parcel/Market (https://otland.net/threads/help-with-locker-sending-parcel-market.235026/)
I tried to work with chat, but fell into loop of not working solutions :S
Do You cleaver creatives got any idea how I can make it?
or how can I overcome any of the problem that block one of my 5 solutions?
Thanks in advance <3
I tried few things but all have dark sides:
1) I tried to make script to run market that would block players with id=0 (no vocations) from opening market, and it worked, but i couldn't run market with normal vocations as i couldn't put this function="market" to run from a script.
<action itemid="14405" function="market" />
2) I tried to give unique id to item 14405 with script when vocation player uses it and then from this unique id run function market but it didn'r work either
3) I thought that hey, i can always throw out banker from rookgaard as without money on player account You will not buy anything from market and won't sell anything... and then i remembered that i have houses on rook and you need to be charged from account monthly.
4) I tried to give instead of locker, that have inside depot, mail, market, just depot locker, but it doesnt work, I simply can't overwrite depot in rme with town id same way as locker. I heard that i can do it manually but each time i edit map i would have to do it over and over again.
4,5) I tried to give uid to each locker, to run with script as a depot for rookgaard, but none of the functions i used my TFS 1.3 could read.
I read this topic: Help with Locker/Sending Parcel/Market (https://otland.net/threads/help-with-locker-sending-parcel-market.235026/)
I tried to work with chat, but fell into loop of not working solutions :S
Do You cleaver creatives got any idea how I can make it?
or how can I overcome any of the problem that block one of my 5 solutions?
Thanks in advance <3