Jump to content

Recommended Posts

Posted (edited)

Soul Link Modification - Script-based


Information

This source allows you to "script" additional bonuses on soul link buffs like an item script.
See db/soul_link.yml for example.

Q: Why this and not OnPCStatCalcEvent?
A: PCStatCalc is known to be buggy.

Alternate diff link: https://github.com/secretdataz/rathena/commit/6b91c4d18cc537e25a64f371ee3faf468b9dcc99.diff

THIS RELEASE IS SUBJECT TO GPLv3 LICENSE

Copyright © - Secrets <[email protected]> 2018 - All Rights Reserved

Take a look at my premade script list if you like my works or want one of my premade scripts. or

kofi2.png


 

Edited by Secrets
  • Upvote 1
  • Love 2
  • MVP 2
Posted (edited)

Nice released @Secrets will this override the old soul link bonuses or its an additional bonus.?

while compiling my files, warning in that part.

status.cpp:14748:44: warning: ISO C++ forbids converting a string constant to char*’ [-Wwrite-strings]
  status_read_soullink_db("db/soul_link.yml");

Im using Ubuntu.

Edited by Radian
Posted
6 hours ago, Radian said:

Nice released @Secrets will this override the old soul link bonuses or its an additional bonus.?

while compiling my files, warning in that part.


status.cpp:14748:44: warning: ISO C++ forbids converting a string constant to char*’ [-Wwrite-strings]
  status_read_soullink_db("db/soul_link.yml");

Im using Ubuntu.

This will add, not override the old bonuses.

Posted

@Secrets

There's a warning when, I use reloadstatus command
 

[Warning]: status_read_soullink_db: Expected a constant with SL_ prefix, got Header.
[Info]: status_read_soullink_db: Done reading 15 custom soul links.

 

  • 2 weeks later...
Posted

Is it possible to add soul links for ninja and gunslingers using this? (of course they'll be buffed using an item since Ninja/Gunslinger Spirit skills are not available)

ex:

SL_NINJA: |
    {
        bonus bStr,1;
    }

 

  • 4 months later...
Posted
3 hours ago, iamkevin said:

@Secrets how to remove this warning in my server? tjanks

Try In status.cpp

find:

void status_read_soullink_db(char* file_name) {

change to:

void status_read_soullink_db(const char* file_name) {

 

  • Upvote 2
Posted
3 hours ago, Haikenz said:

Try In status.cpp

find:


void status_read_soullink_db(char* file_name) {

change to:


void status_read_soullink_db(const char* file_name) {

 

thanks sir, i was able to removed the warning sign with your help but i got this warning:
 

[Warning]: status_read_soullink_db: Expected a constant with SL_ prefix, got Header.
[Info]: status_read_soullink_db: Done reading 15 custom soul links.
 

  • 4 weeks later...
Posted
On 9/20/2018 at 10:13 AM, dantemustdie said:

hi,

 

tried and it doesnt work on my latest downloaded rathena file?

what else i am missing no error on recompile

did you patch it to your server?

  • 3 months later...
  • 4 months later...
Posted

I dont get what was the meaning of those directories.. I was doing manual source update.. how to embed these source scripts?

On 6/15/2019 at 9:27 PM, DrKraken said:

follow the instruction. but there's a error in the code 

got it working now

On 6/16/2019 at 9:55 PM, DrKraken said:

how? can you teach me?

just follow the instructions

On 6/17/2019 at 3:18 PM, DrKraken said:

can you help me to solve the problem?

what error you got?

  • 3 months later...
Posted

i try this and got no error while re compiling

 

but when i'm trying to put the effect and use the Soul link skill on character

 

id does not apply the bonuses

  • 4 weeks later...
Posted

@secrets how to remove bonuses when you die and revive at the same place, the bonus effects retain unless you get buff with another status.

solved. solution lies in status.cpp and pc.cpp

  • 3 weeks later...
Posted

[Warning]: status_read_soullink_db: Expected a constant with SL_ prefix, got Header.
[Info]: status_read_soullink_db: Done reading 15 custom soul links.

 

Anyone manage to get rid of this warning? it's giving me Memory leaks.

  • 4 weeks later...
Posted

To get rid of the warning, just comment the header in db/soul_link.yml

#Header: # Metadata for future use
#  Type: MOD_SECRET_SOUL_LINK
#  Version: 1

 

  • Love 1
  • Like 1
  • 1 month later...
  • 3 weeks later...
  • 2 weeks later...

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...