PDA

View Full Version : Camp time


Jujubeez
09-06-2011, 05:32 PM
Anyone know where I can adjust the time needed to camp? Searched but didn't see anything.

lerxst2112
09-06-2011, 06:03 PM
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.

Akkadius
09-06-2011, 06:31 PM
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:

//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),

Jujubeez
09-06-2011, 06:32 PM
Thanks for the help!