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

SaiyansKings Tibianic Cam

johnsamir

Advanced OT User
Joined
Oct 13, 2009
Messages
952
Solutions
6
Reaction score
162
Location
Nowhere
Hello, i've found this client GitHub - SaiyansKing/tibianic-dll: Windows Tibia client 7.72 DLL injection (https://github.com/SaiyansKing/tibianic-dll) it works, i have a problem while trying watch cams
can log in with player record a video, log out press the "cam player button" the records appears in the playerlist and here comes the problem
when i click on a video to watch it a message appear that says: cannot connect to a log in server.
in sources in const.h i changed cam port to my localhost
Lua:
#define CAM_PLAYER_HOST "127.0.0.1"
#define CAM_PLAYER_PORT 7170

and in main.cpp
Lua:
// Perhaps the host is not global one? 
      if(iequals(g_dll.m_pingHost, CAM_PLAYER_HOST)){
        m_host = std::string("127.0.0.1"); -- used to be:  m_host = std::string("Local Host"); but changed it too
      }

and in updatewindow.cpp
Code:
/* Available hosts */
  std::vector<std::string> hosts;
  hosts.push_back("192.168.1.96");
that way i will avoid frictions between port and host
it ain't working. can somebody give me a hand?
 
to what? xD
ahahah 7171 but it was not the solution at least when tested can't access to the recordings, just to the video list does anybody know how to mae the cam system work?
Post automatically merged:

something must be broken don't know where
Lua:
void LIB::InitGlobalHostLogin(){
  /* Tibia.exe 7.72 port addr = CA1FB */
  //InitHostLogin(GLOBAL_HOST, GLOBAL_PORT);
Code:
void LIB::InitLocalHostLogin(){
  InitHostLogin("127.0.0.1", 6999);

Code:
void LIB::InitHostLogin(std::string host, uint16_t port){
  strcpy((char*)MemLoginServer1, host.c_str());
  strcpy((char*)MemLoginServer2, host.c_str());
  strcpy((char*)MemLoginServer3, host.c_str());
  strcpy((char*)MemLoginServer4, host.c_str());
 
  if(iequals(host, GLOBAL_HOST)){
    strcpy((char*)MemTestLoginServer, GLOBAL_HOST_PROXY);
  } else {
    strcpy((char*)MemTestLoginServer, host.c_str());
  }
 
  *(uint16_t*)MemPortLoginServer1 = port;
  *(uint16_t*)MemPortLoginServer2 = port;
  *(uint16_t*)MemPortLoginServer3 = port;
  *(uint16_t*)MemPortLoginServer4 = port;
  *(uint16_t*)MemPortLoginServer5 = port;
}

void LIB::InitLocalHostLogin(){
  InitHostLogin(CAM_PLAYER_HOST, CAM_PLAYER_PORT);}

void LIB::InitGlobalHostLogin(){
  /* Tibia.exe 7.72 port addr = CA1FB */
  //InitHostLogin(GLOBAL_HOST, GLOBAL_PORT); //agregado
    //InitHostLogin(CAM_PLAYER_HOST, CAM_PLAYER_PORT);
 
  strcpy((char*)MemLoginServer1, GLOBAL_LOGIN1);
  strcpy((char*)MemLoginServer2, GLOBAL_LOGIN2);
  strcpy((char*)MemLoginServer3, GLOBAL_LOGIN3);
  strcpy((char*)MemLoginServer4, GLOBAL_LOGIN4);
 
  strcpy((char*)MemTestLoginServer, GLOBAL_HOST_PROXY);
 
  *(uint16_t*)MemPortLoginServer1 = GLOBAL_PORT;
  *(uint16_t*)MemPortLoginServer2 = GLOBAL_PORT;
  *(uint16_t*)MemPortLoginServer3 = GLOBAL_PORT;
  *(uint16_t*)MemPortLoginServer4 = GLOBAL_PORT;
  *(uint16_t*)MemPortLoginServer5 = GLOBAL_PORT;
}
 
Last edited:
Back
Top