Jump to content
  • 0

Source Parameters


Ajjwidjdneidjenw

Question


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  161
  • Reputation:   31
  • Joined:  12/06/11
  • Last Seen:  

Good day,

I was wondering where I could find the location(What file, where they were defined) of specific parameters such as, SD, TSD, BL ect. Though I figured out a few of them I still have some issues with particular ones(such as tsd).

Cheers!

Link to comment
Share on other sites

7 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  737
  • Reputation:   216
  • Joined:  11/29/11
  • Last Seen:  

All those you listed are local variable but just to keep it clear :

sd = map session data = a player

tsd = target map sesssion data = usually another player

bl = blocklist = a 2 way chainlist = list of objects. (object can be player,mob,skill,homon...)

For most of them you can just right click and use search declaration. THen you'll found the other who are declared in the same spot.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  161
  • Reputation:   31
  • Joined:  12/06/11
  • Last Seen:  

*slaps side of face* Ah! Thanks a lot, and I didn't know about the search declaration, I'll check it out once I get home. Thanks a lot for your response, its appreciated!

Edit:

I have found the feature, however it always returns the same error symbol 'X' is not defined.

Edited by garet999
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  737
  • Reputation:   216
  • Joined:  11/29/11
  • Last Seen:  

Hmm I don't understand the context of this error garet, may you be more explicite with pics, code or some examples ?

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  161
  • Reputation:   31
  • Joined:  12/06/11
  • Last Seen:  

Ah, sorry I figured it out though; had to run the solution instead of the file. I just don't know how you got the information such as "SD = map session data", but the information you gave me earlier actually lead me to an other source of information(Information guide D:), Thanks.

Edited by garet999
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  737
  • Reputation:   216
  • Joined:  11/29/11
  • Last Seen:  

Ah well more from experience I guess but you can trace it and sd is really a struct map session data or TBL_PC wich is the same (his typedef).

You can take a small look at http://rathena.org/doxygen/main.html for more info but it's hard to follow du to low documentation on code. (it's need comment on some attribute to know what they're for)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  161
  • Reputation:   31
  • Joined:  12/06/11
  • Last Seen:  

Regardless, that page is extremely helpfull, thanks a million!

Edited by garet999
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  513
  • Reputation:   83
  • Joined:  08/11/12
  • Last Seen:  

@.@ i did snoop around but i nvr really came across that documentation so i ended up figuring out the code manually /facepalm. Thanks Lighta!

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