Jump to content

Skyzone

Members
  • Posts

    115
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by Skyzone

  1. Orange Flux Themes


    Hello RAthena,
    Here some 2nd design by @Mihael this is Bootstrap Override Flux Themes.

    Experiment your First Bootstrap Flux Override Themes.

    Flux Integrated Themes.
    Some of New rA Devs msg me to share the themes in Flux Integrated, Here you go I hope you like it.

    Thank you very much rAthena Developers.

    Installation:
    Step 1: upload the Addon/Themes  Folder on your flux.
    Step 2: open the applocation.php that located on your  config Folder
    Step 3: find  'ThemeName'            => array('default', 'bootstrap'),  and add the purple themes it is look like bellow 
    +  'ThemeName'            => array('orange_themes',  'default', 'bootstrap'), 


    NOTE: 
    - this is 100% free release. do not sell.
    - please do not remove Credit so skyzone will release more free flux design.
    - Support on this themes are not included sorry but my service support is not free. I hope you understand.
    - Green Themes by Mihael will be next upload.
    - Give us a Like on and Leave a comment about it so I can read your thoughts if you have suggestion we can adopt it
    🙂


     


     

  2. On 5/19/2021 at 1:44 AM, Snaehild said:

    @Skyzone

    Is it possible to disable the preloader?

    just check on header.php

    On 4/30/2021 at 5:51 PM, jawbreaker said:

    control panel dropdown  is auto hiding when click on mobile view. how to fix that?

    I think this is Design Base. not totaly 100% Working we will release more free but not here in our own Collection as Free. this kind of bug view it is in the coding so it is up to you how you Edit the bootstrap version is latest so you can copy some information on bootstrap websites

    On 4/23/2021 at 2:58 AM, clashlucifer said:

    Cool and simple theme.

    Can you advise me to fix the problem of not displaying properly?

    hello this will be your URL Connection make sure all is defind on the URL check it on config/application.php remove your https or http on your website

  3. Purple Flux Themes


    Experiment your First Bootstrap Flux.
    Design by @Mihael 

    Flux Integrated Themes.
    Some of New rA Devs msg me to share the themes in Flux Integrated, Here you go I hope you like it.

    Thank you very much rAthena Developers.

    Installation:
    Step 1: upload the Addon  Folder on your flux name skyzone.zip make sure it is extracted.
    Step 2: upload the themes on your themes name is purple_themes.
    Step 3: open the applocation.php that located on your  config Folder
    Step 4: find  'ThemeName'            => array('default', 'bootstrap'),  and add the purple themes it is look like bellow 
    +  'ThemeName'            => array('purple_themes',  'default', 'bootstrap'), 


    NOTE:
    - do not remove the default to override all pages on the default flux.
    - this is 100% free release. do not sell.
    - Orange Themes by Mihael will be next upload.


     

    • Upvote 1
    • Like 2
  4. diff --git a/db/soul_link.yml b/db/soul_link.yml
    ---
     db/soul_link.yml             | 74 ++++++++++++++++++++++++++++++++++++
     src/map/script.cpp           |  1 +
     src/map/script_constants.hpp | 17 +++++++++
     src/map/status.cpp           | 50 ++++++++++++++++++++++++
     4 files changed, 142 insertions(+)
     create mode 100644 db/soul_link.yml
    
    diff --git a/db/soul_link.yml b/db/soul_link.yml
    new file mode 100644
    index 000000000..bdcf72cb0
    --- /dev/null
    +++ b/db/soul_link.yml
    @@ -0,0 +1,74 @@
    +# Custom soul link buffs.
    +# Author: Secret <Secret@rathena.org>
    +#
    +# Format
    +# <SL_ constant>: <YAML string literal with a pair of enclosing bracket for the script>
    +#
    +# You can code the script just like an item script.
    +#
    +# Use ONLY spaces to indent.
    +# DONT USE TABS
    +
    +# Header: # Metadata for future use
    +#    Version: 1
    +#    Type: MOD_SECRET_SOUL_LINK
    +SL_ALCHEMIST: |
    +    {
    +        bonus bStr,1;
    +    }
    +SL_MONK: |
    +    {
    +        bonus bStr,1;
    +    }
    +SL_STAR: |
    +    {
    +        bonus bStr,1;
    +    }
    +SL_SAGE: |
    +    {
    +        bonus bStr,1;
    +    }
    +SL_CRUSADER: |
    +    {
    +        bonus bStr,1;
    +    }
    +SL_SUPERNOVICE: |
    +    {
    +        bonus bStr,1;
    +    }
    +SL_KNIGHT: |
    +    {
    +        bonus bStr,1;
    +    }
    +SL_WIZARD: |
    +    {
    +        bonus bStr,1;
    +    }
    +SL_PRIEST: |
    +    {
    +        bonus bStr,1;
    +    }
    +SL_BARDDANCER: |
    +    {
    +        bonus bStr,1;
    +    }
    +SL_ROGUE: |
    +    {
    +        bonus bStr,1;
    +    }
    +SL_ASSASIN: |
    +    {
    +        bonus bStr,1;
    +    }
    +SL_BLACKSMITH: |
    +    {
    +        bonus bStr,1;
    +    }
    +SL_HUNTER: |
    +    {
    +        bonus bStr,1;
    +    }
    +SL_SOULLINKER: |
    +    {
    +        bonus bStr,1;
    +    }
    +  SL_GUNNER: |
    +    {
    +        bonus bMaxHPrate,50; bonus2 bSkillAtk,"GS_DESPERADO",30;
    +    }
    +SL_NINJA: |
    +    {
    +        bonus bMaxHPrate,50; bonus2 bSkillAtk,"NJ_ISSEN",30;
    +    }
    diff --git a/src/map/script.cpp b/src/map/script.cpp
    index e9e10a643..69c9a0ab6 100644
    --- a/src/map/script.cpp
    +++ b/src/map/script.cpp
    @@ -60,6 +60,7 @@
     #include "pc_groups.hpp"
     #include "pet.hpp"
     #include "quest.hpp"
    +#include "status.hpp"
     #include "storage.hpp"
     
     using namespace rathena;
    diff --git a/src/map/script_constants.hpp b/src/map/script_constants.hpp
    index 16e405d0e..8e7bf166d 100644
    --- a/src/map/script_constants.hpp
    +++ b/src/map/script_constants.hpp
    @@ -16,6 +16,23 @@
     	export_constant(INT_MIN);
     	export_constant(INT_MAX);
     
    +	/* soul links */
    +	export_constant(SL_ALCHEMIST);
    +	export_constant(SL_MONK);
    +	export_constant(SL_STAR);
    +	export_constant(SL_SAGE);
    +	export_constant(SL_CRUSADER);
    +	export_constant(SL_SUPERNOVICE);
    +	export_constant(SL_KNIGHT);
    +	export_constant(SL_WIZARD);
    +	export_constant(SL_PRIEST);
    +	export_constant(SL_BARDDANCER);
    +	export_constant(SL_ROGUE);
    +	export_constant(SL_ASSASIN);
    +	export_constant(SL_BLACKSMITH);
    +	export_constant(SL_HUNTER);
    +	export_constant(SL_SOULLINKER);
    +	export_constant(SL_GUNNER);
    +	export_constant(SL_NINJA);
    +
     	/* server defines */
     	export_constant(PACKETVER);
     	export_constant(MAX_LEVEL);
    diff --git a/src/map/status.cpp b/src/map/status.cpp
    index 84b832e12..2c51d139d 100644
    --- a/src/map/status.cpp
    +++ b/src/map/status.cpp
    @@ -7,6 +7,7 @@
     #include <math.h>
     #include <stdlib.h>
     #include <string>
    +#include <unordered_map> //SKYZONE NOTE: DONOT PUT ON TOP MAKE SURE THIS ALWAYS BELOW OF STRING
     #include <yaml-cpp/yaml.h>
     
     #include "../common/cbasetypes.hpp"
    @@ -66,6 +67,8 @@ bool running_npc_stat_calc_event; /// Indicate if OnPCStatCalcEvent is running.
     // We need it for new cards 15 Feb 2005, to check if the combo cards are insrerted into the CURRENT weapon only to avoid cards exploits
     short current_equip_opt_index; /// Contains random option index of an equipped item. [Secret]
     
    +std::unordered_map<int, script_code*> soul_link;
    +
     unsigned int SCDisabled[SC_MAX]; ///< List of disabled SC on map zones. [Cydh]
     
     sc_type SkillStatusChangeTable[MAX_SKILL];
    @@ -4086,6 +4089,13 @@ int status_calc_pc_sub(struct map_session_data* sd, enum e_status_calc_opt opt)
     		current_equip_opt_index = -1;
     	}
     
    +	if (sd && sc->count && sc->data[SC_SPIRIT]) {
    +		auto spirit = sc->data[SC_SPIRIT];
    +		if (spirit != nullptr && soul_link.find(spirit->val2) != soul_link.end() && soul_link[spirit->val2] != nullptr) {
    +			run_script(soul_link[spirit->val2], 0, sd->bl.id, 0);
    +		}
    +	}
    +
     	if (sc->count && sc->data[SC_ITEMSCRIPT]) {
     		struct item_data *data = itemdb_exists(sc->data[SC_ITEMSCRIPT]->val1);
     		if (data && data->script)
    @@ -15491,6 +15501,45 @@ static bool status_readdb_attrfix(const char *basedir,bool silent)
     	return true;
     }
     
    +void status_read_soullink_db(const char* file_name) {
    +	YAML::Node root;
    +	int count = 0;
    +	try {
    +		root = YAML::LoadFile(file_name);
    +		if (root.IsMap()) {
    +			for (auto node : root) {
    +				struct script_code *code;
    +				std::string key = node.first.as<std::string>();
    +				int64 constant = 0;
    +				if (key.compare(0, 3, "SL_")) {
    +					ShowWarning("status_read_soullink_db: Expected a constant with SL_ prefix, got %s.\n", key.c_str());
    +					continue;
    +				}
    +				if (!script_get_constant(key.c_str(), &constant)) {
    +					ShowWarning("status_read_soullink_db: Tried to assign custom buff to nonexistent constant %s.\n", key.c_str());
    +					continue;
    +				}
    +				if ((code = parse_script(node.second.as<std::string>().c_str(), file_name, node.second.Mark().line, 0)) == NULL) {
    +					ShowWarning("status_read_soullink_db: Invalid or empty script on custom soul link %s.\n", key.c_str());
    +					continue;
    +				}
    +				if (soul_link[constant] != nullptr)
    +					script_free_code(soul_link[constant]);
    +				soul_link[constant] = code;
    +				count++;
    +			}
    +		}
    +		else {
    +			ShowError("status_read_soullink_db: The file's structure is broken. Root node is not a map.\n");
    +		}
    +	}
    +	catch (...) {
    +		ShowError("status_read_soullink_db: Cannot load custom soul link buffs from %s.\n", file_name);
    +	}
    +
    +	ShowInfo("status_read_soullink_db: Done reading %d custom soul links.\n", count);
    +}
    
    /**
    *CLEAR THE STATUS AFTER DEATH
    */
    +void status_clear_soul_link_db()
    +{
    +	for (const auto& entry : soul_link) {
    +		script_free_code(entry.second);
    +	}
    +	soul_link.clear();
    +}
    +
    
     /**
      * Sets defaults in tables and starts read db functions
      * sv_readdb reads the file, outputting the information line-by-line to
    @@ -15557,6 +15606,7 @@ int status_readdb(void)
     
     	size_fix_db.load(); 
    +	status_read_soullink_db((char*)"db/soul_link.yml");
     	return 0;
     }
     
     
    /**
    *CLEAR THE STATUS AFTER DEATH
    */
     
    @@ find void do_final_status(void)
    {
    +	status_clear_soul_link_db(); //SKYZONE
    	ers_destroy(sc_data_ers);
    }
    
     

    Read Some Note I put. I saw some error because they don't know the pattern of the script.
    the script is working on any version you only need is to spot the pattern. I put some added clear the status after death I saw it some of comment how to do it. 

    • Upvote 1
    • MVP 1
  5. Hello rADevs,

    Anyone have the same issue of this? because this WFIFOSET is giving huge Lag on during WOE some of my client server. this is my first time to see this error. my client is using 2018 Client. 
    if anyone have idea on this issue to be fixed please help us. this kind of error was not seeing on other that they have this on there server specially to latest rAthena Users this kind of error from the latest rA.

    Thank you in Advance.

    image.png.a3e7dfbdfa2b5361d7e46204e30e4f77.png
     

  6. On 6/27/2019 at 3:27 PM, Dissidia said:

    //if (sd->inventory.u.items_inventory[k].bound) {
                        //    clif_displaymessage(sd->fd, "Cannot buy with Bound Items.");
                        //    return;
                        //}

    this will giving you exploit in bound items. better to change the Clip Display Message

     clif_displaymessage(sd->fd, "Cannot buy with Bound Items.");
    To
     clif_displaymessage(sd->fd, "Please put your bound items on your storage and try again..");

    or its up to you.

    • Upvote 1
  7. On 7/8/2019 at 5:37 AM, Mael said:

    I just tried on client 2018-06-21aRagexeRE

    thanks so much @melv0❤️ 

    1. How to change the maximum level of your server? https://gist.github.com/cydh/d82a06472f12c4ec7f38ab3de22fe86b

    2. How to make the aura appear at a maximum level other than 99? 

    • data\luafiles514\lua files\service_korea\ExternalSettings_kr.lub & externalsettings_kr_sak.lub
    MaxLevelTable = {
        BaseLevel = 99, << Edit this part into 255
        BaseLevel3rd = 185,
        BaseLevelExtend2 = 160,
        BaseLevelUpperJob = 185,
        BaseLevelHomun = 185,
        BaseLevelDoram = 185,
        JobLevelNovice = 10,
        JobLevelSuperNovice = 99,
        JobLevelBase = 50,
        JobLevel2nd = 70,
        JobLevel3rd = 65,
        JobLevelExtend2 = 50,
        JobLevelUpperJob = 60,
        JobLevelDoram = 55
    }

    and that's it, see magic ingame 😉 

    I best recommend this for custom server to show the Custom Level Aura. 🙂

  8. Darkforce Themes


    This Themes are not updated. if you buy this themes you are responsible to what you get.

    This themes is Responsive .
    If you want a Light Version you are freely to contact me.

    PREVIEW: VISIT HERE

    PACKAGE INFORMATION:
    - MATERIAL BOOTSTRAP
    - EXCLUSIVE FONT AWESOME
    - EXCLUSIVE MATERIAL FONT ICONS

    WATCH SAMPLE:

     


    • Submitter
    • Submitted
      08/15/2019
    • Category
    • Video
      https://www.youtube.com/watch?v=1rKiudwQWuY
    • Content Author
      Skyzone

     

  9. FIXED.
    It was just HTTP'S problem and to make sure to fixed all error logs on your data/logs Folder. after your fixed all in logs login your gm account on your site and find the Re Install.

  10. Hello I hope this will be help in the future that get the same problem that has no answer until now.
    this will be not solve in the latest rAsvn.

    #define MAX_EVENTQUEUE 2

    that value is already set in the latest but I think its not work. I try some experiment I set it to this #define MAX_EVENTQUEUE 1000 but don't forget to backup your original src. 


     

    • MVP 1
  11. Hello rADevs

    I have problem on my Donation Payment.

    I configure application.php already
    'PayPalIpnUrl'                => 'www.paypal.com',
    and already set my IPN on paypal.

    Notification URL https://myro.com/donate/notify

    I receive the payment on paypal but the player don't receive there credits.
    is there enything to configured?

    Im using latest Flux. 

×
×
  • Create New...

Important Information

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