-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Clif_refresh_ip
Akkarinage edited this page Nov 5, 2016
·
1 revision
uint32
clif_refresh_ip
(void);
- N/A
Refreshes map_server ip, returns the new ip if the ip changed, otherwise it returns 0.
void chrif_update_ip(int fd)
{
uint32 new_ip;
WFIFOHEAD(fd,6);
new_ip = host2ip(char_ip_str);
if (new_ip && new_ip != char_ip)
char_ip = new_ip; //Update char_ip
new_ip
=
clif_refresh_ip();
if (!new_ip) return; //No change
WFIFOW(fd,0) = 0x2736;
WFIFOL(fd,2) = htonl(new_ip);
WFIFOSET(fd,6);
}
From
- Installation instructions
- Connecting & Starting rAthena
- Scripting like a pro!
- Server Modifications and what to expect
- Database Configuration
- Adding Custom Items
- Adding Custom Monsters
- GRF Encryption
- Data folder
- Diff files