trunaround Posted January 25, 2013 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 1 Reputation: 0 Joined: 09/30/12 Last Seen: December 18, 2014 Share Posted January 25, 2013 (edited) Hi, can i ask u abot some src I have tired to change src for change cart skill in case i need lv > 90 can change to all cart (i mean new cart for lv 100+ can change with lv 90+ charactor) i have change src in clif.c like this void clif_parse_ChangeCart(int fd,struct map_session_data *sd) {// TODO: State tracking? int type; if( sd && pc_checkskill(sd, MC_CHANGECART) < 1 ) return; type = (int)RFIFOW(fd,2); if( (type == 9 && sd->status.base_level > 90) || (type == 8 && sd->status.base_level > 90) || (type == 7 && sd->status.base_level > 90) || (type == 6 && sd->status.base_level > 90) || (type == 5 && sd->status.base_level > 90) || (type == 4 && sd->status.base_level > 80) || (type == 3 && sd->status.base_level > 65) || (type == 2 && sd->status.base_level > 40) || (type == 1)) pc_setcart(sd,type); but still dont work character lv 99 only change for 5 type not 9 type do u know how to mod this or it is on cilent not src? Edited January 25, 2013 by trunaround Quote Link to comment Share on other sites More sharing options...
Question
trunaround
Hi, can i ask u abot some src
I have tired to change src for change cart skill in case i need lv > 90 can change to all cart (i mean new cart for lv 100+ can change with lv 90+ charactor)
i have change src in clif.c like this
void clif_parse_ChangeCart(int fd,struct map_session_data *sd)
{// TODO: State tracking?
int type;
if( sd && pc_checkskill(sd, MC_CHANGECART) < 1 )
return;
type = (int)RFIFOW(fd,2);
if( (type == 9 && sd->status.base_level > 90) ||
(type == 8 && sd->status.base_level > 90) ||
(type == 7 && sd->status.base_level > 90) ||
(type == 6 && sd->status.base_level > 90) ||
(type == 5 && sd->status.base_level > 90) ||
(type == 4 && sd->status.base_level > 80) ||
(type == 3 && sd->status.base_level > 65) ||
(type == 2 && sd->status.base_level > 40) ||
(type == 1))
pc_setcart(sd,type);
but still dont work character lv 99 only change for 5 type not 9 type
do u know how to mod this or it is on cilent not src?
Edited by trunaroundLink to comment
Share on other sites
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.