Jump to content
  • 0

The difference between Sc-> and Sd->


Soulworld

Question


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   0
  • Joined:  12/07/12
  • Last Seen:  

well its pretty much a doubt I have by looking at source coding... I'm not exactly the best at C++ but I do have some knowledge and well I'm just not exactly sure what this things do..

for example

sc->data[sC_CURSE]

Im not sure if I have ever seen something like sd->data[CURSE]

and I do understand that is refering to the status effect curse and its trying to compare or well... in most cases I have read it... now ... damn I just cant explain myself xD

someone knows the difference between the sc-> and sd-> that could explain a little X _ X?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  754
  • Reputation:   186
  • Joined:  05/22/12
  • Last Seen:  

Well to start off.. 'sc' is the usual variable used in the source to store status change data(status, how many seconds, some variables to determine how strong the effect is), while 'sd' is the usual variable used to store player data(name,coordinates, level, almost all character information of that session).

note that these are just names and they can be named according to the developer's preference.

i.e. sd and target_sd have the same structure but the data stored are usually different(not always the case)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   0
  • Joined:  12/07/12
  • Last Seen:  

mmm I had a raw Idea but I needed to be sure of what I'm messing with xD, thanks a lot for your response :D, I think I'm a little better at source modifications right now and... it feeels like magic XD... you can pretty much Shape RO in any way you wish :P

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