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

SCRIPT HIDE GUILD IN BATTLE OTCLIENT V8!

Guild information is not being passed to client this is pure server side. It is possible but definitely not an easy task for someone that has no knowledge about programming.
 
As @Danger II posted, OTS does not send list of guild members to client.

OTCv8 battle list is filtered here:
You can filter some names, by adding under function doCreatureFitFilters(creature) ex.:
LUA:
  if creature:isPlayer() and creature:getName() == "Blocked Name" then
    return false
  end
It will hide player with name Blocked Name on Battle List, but there is no OTClient code to get list of guild members from OTS.


You could try to use OTCv8 "bot server" (it's for combo bot / outfit synchronization) to get names of other guild members. First you would need to fix bot by changing bot server to my host (more about it How to compile otcv8botserver (https://otland.net/threads/how-to-compile-otcv8botserver.284262/) ):
Code:
arm.skalski.pro:8000
Then you would need to edit OTCv8 bot code, to pass 'ServerMembers` variable from modules/game_bot/default_configs/vBot_4.8/vBot/BotServer.lua to game_battle module.
 
Technically you could pass players guild id on login to client and make a method out of it to check if a player in battle list has the same guild id. This affords a bit of changes but same time you'll need experience doing this.
 
Technically you could pass players guild id on login to client and make a method out of it to check if a player in battle list has the same guild id
I assumed that thread author is not an owner of OTS. He is a player, who wants to hide own guild players on Battle List.

If you plan to check, if player is in same guild using tibia protocol, you don't pass guild ID when login in client (as you are not an owner of OTS).
You parse it from Look on player position - to get 'own guild name' - and to get other players guild you execute Look on Battle List, to get other players guild name. Of course it may result in kick/ban, as your client will send a lot of packets to server when ex. login in temple with 100 players on screen. So you would also need to write some code to load guilds slowly (ex. max 5 "Look" per second).

That's why I suggested OTCv8 Bot Server, which passed names of guild members (combo team members) using own server and network code, not OTS.
 

Similar threads

Back
Top