Last login: Sat Jul 2 11:52:42 on ttys002
Saguns-MacBook-Pro-3:~ Sagun$ sudo openvpn --config ~/client.ovpn
Password:
sudo: openvpn: command not found
Saguns-MacBook-Pro-3:~ Sagun$ brew install openvpn
==> Installing dependencies for openvpn: lzo
==> Installing openvpn dependency: lzo
==> Downloading https://homebrew.bintray.com/bottles/lzo-2.09.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring lzo-2.09.el_capitan.bottle.tar.gz
🍺 /usr/local/Cellar/lzo/2.09: 29 files, 564.9K
==> Installing openvpn
==> Downloading https://homebrew.bintray.com/bottles/openvpn-2.3.11.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring openvpn-2.3.11.el_capitan.bottle.tar.gz
==> Caveats
To have launchd start openvpn now and restart at startup:
sudo brew services start openvpn
==> Summary
🍺 /usr/local/Cellar/openvpn/2.3.11: 70 files, 1.2M
Saguns-MacBook-Pro-3:~ Sagun$ nano /etc/csf/csf.conf
Saguns-MacBook-Pro-3:~ Sagun$ openvpn
OpenVPN 2.3.11 x86_64-apple-darwin15.5.0 [SSL (OpenSSL)] [LZO] [MH] [IPv6] built on May 23 2016
General Options:
--config file : Read configuration options from file.
--help : Show options.
--version : Show copyright and version information.
Tunnel Options:
--local host : Local host name or ip address. Implies --bind.
--remote host [port] : Remote host name or ip address.
--remote-random : If multiple --remote options specified, choose one randomly.
--remote-random-hostname : Add a random string to remote DNS name.
--mode m : Major mode, m = 'p2p' (default, point-to-point) or 'server'.
--proto p : Use protocol p for communicating with peer.
p = udp (default), tcp-server, or tcp-client
--proto-force p : only consider protocol p in list of connection profiles.
p = udp6, tcp6-server, or tcp6-client (ipv6)
--connect-retry n : For --proto tcp-client, number of seconds to wait
between connection retries (default=5).
--connect-timeout n : For --proto tcp-client, connection timeout (in seconds).
--connect-retry-max n : Maximum connection attempt retries, default infinite.
--http-proxy s p [up] [auth] : Connect to remote host
through an HTTP proxy at address s and port p.
If proxy authentication is required,
up is a file containing username/password on 2 lines, or
'stdin' to prompt from console. Add auth='ntlm' if
the proxy requires NTLM authentication.
--http-proxy s p 'auto[-nct]' : Like the above directive, but automatically
determine auth method and query for username/password
if needed. auto-nct disables weak proxy auth methods.
--http-proxy-retry : Retry indefinitely on HTTP proxy errors.
--http-proxy-timeout n : Proxy timeout in seconds, default=5.
--http-proxy-option type [parm] : Set extended HTTP proxy options.
Repeat to set multiple options.
VERSION version (default=1.0)
AGENT user-agent
--socks-proxy s [p] [up] : Connect to remote host through a Socks5 proxy at
address s and port p (default port = 1080).
If proxy authentication is required,
up is a file containing username/password on 2 lines, or
'stdin' to prompt for console.
--socks-proxy-retry : Retry indefinitely on Socks proxy errors.
--resolv-retry n: If hostname resolve fails for --remote, retry
resolve for n seconds before failing (disabled by default).
Set n="infinite" to retry indefinitely.
--float : Allow remote to change its IP address/port, such as through
DHCP (this is the default if --remote is not used).
--ipchange cmd : Run command cmd on remote ip address initial
setting or change -- execute as: cmd ip-address port#
--port port : TCP/UDP port # for both local and remote.
--lport port : TCP/UDP port # for local (default=1194). Implies --bind.
--rport port : TCP/UDP port # for remote (default=1194).
--bind : Bind to local address and port. (This is the default unless
--proto tcp-client or --http-proxy or --socks-proxy is used).
--nobind : Do not bind to local address and port.
--dev tunX|tapX : tun/tap device (X can be omitted for dynamic device.
--dev-type dt : Which device type are we using? (dt = tun or tap) Use
this option only if the tun/tap device used with --dev
does not begin with "tun" or "tap".
--dev-node node : Explicitly set the device node rather than using
/dev/net/tun, /dev/tun, /dev/tap, etc.
--lladdr hw : Set the link layer address of the tap device.
--topology t : Set --dev tun topology: 'net30', 'p2p', or 'subnet'.
--tun-ipv6 : Build tun link capable of forwarding IPv6 traffic.
--ifconfig l rn : TUN: configure device to use IP address l as a local
endpoint and rn as a remote endpoint. l & rn should be
swapped on the other peer. l & rn must be private
addresses outside of the subnets used by either peer.
TAP: configure device to use IP address l as a local
endpoint and rn as a subnet mask.
--ifconfig-ipv6 l r : configure device to use IPv6 address l as local
endpoint (as a /64) and r as remote endpoint
--ifconfig-noexec : Don't actually execute ifconfig/netsh command, instead
pass --ifconfig parms by environment to scripts.
--ifconfig-nowarn : Don't warn if the --ifconfig option on this side of the
connection doesn't match the remote side.
--route network [netmask] [gateway] [metric] :
Add route to routing table after connection
is established. Multiple routes can be specified.
netmask default: 255.255.255.255
gateway default: taken from --route-gateway or --ifconfig
Specify default by leaving blank or setting to "nil".
--route-ipv6 network/bits [gateway] [metric] :
Add IPv6 route to routing table after connection
is established. Multiple routes can be specified.
gateway default: taken from --route-ipv6-gateway or --ifconfig
--max-routes n : Specify the maximum number of routes that may be defined
or pulled from a server.
--route-gateway gw|'dhcp' : Specify a default gateway for use with --route.
--route-metric m : Specify a default metric for use with --route.
--route-delay n [w] : Delay n seconds after connection initiation before
adding routes (may be 0). If not specified, routes will
be added immediately after tun/tap open. On Windows, wait
up to w seconds for TUN/TAP adapter to come up.
--route-up cmd : Run command cmd after routes are added.
--route-pre-down cmd : Run command cmd before routes are removed.
--route-noexec : Don't add routes automatically. Instead pass routes to
--route-up script using environmental variables.
--route-nopull : When used with --client or --pull, accept options pushed
by server EXCEPT for routes and dhcp options.
--allow-pull-fqdn : Allow client to pull DNS names from server for
--ifconfig, --route, and --route-gateway.
--redirect-gateway [flags]: Automatically execute routing
commands to redirect all outgoing IP traffic through the
VPN. Add 'local' flag if both OpenVPN servers are directly
connected via a common subnet, such as with WiFi.
Add 'def1' flag to set default route using using 0.0.0.0/1
and 128.0.0.0/1 rather than 0.0.0.0/0. Add 'bypass-dhcp'
flag to add a direct route to DHCP server, bypassing tunnel.
Add 'bypass-dns' flag to similarly bypass tunnel for DNS.
--redirect-private [flags]: Like --redirect-gateway, but omit actually changing
the default gateway. Useful when pushing private subnets.
--client-nat snat|dnat network netmask alias : on client add 1-to-1 NAT rule.
--push-peer-info : (client only) push client info to server.
--setenv name value : Set a custom environmental variable to pass to script.
--setenv FORWARD_COMPATIBLE 1 : Relax config file syntax checking to allow
directives for future OpenVPN versions to be ignored.
--ignore-unkown-option opt1 opt2 ...: Relax config file syntax. Allow
these options to be ignored when unknown
--script-security level: Where level can be:
0 -- strictly no calling of external programs
1 -- (default) only call built-ins such as ifconfig
2 -- allow calling of built-ins and scripts
3 -- allow password to be passed to scripts via env
--shaper n : Restrict output to peer to n bytes per second.
--keepalive n m : Helper option for setting timeouts in server mode. Send
ping once every n seconds, restart if ping not received
for m seconds.
--inactive n [bytes] : Exit after n seconds of activity on tun/tap device
produces a combined in/out byte count < bytes.
--ping
-exit n
: Exit
if n seconds pass without reception of remote ping.
--ping-restart n: Restart if n seconds pass without reception of remote ping.
--ping
-timer
-rem
: Run the
--ping
-exit/--ping
-restart timer only
if we have a
remote address.
--ping n : Ping remote once every n seconds over TCP/UDP port.
--multihome : Configure a multi-homed UDP server.
--fast-io : (experimental) Optimize TUN/TAP/UDP writes.
--remap-usr1 s : On SIGUSR1 signals, remap signal (s='SIGHUP' or 'SIGTERM').
--persist-tun : Keep tun/tap device open across SIGUSR1 or --ping-restart.
--persist-remote-ip : Keep remote IP address across SIGUSR1 or --ping-restart.
--persist-local-ip : Keep local IP address across SIGUSR1 or --ping-restart.
--persist-key : Don't re-read key files across SIGUSR1 or --ping-restart.
--passtos : TOS passthrough (applies to IPv4 only).
--tun-mtu n : Take the tun/tap device MTU to be n and derive the
TCP/UDP MTU from it (default=1500).
--tun-mtu-extra n : Assume that tun/tap device might return as many
as n bytes more than the tun-mtu size on read
(default TUN=0 TAP=32).
--link-mtu n : Take the TCP/UDP device MTU to be n and derive the tun MTU
from it.
--mtu-disc type : Should we do Path MTU discovery on TCP/UDP channel?
'no' -- Never send DF (Don't Fragment) frames
'maybe' -- Use per-route hints
'yes' -- Always DF (Don't Fragment)
--mtu-test : Empirically measure and report MTU.
--fragment max : Enable internal datagram fragmentation so that no UDP
datagrams are sent which are larger than max bytes.
Adds 4 bytes of overhead per datagram.
--mssfix [n] : Set upper bound on TCP MSS, default = tun-mtu size
or --fragment max value, whichever is lower.
--sndbuf size : Set the TCP/UDP send buffer size.
--rcvbuf size : Set the TCP/UDP receive buffer size.
--txqueuelen n : Set the tun/tap TX queue length to n (Linux only).
--mlock : Disable Paging -- ensures key material and tunnel
data will never be written to disk.
--up cmd : Run command cmd after successful tun device open.
Execute as: cmd tun/tap-dev tun-mtu link-mtu \
ifconfig-local-ip ifconfig-remote-ip
(pre --user or --group UID/GID change)
--up-delay : Delay tun/tap open and possible --up script execution
until after TCP/UDP connection establishment with peer.
--down cmd : Run command cmd after tun device close.
(post --user/--group UID/GID change and/or --chroot)
(command parameters are same as --up option)
--down-pre : Run --down command before TUN/TAP close.
--up-restart : Run up/down commands for all restarts including those
caused by --ping-restart or SIGUSR1
--user user : Set UID to user after initialization.
--group group : Set GID to group after initialization.
--chroot dir : Chroot to this directory after initialization.
--cd dir : Change to this directory before initialization.
--daemon [name] : Become a daemon after initialization.
The optional 'name' parameter will be passed
as the program name to the system logger.
--syslog [name] : Output to syslog, but do not become a daemon.
See --daemon above for a description of the 'name' parm.
--inetd [name] ['wait'|'nowait'] : Run as an inetd or xinetd server.
See --daemon above for a description of the 'name' parm.
--log file : Output log to file which is created/truncated on open.
--log-append file : Append log to file, or create file if nonexistent.
--suppress-timestamps : Don't
log timestamps to stdout
/stderr.
--writepid file : Write main process ID to file.
--nice n : Change process priority (>0 = lower, <0 = higher).
--echo
[parms ...
] : Echo parameters to
log output.
--verb n : Set output verbosity to n (default=1):
(Level 3 is recommended if you want a good summary
of what's happening without being swamped by output).
: 0 -- no output except fatal errors
: 1 -- startup info + connection initiated messages +
non-fatal encryption & net errors
: 2,3 -- show TLS negotiations & route info
: 4 -- show parameters
: 5 -- show 'RrWw' chars on console for each packet sent
and received from TCP/UDP (caps) or tun/tap (lc)
: 6 to 11 -- debug messages of increasing verbosity
--mute n : Log at most n consecutive messages in the same category.
--status file n : Write operational status to file every n seconds.
--status-version [n] : Choose the status file format version number.
Currently, n can be 1, 2, or 3 (default=1).
--disable-occ : Disable options consistency check between peers.
--comp-lzo : Use fast LZO compression -- may add up to 1 byte per
packet for uncompressible data.
--comp-noadapt : Don't use adaptive compression when --comp-lzo
is specified.
--management ip port [pass] : Enable a TCP server on ip:port to handle
management functions. pass is a password file
or 'stdin' to prompt from console.
To listen on a unix domain socket, specific the pathname
in place of ip and use 'unix' as the port number.
--management-client : Management interface will connect as a TCP client to
ip/port rather than listen as a TCP server.
--management-query-passwords : Query management channel for private key
and auth-user-pass passwords.
--management-query-proxy : Query management channel for proxy information.
--management-query-remote : Query management channel for --remote directive.
--management-hold : Start OpenVPN in a hibernating state, until a client
of the management interface explicitly starts it.
--management-signal : Issue SIGUSR1 when management disconnect event occurs.
--management-forget-disconnect : Forget passwords when management disconnect
event occurs.
--management-up-down : Report tunnel up/down events to management interface.
--management
-log
-cache n
: Cache n lines of
log file history
for usage
by the management channel.
--management-client-user u : When management interface is a unix socket, only
allow connections from user u.
--management-client-group g : When management interface is a unix socket, only
allow connections from group g.
--management-client-auth : gives management interface client the responsibility
to authenticate clients after their client certificate
has been verified.
--management-client-pf : management interface clients must specify a packet
filter file for each connecting client.
--plugin m [str]: Load plug-in module m passing str as an argument
to its initialization function.
Multi-Client Server options (when --mode server is used):
--server network netmask : Helper option to easily configure server mode.
--server-ipv6 network/bits : Configure IPv6 server mode.
--server-bridge [IP netmask pool-start-IP pool-end-IP] : Helper option to
easily configure ethernet bridging server mode.
--push "option" : Push a config file option back to the peer for remote
execution. Peer must specify --pull in its config file.
--push-reset : Don't inherit global push list for specific
client instance.
--ifconfig-pool start-IP end-IP [netmask] : Set aside a pool of subnets
to be dynamically allocated to connecting clients.
--ifconfig-pool-linear : Use individual addresses rather than /30 subnets
in tun mode. Not compatible with Windows clients.
--ifconfig-pool-persist file [seconds] : Persist/unpersist ifconfig-pool
data to file, at seconds intervals (default=600).
If seconds=0, file will be treated as read-only.
--ifconfig-ipv6-pool base-IP/bits : set aside an IPv6 network block
to be dynamically allocated to connecting clients.
--ifconfig-push local remote-netmask : Push an ifconfig option to remote,
overrides --ifconfig-pool dynamic allocation.
Only valid in a client-specific config file.
--ifconfig-ipv6-push local/bits remote : Push an ifconfig-ipv6 option to
remote, overrides --ifconfig-ipv6-pool allocation.
Only valid in a client-specific config file.
--iroute network [netmask] : Route subnet to client.
--iroute-ipv6 network/bits : Route IPv6 subnet to client.
Sets up internal routes only.
Only valid in a client-specific config file.
--disable : Client is disabled.
Only valid in a client-specific config file.
--client-cert-not-required : Don't require client certificate, client
will authenticate using username/password.
--username-as-common-name : For auth-user-pass authentication, use
the authenticated username as the common name,
rather than the common name from the client cert.
--auth-user-pass-verify cmd method: Query client for username/password and
run command cmd to verify. If method='via-env', pass
user/pass via environment, if method='via-file', pass
user/pass via temporary file.
--opt-verify : Clients that connect with options that are incompatible
with those of the server will be disconnected.
--auth-user-pass-optional : Allow connections by clients that don't
specify a username/password.
--no-name-remapping : Allow Common Name and X509 Subject to include
any printable character.
--client-to-client : Internally route client-to-client traffic.
--duplicate-cn : Allow multiple clients with the same common name to
concurrently connect.
--client-connect cmd : Run command cmd on client connection.
--client-disconnect cmd : Run command cmd on client disconnection.
--client-config-dir dir : Directory for custom client config files.
--ccd-exclusive : Refuse connection unless custom client config is found.
--tmp-dir dir : Temporary directory, used for --client-connect return file and plugin communication.
--hash-size r v : Set the size of the real address hash table to r and the
virtual address table to v.
--bcast-buffers n : Allocate n broadcast buffers.
--tcp-queue-limit n : Maximum number of queued TCP output packets.
--tcp-nodelay : Macro that sets TCP_NODELAY socket flag on the server
as well as pushes it to connecting clients.
--learn-address cmd : Run command cmd to validate client virtual addresses.
--connect-freq n s : Allow a maximum of n new connections per s seconds.
--max-clients n : Allow a maximum of n simultaneously connected clients.
--max-routes-per-client n : Allow a maximum of n internal routes per client.
--stale-routes-check n [t] : Remove routes with a last activity timestamp
older than n seconds. Run this check every t
seconds (defaults to n).
--port-share host port [dir] : When run in TCP mode, proxy incoming HTTPS
sessions to a web server at host:port. dir specifies an
optional directory to write origin IP:port data.
Client options (when connecting to a multi-client server):
--client : Helper option to easily configure client mode.
--auth-user-pass [up] : Authenticate with server using username/password.
up is a file containing the username on the first line,
and a password on the second. If either the password or both
the username and the password are omitted OpenVPN will prompt
for them from console.
--pull : Accept certain config file options from the peer as if they
were part of the local config file. Must be specified
when connecting to a '--mode server' remote host.
--auth-retry t : How to handle auth failures. Set t to
none (default), interact, or nointeract.
--static-challenge t e : Enable static challenge/response protocol using
challenge text t, with e indicating echo flag (0|1)
--server-poll-timeout n : when polling possible remote servers to connect to
in a round-robin fashion, spend no more than n seconds
waiting for a response before trying the next server.
--explicit-exit-notify [n] : On exit/restart, send exit signal to
server/remote. n = # of retries, default=1.
Data Channel Encryption Options (must be compatible between peers):
(These options are meaningful for both Static Key & TLS-mode)
--secret f [d] : Enable Static Key encryption mode (non-TLS).
Use shared secret file f, generate with --genkey.
The optional d parameter controls key directionality.
If d is specified, use separate keys for each
direction, set d=0 on one side of the connection,
and d=1 on the other side.
--auth alg : Authenticate packets with HMAC using message
digest algorithm alg (default=SHA1).
(usually adds 16 or 20 bytes per packet)
Set alg=none to disable authentication.
--cipher alg : Encrypt packets with cipher algorithm alg
(default=BF-CBC).
Set alg=none to disable encryption.
--prng alg [nsl] : For PRNG, use digest algorithm alg, and
nonce_secret_len=nsl. Set alg=none to disable PRNG.
--keysize n : Size of cipher key in bits (optional).
If unspecified, defaults to cipher-specific default.
--engine [name] : Enable OpenSSL hardware crypto engine functionality.
--no-replay : Disable replay protection.
--mute-replay-warnings : Silence the output of replay warnings to log file.
--replay-window n [t] : Use a replay protection sliding window of size n
and a time window of t seconds.
Default n=64 t=15
--no-iv : Disable cipher IV -- only allowed with CBC mode ciphers.
--replay-persist file : Persist replay-protection state across sessions
using file.
--test-crypto : Run a self-test of crypto features enabled.
For debugging only.
TLS Key Negotiation Options:
(These options are meaningful only for TLS-mode)
--tls-server : Enable TLS and assume server role during TLS handshake.
--tls-client : Enable TLS and assume client role during TLS handshake.
--key-method m : Data channel key exchange method. m should be a method
number, such as 1 (default), 2, etc.
--ca file : Certificate authority file in .pem format containing
root certificate.
--capath dir : A directory of trusted certificates (CAs and CRLs).
--dh file : File containing Diffie Hellman parameters
in .pem format (for --tls-server only).
Use "openssl dhparam -out dh1024.pem 1024" to generate.
--cert file : Local certificate in .pem format -- must be signed
by a Certificate Authority in --ca file.
--extra-certs file : one or more PEM certs that complete the cert chain.
--key file : Local private key in .pem format.
--tls-version-min <version> ['or-highest'] : sets the minimum TLS version we
will accept from the peer. If version is unrecognized and 'or-highest'
is specified, require max TLS version supported by SSL implementation.
--tls-version-max <version> : sets the maximum TLS version we will use.
--pkcs12 file : PKCS#12 file containing local private key, local certificate
and optionally the root CA certificate.
--verify-hash : Specify SHA1 fingerprint for level-1 cert.
--tls-cipher l : A list l of allowable TLS ciphers separated by : (optional).
: Use --show-tls to see a list of supported TLS ciphers.
--tls-timeout n : Packet retransmit timeout on TLS control channel
if no ACK from remote within n seconds (default=2).
--reneg-bytes n : Renegotiate data chan. key after n bytes sent and recvd.
--reneg-pkts n : Renegotiate data chan. key after n packets sent and recvd.
--reneg-sec n : Renegotiate data chan. key after n seconds (default=3600).
--hand-window n : Data channel key exchange must finalize within n seconds
of handshake initiation by any peer (default=60).
--tran-window n : Transition window -- old key can live this many seconds
after new key renegotiation begins (default=3600).
--single-session: Allow only one session (reset state on restart).
--tls-exit : Exit on TLS negotiation failure.
--tls-auth f [d]: Add an additional layer of authentication on top of the TLS
control channel to protect against DoS attacks.
f (required) is a shared-secret passphrase file.
The optional d parameter controls key directionality,
see --secret option for more info.
--askpass [file]: Get PEM password from controlling tty before we daemonize.
--auth-nocache : Don't cache --askpass or --auth-user-pass passwords.
--crl-verify crl ['dir']: Check peer certificate against a CRL.
--tls-verify cmd: Run command cmd to verify the X509 name of a
pending TLS connection that has otherwise passed all other
tests of certification. cmd should return 0 to allow
TLS handshake to proceed, or 1 to fail. (cmd is
executed as 'cmd certificate_depth subject')
--tls-export-cert [directory] : Get peer cert in PEM format and store it
in an openvpn temporary file in [directory]. Peer cert is
stored before tls-verify script execution and deleted after.
--verify-x509-name name: Accept connections only from a host with X509 subject
DN name. The remote host must also pass all other tests
of verification.
--ns-cert-type t: Require that peer certificate was signed with an explicit
nsCertType designation t = 'client' | 'server'.
--x509-track x : Save peer X509 attribute x in environment for use by
plugins and management interface.
--remote-cert-ku v ... : Require that the peer certificate was signed with
explicit key usage, you can specify more than one value.
value should be given in hex format.
--remote-cert-eku oid : Require that the peer certificate was signed with
explicit extended key usage. Extended key usage can be encoded
as an object identifier or OpenSSL string representation.
--remote-cert-tls t: Require that peer certificate was signed with explicit
key usage and extended key usage based on RFC3280 TLS rules.
t = 'client' | 'server'.
SSL Library information:
--show-ciphers : Show cipher algorithms to use with --cipher option.
--show-digests : Show message digest algorithms to use with --auth option.
--show-engines : Show hardware crypto accelerator engines (if available).
--show-tls : Show all TLS ciphers (TLS used only as a control channel).
Generate a random key (only for non-TLS static key encryption mode):
--genkey : Generate a random key to be used as a shared secret,
for use with the --secret option.
--secret file : Write key to file.
General Standalone Options:
Saguns-MacBook-Pro-3:~ Sagun$ ls -al
total 30688
drwxr-xr-x+ 81 Sagun staff 2754 Jul 4 20:06 .
drwxr-xr-x 6 root admin 204 Nov 6 2015 ..
-r-------- 1 Sagun staff 7 Oct 31 2015 .CFUserTextEncoding
-rw-r--r--@ 1 Sagun staff 10244 Jul 3 14:16 .DS_Store
drwxr-xr-x 2 Sagun staff 68 Nov 19 2015 .InstallAnywhere
drwx------ 39 Sagun staff 1326 Jul 4 19:40 .Trash
drwxr-xr-x 3 Sagun staff 102 Dec 18 2015 .WebIde100
-rw------- 1 Sagun staff 0 Jul 4 12:41 .Xauthority
drwxr-xr-x 14 Sagun staff 476 Feb 29 00:22 .atom
-rw-r--r-- 1 Sagun staff 11204 Jul 4 18:58 .bash_history
-rw-r--r-- 1 Sagun staff 287 Jun 13 14:53 .bash_profile
drwxr-xr-x 96 Sagun staff 3264 Jul 4 18:58 .bash_sessions
drwxr-xr-x 4 Sagun staff 136 Mar 13 05:01 .cache
drwxr-xr-x 6 Sagun staff 204 Jun 22 22:20 .codeintel
drwxr-xr-x 19 Sagun staff 646 Jun 13 01:43 .composer
drwxr-xr-x 8 Sagun staff 272 Jul 4 12:52 .config
drwxr-xr-x 8 root staff 272 Jul 4 18:01 .cpan
drwx------ 6 Sagun staff 204 Dec 18 2015 .dropbox
-rw-r--r-- 1 Sagun staff 56618 Nov 12 2015 .gitcompletion
-rw-r--r-- 1 Sagun staff 520 Jul 4 19:15 .gitconfig
-rw-r--r--@ 1 Sagun staff 94 Apr 20 03:24 .gitignore_global
drwx------ 8 Sagun staff 272 Apr 7 13:18 .gnupg
-rw-r--r--@ 1 Sagun staff 107 Apr 20 03:24 .hgignore_global
-rw-r--r-- 1 Sagun staff 13643776 Jun 22 12:28 .hhvm.hhbc
drwxr-xr-x 17 Sagun staff 578 Apr 2 04:32 .jenkins
-rw------- 1 Sagun staff 35 Mar 13 05:33 .lesshst
drwx------ 4 Sagun staff 136 Mar 30 22:20 .lldb
drwxr-xr-x 3 Sagun staff 102 Nov 24 2015 .local
-rw-r--r-- 1 Sagun staff 1453 Apr 4 22:58 .mailcap
-rw-r--r-- 1 Sagun staff 764 Apr 4 22:58 .mime.types
drwxr-xr-x 3 Sagun staff 102 Nov 16 2015 .mplayer
-rw-r--r-- 1 Sagun staff 0 Jan 19 18:56 .my.cnf
-rw------- 1 Sagun staff 2866 May 6 19:14 .mysql_history
drwxr-xr-x 5 Sagun staff 170 May 1 15:28 .node-gyp
drwxr-xr-x 1082 Sagun staff 36788 Jun 24 00:08 .npm
drwxr-xr-x 9 Sagun staff 306 Nov 21 2015 .oracle_jre_usage
-rw------- 1 Sagun staff 1024 Jul 4 12:38 .rnd
-rw------- 1 Sagun staff 587 Jan 19 18:59 .sh_history
drwxrwxrwx 19 root staff 646 Nov 29 2015 .spotflux
drwx------ 5 Sagun staff 170 May 2 22:16 .ssh
drwxr-xr-x 6 Sagun staff 204 Nov 4 2015 .subversion
drwxr-xr-x 3 Sagun staff 102 Nov 29 2015 .swt
-rw-r--r-- 1 Sagun staff 8456 Jan 22 17:39 .v8flags.4.6.85.31.Sagun.json
-rw-r--r-- 1 Sagun staff 9135 May 1 15:26 .v8flags.5.0.71.35.Sagun.json
drwxr-xr-x 10 Sagun staff 340 Apr 30 00:04 .vim
-rw------- 1 Sagun staff 9969 Jul 4 20:06 .viminfo
-rw-r--r-- 1 Sagun staff 26 Apr 30 00:01 .vimrc
drwx------ 3 Sagun staff 102 Jul 3 21:23 .vnc
drwxr-xr-x 3 Sagun staff 102 Jun 22 22:48 .yjp
drwx------ 4 Sagun staff 136 Feb 25 04:20 Applications
-rw-r--r--@ 1 Sagun staff 355107 Mar 29 18:46 Applied Communications Past Year Paper Set 1.pdf
drwx------+ 7 Sagun staff 238 May 9 22:45 Desktop
drwx------+ 20 Sagun staff 680 Jul 3 13:30 Documents
drwx------+ 301 Sagun staff 10234 Jul 4 16:28 Downloads
drwxr-xr-x 6 Sagun staff 204 Nov 16 2015 FrostWire
drwx------@ 68 Sagun staff 2312 Jul 3 18:20 Library
drwx------+ 6 Sagun staff 204 Jun 20 19:13 Movies
drwx------+ 7 Sagun staff 238 Nov 13 2015 Music
drwxr-xr-x 3 Sagun staff 102 Jan 17 15:43 PhpstormProjects
drwx------+ 15 Sagun staff 510 Apr 26 20:15 Pictures
drwxr-xr-x+ 5 Sagun staff 170 Oct 31 2015 Public
-rw-r--r-- 1 Sagun staff 4228 Jul 3 14:58 Sagun.p12
drwxr-xr-x 28 Sagun staff 952 Jun 13 00:43 Sites
drwxr-xr-x 2 Sagun staff 68 Jun 22 22:48 Snapshots
-rw-r--r--@ 1 Sagun staff 44032 Apr 4 20:45 Thumbs.db
-rw-r--r--@ 1 Sagun staff 463460 May 4 00:41 admin.tiff
-rw-r--r--@ 1 Sagun staff 168110 May 2 14:09 bifrost.tiff
-rw-r--r-- 1 Sagun staff 1716 Jul 3 18:23 ca.crt
-rw-r--r-- 1 Sagun staff 1704 Jul 3 18:10 ca.key
-rw-r--r--@ 1 Sagun staff 128680 Apr 28 21:39 charselect.tiff
-rw-r--r-- 1 Sagun staff 5318 Jul 3 18:10 client.crt
-rw-r--r-- 1 Sagun staff 1119 Jul 3 18:10 client.csr
-rw-r--r-- 1 Sagun staff 1704 Jul 3 18:10 client.key
-rw-r--r--@ 1 Sagun staff 200 Jul 3 18:23 client.ovpn
-rw-r--r--@ 1 Sagun staff 200 Jul 3 18:13 client.ovpn.txt
drwx------ 4 Sagun staff 136 Nov 29 2015 logs
-rw-r--r-- 1 root staff 5 Nov 29 2015 openvpn.pid
drwxr-xr-x 5 root staff 170 Jul 4 18:01 perl5
-rw-r--r--@ 1 Sagun staff 310568 May 10 21:57 test copy.png
-rw-r--r--@ 1 Sagun staff 360066 May 10 21:56 test.tiff
-rw-r--r-- 1 Sagun staff 6656 Apr 4 17:11 ws2_ph-orig.dll
Saguns-MacBook-Pro-3:~ Sagun$ cd $dev
Saguns-MacBook-Pro-3:Dev Sagun$ ls -al
total 17504
drwxr-xr-x 26 Sagun staff 884 Jul 4 12:48 .
drwx------+ 20 Sagun staff 680 Jul 3 13:30 ..
-rw-r--r--@ 1 Sagun staff 10244 Jul 1 19:13 .DS_Store
-rw-r--r-- 1 Sagun staff 2369 Apr 17 12:12 0001-Fixed-Several-Compile-Warnings.patch
drwx------ 31 Sagun staff 1054 Jul 1 19:13 Auriga-1270Full
-rw-r--r--@ 1 Sagun staff 5947191 Apr 1 16:56 Auriga-1270Full.zip
drwxr-xr-x 62 Sagun staff 2108 Jul 4 20:09 Hercules
drwxr-xr-x 43 Sagun staff 1462 Nov 16 2015 Java
-rw-r--r-- 1 Sagun staff 51861 Apr 19 06:43 MegaUpdate
drwxr-xr-x 4 Sagun staff 136 Jul 1 19:13 NetBeansProjects
drwxr-xr-x 67 Sagun staff 2278 Jun 29 20:15 RoRenewal
drwxr-xr-x 3 Sagun staff 102 Apr 19 08:21 Summoner
-rw-r--r-- 1 Sagun staff 131720 Apr 18 10:22 SummonerPatch.diff
drwxr-xr-x 6 Sagun staff 204 Jul 1 19:13 Test
drwxr-xr-x 6 Sagun staff 204 Mar 3 22:09 Trinity
drwxr-xr-x 3 Sagun staff 102 Jun 30 19:01 a.out.dSYM
-rw-r--r-- 1 Sagun staff 1151 Apr 30 12:48 achpackets
-rw-r--r--@ 1 Sagun staff 934 Jun 29 19:17 clanpackets
-rw-r--r--@ 1 Sagun staff 84007 Apr 20 05:52 elemental_update
drwxr-xr-x 4 Sagun staff 136 Apr 6 17:20 npc's
drwxr-xr-x 21 Sagun staff 714 Jul 4 12:50 openxenmanager
-rw-r--r-- 1 Sagun staff 2709363 Apr 16 02:26 packetparser.zip
drwxr-xr-x 55 Sagun staff 1870 Apr 3 04:17 rathena
drwxr-xr-x 8 Sagun staff 272 Apr 11 21:20 stuff
-rw-r--r--@ 1 Sagun staff 1347 May 5 20:41 untitled text 3.txt
drwxr-xr-x 59 Sagun staff 2006 Jan 21 17:08 zeuscore
Saguns-MacBook-Pro-3:Dev Sagun$ cd Hercules
Saguns-MacBook-Pro-3:Hercules Sagun$ ls -al
total 18016
drwxr-xr-x 62 Sagun staff 2108 Jul 4 20:09 .
drwxr-xr-x 26 Sagun staff 884 Jul 4 12:48 ..
-rw-r--r--@ 1 Sagun staff 10244 Jul 4 20:09 .DS_Store
drwxr-xr-x 17 Sagun staff 578 Jul 4 20:30 .git
-rw-r--r-- 1 Sagun staff 100 Apr 21 10:11 .gitattributes
-rw-r--r-- 1 Sagun staff 1511 Jul 4 19:58 .gitignore
-rw-r--r-- 1 Sagun staff 1197 Jul 4 19:58 .travis.yml
drwxr-xr-x 10 Sagun staff 340 Jul 1 19:13 3rdparty
-rw-r--r-- 1 Sagun staff 2340 Apr 21 10:11 AUTHORS
-rw-r--r-- 1 Sagun staff 4033 Jul 4 19:58 CONTRIBUTING.md
-rw-r--r-- 1 Sagun staff 4037 Jul 4 19:58 Hercules-10.sln
-rw-r--r-- 1 Sagun staff 4214 Apr 21 10:11 Hercules-11.sln
-rw-r--r-- 1 Sagun staff 4295 Apr 21 10:11 Hercules-12.sln
-rw-r--r-- 1 Sagun staff 4265 Apr 21 10:11 Hercules-14.sln
drwxr-xr-x@ 6 Sagun staff 204 Jul 4 19:42 Hercules.xcodeproj
-rw-r--r-- 1 Sagun staff 35147 Apr 21 10:11 LICENSE
-rw-r--r-- 1 Sagun staff 6975 Apr 28 23:15 Makefile
-rw-r--r-- 1 Sagun staff 6365 Apr 21 10:11 Makefile.in
-rw-r--r-- 1 Sagun staff 9946 Jul 4 19:58 README.md
-rwxr-xr-x 1 Sagun staff 1277 Apr 21 10:11 athena-start
drwxr-xr-x 5 Sagun staff 170 Apr 21 10:29 autom4te.cache
drwxr-xr-x 4 Sagun staff 136 Apr 21 10:11 cache
-rwxr-xr-x 1 Sagun staff 598920 Apr 28 23:15 char-server
-rw-r--r-- 1 Sagun staff 52 Apr 21 10:11 char-server.bat
-rw-r--r-- 1 Sagun staff 270 Apr 21 10:11 char-server.sh
drwxr-xr-x 26 Sagun staff 884 Jul 4 19:58 conf
-rw-r--r-- 1 Sagun staff 77617 Apr 28 23:15 config.log
-rwxr-xr-x 1 Sagun staff 26568 Apr 28 23:15 config.status
-rwxr-xr-x 1 Sagun staff 286557 Jul 4 19:58 configure
-rw-r--r-- 1 Sagun staff 31349 Jul 4 19:58 configure.in
drwxr-xr-x 38 Sagun staff 1292 Jul 1 19:13 db
-rw-r--r-- 1 Sagun staff 1592 Apr 21 10:11 db2sql.bat
-rw-r--r-- 1 Sagun staff 1213200 Apr 21 10:11 dbghelp.dll
drwxr-xr-x 18 Sagun staff 612 Jul 4 19:58 doc
-rw-r--r-- 1 Sagun staff 1449984 Apr 21 10:11 libmysql.dll
drwxr-xr-x 3 Sagun staff 102 Apr 21 10:11 log
-rwxr-xr-x 1 Sagun staff 345836 Apr 28 23:15 login-server
-rw-r--r-- 1 Sagun staff 54 Apr 21 10:11 login-server.bat
-rw-r--r-- 1 Sagun staff 271 Apr 21 10:11 login-server.sh
-rw-r--r-- 1 Sagun staff 10742 Apr 21 10:11 mac.start.scpt
-rwxr-xr-x 1 Sagun staff 4639628 Jul 4 20:09 map-server
-rw-r--r-- 1 Sagun staff 50 Apr 21 10:11 map-server.bat
-rw-r--r-- 1 Sagun staff 268 Apr 21 10:11 map-server.sh
-rwxr-xr-x 1 Sagun staff 87828 Apr 28 23:15 mapcache
drwxr-xr-x 30 Sagun staff 1020 Apr 21 10:11 npc
-rw-r--r-- 1 Sagun staff 159744 Apr 21 10:11 pcre3.dll
drwxr-xr-x 13 Sagun staff 442 Apr 28 23:16 plugins
-rw-r--r-- 1 Sagun staff 286 Apr 21 10:11 run-server.bat
drwxr-xr-x 3 Sagun staff 102 Apr 21 10:11 save
-rwxr-xr-x 1 Sagun staff 1519 Apr 21 10:11 script-checker
-rw-r--r-- 1 Sagun staff 1618 Apr 21 10:11 script-checker.bat
-rw-r--r-- 1 Sagun staff 1618 Apr 21 10:11 serv.bat
drwxr-xr-x 16 Sagun staff 544 Jul 4 19:58 sql-files
drwxr-xr-x 11 Sagun staff 374 Jul 1 19:13 src
-rwxr-xr-x 1 Sagun staff 8656 Apr 21 10:11 sysinfogen.sh
drwxr-xr-x 18 Sagun staff 612 Jul 4 20:02 tools
-rwxr-xr-x 1 Sagun staff 4267 Jul 4 19:58 travis.sh
drwxr-xr-x 14 Sagun staff 476 Jul 4 19:58 vcproj-10
drwxr-xr-x 14 Sagun staff 476 Apr 21 10:11 vcproj-11
drwxr-xr-x 14 Sagun staff 476 Apr 21 10:11 vcproj-12
drwxr-xr-x 14 Sagun staff 476 Apr 21 10:11 vcproj-14
-rw-r--r-- 1 Sagun staff 81920 Apr 21 10:11 zlib1.dll
Saguns-MacBook-Pro-3:Hercules Sagun$ git rebase -i HEAD~2
Successfully rebased and updated refs/heads/SkillDBLib.
Saguns-MacBook-Pro-3:Hercules Sagun$ cd tools
Saguns-MacBook-Pro-3:tools Sagun$ ls -al
total 320
drwxr-xr-x 18 Sagun staff 612 Jul 5 00:06 .
drwxr-xr-x 61 Sagun staff 2074 Jul 4 22:25 ..
-rw-r--r--@ 1 Sagun staff 6148 Jul 1 19:13 .DS_Store
drwxr-xr-x 9 Sagun staff 306 Jul 4 22:21 HPMHookGen
-rw-r--r-- 1 Sagun staff 8138 Apr 21 10:11 Script-Checker.applescript
-rwxr-xr-x 1 Sagun staff 2013 Apr 21 10:11 check-doc
-rwxr-xr-x 1 Sagun staff 4333 Apr 21 10:11 constdbconverter.pl
-rw-r--r-- 1 Sagun staff 23080 Apr 21 10:11 item_merge.lua
-rw-r--r-- 1 Sagun staff 2412 Apr 21 10:11 itemdb_jobmask_converter.pl
-rwxr-xr-x 1 Sagun staff 7901 Apr 21 10:11 itemdbconverter.pl
-rw-r--r-- 1 Sagun staff 1261 Apr 21 10:11 mapreg-converter.php
-rwxr-xr-x 1 Sagun staff 4617 Apr 21 10:11 mob_db.pl
-rwxr-xr-x 1 Sagun staff 1069 Apr 21 10:11 mobdbconvall.sh
-rwxr-xr-x 1 Sagun staff 10688 Apr 21 10:11 mobdbconverter.py
-rwxr-xr-x 1 Sagun staff 3616 Apr 21 10:11 questdbconverter.pl
-rw-r--r-- 1 Sagun staff 47865 Jul 5 00:06 skilldbconverter.php
-rwxr-xr-x 1 Sagun staff 1379 Apr 21 10:11 stackdump
-rwxr-xr-x 1 Sagun staff 9341 Apr 21 10:11 validateinterfaces.py
Saguns-MacBook-Pro-3:tools Sagun$ php skilldbconverter.php -pre-re -c
_ _ _
| | | | | |
| |_| | ___ _ __ ___ _ _| | ___ ___
| _ |/ _ \ '__/ __| | | | |/ _ \/ __|
| | | | __/ | | (__| |_| | | __/\__ \
\_| |_/\___|_| \___|\__,_|_|\___||___/
Hercules Skill Database TXT to Libconfig Converter by Smokexyz
Copyright (C) 2016 Smokexyz/Hercules
-----------------------------------------------
Pre-Renewal enabled.
skill_db.txt and associated files (cast, nocastdex, require & unit) will be converted.
../db/pre-re/skill_require_db.txt - Found
../db/pre-re/skill_cast_db.txt - Found
../db/pre-re/skill_castnodex_db.txt - Found
../db/pre-re/skill_unit_db.txt - Found
../db/pre-re/skill_db.txt - Found
../db/pre-re/item_db.conf - Found
Using of Item Constants : enabled
Reading '../db/pre-re/skill_require_db.txt' ...
Reading '../db/pre-re/skill_cast_db.txt' ...
Reading '../db/pre-re/skill_castnodex_db.txt' ...
Reading '../db/pre-re/item_db.conf' ...
Reading '../db/pre-re/skill_unit_db.txt' ...
Reading '../db/pre-re/skill_db.txt' ...
1098 entries found in skill_db.txt.
Warning - Invalid State 0 provided for Skill ID 8037, please correct this manually.
[==================================================>] - 100% - 1098/1098
The skill database has been successfully converted to Hercules libconfig
and has been saved in '../db/pre-re/skill_db.conf'.
The following files are now deprecated and can be deleted -
../db/pre-re/skill_db.txt
../db/pre-re/skill_cast_db.txt
../db/pre-re/skill_castnodex_db.txt
../db/pre-re/skill_require_db.txt
../db/pre-re/skill_unit_db.txt
Saguns-MacBook-Pro-3:tools Sagun$ php skilldbconverter.php -pre-re -c
_ _ _
| | | | | |
| |_| | ___ _ __ ___ _ _| | ___ ___
| _ |/ _ \ '__/ __| | | | |/ _ \/ __|
| | | | __/ | | (__| |_| | | __/\__ \
\_| |_/\___|_| \___|\__,_|_|\___||___/
Hercules Skill Database TXT to Libconfig Converter by Smokexyz
Copyright (C) 2016 Smokexyz/Hercules
-----------------------------------------------
Pre-Renewal enabled.
skill_db.txt and associated files (cast, nocastdex, require & unit) will be converted.
../db/pre-re/skill_require_db.txt - Found
../db/pre-re/skill_cast_db.txt - Found
../db/pre-re/skill_castnodex_db.txt - Found
../db/pre-re/skill_unit_db.txt - Found
../db/pre-re/skill_db.txt - Found
../db/pre-re/item_db.conf - Found
Using of Item Constants : enabled
Reading '../db/pre-re/skill_require_db.txt' ...
Reading '../db/pre-re/skill_cast_db.txt' ...
Reading '../db/pre-re/skill_castnodex_db.txt' ...
Reading '../db/pre-re/item_db.conf' ...
Reading '../db/pre-re/skill_unit_db.txt' ...
Reading '../db/pre-re/skill_db.txt' ...
1098 entries found in skill_db.txt.
Warning - Invalid State 0 provided for Skill ID 8037, please correct this manually.
[==================================================>] - 100% - 1098/1098
The skill database has been successfully converted to Hercules libconfig
and has been saved in '../db/pre-re/skill_db.conf'.
The following files are now deprecated and can be deleted -
../db/pre-re/skill_db.txt
../db/pre-re/skill_cast_db.txt
../db/pre-re/skill_castnodex_db.txt
../db/pre-re/skill_require_db.txt
../db/pre-re/skill_unit_db.txt
Saguns-MacBook-Pro-3:tools Sagun$ php skilldbconverter.php -pre-re -c
_ _ _
| | | | | |
| |_| | ___ _ __ ___ _ _| | ___ ___
| _ |/ _ \ '__/ __| | | | |/ _ \/ __|
| | | | __/ | | (__| |_| | | __/\__ \
\_| |_/\___|_| \___|\__,_|_|\___||___/
Hercules Skill Database TXT to Libconfig Converter by Smokexyz
Copyright (C) 2016 Smokexyz/Hercules
-----------------------------------------------
Pre-Renewal enabled.
skill_db.txt and associated files (cast, nocastdex, require & unit) will be converted.
../db/pre-re/skill_require_db.txt - Found
../db/pre-re/skill_cast_db.txt - Found
../db/pre-re/skill_castnodex_db.txt - Found
../db/pre-re/skill_unit_db.txt - Found
../db/pre-re/skill_db.txt - Found
../db/pre-re/item_db.conf - Found
Using of Item Constants : enabled
Reading '../db/pre-re/skill_require_db.txt' ...
Reading '../db/pre-re/skill_cast_db.txt' ...
Reading '../db/pre-re/skill_castnodex_db.txt' ...
Reading '../db/pre-re/item_db.conf' ...
Reading '../db/pre-re/skill_unit_db.txt' ...
Reading '../db/pre-re/skill_db.txt' ...
1098 entries found in skill_db.txt.
Warning - Invalid State 0 provided for Skill ID 8037, please correct this manually.
[==================================================>] - 100% - 1098/1098
The skill database has been successfully converted to Hercules libconfig
and has been saved in '../db/pre-re/skill_db.conf'.
The following files are now deprecated and can be deleted -
../db/pre-re/skill_db.txt
../db/pre-re/skill_cast_db.txt
../db/pre-re/skill_castnodex_db.txt
../db/pre-re/skill_require_db.txt
../db/pre-re/skill_unit_db.txt
Saguns-MacBook-Pro-3:tools Sagun$ php skilldbconverter.php -pre-re -c
_ _ _
| | | | | |
| |_| | ___ _ __ ___ _ _| | ___ ___
| _ |/ _ \ '__/ __| | | | |/ _ \/ __|
| | | | __/ | | (__| |_| | | __/\__ \
\_| |_/\___|_| \___|\__,_|_|\___||___/
Hercules Skill Database TXT to Libconfig Converter by Smokexyz
Copyright (C) 2016 Smokexyz/Hercules
-----------------------------------------------
Pre-Renewal enabled.
skill_db.txt and associated files (cast, nocastdex, require & unit) will be converted.
../db/pre-re/skill_require_db.txt - Found
../db/pre-re/skill_cast_db.txt - Found
../db/pre-re/skill_castnodex_db.txt - Found
../db/pre-re/skill_unit_db.txt - Found
../db/pre-re/skill_db.txt - Found
../db/pre-re/item_db.conf - Found
Using of Item Constants : enabled
Reading '../db/pre-re/skill_require_db.txt' ...
Reading '../db/pre-re/skill_cast_db.txt' ...
Reading '../db/pre-re/skill_castnodex_db.txt' ...
Reading '../db/pre-re/item_db.conf' ...
Reading '../db/pre-re/skill_unit_db.txt' ...
Reading '../db/pre-re/skill_db.txt' ...
1098 entries found in skill_db.txt.
[==================================================>] - 100% - 1098/1098
The skill database has been successfully converted to Hercules libconfig
and has been saved in '../db/pre-re/skill_db.conf'.
The following files are now deprecated and can be deleted -
../db/pre-re/skill_db.txt
../db/pre-re/skill_cast_db.txt
../db/pre-re/skill_castnodex_db.txt
../db/pre-re/skill_require_db.txt
../db/pre-re/skill_unit_db.txt
Saguns-MacBook-Pro-3:tools Sagun$ cd ..
Saguns-MacBook-Pro-3:Hercules Sagun$ ls -al
total 14960
drwxr-xr-x 61 Sagun staff 2074 Jul 4 22:25 .
drwxr-xr-x 26 Sagun staff 884 Jul 4 23:57 ..
-rw-r--r--@ 1 Sagun staff 10244 Jul 5 00:00 .DS_Store
drwxr-xr-x 17 Sagun staff 578 Jul 5 00:25 .git
-rw-r--r-- 1 Sagun staff 100 Apr 21 10:11 .gitattributes
-rw-r--r-- 1 Sagun staff 1511 Jul 4 19:58 .gitignore
-rw-r--r-- 1 Sagun staff 1197 Jul 4 19:58 .travis.yml
drwxr-xr-x 10 Sagun staff 340 Jul 1 19:13 3rdparty
-rw-r--r-- 1 Sagun staff 2340 Apr 21 10:11 AUTHORS
-rw-r--r-- 1 Sagun staff 4033 Jul 4 19:58 CONTRIBUTING.md
-rw-r--r-- 1 Sagun staff 4037 Jul 4 19:58 Hercules-10.sln
-rw-r--r-- 1 Sagun staff 4214 Apr 21 10:11 Hercules-11.sln
-rw-r--r-- 1 Sagun staff 4295 Apr 21 10:11 Hercules-12.sln
-rw-r--r-- 1 Sagun staff 4265 Apr 21 10:11 Hercules-14.sln
drwxr-xr-x@ 6 Sagun staff 204 Jul 4 19:42 Hercules.xcodeproj
-rw-r--r-- 1 Sagun staff 35147 Apr 21 10:11 LICENSE
-rw-r--r-- 1 Sagun staff 6976 Jul 4 22:20 Makefile
-rw-r--r-- 1 Sagun staff 6365 Apr 21 10:11 Makefile.in
-rw-r--r-- 1 Sagun staff 9946 Jul 4 19:58 README.md
-rwxr-xr-x 1 Sagun staff 1277 Apr 21 10:11 athena-start
drwxr-xr-x 5 Sagun staff 170 Apr 21 10:29 autom4te.cache
drwxr-xr-x 4 Sagun staff 136 Apr 21 10:11 cache
-rwxr-xr-x 1 Sagun staff 598920 Jul 4 22:25 char-server
-rw-r--r-- 1 Sagun staff 52 Apr 21 10:11 char-server.bat
-rw-r--r-- 1 Sagun staff 270 Apr 21 10:11 char-server.sh
drwxr-xr-x 26 Sagun staff 884 Jul 4 19:58 conf
-rw-r--r-- 1 Sagun staff 77764 Jul 4 22:20 config.log
-rwxr-xr-x 1 Sagun staff 26603 Jul 4 22:20 config.status
-rwxr-xr-x 1 Sagun staff 286557 Jul 4 19:58 configure
-rw-r--r-- 1 Sagun staff 31349 Jul 4 19:58 configure.in
drwxr-xr-x 38 Sagun staff 1292 Jul 1 19:13 db
-rw-r--r-- 1 Sagun staff 1592 Apr 21 10:11 db2sql.bat
-rw-r--r-- 1 Sagun staff 1213200 Apr 21 10:11 dbghelp.dll
drwxr-xr-x 18 Sagun staff 612 Jul 4 19:58 doc
-rw-r--r-- 1 Sagun staff 1449984 Apr 21 10:11 libmysql.dll
drwxr-xr-x 3 Sagun staff 102 Apr 21 10:11 log
-rwxr-xr-x 1 Sagun staff 345836 Jul 4 22:25 login-server
-rw-r--r-- 1 Sagun staff 54 Apr 21 10:11 login-server.bat
-rw-r--r-- 1 Sagun staff 271 Apr 21 10:11 login-server.sh
-rw-r--r-- 1 Sagun staff 10742 Apr 21 10:11 mac.start.scpt
-rwxr-xr-x 1 Sagun staff 3165428 Jul 4 22:25 map-server
-rw-r--r-- 1 Sagun staff 50 Apr 21 10:11 map-server.bat
-rw-r--r-- 1 Sagun staff 268 Apr 21 10:11 map-server.sh
drwxr-xr-x 30 Sagun staff 1020 Apr 21 10:11 npc
-rw-r--r-- 1 Sagun staff 159744 Apr 21 10:11 pcre3.dll
drwxr-xr-x 8 Sagun staff 272 Jul 4 22:21 plugins
-rw-r--r-- 1 Sagun staff 286 Apr 21 10:11 run-server.bat
drwxr-xr-x 3 Sagun staff 102 Apr 21 10:11 save
-rwxr-xr-x 1 Sagun staff 1519 Apr 21 10:11 script-checker
-rw-r--r-- 1 Sagun staff 1618 Apr 21 10:11 script-checker.bat
-rw-r--r-- 1 Sagun staff 1618 Apr 21 10:11 serv.bat
drwxr-xr-x 16 Sagun staff 544 Jul 4 19:58 sql-files
drwxr-xr-x 11 Sagun staff 374 Jul 1 19:13 src
-rwxr-xr-x 1 Sagun staff 8656 Apr 21 10:11 sysinfogen.sh
drwxr-xr-x 18 Sagun staff 612 Jul 5 00:25 tools
-rwxr-xr-x 1 Sagun staff 4267 Jul 4 19:58 travis.sh
drwxr-xr-x 14 Sagun staff 476 Jul 4 19:58 vcproj-10
drwxr-xr-x 14 Sagun staff 476 Apr 21 10:11 vcproj-11
drwxr-xr-x 14 Sagun staff 476 Apr 21 10:11 vcproj-12
drwxr-xr-x 14 Sagun staff 476 Apr 21 10:11 vcproj-14
-rw-r--r-- 1 Sagun staff 81920 Apr 21 10:11 zlib1.dll
Saguns-MacBook-Pro-3:Hercules Sagun$ ./configure --enable-64bit --enable-sanitize=full CC=gcc-6
checking for gcc... gcc-6
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc-6 accepts -g... yes
checking for gcc-6 option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc-6 -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether make sets $(MAKE)... yes
checking for gcc... (cached) gcc-6
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc-6 accepts -g... (cached) yes
checking for gcc-6 option to accept ISO C89... (cached) none needed
checking how to run the C preprocessor... gcc-6 -E
checking for ar... /usr/bin/ar
checking whether byte ordering is bigendian... no
checking whether gcc-6 produces 32bit code... no
checking whether gcc-6 supports __thread specifier (TLS)... yes
checking whether gcc-6 accepts -rdynamic... yes
checking whether gcc-6 supports -fsanitize=address... yes
checking whether gcc-6 supports -fsanitize=shift... yes
checking whether gcc-6 supports -fsanitize=integer-divide-by-zero... yes
checking whether gcc-6 supports -fsanitize=unreachable... yes
checking whether gcc-6 supports -fsanitize=vla-bound... yes
checking whether gcc-6 supports -fsanitize=null... yes
checking whether gcc-6 supports -fsanitize=return... yes
checking whether gcc-6 supports -fsanitize=signed-integer-overflow... yes
checking whether gcc-6 supports -fsanitize=bounds... yes
checking whether gcc-6 supports -fsanitize=object-size... yes
checking whether gcc-6 supports -fsanitize=float-divide-by-zero... yes
checking whether gcc-6 supports -fsanitize=float-cast-overflow... yes
checking whether gcc-6 supports -fsanitize=nonnull-attribute... yes
checking whether gcc-6 supports -fsanitize=returns-nonnull-attribute... yes
checking whether gcc-6 supports -fsanitize=bool... yes
checking whether gcc-6 supports -fsanitize=enum... yes
checking whether gcc-6 supports -fsanitize=vptr... yes
checking whether gcc-6 supports -Wno-unused-parameter... yes
checking whether gcc-6 can actually use -Wno-unused-parameter... yes
checking whether gcc-6 supports -Wno-clobbered... yes
checking whether gcc-6 supports -Wempty-body... yes
checking whether gcc-6 supports -Wnewline-eof... no
checking whether gcc-6 supports -Wint-conversion... yes
checking whether gcc-6 supports -Winit-self... yes
checking whether gcc-6 supports -Wpointer-arith... yes
checking whether gcc-6 supports -Wswitch-bool... yes
checking whether gcc-6 supports -Wenum-conversion... no
checking whether gcc-6 supports -Wshorten-64-to-32... no
checking whether gcc-6 supports -Wconstant-conversion... no
checking whether gcc-6 supports -Wbool-conversion... no
checking whether gcc-6 supports -Wformat-security... yes
checking whether gcc-6 supports -Wformat... yes
checking whether gcc-6 supports -Wformat-signedness... yes
checking whether gcc-6 supports -Wformat-y2k... yes
checking whether gcc-6 supports -Wmissing-include-dirs... no
checking whether gcc-6 supports -Wsuggest-attribute=noreturn... yes
checking whether gcc-6 supports -Wundef... yes
checking whether gcc-6 supports -Wlogical-op... yes
checking whether gcc-6 supports -Wnested-externs... yes
checking whether gcc-6 supports -Wold-style-definition... yes
checking whether gcc-6 supports -Woverlength-strings... yes
checking whether gcc-6 supports -Wredundant-decls... yes
checking whether gcc-6 supports -Wcast-qual... yes
checking whether gcc-6 supports -Wno-format-nonliteral... yes
checking whether gcc-6 supports -Wno-switch... yes
checking whether gcc-6 supports -Wno-missing-field-initializers... yes
checking whether gcc-6 supports -Wshadow... yes
checking whether gcc-6 can efficiently use -Wshadow... yes
checking whether gcc-6 supports -fPIC... yes
checking how to make shared objects... -shared yes
checking whether gcc-6 needs -Wl,--no-undefined to check for undefined references in shared objects... no
checking whether gcc-6 supports -fno-strict-aliasing... yes
checking for setrlimit... yes
checking for strnlen... yes
checking for uselocale... yes
checking for newlocale... yes
checking for freelocale... yes
checking xlocale.h usability... yes
checking xlocale.h presence... yes
checking for xlocale.h... yes
checking host OS... Darwin
checking for MinGW... no
checking for library containing inflateEnd... -lz
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for library containing sqrt... none required
checking for library containing clock_gettime... no
checking for library containing pthread_create... none required
checking for library containing pthread_sigmask... none required
checking for library containing pthread_attr_init... none required
checking for library containing pthread_attr_setstacksize... none required
checking for library containing pthread_attr_destroy... none required
checking for library containing pthread_cancel... none required
checking for library containing pthread_join... none required
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking for library containing backtrace... none required
checking for mysql_config... /usr/local/bin/mysql_config
checking for mysql_init... yes
checking mysql.h usability... yes
checking mysql.h presence... yes
checking for mysql.h... yes
checking MySQL library (required)... yes (10.1.13)
checking PCRE library... checking pcre.h usability... yes
checking pcre.h presence... yes
checking for pcre.h... yes
checking for library containing pcre_study... -lpcre
checking for doxygen... yes
checking for perl... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/common/Makefile
config.status: creating 3rdparty/mt19937ar/Makefile
config.status: creating 3rdparty/libconfig/Makefile
config.status: creating src/char/Makefile
config.status: creating src/login/Makefile
config.status: creating src/map/Makefile
config.status: creating src/plugins/Makefile
config.status: creating src/tool/Makefile
config.status: creating src/test/Makefile
config.status: creating tools/HPMHookGen/Makefile
Saguns-MacBook-Pro-3:Hercules Sagun$ make sql -j 9
MAKE mt19937ar
MAKE libconfig
make[1]: Nothing to be done for `all'.
CC grammar.c
CC libconfig.c
CC scanner.c
CC scanctx.c
CC strbuf.c
building conf/import folder...
MAKE common_sql
CC sysinfo.c
AR obj_sql/common_sql.a
AR obj_all/common.a
AR obj_all/common_mini.a
MAKE map_sql
MAKE char_sql
MAKE login_sql
LD login-server
LD char-server
CC skill.c
LD map-server
Saguns-MacBook-Pro-3:Hercules Sagun$ make clean
CLEAN common (build temp files)
CLEAN common
CLEAN mt19937ar (build temp files)
CLEAN mt19937ar
CLEAN libconfig (build temp files)
CLEAN libconfig
CLEAN login (build temp files)
CLEAN login
CLEAN char (build temp files)
CLEAN char
CLEAN map (build temp files)
CLEAN map
CLEAN plugins (build temp files)
CLEAN plugins
CLEAN tool (build temp files)
CLEAN tool
CLEAN test (build temp files)
CLEAN test
CLEAN HPMHookGen
Saguns-MacBook-Pro-3:Hercules Sagun$ make sql -j 9
MAKE mt19937ar
MAKE libconfig
CC grammar.c
CC mt19937ar.c
CC libconfig.c
CC scanner.c
CC strbuf.c
CC scanctx.c
building conf/import folder...
MAKE common_sql
MKDIR obj_all
MKDIR obj_sql
CC conf.c
CC db.c
CC des.c
CC ers.c
CC HPM.c
CC grfio.c
CC mapindex.c
CC mutex.c
CC md5calc.c
CC nullpo.c
CC random.c
CC showmsg.c
CC strlib.c
CC sysinfo.c
CC thread.c
CC timer.c
CC utils.c
CC console.c
CC core.c
CC memmgr.c
CC socket.c
CC sql.c
CC console.c
CC core.c
CC memmgr.c
CC socket.c
AR obj_sql/common_sql.a
AR obj_all/common.a
AR obj_all/common_mini.a
MAKE login_sql
MAKE char_sql
MAKE map_sql
MKDIR obj_sql
MKDIR obj_sql
MKDIR obj_sql
CC ipban_sql.c
CC lclif.c
CC HPMlogin.c
CC account_sql.c
CC login.c
CC loginlog_sql.c
CC HPMchar.c
CC char.c
CC atcommand.c
CC loginif.c
CC battle.c
CC mapif.c
CC battleground.c
CC buyingstore.c
CC geoip.c
CC channel.c
CC chat.c
CC inter.c
CC chrif.c
CC int_auction.c
CC int_elemental.c
CC int_guild.c
CC clif.c
CC date.c
CC int_homun.c
clif.c: In function 'clif_ranklist_sub':
clif.c:14105:21: warning: logical 'and' of equal expressions [-Wlogical-op]
for( i = 0; i < 10 && i < MAX_FAME_LIST; i++ ) {
^~
LD login-server
CC duel.c
CC elemental.c
In file included from clif.c:63:0:
clif.c: In function 'clif_parse_bgqueue_checkstate':
../common/nullpo.h:72:23: warning: nonnull argument 'sd' compared to NULL [-Wnonnull-compare]
#define nullpo_chk(t) ( (t) != NULL ? false : (nullpo->assert_report(__FILE__, __LINE__, __func__, #t, "nullpo info"), true) )
^
../common/nullpo.h:110:11: note: in expansion of macro 'nullpo_chk'
do { if (nullpo_chk(t)) return; } while(0)
^~~~~~~~~~
clif.c:17814:2: note: in expansion of macro 'nullpo_retv'
nullpo_retv(sd);
^~~~~~~~~~~
CC guild.c
CC int_mail.c
CC int_mercenary.c
CC homunculus.c
CC HPMmap.c
CC instance.c
CC int_party.c
CC int_pet.c
CC intif.c
CC int_quest.c
CC irc-bot.c
CC int_storage.c
CC pincode.c
CC itemdb.c
CC mail.c
CC map.c
CC mapreg_sql.c
CC mercenary.c
CC mob.c
mob.c: In function 'mob_read_randommonster':
mob.c:4618:39: warning: logical 'and' of equal expressions [-Wlogical-op]
for (i = 0; i < ARRAYLENGTH(mobfile) && i < MAX_RANDOMMONSTER; i++) {
^~
CC npc.c
CC npc_chat.c
CC party.c
CC path.c
LD char-server
CC pc.c
CC pc_groups.c
CC pet.c
CC quest.c
CC script.c
CC searchstore.c
CC skill.c
CC status.c
status.c: In function 'status_calc_speed':
status.c:5581:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
else
^~~~
status.c:5652:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
speed_rate += val;
^~~~~~~~~~
status.c: In function 'status_change_start':
status.c:7499:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
else
^~~~
status.c:7509:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
if (tick == 1) return 1; //Minimal duration: Only strip without causing the SC
^~
CC storage.c
CC trade.c
CC unit.c
CC vending.c
LD map-server
Saguns-MacBook-Pro-3:Hercules Sagun$ ./map-server
[Status
]: Memory manager initialized
: log/map
-server.
leaks
Hercules Development Team presents
_ _ _
| | | | | |
| |_| | ___ _ __ ___ _ _| | ___ ___
| _ |/ _ \ '__/ __| | | | |/ _ \/ __|
| | | | __/ | | (__| |_| | | __/\__ \
\_| |_/\___|_| \___|\__,_|_|\___||___/
http://herc.ws/board/
[Info]: Hercules 64-bit for Mac OS X
[Info]: Git revision (src): '8c155749d19c9a34fc1e1c4dfcbe4dcb2b968842'
[Info]: Git revision (scripts): '8c155749d19c9a34fc1e1c4dfcbe4dcb2b968842'
[Info]: OS version: 'Mac OS X 10.11.5 15F34 [x86_64]'
[Info]: CPU: 'Intel Core i7 (2.8 GHz) [4]'
[Info]: Compiled with GCC v6.1.0
[Info]: Compile Flags: -g -O2 -pipe -ffast-math -Wall -Wextra -Wno-sign-compare -std=c99 -fsanitize=address -fsanitize=shift -fsanitize=integer-divide-by-zero -fsanitize=unreachable -fsanitize=vla-bound -fsanitize=null -fsanitize=return -fsanitize=signed-integer-overflow -fsanitize=bounds -fsanitize=object-size -fsanitize=float-divide-by-zero -fsanitize=float-cast-overflow -fsanitize=nonnull-attribute -fsanitize=returns-nonnull-attribute -fsanitize=bool -fsanitize=enum -fsanitize=vptr -Wno-unused-parameter -Wno-clobbered -Wempty-body -Wint-conversion -Winit-self -Wpointer-arith -Wswitch-bool -Wformat-security -Wformat -Wformat-signedness -Wformat-y2k -Wsuggest-attribute=noreturn -Wundef -Wlogical-op -Wnested-externs -Wold-style-definition -Woverlength-strings -Wredundant-decls -Wcast-qual -Wno-format-nonliteral -Wno-switch -Wno-missing-field-initializers -Wshadow -fno-strict-aliasing -g -DHAVE_EXECINFO -DMAXCONN=16384 -I../common -I/usr/local/include -DHAS_TLS -DHAVE_SETRLIMIT -DHAVE_STRNLEN -DDEBUG
[Info]: Timer Function Type: time of day
[Info]: Server supports up to '1024' concurrent connections.
[Warning]: Using the default user/password s1/p1 is NOT RECOMMENDED.
[Notice]: Please edit your 'login' table to create a proper inter-server user/password (gender 'S')
[Notice]: and then edit your user/password in conf/map-server.conf (or conf/import/map_conf.txt)
[Warning]: Not all IP addresses in /conf/map-server.conf configured, auto-detecting...
[Notice]: Multiple interfaces detected...
[Info]: Defaulting to 192.168.1.130 as our IP address
[Info]: Map Server IP Address : '192.168.1.130' -> '192.168.1.130'.
[Info]: Char Server IP Address : '192.168.1.130' -> '192.168.1.130'.
[Info]: Logging item transactions to table 'picklog'.
[Info]: Logging commands to table 'atcommandlog'.
[Info]: Connecting to the Map DB Server....
[Status]: connect success! (Map Server Connection)
[Info]: [SQL]: Connecting to the Log Database ragnarok At 127.0.0.1...
[Status]: [SQL]: Successfully 'connected' to Database 'ragnarok'.
[Status]: Loading maps (using db/re/map_cache.dat as map cache)...
[Info]: Successfully loaded '875' maps.
[Status]: Done reading '62' command aliases in 'conf/atcommand.conf'.
[Status]: Done reading '4' channels in 'conf/channels.conf'.
[Status]: Done reading '10001' entries in 're/item_db.conf'.
[Status]: Done reading '0' entries in 'item_db2.conf'.
[Status]: Done reading '411' entries in 'item_combo_db'.
[Status]: Done reading '57' entries in 'db/re/item_group.conf'.
[Status]: Done reading '4' entries in 'db/re/item_chain.conf'.
[Status]: Done reading '270' entries in 'db/re/item_packages.conf'.
[Status]: Done reading '16' entries in 'db/cashshop_db.conf'.
[Error]: skill_validate_skilldb: Invalid Max Level 20 specified for skill Id 354 in 'db/re/skill_db.conf', skipping...
[Error]: skill_read_skilldb: Invalid entry '' in setting 'State' for Skill Id 8037 in 'db/re/skill_db.conf', skipping...
[Status]: Done reading '1101' entries in 'db/re/skill_db.conf'.
[Status]: Done reading '264' entries in 'db/produce_db.txt'.
[Status]: Done reading '136' entries in 'db/create_arrow_db.txt'.
[Status]: Done reading '205' entries in 'db/abra_db.txt'.
[Status]: Done reading '17' entries in 'db/spellbook_db.txt'.
[Status]: Done reading '23' entries in 'db/magicmushroom_db.txt'.
[Status]: Done reading '133' entries in 'db/skill_reproduce_db.txt'.
[Status]: Done reading '16' entries in 'db/skill_improvise_db.txt'.
[Status]: Done reading '74' entries in 'db/skill_changematerial_db.txt'.
[Status]: Done reading '14' zones in 'db/re/map_zone_db.conf'.
[Status]: Done reading '0' entries in 'db/mob_item_ratio.txt'.
[Status]: Done reading '40' entries in 'mob_chat_db.txt'.
[Status]: Done reading '1681' entries in 're/mob_db.conf'.
[Status]: Done reading '0' entries in 'mob_db2.conf'.
[Status]: Done reading '9784' entries in 'db/re/mob_skill_db.txt'.
[Status]: Done reading '0' entries in 'db/mob_skill_db2.txt'.
[Status]: Done reading '0' entries in 'db/mob_avail.txt'.
[Status]: Done reading '480' entries in 're/mob_branch.txt'.
[Status]: Done reading '14' entries in 're/mob_poring.txt'.
[Status]: Done reading '47' entries in 're/mob_boss.txt'.
[Status]: Done reading '331' entries in 'mob_pouch.txt'.
[Status]: Done reading '25' entries in 'mob_classchange.txt'.
[Status]: Done reading '8' entries in 'db/re/mob_race2_db.txt'.
[Status]: Done reading '17' entries in 'db
/re
/exp.
txt'.
[Status]: Done reading '35' entries in 'db/re/level_penalty.txt'.
[Status]: Done reading '4' entries in 'db/re/attr_fix.txt'.
[Status]: Done reading '175' entries in 'db/re/statpoint.txt'.
[Status]: Done reading '7' groups in 'conf/groups.conf'.
[Status]: Done reading '133' entries in 'db/job_db2.txt'.
[Status]: Done reading '3' entries in 'db/re/size_fix.txt'.
[Status]: Done reading '5' entries in 're/refine_db.conf'.
[Status]: Done reading '388' entries in 'db/sc_config.txt'.
[Status]: Done reading '115' entries in 'db/re/job_db.conf'.
[Status]: Done reading '34' entries in 'db/castle_db.txt'.
[Status]: Done reading '15' entries in 'db/guild_skill_tree.txt'.
[Status]: Done reading '63' pets in 're/pet_db.txt'.
[Status]: Done reading '0' pets in 'pet_db2.txt'.
[Status]: Done reading '13' entries in 'db/re/homunculus_db.txt'.
[Status]: Done reading '150' levels in 're/exp_homun.txt'.
[Status]: Done reading '82' entries in 'db/homun_skill_tree.txt'.
[Status]: Done reading '61' entries in 'db/mercenary_db.txt'.
[Status]: Done reading '157' entries in 'db/mercenary_skill_db.txt'.
[Status]: Done reading '12' elementals in 'db/elemental_db.txt'.
[Status]: Done reading '36' entries in 'db/elemental_skill_db.txt'.
[Status]: Done reading '3027' entries in 'quest_db.conf'.
[Info]: Done loading '16136' NPCs:
-'3468' Warps
-'2' Shops
-'12666' Scripts
-'3355' Spawn sets
-'48573' Mobs Cached
-'0' Mobs Not Cached
[Status]: Event 'OnInit' executed with '2154' NPCs.
[Info]: Hercules, Copyright (C) 2012-2015, Hercules Dev Team and others.
[Info]: Licensed under the GNU General Public License, version 3 or later.
[Status]: Server is 'ready' and listening on port '5121'.
[Status]: Attempting to connect to Char Server. Please wait.
[Status]: Connecting to 192.168.1.130:6121
[Error]: make_connection: connect failed (socket #6, error 61: Connection refused)!
^C[Status]: Terminating...
[Status]: Cleaned up 875 maps.
[Status]: Close Map DB Connection....
[Status]: Close Log DB Connection....
[Status]: Finished.
[Info]: Memory manager: No memory leaks found.
Saguns-MacBook-Pro-3:Hercules Sagun$ make clean
CLEAN common (build temp files)
CLEAN common
CLEAN mt19937ar (build temp files)
CLEAN mt19937ar
CLEAN libconfig (build temp files)
CLEAN libconfig
CLEAN login (build temp files)
CLEAN login
CLEAN char (build temp files)
CLEAN char
CLEAN map (build temp files)
CLEAN map
CLEAN plugins (build temp files)
CLEAN plugins
CLEAN tool (build temp files)
CLEAN tool
CLEAN test (build temp files)
CLEAN test
CLEAN HPMHookGen
Saguns-MacBook-Pro-3:Hercules Sagun$ ./configure --enable-Werror --enable-64bit --enable-sanitize=full CC=gcc-6 --disable-manager --enable-debug
checking for gcc... gcc-6
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc-6 accepts -g... yes
checking for gcc-6 option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc-6 -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether make sets $(MAKE)... yes
checking for gcc... (cached) gcc-6
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc-6 accepts -g... (cached) yes
checking for gcc-6 option to accept ISO C89... (cached) none needed
checking how to run the C preprocessor... gcc-6 -E
checking for ar... /usr/bin/ar
checking whether byte ordering is bigendian... no
checking whether gcc-6 produces 32bit code... no
checking whether gcc-6 supports __thread specifier (TLS)... yes
checking whether gcc-6 accepts -rdynamic... yes
checking whether gcc-6 supports -fsanitize=address... yes
checking whether gcc-6 supports -fsanitize=shift... yes
checking whether gcc-6 supports -fsanitize=integer-divide-by-zero... yes
checking whether gcc-6 supports -fsanitize=unreachable... yes
checking whether gcc-6 supports -fsanitize=vla-bound... yes
checking whether gcc-6 supports -fsanitize=null... yes
checking whether gcc-6 supports -fsanitize=return... yes
checking whether gcc-6 supports -fsanitize=signed-integer-overflow... yes
checking whether gcc-6 supports -fsanitize=bounds... yes
checking whether gcc-6 supports -fsanitize=object-size... yes
checking whether gcc-6 supports -fsanitize=float-divide-by-zero... yes
checking whether gcc-6 supports -fsanitize=float-cast-overflow... yes
checking whether gcc-6 supports -fsanitize=nonnull-attribute... yes
checking whether gcc-6 supports -fsanitize=returns-nonnull-attribute... yes
checking whether gcc-6 supports -fsanitize=bool... yes
checking whether gcc-6 supports -fsanitize=enum... yes
checking whether gcc-6 supports -fsanitize=vptr... yes
checking whether gcc-6 supports -Wno-unused-parameter... yes
checking whether gcc-6 can actually use -Wno-unused-parameter... yes
checking whether gcc-6 supports -Wno-clobbered... yes
checking whether gcc-6 supports -Wempty-body... yes
checking whether gcc-6 supports -Wnewline-eof... no
checking whether gcc-6 supports -Wint-conversion... yes
checking whether gcc-6 supports -Winit-self... yes
checking whether gcc-6 supports -Wpointer-arith... yes
checking whether gcc-6 supports -Wswitch-bool... yes
checking whether gcc-6 supports -Wenum-conversion... no
checking whether gcc-6 supports -Wshorten-64-to-32... no
checking whether gcc-6 supports -Wconstant-conversion... no
checking whether gcc-6 supports -Wbool-conversion... no
checking whether gcc-6 supports -Wformat-security... yes
checking whether gcc-6 supports -Wformat... yes
checking whether gcc-6 supports -Wformat-signedness... yes
checking whether gcc-6 supports -Wformat-y2k... yes
checking whether gcc-6 supports -Wmissing-include-dirs... no
checking whether gcc-6 supports -Wsuggest-attribute=noreturn... yes
checking whether gcc-6 supports -Wundef... yes
checking whether gcc-6 supports -Wlogical-op... yes
checking whether gcc-6 supports -Wnested-externs... yes
checking whether gcc-6 supports -Wold-style-definition... yes
checking whether gcc-6 supports -Woverlength-strings... yes
checking whether gcc-6 supports -Wredundant-decls... yes
checking whether gcc-6 supports -Wcast-qual... yes
checking whether gcc-6 supports -Wno-format-nonliteral... yes
checking whether gcc-6 supports -Wno-switch... yes
checking whether gcc-6 supports -Wno-missing-field-initializers... yes
checking whether gcc-6 supports -Wshadow... yes
checking whether gcc-6 can efficiently use -Wshadow... yes
checking whether gcc-6 supports -fPIC... yes
checking how to make shared objects... -shared yes
checking whether gcc-6 needs -Wl,--no-undefined to check for undefined references in shared objects... no
checking whether gcc-6 supports -fno-strict-aliasing... yes
checking for setrlimit... yes
checking for strnlen... yes
checking for uselocale... yes
checking for newlocale... yes
checking for freelocale... yes
checking xlocale.h usability... yes
checking xlocale.h presence... yes
checking for xlocale.h... yes
checking host OS... Darwin
checking for MinGW... no
checking for library containing inflateEnd... -lz
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for library containing sqrt... none required
checking for library containing clock_gettime... no
checking for library containing pthread_create... none required
checking for library containing pthread_sigmask... none required
checking for library containing pthread_attr_init... none required
checking for library containing pthread_attr_setstacksize... none required
checking for library containing pthread_attr_destroy... none required
checking for library containing pthread_cancel... none required
checking for library containing pthread_join... none required
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking for library containing backtrace... none required
checking for mysql_config... /usr/local/bin/mysql_config
checking for mysql_init... yes
checking mysql.h usability... yes
checking mysql.h presence... yes
checking for mysql.h... yes
checking MySQL library (required)... yes (10.1.13)
checking PCRE library... checking pcre.h usability... yes
checking pcre.h presence... yes
checking for pcre.h... yes
checking for library containing pcre_study... -lpcre
checking whether gcc-6 supports -Werror... yes
checking for doxygen... yes
checking for perl... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/common/Makefile
config.status: creating 3rdparty/mt19937ar/Makefile
config.status: creating 3rdparty/libconfig/Makefile
config.status: creating src/char/Makefile
config.status: creating src/login/Makefile
config.status: creating src/map/Makefile
config.status: creating src/plugins/Makefile
config.status: creating src/tool/Makefile
config.status: creating src/test/Makefile
config.status: creating tools/HPMHookGen/Makefile
Saguns-MacBook-Pro-3:Hercules Sagun$ make sql -j 9
MAKE mt19937ar
MAKE libconfig
CC mt19937ar.c
CC libconfig.c
CC scanctx.c
CC grammar.c
CC scanner.c
CC strbuf.c
building conf/import folder...
MAKE common_sql
MKDIR obj_all
MKDIR obj_sql
CC conf.c
CC HPM.c
CC db.c
CC des.c
CC ers.c
CC grfio.c
CC md5calc.c
CC mapindex.c
CC mutex.c
CC nullpo.c
CC random.c
CC showmsg.c
CC strlib.c
CC sysinfo.c
CC thread.c
CC timer.c
CC utils.c
CC console.c
CC core.c
CC memmgr.c
CC socket.c
CC sql.c
CC console.c
CC core.c
CC memmgr.c
CC socket.c
AR obj_sql/common_sql.a
AR obj_all/common.a
AR obj_all/common_mini.a
MAKE login_sql
MAKE char_sql
MAKE map_sql
MKDIR obj_sql
MKDIR obj_sql
MKDIR obj_sql
CC account_sql.c
CC HPMlogin.c
CC login.c
CC lclif.c
CC ipban_sql.c
CC loginlog_sql.c
CC char.c
CC HPMchar.c
CC atcommand.c
CC loginif.c
CC battle.c
CC battleground.c
CC mapif.c
CC buyingstore.c
CC geoip.c
CC channel.c
CC chat.c
CC inter.c
CC chrif.c
CC int_auction.c
CC int_elemental.c
CC int_guild.c
CC clif.c
CC date.c
CC int_homun.c
clif.c: In function 'clif_ranklist_sub':
clif.c:14105:21: error: logical 'and' of equal expressions [-Werror=logical-op]
for( i = 0; i < 10 && i < MAX_FAME_LIST; i++ ) {
^~
LD login-server
CC duel.c
CC elemental.c
In file included from clif.c:63:0:
clif.c: In function 'clif_parse_bgqueue_checkstate':
../common/nullpo.h:72:23: error: nonnull argument 'sd' compared to NULL [-Werror=nonnull-compare]
#define nullpo_chk(t) ( (t) != NULL ? false : (nullpo->assert_report(__FILE__, __LINE__, __func__, #t, "nullpo info"), true) )
^
../common/nullpo.h:110:11: note: in expansion of macro 'nullpo_chk'
do { if (nullpo_chk(t)) return; } while(0)
^~~~~~~~~~
clif.c:17814:2: note: in expansion of macro 'nullpo_retv'
nullpo_retv(sd);
^~~~~~~~~~~
CC int_mail.c
CC guild.c
CC homunculus.c
CC int_mercenary.c
CC HPMmap.c
CC instance.c
CC int_party.c
CC int_pet.c
CC intif.c
CC int_quest.c
CC irc-bot.c
CC int_storage.c
CC pincode.c
CC itemdb.c
CC log.c
CC mail.c
CC map.c
CC mapreg_sql.c
CC mercenary.c
CC mob.c
mob.c: In function 'mob_read_randommonster':
mob.c:4618:39: error: logical 'and' of equal expressions [-Werror=logical-op]
for (i = 0; i < ARRAYLENGTH(mobfile) && i < MAX_RANDOMMONSTER; i++) {
^~
CC npc.c
CC npc_chat.c
CC party.c
CC path.c
LD char-server
CC pc.c
CC pc_groups.c
CC pet.c
CC quest.c
CC script.c
CC searchstore.c
CC skill.c
CC status.c
status.c: In function 'status_calc_speed':
status.c:5581:4: error: this 'else' clause does not guard... [-Werror=misleading-indentation]
else
^~~~
status.c:5652:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
speed_rate += val;
^~~~~~~~~~
status.c: In function 'status_change_start':
status.c:7499:4: error: this 'else' clause does not guard... [-Werror=misleading-indentation]
else
^~~~
status.c:7509:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
if (tick == 1) return 1; //Minimal duration: Only strip without causing the SC
^~
cc1: all warnings being treated as errors
make[1]: *** [obj_sql/mob.o] Error 1
make[1]: *** Waiting for unfinished jobs....
cc1: all warnings being treated as errors
make[1]: *** [obj_sql/status.o] Error 1
cc1: all warnings being treated as errors
make[1]: *** [obj_sql/clif.o] Error 1
make: *** [map_sql] Error 2
Saguns-MacBook-Pro-3:Hercules Sagun$ ./configure --enable-64bit --enable-sanitize=full CC=gcc-6 --disable-manager --enable-debug
checking for gcc... gcc-6
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc-6 accepts -g... yes
checking for gcc-6 option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc-6 -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether make sets $(MAKE)... yes
checking for gcc... (cached) gcc-6
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc-6 accepts -g... (cached) yes
checking for gcc-6 option to accept ISO C89... (cached) none needed
checking how to run the C preprocessor... gcc-6 -E
checking for ar... /usr/bin/ar
checking whether byte ordering is bigendian... no
checking whether gcc-6 produces 32bit code... no
checking whether gcc-6 supports __thread specifier (TLS)... yes
checking whether gcc-6 accepts -rdynamic... yes
checking whether gcc-6 supports -fsanitize=address... yes
checking whether gcc-6 supports -fsanitize=shift... yes
checking whether gcc-6 supports -fsanitize=integer-divide-by-zero... yes
checking whether gcc-6 supports -fsanitize=unreachable... yes
checking whether gcc-6 supports -fsanitize=vla-bound... yes
checking whether gcc-6 supports -fsanitize=null... yes
checking whether gcc-6 supports -fsanitize=return... yes
checking whether gcc-6 supports -fsanitize=signed-integer-overflow... yes
checking whether gcc-6 supports -fsanitize=bounds... yes
checking whether gcc-6 supports -fsanitize=object-size... yes
checking whether gcc-6 supports -fsanitize=float-divide-by-zero... yes
checking whether gcc-6 supports -fsanitize=float-cast-overflow... yes
checking whether gcc-6 supports -fsanitize=nonnull-attribute... yes
checking whether gcc-6 supports -fsanitize=returns-nonnull-attribute... yes
checking whether gcc-6 supports -fsanitize=bool... yes
checking whether gcc-6 supports -fsanitize=enum... yes
checking whether gcc-6 supports -fsanitize=vptr... yes
checking whether gcc-6 supports -Wno-unused-parameter... yes
checking whether gcc-6 can actually use -Wno-unused-parameter... yes
checking whether gcc-6 supports -Wno-clobbered... yes
checking whether gcc-6 supports -Wempty-body... yes
checking whether gcc-6 supports -Wnewline-eof... no
checking whether gcc-6 supports -Wint-conversion... yes
checking whether gcc-6 supports -Winit-self... yes
checking whether gcc-6 supports -Wpointer-arith... yes
checking whether gcc-6 supports -Wswitch-bool... yes
checking whether gcc-6 supports -Wenum-conversion... no
checking whether gcc-6 supports -Wshorten-64-to-32... no
checking whether gcc-6 supports -Wconstant-conversion... no
checking whether gcc-6 supports -Wbool-conversion... no
checking whether gcc-6 supports -Wformat-security... yes
checking whether gcc-6 supports -Wformat... yes
checking whether gcc-6 supports -Wformat-signedness... yes
checking whether gcc-6 supports -Wformat-y2k... yes
checking whether gcc-6 supports -Wmissing-include-dirs... no
checking whether gcc-6 supports -Wsuggest-attribute=noreturn... yes
checking whether gcc-6 supports -Wundef... yes
checking whether gcc-6 supports -Wlogical-op... yes
checking whether gcc-6 supports -Wnested-externs... yes
checking whether gcc-6 supports -Wold-style-definition... yes
checking whether gcc-6 supports -Woverlength-strings... yes
checking whether gcc-6 supports -Wredundant-decls... yes
checking whether gcc-6 supports -Wcast-qual... yes
checking whether gcc-6 supports -Wno-format-nonliteral... yes
checking whether gcc-6 supports -Wno-switch... yes
checking whether gcc-6 supports -Wno-missing-field-initializers... yes
checking whether gcc-6 supports -Wshadow... yes
checking whether gcc-6 can efficiently use -Wshadow... yes
checking whether gcc-6 supports -fPIC... yes
checking how to make shared objects... -shared yes
checking whether gcc-6 needs -Wl,--no-undefined to check for undefined references in shared objects... no
checking whether gcc-6 supports -fno-strict-aliasing... yes
checking for setrlimit... yes
checking for strnlen... yes
checking for uselocale... yes
checking for newlocale... yes
checking for freelocale... yes
checking xlocale.h usability... yes
checking xlocale.h presence... yes
checking for xlocale.h... yes
checking host OS... Darwin
checking for MinGW... no
checking for library containing inflateEnd... -lz
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for library containing sqrt... none required
checking for library containing clock_gettime... no
checking for library containing pthread_create... none required
checking for library containing pthread_sigmask... none required
checking for library containing pthread_attr_init... none required
checking for library containing pthread_attr_setstacksize... none required
checking for library containing pthread_attr_destroy... none required
checking for library containing pthread_cancel... none required
checking for library containing pthread_join... none required
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking for library containing backtrace... none required
checking for mysql_config... /usr/local/bin/mysql_config
checking for mysql_init... yes
checking mysql.h usability... yes
checking mysql.h presence... yes
checking for mysql.h... yes
checking MySQL library (required)... yes (10.1.13)
checking PCRE library... checking pcre.h usability... yes
checking pcre.h presence... yes
checking for pcre.h... yes
checking for library containing pcre_study... -lpcre
checking for doxygen... yes
checking for perl... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/common/Makefile
config.status: creating 3rdparty/mt19937ar/Makefile
config.status: creating 3rdparty/libconfig/Makefile
config.status: creating src/char/Makefile
config.status: creating src/login/Makefile
config.status: creating src/map/Makefile
config.status: creating src/plugins/Makefile
config.status: creating src/tool/Makefile
config.status: creating src/test/Makefile
config.status: creating tools/HPMHookGen/Makefile
Saguns-MacBook-Pro-3:Hercules Sagun$ make sql -j 9
MAKE mt19937ar
MAKE libconfig
make[1]: Nothing to be done for `all'.
CC libconfig.c
CC grammar.c
CC scanctx.c
CC scanner.c
building conf/import folder...
CC strbuf.c
MAKE common_sql
CC sysinfo.c
AR obj_sql/common_sql.a
AR obj_all/common_mini.a
AR obj_all/common.a
MAKE login_sql
MAKE char_sql
MAKE map_sql
LD login-server
CC clif.c
LD char-server
CC mob.c
CC status.c
CC storage.c
CC trade.c
CC unit.c
CC vending.c
mob.c: In function 'mob_read_randommonster':
mob.c:4618:39: warning: logical 'and' of equal expressions [-Wlogical-op]
for (i = 0; i < ARRAYLENGTH(mobfile) && i < MAX_RANDOMMONSTER; i++) {
^~
status.c: In function 'status_calc_speed':
status.c:5581:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
else
^~~~
status.c:5652:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
speed_rate += val;
^~~~~~~~~~
clif.c: In function 'clif_ranklist_sub':
clif.c:14105:21: warning: logical 'and' of equal expressions [-Wlogical-op]
for( i = 0; i < 10 && i < MAX_FAME_LIST; i++ ) {
^~
status.c: In function 'status_change_start':
status.c:7499:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
else
^~~~
status.c:7509:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
if (tick == 1) return 1; //Minimal duration: Only strip without causing the SC
^~
In file included from clif.c:63:0:
clif.c: In function 'clif_parse_bgqueue_checkstate':
../common/nullpo.h:72:23: warning: nonnull argument 'sd' compared to NULL [-Wnonnull-compare]
#define nullpo_chk(t) ( (t) != NULL ? false : (nullpo->assert_report(__FILE__, __LINE__, __func__, #t, "nullpo info"), true) )
^
../common/nullpo.h:110:11: note: in expansion of macro 'nullpo_chk'
do { if (nullpo_chk(t)) return; } while(0)
^~~~~~~~~~
clif.c:17814:2: note: in expansion of macro 'nullpo_retv'
nullpo_retv(sd);
^~~~~~~~~~~
LD map-server
Saguns-MacBook-Pro-3:Hercules Sagun$ ./map-server
Hercules Development Team presents
_ _ _
| | | | | |
| |_| | ___ _ __ ___ _ _| | ___ ___
| _ |/ _ \ '__/ __| | | | |/ _ \/ __|
| | | | __/ | | (__| |_| | | __/\__ \
\_| |_/\___|_| \___|\__,_|_|\___||___/
http://herc.ws/board/
[Info]: Hercules 64-bit for Mac OS X
[Info]: Git revision (src): '8c155749d19c9a34fc1e1c4dfcbe4dcb2b968842'
[Info]: Git revision (scripts): '8c155749d19c9a34fc1e1c4dfcbe4dcb2b968842'
[Info]: OS version: 'Mac OS X 10.11.5 15F34 [x86_64]'
[Info]: CPU: 'Intel Core i7 (2.8 GHz) [4]'
[Info]: Compiled with GCC v6.1.0
[Info]: Compile Flags: -g -O2 -pipe -ffast-math -Wall -Wextra -Wno-sign-compare -std=c99 -fsanitize=address -fsanitize=shift -fsanitize=integer-divide-by-zero -fsanitize=unreachable -fsanitize=vla-bound -fsanitize=null -fsanitize=return -fsanitize=signed-integer-overflow -fsanitize=bounds -fsanitize=object-size -fsanitize=float-divide-by-zero -fsanitize=float-cast-overflow -fsanitize=nonnull-attribute -fsanitize=returns-nonnull-attribute -fsanitize=bool -fsanitize=enum -fsanitize=vptr -Wno-unused-parameter -Wno-clobbered -Wempty-body -Wint-conversion -Winit-self -Wpointer-arith -Wswitch-bool -Wformat-security -Wformat -Wformat-signedness -Wformat-y2k -Wsuggest-attribute=noreturn -Wundef -Wlogical-op -Wnested-externs -Wold-style-definition -Woverlength-strings -Wredundant-decls -Wcast-qual -Wno-format-nonliteral -Wno-switch -Wno-missing-field-initializers -Wshadow -fno-strict-aliasing -g -DHAVE_EXECINFO -DMAXCONN=16384 -I../common -I/usr/local/include -DHAS_TLS -DHAVE_SETRLIMIT -DHAVE_STRNLEN -DNO_MEMMGR -DDEBUG
[Info]: Timer Function Type: time of day
[Info]: Server supports up to '1024' concurrent connections.
[Warning]: Using the default user/password s1/p1 is NOT RECOMMENDED.
[Notice]: Please edit your 'login' table to create a proper inter-server user/password (gender 'S')
[Notice]: and then edit your user/password in conf/map-server.conf (or conf/import/map_conf.txt)
[Warning]: Not all IP addresses in /conf/map-server.conf configured, auto-detecting...
[Notice]: Multiple interfaces detected...
[Info]: Defaulting to 192.168.1.130 as our IP address
[Info]: Map Server IP Address : '192.168.1.130' -> '192.168.1.130'.
[Info]: Char Server IP Address : '192.168.1.130' -> '192.168.1.130'.
[Info]: Logging item transactions to table 'picklog'.
[Info]: Logging commands to table 'atcommandlog'.
[Info]: Connecting to the Map DB Server....
[Status]: connect success! (Map Server Connection)
[Info]: [SQL]: Connecting to the Log Database ragnarok At 127.0.0.1...
[Status]: [SQL]: Successfully 'connected' to Database 'ragnarok'.
[Status]: Loading maps (using db/re/map_cache.dat as map cache)...
[Info]: Successfully loaded '875' maps.
[Status]: Done reading '62' command aliases in 'conf/atcommand.conf'.
[Status]: Done reading '4' channels in 'conf/channels.conf'.
[Status]: Done reading '10001' entries in 're/item_db.conf'.
[Status]: Done reading '0' entries in 'item_db2.conf'.
[Status]: Done reading '411' entries in 'item_combo_db'.
[Status]: Done reading '57' entries in 'db/re/item_group.conf'.
[Status]: Done reading '4' entries in 'db/re/item_chain.conf'.
[Status]: Done reading '270' entries in 'db/re/item_packages.conf'.
[Status]: Done reading '16' entries in 'db/cashshop_db.conf'.
[Error]: skill_validate_skilldb: Invalid Max Level 20 specified for skill Id 354 in 'db/re/skill_db.conf', skipping...
[Error]: skill_read_skilldb: Invalid entry '' in setting 'State' for Skill Id 8037 in 'db/re/skill_db.conf', skipping...
[Status]: Done reading '1101' entries in 'db/re/skill_db.conf'.
[Status]: Done reading '264' entries in 'db/produce_db.txt'.
[Status]: Done reading '136' entries in 'db/create_arrow_db.txt'.
[Status]: Done reading '205' entries in 'db/abra_db.txt'.
[Status]: Done reading '17' entries in 'db/spellbook_db.txt'.
[Status]: Done reading '23' entries in 'db/magicmushroom_db.txt'.
[Status]: Done reading '133' entries in 'db/skill_reproduce_db.txt'.
[Status]: Done reading '16' entries in 'db/skill_improvise_db.txt'.
[Status]: Done reading '74' entries in 'db/skill_changematerial_db.txt'.
[Status]: Done reading '14' zones in 'db/re/map_zone_db.conf'.
[Status]: Done reading '0' entries in 'db/mob_item_ratio.txt'.
[Status]: Done reading '40' entries in 'mob_chat_db.txt'.
[Status]: Done reading '1681' entries in 're/mob_db.conf'.
[Status]: Done reading '0' entries in 'mob_db2.conf'.
[Status]: Done reading '9784' entries in 'db/re/mob_skill_db.txt'.
[Status]: Done reading '0' entries in 'db/mob_skill_db2.txt'.
[Status]: Done reading '0' entries in 'db/mob_avail.txt'.
[Status]: Done reading '480' entries in 're/mob_branch.txt'.
[Status]: Done reading '14' entries in 're/mob_poring.txt'.
[Status]: Done reading '47' entries in 're/mob_boss.txt'.
[Status]: Done reading '331' entries in 'mob_pouch.txt'.
[Status]: Done reading '25' entries in 'mob_classchange.txt'.
[Status]: Done reading '8' entries in 'db/re/mob_race2_db.txt'.
[Status]: Done reading '17' entries in 'db
/re
/exp.
txt'.
[Status]: Done reading '35' entries in 'db/re/level_penalty.txt'.
[Status]: Done reading '4' entries in 'db/re/attr_fix.txt'.
[Status]: Done reading '175' entries in 'db/re/statpoint.txt'.
[Status]: Done reading '7' groups in 'conf/groups.conf'.
[Status]: Done reading '133' entries in 'db/job_db2.txt'.
[Status]: Done reading '3' entries in 'db/re/size_fix.txt'.
[Status]: Done reading '5' entries in 're/refine_db.conf'.
[Status]: Done reading '388' entries in 'db/sc_config.txt'.
[Status]: Done reading '115' entries in 'db/re/job_db.conf'.
[Status]: Done reading '34' entries in 'db/castle_db.txt'.
[Status]: Done reading '15' entries in 'db/guild_skill_tree.txt'.
[Status]: Done reading '63' pets in 're/pet_db.txt'.
[Status]: Done reading '0' pets in 'pet_db2.txt'.
[Status]: Done reading '13' entries in 'db/re/homunculus_db.txt'.
[Status]: Done reading '150' levels in 're/exp_homun.txt'.
[Status]: Done reading '82' entries in 'db/homun_skill_tree.txt'.
[Status]: Done reading '61' entries in 'db/mercenary_db.txt'.
[Status]: Done reading '157' entries in 'db/mercenary_skill_db.txt'.
[Status]: Done reading '12' elementals in 'db/elemental_db.txt'.
[Status]: Done reading '36' entries in 'db/elemental_skill_db.txt'.
[Status]: Done reading '3027' entries in 'quest_db.conf'.
[Info]: Done loading '16136' NPCs:
-'3468' Warps
-'2' Shops
-'12666' Scripts
-'3355' Spawn sets
-'48573' Mobs Cached
-'0' Mobs Not Cached
[Status]: Event 'OnInit' executed with '2154' NPCs.
[Info]: Hercules, Copyright (C) 2012-2015, Hercules Dev Team and others.
[Info]: Licensed under the GNU General Public License, version 3 or later.
[Status]: Server is 'ready' and listening on port '5121'.
[Status]: Attempting to connect to Char Server. Please wait.
[Status]: Connecting to 192.168.1.130:6121
[Error]: make_connection: connect failed (socket #6, error 61: Connection refused)!
^C[Status]: Terminating...
[Status]: Cleaned up 875 maps.
[Status]: Close Map DB Connection....
[Status]: Close Log DB Connection....
[Status]: Finished.
Saguns-MacBook-Pro-3:Hercules Sagun$ ./map-server
Hercules Development Team presents
_ _ _
| | | | | |
| |_| | ___ _ __ ___ _ _| | ___ ___
| _ |/ _ \ '__/ __| | | | |/ _ \/ __|
| | | | __/ | | (__| |_| | | __/\__ \
\_| |_/\___|_| \___|\__,_|_|\___||___/
http://herc.ws/board/
[Info]: Hercules 64-bit for Mac OS X
[Info]: Git revision (src): '8c155749d19c9a34fc1e1c4dfcbe4dcb2b968842'
[Info]: Git revision (scripts): '8c155749d19c9a34fc1e1c4dfcbe4dcb2b968842'
[Info]: OS version: 'Mac OS X 10.11.5 15F34 [x86_64]'
[Info]: CPU: 'Intel Core i7 (2.8 GHz) [4]'
[Info]: Compiled with GCC v6.1.0
[Info]: Compile Flags: -g -O2 -pipe -ffast-math -Wall -Wextra -Wno-sign-compare -std=c99 -fsanitize=address -fsanitize=shift -fsanitize=integer-divide-by-zero -fsanitize=unreachable -fsanitize=vla-bound -fsanitize=null -fsanitize=return -fsanitize=signed-integer-overflow -fsanitize=bounds -fsanitize=object-size -fsanitize=float-divide-by-zero -fsanitize=float-cast-overflow -fsanitize=nonnull-attribute -fsanitize=returns-nonnull-attribute -fsanitize=bool -fsanitize=enum -fsanitize=vptr -Wno-unused-parameter -Wno-clobbered -Wempty-body -Wint-conversion -Winit-self -Wpointer-arith -Wswitch-bool -Wformat-security -Wformat -Wformat-signedness -Wformat-y2k -Wsuggest-attribute=noreturn -Wundef -Wlogical-op -Wnested-externs -Wold-style-definition -Woverlength-strings -Wredundant-decls -Wcast-qual -Wno-format-nonliteral -Wno-switch -Wno-missing-field-initializers -Wshadow -fno-strict-aliasing -g -DHAVE_EXECINFO -DMAXCONN=16384 -I../common -I/usr/local/include -DHAS_TLS -DHAVE_SETRLIMIT -DHAVE_STRNLEN -DNO_MEMMGR -DDEBUG
[Info
]: Timer Function Type
: time of day
[Info]: Server supports up to '1024' concurrent connections.
[Warning]: Using the default user/password s1/p1 is NOT RECOMMENDED.
[Notice]: Please edit your 'login' table to create a proper inter-server user/password (gender 'S')
[Notice]: and then edit your user/password in conf/map-server.conf (or conf/import/map_conf.txt)
[Warning]: Not all IP addresses in /conf/map-server.conf configured, auto-detecting...
[Notice]: Multiple interfaces detected...
[Info]: Defaulting to 192.168.1.130 as our IP address
[Info]: Map Server IP Address : '192.168.1.130' -> '192.168.1.130'.
[Info]: Char Server IP Address : '192.168.1.130' -> '192.168.1.130'.
[Info]: Logging item transactions to table 'picklog'.
[Info]: Logging commands to table 'atcommandlog'.
[Info]: Connecting to the Map DB Server....
[Status]: connect success! (Map Server Connection)
[Info]: [SQL]: Connecting to the Log Database ragnarok At 127.0.0.1...
[Status]: [SQL]: Successfully 'connected' to Database 'ragnarok'.
[Status]: Loading maps (using db/re/map_cache.dat as map cache)...
[Info]: Successfully loaded '875' maps.
[Status]: Done reading '62' command aliases in 'conf/atcommand.conf'.
[Status]: Done reading '4' channels in 'conf/channels.conf'.
[Status]: Done reading '10001' entries in 're/item_db.conf'.
[Status]: Done reading '0' entries in 'item_db2.conf'.
[Status]: Done reading '411' entries in 'item_combo_db'.
[Status]: Done reading '57' entries in 'db/re/item_group.conf'.
[Status]: Done reading '4' entries in 'db/re/item_chain.conf'.
[Status]: Done reading '270' entries in 'db/re/item_packages.conf' (C).
[Status]: Done reading '16' entries in 'db/cashshop_db.conf'.
[Error]: skill_validate_skilldb: Invalid Max Level 20 specified for skill Id 354 in 'db/re/skill_db.conf', skipping...
[Error]: skill_read_skilldb: Invalid entry '' in setting 'State' for Skill Id 8037 in 'db/re/skill_db.conf', skipping...
[Status]: Done reading '1101' entries in 'db/re/skill_db.conf'.
[Status]: Done reading '264' entries in 'db/produce_db.txt'.
[Status]: Done reading '136' entries in 'db/create_arrow_db.txt'.
[Status]: Done reading '205' entries in 'db/abra_db.txt'.
[Status]: Done reading '17' entries in 'db/spellbook_db.txt'.
[Status]: Done reading '23' entries in 'db/magicmushroom_db.txt'.
[Status]: Done reading '133' entries in 'db/skill_reproduce_db.txt'.
[Status]: Done reading '16' entries in 'db/skill_improvise_db.txt'.
[Status]: Done reading '74' entries in 'db/skill_changematerial_db.txt'.
[Status]: Done reading '14' zones in 'db/re/map_zone_db.conf'.
[Status]: Done reading '0' entries in 'db/mob_item_ratio.txt'.
[Status]: Done reading '40' entries in 'mob_chat_db.txt'.
[Status]: Done reading '1681' entries in 're/mob_db.conf'.
[Status]: Done reading '0' entries in 'mob_db2.conf'.
[Status]: Done reading '9784' entries in 'db/re/mob_skill_db.txt'.
[Status]: Done reading '0' entries in 'db/mob_skill_db2.txt'.
[Status]: Done reading '0' entries in 'db/mob_avail.txt'.
[Status]: Done reading '480' entries in 're/mob_branch.txt'.
[Status]: Done reading '14' entries in 're/mob_poring.txt'.
[Status]: Done reading '47' entries in 're/mob_boss.txt'.
[Status]: Done reading '331' entries in 'mob_pouch.txt'.
[Status]: Done reading '25' entries in 'mob_classchange.txt'.
[Status]: Done reading '8' entries in 'db/re/mob_race2_db.txt'.
[Status]: Done reading '17' entries in 'db/re/exp.txt'.
[Status]: Done reading '35' entries in 'db/re/level_penalty.txt'.
[Status]: Done reading '4' entries in 'db/re/attr_fix.txt'.
[Status]: Done reading '175' entries in 'db/re/statpoint.txt'.
[Status]: Done reading '7' groups in 'conf/groups.conf'.
[Status]: Done reading '133' entries in 'db/job_db2.txt'.
[Status]: Done reading '3' entries in 'db/re/size_fix.txt'.
[Status]: Done reading '5' entries in 're/refine_db.conf'.
[Status]: Done reading '388' entries in 'db/sc_config.txt'.
[Status]: Done reading '115' entries in 'db/re/job_db.conf'.
[Status]: Done reading '34' entries in 'db/castle_db.txt'.
[Status]: Done reading '15' entries in 'db/guild_skill_tree.txt'.
[Status]: Done reading '63' pets in 're/pet_db.txt'.
[Status]: Done reading '0' pets in 'pet_db2.txt'.
[Status]: Done reading '13' entries in 'db/re/homunculus_db.txt'.
[Status]: Done reading '150' levels in 're/exp_homun.txt'.
[Status]: Done reading '82' entries in 'db/homun_skill_tree.txt'.
[Status]: Done reading '61' entries in 'db/mercenary_db.txt'.
[Status]: Done reading '157' entries in 'db/mercenary_skill_db.txt'.
[Status]: Done reading '12' elementals in 'db/elemental_db.txt'.
[Status]: Done reading '36' entries in 'db/elemental_skill_db.txt'.
[Status]: Done reading '3027' entries in 'quest_db.conf'.
[Info]: Done loading '16136' NPCs:
-'3468' Warps
-'2' Shops
-'12666' Scripts
-'3355' Spawn sets
-'48573' Mobs Cached
-'0' Mobs Not Cached
[Status]: Event 'OnInit' executed with '2154' NPCs.
[Info]: Hercules, Copyright (C) 2012-2015, Hercules Dev Team and others.
[Info]: Licensed under the GNU General Public License, version 3 or later.
[Status]: Server is 'ready' and listening on port '5121'.
[Status]: Attempting to connect to Char Server. Please wait.
[Status]: Connecting to 192.168.1.130:6121
[Error]: make_connection: connect failed (socket #6, error 61: Connection refused)!
[Status]: Connecting to 192.168.1.130:6121
[Error]: make_connection: connect failed (socket #6, error 61: Connection refused)!
^C[Status]: Terminating...
[Status]: Cleaned up 875 maps.
[Status]: Close Map DB Connection....
[Status]: Close Log DB Connection....
[Status]: Finished.
Saguns-MacBook-Pro-3:Hercules Sagun$ ./configure --enable-64bit --enable-sanitize=full CC=gcc-6 --disable-manager --enable-debugmake clea
Saguns-MacBook-Pro-3:Hercules Sagun$ make clean
CLEAN common (build temp files)
CLEAN common
CLEAN mt19937ar (build temp files)
CLEAN mt19937ar
CLEAN libconfig (build temp files)
CLEAN libconfig
CLEAN login (build temp files)
CLEAN login
CLEAN char (build temp files)
CLEAN char
CLEAN map (build temp files)
CLEAN map
CLEAN plugins (build temp files)
CLEAN plugins
CLEAN tool (build temp files)
CLEAN tool
CLEAN test (build temp files)
CLEAN test
CLEAN HPMHookGen
Saguns-MacBook-Pro-3:Hercules Sagun$ ./configure --enable-64bit --enable-sanitize=full CC=gcc-6 --disable-manager --enable-debug
checking for gcc... gcc-6
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc-6 accepts -g... yes
checking for gcc-6 option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc-6 -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether make sets $(MAKE)... yes
checking for gcc... (cached) gcc-6
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc-6 accepts -g... (cached) yes
checking for gcc-6 option to accept ISO C89... (cached) none needed
checking how to run the C preprocessor... gcc-6 -E
checking for ar... /usr/bin/ar
checking whether byte ordering is bigendian... no
checking whether gcc-6 produces 32bit code... no
checking whether gcc-6 supports __thread specifier (TLS)... yes
checking whether gcc-6 accepts -rdynamic... yes
checking whether gcc-6 supports -fsanitize=address... yes
checking whether gcc-6 supports -fsanitize=shift... yes
checking whether gcc-6 supports -fsanitize=integer-divide-by-zero... yes
checking whether gcc-6 supports -fsanitize=unreachable... yes
checking whether gcc-6 supports -fsanitize=vla-bound... yes
checking whether gcc-6 supports -fsanitize=null... yes
checking whether gcc-6 supports -fsanitize=return... yes
checking whether gcc-6 supports -fsanitize=signed-integer-overflow... yes
checking whether gcc-6 supports -fsanitize=bounds... yes
checking whether gcc-6 supports -fsanitize=object-size... yes
checking whether gcc-6 supports -fsanitize=float-divide-by-zero... yes
checking whether gcc-6 supports -fsanitize=float-cast-overflow... yes
checking whether gcc-6 supports -fsanitize=nonnull-attribute... yes
checking whether gcc-6 supports -fsanitize=returns-nonnull-attribute... yes
checking whether gcc-6 supports -fsanitize=bool... yes
checking whether gcc-6 supports -fsanitize=enum... yes
checking whether gcc-6 supports -fsanitize=vptr... yes
checking whether gcc-6 supports -Wno-unused-parameter... yes
checking whether gcc-6 can actually use -Wno-unused-parameter... yes
checking whether gcc-6 supports -Wno-clobbered... yes
checking whether gcc-6 supports -Wempty-body... yes
checking whether gcc-6 supports -Wnewline-eof... no
checking whether gcc-6 supports -Wint-conversion... yes
checking whether gcc-6 supports -Winit-self... yes
checking whether gcc-6 supports -Wpointer-arith... yes
checking whether gcc-6 supports -Wswitch-bool... yes
checking whether gcc-6 supports -Wenum-conversion... no
checking whether gcc-6 supports -Wshorten-64-to-32... no
checking whether gcc-6 supports -Wconstant-conversion... no
checking whether gcc-6 supports -Wbool-conversion... no
checking whether gcc-6 supports -Wformat-security... yes
checking whether gcc-6 supports -Wformat... yes
checking whether gcc-6 supports -Wformat-signedness... yes
checking whether gcc-6 supports -Wformat-y2k... yes
checking whether gcc-6 supports -Wmissing-include-dirs... no
checking whether gcc-6 supports -Wsuggest-attribute=noreturn... yes
checking whether gcc-6 supports -Wundef... yes
checking whether gcc-6 supports -Wlogical-op... yes
checking whether gcc-6 supports -Wnested-externs... yes
checking whether gcc-6 supports -Wold-style-definition... yes
checking whether gcc-6 supports -Woverlength-strings... yes
checking whether gcc-6 supports -Wredundant-decls... yes
checking whether gcc-6 supports -Wcast-qual... yes
checking whether gcc-6 supports -Wno-format-nonliteral... yes
checking whether gcc-6 supports -Wno-switch... yes
checking whether gcc-6 supports -Wno-missing-field-initializers... yes
checking whether gcc-6 supports -Wshadow... yes
checking whether gcc-6 can efficiently use -Wshadow... yes
checking whether gcc-6 supports -fPIC... yes
checking how to make shared objects... -shared yes
checking whether gcc-6 needs -Wl,--no-undefined to check for undefined references in shared objects... no
checking whether gcc-6 supports -fno-strict-aliasing... yes
checking for setrlimit... yes
checking for strnlen... yes
checking for uselocale... yes
checking for newlocale... yes
checking for freelocale... yes
checking xlocale.h usability... yes
checking xlocale.h presence... yes
checking for xlocale.h... yes
checking host OS... Darwin
checking for MinGW... no
checking for library containing inflateEnd... -lz
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking
for library containing
sqrt...
none required
checking for library containing clock_gettime... no
checking for library containing pthread_create... none required
checking for library containing pthread_sigmask... none required
checking for library containing pthread_attr_init... none required
checking for library containing pthread_attr_setstacksize... none required
checking for library containing pthread_attr_destroy... none required
checking for library containing pthread_cancel... none required
checking for library containing pthread_join... none required
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking for library containing backtrace... none required
checking for mysql_config... /usr/local/bin/mysql_config
checking for mysql_init... yes
checking mysql.h usability... yes
checking mysql.h presence... yes
checking for mysql.h... yes
checking MySQL library (required)... yes (10.1.13)
checking PCRE library... checking pcre.h usability... yes
checking pcre.h presence... yes
checking for pcre.h... yes
checking for library containing pcre_study... -lpcre
checking for doxygen... yes
checking for perl... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/common/Makefile
config.status: creating 3rdparty/mt19937ar/Makefile
config.status: creating 3rdparty/libconfig/Makefile
config.status: creating src/char/Makefile
config.status: creating src/login/Makefile
config.status: creating src/map/Makefile
config.status: creating src/plugins/Makefile
config.status: creating src/tool/Makefile
config.status: creating src/test/Makefile
config.status: creating tools/HPMHookGen/Makefile
Saguns-MacBook-Pro-3:Hercules Sagun$ make sql -j 9
MAKE mt19937ar
MAKE libconfig
CC mt19937ar.c
CC libconfig.c
CC grammar.c
CC scanctx.c
CC scanner.c
building conf/import folder...
CC strbuf.c
MAKE common_sql
MKDIR obj_all
MKDIR obj_sql
CC conf.c
CC db.c
CC des.c
CC ers.c
CC grfio.c
CC HPM.c
CC mapindex.c
CC md5calc.c
CC mutex.c
CC nullpo.c
CC random.c
CC showmsg.c
CC strlib.c
CC sysinfo.c
CC thread.c
CC timer.c
CC utils.c
CC console.c
CC core.c
CC memmgr.c
CC socket.c
CC sql.c
CC console.c
CC core.c
CC memmgr.c
CC socket.c
AR obj_sql/common_sql.a
AR obj_all/common.a
AR obj_all/common_mini.a
MAKE login_sql
MAKE char_sql
MAKE map_sql
MKDIR obj_sql
MKDIR obj_sql
MKDIR obj_sql
CC account_sql.c
CC HPMlogin.c
CC ipban_sql.c
CC lclif.c
CC login.c
CC loginlog_sql.c
CC char.c
CC HPMchar.c
CC atcommand.c
CC loginif.c
CC battle.c
CC battleground.c
CC mapif.c
CC buyingstore.c
CC geoip.c
CC channel.c
CC chat.c
CC inter.c
CC chrif.c
CC int_auction.c
CC int_elemental.c
CC int_guild.c
CC clif.c
CC date.c
CC int_homun.c
clif.c: In function 'clif_ranklist_sub':
clif.c:14105:21: warning: logical 'and' of equal expressions [-Wlogical-op]
for( i = 0; i < 10 && i < MAX_FAME_LIST; i++ ) {
^~
LD login-server
CC duel.c
CC elemental.c
In file included from clif.c:63:0:
clif.c: In function 'clif_parse_bgqueue_checkstate':
../common/nullpo.h:72:23: warning: nonnull argument 'sd' compared to NULL [-Wnonnull-compare]
#define nullpo_chk(t) ( (t) != NULL ? false : (nullpo->assert_report(__FILE__, __LINE__, __func__, #t, "nullpo info"), true) )
^
../common/nullpo.h:110:11: note: in expansion of macro 'nullpo_chk'
do { if (nullpo_chk(t)) return; } while(0)
^~~~~~~~~~
clif.c:17814:2: note: in expansion of macro 'nullpo_retv'
nullpo_retv(sd);
^~~~~~~~~~~
CC int_mail.c
CC guild.c
CC homunculus.c
CC int_mercenary.c
CC int_party.c
CC HPMmap.c
CC instance.c
CC int_pet.c
CC intif.c
CC int_quest.c
CC irc-bot.c
CC int_storage.c
CC pincode.c
CC itemdb.c
CC mail.c
CC map.c
CC mapreg_sql.c
CC mercenary.c
CC mob.c
mob.c: In function 'mob_read_randommonster':
mob.c:4618:39: warning: logical 'and' of equal expressions [-Wlogical-op]
for (i = 0; i < ARRAYLENGTH(mobfile) && i < MAX_RANDOMMONSTER; i++) {
^~
CC npc.c
CC npc_chat.c
CC party.c
CC path.c
LD char-server
CC pc.c
CC pc_groups.c
CC pet.c
CC quest.c
CC script.c
CC searchstore.c
CC skill.c
CC status.c
status.c: In function 'status_calc_speed':
status.c:5581:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
else
^~~~
status.c:5652:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
speed_rate += val;
^~~~~~~~~~
status.c: In function 'status_change_start':
status.c:7499:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
else
^~~~
status.c:7509:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
if (tick == 1) return 1; //Minimal duration: Only strip without causing the SC
^~
CC storage.c
CC trade.c
CC unit.c
CC vending.c
LD map-server
Saguns-MacBook-Pro-3:Hercules Sagun$ ./map-server
Hercules Development Team presents
_ _ _
| | | | | |
| |_| | ___ _ __ ___ _ _| | ___ ___
| _ |/ _ \ '__/ __| | | | |/ _ \/ __|
| | | | __/ | | (__| |_| | | __/\__ \
\_| |_/\___|_| \___|\__,_|_|\___||___/
http://herc.ws/board/
[Info]: Hercules 64-bit for Mac OS X
[Info]: Git revision (src): '8c155749d19c9a34fc1e1c4dfcbe4dcb2b968842'
[Info]: Git revision (scripts): '8c155749d19c9a34fc1e1c4dfcbe4dcb2b968842'
[Info]: OS version: 'Mac OS X 10.11.5 15F34 [x86_64]'
[Info]: CPU: 'Intel Core i7 (2.8 GHz) [4]'
[Info]: Compiled with GCC v6.1.0
[Info]: Compile Flags: -g -O2 -pipe -ffast-math -Wall -Wextra -Wno-sign-compare -std=c99 -fsanitize=address -fsanitize=shift -fsanitize=integer-divide-by-zero -fsanitize=unreachable -fsanitize=vla-bound -fsanitize=null -fsanitize=return -fsanitize=signed-integer-overflow -fsanitize=bounds -fsanitize=object-size -fsanitize=float-divide-by-zero -fsanitize=float-cast-overflow -fsanitize=nonnull-attribute -fsanitize=returns-nonnull-attribute -fsanitize=bool -fsanitize=enum -fsanitize=vptr -Wno-unused-parameter -Wno-clobbered -Wempty-body -Wint-conversion -Winit-self -Wpointer-arith -Wswitch-bool -Wformat-security -Wformat -Wformat-signedness -Wformat-y2k -Wsuggest-attribute=noreturn -Wundef -Wlogical-op -Wnested-externs -Wold-style-definition -Woverlength-strings -Wredundant-decls -Wcast-qual -Wno-format-nonliteral -Wno-switch -Wno-missing-field-initializers -Wshadow -fno-strict-aliasing -g -DHAVE_EXECINFO -DMAXCONN=16384 -I../common -I/usr/local/include -DHAS_TLS -DHAVE_SETRLIMIT -DHAVE_STRNLEN -DNO_MEMMGR -DDEBUG
[Info]: Timer Function Type: time of day
[Info]: Server supports up to '1024' concurrent connections.
[Warning]: Using the default user/password s1/p1 is NOT RECOMMENDED.
[Notice]: Please edit your 'login' table to create a proper inter-server user/password (gender 'S')
[Notice]: and then edit your user/password in conf/map-server.conf (or conf/import/map_conf.txt)
[Warning]: Not all IP addresses in /conf/map-server.conf configured, auto-detecting...
[Notice]: Multiple interfaces detected...
[Info]: Defaulting to 192.168.1.130 as our IP address
[Info]: Map Server IP Address : '192.168.1.130' -> '192.168.1.130'.
[Info]: Char Server IP Address : '192.168.1.130' -> '192.168.1.130'.
[Info]: Logging item transactions to table 'picklog'.
[Info]: Logging commands to table 'atcommandlog'.
[Info]: Connecting to the Map DB Server....
[Status]: connect success! (Map Server Connection)
[Info]: [SQL]: Connecting to the Log Database ragnarok At 127.0.0.1...
[Status]: [SQL]: Successfully 'connected' to Database 'ragnarok'.
[Status]: Loading maps (using db/re/map_cache.dat as map cache)...
[Info]: Successfully loaded '875' maps.
[Status]: Done reading '62' command aliases in 'conf/atcommand.conf'.
[Status]: Done reading '4' channels in 'conf/channels.conf'.
[Status]: Done reading '10001' entries in 're/item_db.conf'.
[Status]: Done reading '0' entries in 'item_db2.conf'.
[Status]: Done reading '411' entries in 'item_combo_db'.
[Status]: Done reading '57' entries in 'db/re/item_group.conf'.
[Status]: Done reading '4' entries in 'db/re/item_chain.conf'.
[Status]: Done reading '270' entries in 'db/re/item_packages.conf'.
[Status]: Done reading '16' entries in 'db/cashshop_db.conf'.
[Error]: skill_validate_skilldb: Invalid Max Level 20 specified for skill Id 354 in 'db/re/skill_db.conf', skipping...
[Error]: skill_read_skilldb: Invalid entry '' in setting 'State' for Skill Id 8037 in 'db/re/skill_db.conf', skipping...
[Status]: Done reading '1101' entries in 'db/re/skill_db.conf'.
[Status]: Done reading '264' entries in 'db/produce_db.txt'.
[Status]: Done reading '136' entries in 'db/create_arrow_db.txt'.
[Status]: Done reading '205' entries in 'db/abra_db.txt'.
[Status]: Done reading '17' entries in 'db/spellbook_db.txt'.
[Status]: Done reading '23' entries in 'db/magicmushroom_db.txt'.
[Status]: Done reading '133' entries in 'db/skill_reproduce_db.txt'.
[Status]: Done reading '16' entries in 'db/skill_improvise_db.txt'.
[Status]: Done reading '74' entries in 'db/skill_changematerial_db.txt'.
[Status]: Done reading '14' zones in 'db/re/map_zone_db.conf'.
[Status]: Done reading '0' entries in 'db/mob_item_ratio.txt'.
[Status]: Done reading '40' entries in 'mob_chat_db.txt'.
[Status]: Done reading '1681' entries in 're/mob_db.conf'.
[Status]: Done reading '0' entries in 'mob_db2.conf'.
[Status]: Done reading '9784' entries in 'db/re/mob_skill_db.txt'.
[Status]: Done reading '0' entries in 'db/mob_skill_db2.txt'.
[Status]: Done reading '0' entries in 'db/mob_avail.txt'.
[Status]: Done reading '480' entries in 're/mob_branch.txt'.
[Status]: Done reading '14' entries in 're/mob_poring.txt'.
[Status]: Done reading '47' entries in 're/mob_boss.txt'.
[Status]: Done reading '331' entries in 'mob_pouch.txt'.
[Status]: Done reading '25' entries in 'mob_classchange.txt'.
[Status]: Done reading '8' entries in 'db/re/mob_race2_db.txt'.
[Status]: Done reading '17' entries in 'db
/re
/exp.
txt'.
[Status]: Done reading '35' entries in 'db/re/level_penalty.txt'.
[Status]: Done reading '4' entries in 'db/re/attr_fix.txt'.
[Status]: Done reading '175' entries in 'db/re/statpoint.txt'.
[Status]: Done reading '7' groups in 'conf/groups.conf'.
[Status]: Done reading '133' entries in 'db/job_db2.txt'.
[Status]: Done reading '3' entries in 'db/re/size_fix.txt'.
[Status]: Done reading '5' entries in 're/refine_db.conf'.
[Status]: Done reading '388' entries in 'db/sc_config.txt'.
[Status]: Done reading '115' entries in 'db/re/job_db.conf'.
[Status]: Done reading '34' entries in 'db/castle_db.txt'.
[Status]: Done reading '15' entries in 'db/guild_skill_tree.txt'.
[Status]: Done reading '63' pets in 're/pet_db.txt'.
[Status]: Done reading '0' pets in 'pet_db2.txt'.
[Status]: Done reading '13' entries in 'db/re/homunculus_db.txt'.
[Status]: Done reading '150' levels in 're/exp_homun.txt'.
[Status]: Done reading '82' entries in 'db/homun_skill_tree.txt'.
[Status]: Done reading '61' entries in 'db/mercenary_db.txt'.
[Status]: Done reading '157' entries in 'db/mercenary_skill_db.txt'.
[Status]: Done reading '12' elementals in 'db/elemental_db.txt'.
[Status]: Done reading '36' entries in 'db/elemental_skill_db.txt'.
[Status]: Done reading '3027' entries in 'quest_db.conf'.
[Info]: Done loading '16136' NPCs:
-'3468' Warps
-'2' Shops
-'12666' Scripts
-'3355' Spawn sets
-'48573' Mobs Cached
-'0' Mobs Not Cached
[Status]: Event 'OnInit' executed with '2154' NPCs.
[Info]: Hercules, Copyright (C) 2012-2015, Hercules Dev Team and others.
[Info]: Licensed under the GNU General Public License, version 3 or later.
[Status]: Server is 'ready' and listening on port '5121'.
[Status]: Attempting to connect to Char Server. Please wait.
[Status]: Connecting to 192.168.1.130:6121
[Error]: make_connection: connect failed (socket #6, error 61: Connection refused)!
[Status]: Connecting to 192.168.1.130:6121
[Error]: make_connection: connect failed (socket #6, error 61: Connection refused)!
^C[Status]: Terminating...
[Status]: Cleaned up 875 maps.
[Status]: Close Map DB Connection....
[Status]: Close Log DB Connection....
[Status]: Finished.
Saguns-MacBook-Pro-3:Hercules Sagun$