Thread: Camp time
View Single Post
  #3  
Old 09-06-2011, 06:31 PM
Akkadius's Avatar
Akkadius
Administrator
 
Join Date: Feb 2009
Location: MN
Posts: 2,072
Default

Quote:
Originally Posted by lerxst2112 View Post
Client::Handle_OP_Camp in client_packet.cpp. I would guess the countdown is hardcoded in the client though, so I wouldn't expect it to be correct if you change the time before the server boots you.
Aye Lerxst is right about the countdown being hardcoded in the client. But you can change the timer in which the server takes to kick the client.

Located in client.cpp:

Code:
//these must be listed in the order they appear in client.h
	position_timer(250),
	hpupdate_timer(1800),
	camp_timer(29000), (milliseconds = 29 seconds)
	process_timer(100),
	stamina_timer(40000),
	zoneinpacket_timer(3000),
	linkdead_timer(RuleI(Zone,ClientLinkdeadMS)),
	dead_timer(2000),
	global_channel_timer(1000),
	shield_timer(500),
	fishing_timer(8000),
	endupkeep_timer(1000),
	forget_timer(0),
	autosave_timer(RuleI(Character, AutosaveIntervalS)*1000),
Reply With Quote