Jump to content
  • 0

2012-03-28 Cart Issue


Mystery

Question


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

There seems to be a problem with renting a cart with this client.. Renting falcons and Pecos work 100% but when it comes to renting a Cart, you can't see it.

Basically, I went to a Kafra, rented a cart and I looked at my char and didn't see a a Cart. When I do alt w, I dont get my inventory either. When I go back to the Kafra to rent another cart, she says I have one already when I don't. I did alt+q too and there's no Off button either.

Using SVN rAthena 15994

Link to comment
Share on other sites

13 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  2244
  • Reputation:   182
  • Joined:  11/19/11
  • Last Seen:  

Did you apply the sc cart patch

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

Im guessing it might be this.. http://www.mediafire.com/?lujf7nbv7bic6oa

Even with it, I get an error in my clif.. undefined reference to `clif_statuschange_single'

if( tsd->sc.count && tsd->sc.data[sC_ON_PUSH_CART] )

clif_statuschange_single(&sd->bl,&tsd->bl,SI_ON_PUSH_CART,1,9999,9,0,0);

//This diff support one cart style only, change the style here. By default 9.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  2244
  • Reputation:   182
  • Joined:  11/19/11
  • Last Seen:  

_ after status, it was a typo

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

Alright thanks!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   0
  • Joined:  02/18/12
  • Last Seen:  

So it was a typo :) I was banging my head for a couple of hours there...

I've applied the patch and corrected this error also but I am having issues with compiling like this also

trunksrcmapstatus.c(7821): warning C4002: too many actual parameters for macro 'pc_isriding'

The compiling succeeded but in game, I cannot remove carts. Any solution on this?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  2244
  • Reputation:   182
  • Joined:  11/19/11
  • Last Seen:  

you're using rAthena right? Not any other svn

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   0
  • Joined:  02/18/12
  • Last Seen:  

yes i am using rAthena only

Edited by Quicksilver
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  04/01/12
  • Last Seen:  

Hello, I am use rathena svn r15996 and I have a few problems with this cart patch.

I had to comment out the code below to get the patch to work but when doing so, I can not take off cart and can not change cart look. Any help would be greatful! Thanks in advance.

  if( tsd->sc.count && tsd->sc.data[sC_ON_PUSH_CART] )
   clif_statuschange_single(&sd->bl,&tsd->bl,SI_ON_PUSH_CART,1,9999,9,0,0);

also this

 case SC_ON_PUSH_CART:
  if ( sc->data[sC_ON_PUSH_CART] )
  {
   status_change_end(bl, SC_ON_PUSH_CART, -1);
   return 0;
  }
  //if (pc_isriding(sd,OPTION_RIDING|OPTION_RIDING_DRAGON|OPTION_MADOGEAR|OPTION_RIDING_WUG|))
  // return 0;

These are the errors I would get if I did not comment them out:

status.c:7816:92: error: macro "pc_isriding" passed 2 arguments, but takes just 1
status.c: In function ?status_change_start?:
status.c:7816: error: ?pc_isriding? undeclared (first use in this function)
status.c:7816: error: (Each undeclared identifier is reported only once
status.c:7816: error: for each function it appears in.)

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

erm.....i am using this diff too..

but i have several problems...

when my char die....the cart is removed, and i have to talk to npc again to take the cart.

and

if Player A taken the Cart, and at the same time Player B was there,...Player B will be able to view the Cart

but...

if Player B is then move to another Map, then come back, and he didnt saw the Cart for Player A...

do you know which part of code dealing with this ?

sorry i cant figure out which part of the code to update the info / view of the Cart ?

beside...

sometime character login ..... server will crash..randomly ?

my9Bs.png

i not really how to detect which part caused this...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  280
  • Topics Per Day:  0.06
  • Content Count:  841
  • Reputation:   17
  • Joined:  04/16/12
  • Last Seen:  

1>d:\rathena\src\map\status.c(7981) : warning C4002: too many actual parameters for macro 'pc_isriding'

1>d:\rathena\src\map\clif.c(4057) : warning C4013: 'clif_status_change_single' undefined; assuming extern returning int

@judas. I have an error about this :( using 2012-04-10

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  2244
  • Reputation:   182
  • Joined:  11/19/11
  • Last Seen:  

support for carts is a little down the road, I'm having Ind helping me implement them into rAthena. This should cut down a lot of the problems people been having.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  299
  • Reputation:   5
  • Joined:  04/05/12
  • Last Seen:  

^ is this already worked?

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
Answer this question...

×   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...