Jump to content
Dia

New carts, Favorite item tab, EFST_SIT

Recommended Posts

I made some changes but I am currently too lazy to seperate them.

This includes

  • New status ids
  • New cart support
  • Favorite item tab in inventory
  • Status icon for sitting

http://www.aegisdev....a/20120213.diff

You also need to add a new column to inventory, cart and storage table.

ALTER TABLE `inventory`  ADD COLUMN `favorite` TINYINT UNSIGNED NOT NULL DEFAULT '0' AFTER `expire_time`;
ALTER TABLE `cart_inventory`  ADD COLUMN `favorite` TINYINT UNSIGNED NOT NULL DEFAULT '0' AFTER `expire_time`;
ALTER TABLE `storage`  ADD COLUMN `favorite` TINYINT UNSIGNED NOT NULL DEFAULT '0' AFTER `expire_time`;

For Cart Support you need 2012-02-07bRagexeRE client.

For Sitting Icon you need 2011-02-23bRagexeRE client.

For Favorite Tab you need 2011-11-22aRagexeRE client.

Edited by scriptor
  • Upvote 5
Link to comment
Share on other sites

Well i guess, the 'STATUS ICON' for sitting has a 'BUG' when hitting the character while 'SITTING' the Icon is still in there.

supposed to be, it would be gone.

How to fix this one? anyone could help me?

Preview:

post-686-0-73211000-1327752838_thumb.png

Regards,

Melody :3

Link to comment
Share on other sites

Move clif_status_load_notick(...SC_SIT...) to pc_setsit/pc_setstand, so it's invoked every time PC is forced to stand/sit, not only if requested by player.

Link to comment
Share on other sites

#define pc_setsit(sd)		 ( (sd)->state.dead_sit = (sd)->vd.dead_sit = 2 )
to
#define pc_setsit(sd)		 ( (sd)->state.dead_sit = (sd)->vd.dead_sit = 2, clif_status_load_notick(&sd->bl,SI_SIT,2,1,0,0) )


and


void pc_setstand(struct map_session_data *sd){
nullpo_retv(sd);

status_change_end(&sd->bl, SC_TENSIONRELAX, INVALID_TIMER);
clif_status_load_notick(&sd->bl,SI_SIT,0,0,0,0);

//Reset sitting tick.
sd->ssregen.tick.hp = sd->ssregen.tick.sp = 0;
sd->state.dead_sit = sd->vd.dead_sit = 0;
}

Edited by scriptor
Link to comment
Share on other sites

so i just wanna ask if i apply all this patch. and my client is just 2011 - 03 - 05. Will it work.

I mean for the meantime i just wanna use the sit icon. And the rest feature will be on my client update.

Edited by brianj070707
Link to comment
Share on other sites

after applying this patch (to the latest rA svn), i got this issue where if there exists items on the floor within my screen, my cursor will change into the hand (pick up) icon even if my cursor is nowhere near the item(s). hence, when i click any area on the screen at all while items are on the floor, it will go pick something up.

is anyone experiencing this also? or did i mess up while diffing? i dont have any other mods and my carts/favorite tab/efst_sit all work fine.

p.s. im using 2012-02-07bRagexeRE

Edited by sizenine
Link to comment
Share on other sites

i noticed that your cart will disappear from other users' screen if they refresh/respawn. but if you use change cart skill, then it will show again.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.