Jump to content

caes95

Inactive Member
  • Posts

    30
  • Joined

  • Last visited

  • Feedback

    0%

About caes95

Informations

  • Gender
    Male

Recent Profile Visitors

972 profile views

caes95's Achievements

Explorer

Explorer (4/16)

  • First Post
  • Collaborator
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges

1

Reputation

  1. Are u searching for web developers? (developer not designer).
  2. For production purposes only Freebsd it's supported, however you have the source available, so you can port it to any system. If you want to connect to your VM with your public IP, you need to use a bridge network interface and configure a static IP, then you need to redirect all metin2 ports in your router to the vm or enable a dmz to your vm.
  3. Compilation speed relies primarily on CPU performance, and you need a bit more RAM in your box.
  4. Why ?, he has a VPN installed and do not need to filter packets.
  5. Hello Devs, I'm have a FreeBSD installation in a vm using kvm... the network are configure using NAT, so I configure the ip forwading using iptables all work fine with apache, mysql etc.... the problem is with metin2 server, players can connect and see your characters, but when theirs click join the server kick him. There is the syserr: SYSERR: May 5 01:45:55 :: socket_accept: accept: Software caused connection abort (fd 12) I'm assume that problem is a bad ip forwading... you tell me And thanks to you...
  6. you're returning a wrong value, please put here the line 153 of messenger_manager.cpp.
  7. maybe, nobody release a game without trips.
  8. Why you use hamachi ? Use direct IP router [Hidden Content] the same problem Remove the bind ip on your CONFIG
  9. try this: configure your ip on freebsd with your internet connection (switch the adaptador to lan) and your local ip (like a ip-server) then put your hamachi ip on portmap and try! Skype: live:caes95 The problem is that FreeBSD and the game can't obtain your external ip because you're using hamachi and hamachi doesn't have a real external ip.
  10. bool GetIPInfo() { #ifndef __WIN32__ struct ifaddrs* ifaddrp = NULL; if (0 != getifaddrs(&ifaddrp)) return false; for( struct ifaddrs* ifap=ifaddrp ; NULL != ifap ; ifap = ifap->ifa_next ) { struct sockaddr_in * sai = (struct sockaddr_in *) ifap->ifa_addr; if (!ifap->ifa_netmask || // ignore if no netmask sai->sin_addr.s_addr == 0 || // ignore if address is 0.0.0.0 sai->sin_addr.s_addr == 16777343) // ignore if address is 127.0.0.1 continue; #else WSADATA wsa_data; char host_name[100]; HOSTENT* host_ent; int n = 0; if (WSAStartup(0x0101, &wsa_data)) { return false; } gethostname(host_name, sizeof(host_name)); host_ent = gethostbyname(host_name); if (host_ent == NULL) { return false; } for ( ; host_ent->h_addr_list[n] != NULL; ++n) { struct sockaddr_in addr; struct sockaddr_in* sai = &addr; memcpy(&sai->sin_addr.s_addr, host_ent->h_addr_list[n], host_ent->h_length); #endif char * netip = inet_ntoa(sai->sin_addr); if (!strncmp(netip, "192.168", 7)) // ignore if address is starting with 192 { strlcpy(g_szInternalIP, netip, sizeof(g_szInternalIP)); #ifndef __WIN32__ fprintf(stderr, "INTERNAL_IP: %s interface %sn", netip, ifap->ifa_name); #else fprintf(stderr, "INTERNAL_IP: %sn", netip); #endif } else if (!strncmp(netip, "10.", 3)) { strlcpy(g_szInternalIP, netip, sizeof(g_szInternalIP)); #ifndef __WIN32__ fprintf(stderr, "INTERNAL_IP: %s interface %sn", netip, ifap->ifa_name); #else fprintf(stderr, "INTERNAL_IP: %sn", netip); #endif } else if (g_szPublicIP[0] == '0') { strlcpy(g_szPublicIP, netip, sizeof(g_szPublicIP)); #ifndef __WIN32__ fprintf(stderr, "PUBLIC_IP: %s interface %sn", netip, ifap->ifa_name); #else fprintf(stderr, "PUBLIC_IP: %sn", netip); #endif } } #ifndef __WIN32__ freeifaddrs( ifaddrp ); #else WSACleanup(); #endif if (g_szPublicIP[0] != '0') return true; else return false; } Thanks #Reboot but i put this code with 999.999 and my friends not can pass of the selection of character. when i try put in the start.sh -I 25.151.38.92 in the chs and ch99, but the server not start, when put 999.999 I have to do something else? clean your object dir, then compile again. gmake clean && gmake -j20
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.