Jump to content

Eternity

Members
  • Content Count

    121
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Eternity


  1. On 11/11/2020 at 5:52 PM, Ai4rei said:

    All your encryption is pointless. It has been proven before, but people do not learn. The client is the weak link in your encryption efforts and always will be.

    Always LEARNED from the PRO.

    I've always fan of the K-Patcher since it was released now where is it now dump? :D

    There are lot of Patchers that are Project DOA. 

    I'll set you as an example of this https://rathena.org/board/topic/105594-ragemu-100-renewal-emulator/
    Goodluck! 😂 😂 😂


     


  2. On 10/6/2020 at 12:10 AM, AnnieRuru said:

    *peek*

    https://gist.github.com/AnnieRuru/f49d2e09c81c31c9c428e088af558f33

    around 30% completion, need to sleep

    a lot of stuffs not finalize yet, but you can play around first, don't put into live server

     

    @Eternity, you are rathena user right ?

    this one I made been using hercules specific script command,

    *getcalendartime and *pcre_match just not available in rathena, so some features has to scrap,

    it won't look the same if these feature taken out

    Is there any way possible madam you can do for rAthena aswell? i would appreciate it thank you!


  3. On 10/4/2020 at 9:14 AM, evilpuncker said:

    A few suggestions in case someone is going to make this script in the future:

     

    - redeem log viewer

    - 2 types of codes: one that can be used multiple times by different accounts, and one that can be used just once only by one account

    - add expiration date to codes, with default date to expire (i.e. 1 month) or undefined (infinite)

    - add announce (yes/no) when player redeem code

    - add delay to use npc (good to prevent multiple code uses and prevent spam/give chance to slower players)

    - better code generation (maybe even saving them on .txt file) being able to chose from random letters and numbers, to anything you want (i.e. mycode2020)

    - rewrite everything to getitembound as @AnnieRuru said

    - something like this:

    -> talk to npc

    -> chose code style (random generated or user input)

    -> chose code amount (amount of uses that it can be used)

    -> chose code type (by account or unique use)

    -> (if unique use: we need to add a "group" to the codes, for example: we generate a group of 5 unique codes, they all belong to a group (something to make them unique), so a player can only use one of the 5 codes from THAT group (we need this to make sure that a player alone doesn't use all the codes at once and others player don't have a chance) and the other 4 codes can still be used by other players)

    -> chose code reward (itemID - amount)

    - no more ideas

     

    Waiting for @AnnieRuru release :meh:


  4. Hi, I just realized that when using Cloaking or any hiding skill and you have Pet your pet doesn't hide too.
    Is there a way I that the pet can hide too? Since I disabled Maya Purple.

    Thank you in advance!


  5. 3 hours ago, Cretino said:

    Name: @reload atcommand

    Creator: Me (@Cretino)

    Version: 0.1 (Initial version [Cretino])

    Contributors:

    Q: 'What features have '@reload atcommand'?'

    R:

      Reveal hidden contents

    You can reload just one thing you want without remove all NPCs, Mobs, etc... eg: You can reload your scripts without remove your mobs alive. @reload "script/mob/shop/warp/trader/function/zone/mapflag/all" script: Only reload your scripts files. mob: Only reload your mobs files. shop: Only reload your shops files. warp: Only reload your warps files. trader: Only reload your traders files. function: Only reload your functions files. zone: Only reload your zones configuration. mapflag: Only reload your mapflags files. all: Reload all npc files like '@reloadscript'. You can enable 'Reload Fast Mode' to simplify the atcommand uncommenting '#define RELOAD_FAST_MODE' in 'npc.h' after apply the '.diff' file. The atcommand will work like this: @reload "script/mob/function/zone/mapflag/all" script: Now 'script' will reload all your scripts (including scripts, shops, traders and warps). mob: Only reload your mobs files. function: Only reload your functions files. zone: Only reload your zones configuration. mapflag: Only reload your mapflags files. all: Reload all npc files like '@reloadscript'.

    
    
    You can reload just one thing you want without remove all NPCs, Mobs, etc...
    eg: You can reload your scripts without remove your mobs alive.
    
    @reload "script/mob/shop/warp/trader/function/zone/mapflag/all"
    
    script:
    Only reload your scripts files.
    
    mob:
    Only reload your mobs files.
    
    shop:
    Only reload your shops files.
    
    warp:
    Only reload your warps files.
    
    trader:
    Only reload your traders files.
    
    function:
    Only reload your functions files.
    
    zone:
    Only reload your zones configuration.
    
    mapflag:
    Only reload your mapflags files.
    
    all:
    Reload all npc files like '@reloadscript'.
    
    You can enable 'Reload Fast Mode' to simplify the atcommand uncommenting '#define RELOAD_FAST_MODE' in 'npc.h' after apply the '.diff' file.
    The atcommand will work like this:
    @reload "script/mob/function/zone/mapflag/all"
    
    script:
    Now 'script' will reload all your scripts (including scripts, shops, traders and warps).
    
    mob:
    Only reload your mobs files.
    
    function:
    Only reload your functions files.
    
    zone:
    Only reload your zones configuration.
    
    mapflag:
    Only reload your mapflags files.
    
    all:
    Reload all npc files like '@reloadscript'.

     

    Q: 'How to use these features?'

    R:

      Reveal hidden contents

    @reload "script/mob/shop/warp/trader/function/zone/mapflag/all" @reload script // Will reload only your scripts files. @reload script|mob // Will reload your scripts and mobs files. @reload script|mob|mapflag // Will reload your scripts, mobs and mapflags files. @reload shop // Will reload only your shops files. @reload shop|trader|warp // Will reload your shops, traders and warp files. @reload warp // Will reload only your warps files. @reload function // Will reload only your functions files. @reload zone // Will reload only your zones configuration. @reload all // Will reload all npc files like '@reloadscript'. @reload script|mob|shop|warp|trader|function|zone|mapflag // Will reload your scripts, mobs, shops, warps, traders, functions, zones and mapflags like '@reload all' or '@reloadscript'.

    
    
    @reload "script/mob/shop/warp/trader/function/zone/mapflag/all"
    
    @reload script
    // Will reload only your scripts files.
    
    @reload script|mob
    // Will reload your scripts and mobs files.
    
    @reload script|mob|mapflag
    // Will reload your scripts, mobs and mapflags files.
    
    @reload shop
    // Will reload only your shops files.
    
    @reload shop|trader|warp
    // Will reload your shops, traders and warp files.
    
    @reload warp
    // Will reload only your warps files.
    
    @reload function
    // Will reload only your functions files.
    
    @reload zone
    // Will reload only your zones configuration.
    
    @reload all
    // Will reload all npc files like '@reloadscript'.
    
    @reload script|mob|shop|warp|trader|function|zone|mapflag
    // Will reload your scripts, mobs, shops, warps, traders, functions, zones and mapflags like '@reload all' or '@reloadscript'.

     

    Q: 'How Can I enable 'Reload Fast Mode'?'

    R:

      Reveal hidden contents

    After apply the '.diff' file, go to 'src\map\npc.h' and open. Search for: // [Cretino] // Uncomment to enable the reload command fast mode. //#define RELOAD_FAST_MODE enum e_reload_type { RELOAD_NONE = 0x000, RELOAD_MOB = 0x001, RELOAD_SCRIPT = 0x002, #ifndef RELOAD_FAST_MODE RELOAD_SHOP = 0x004, RELOAD_WARP = 0x008, RELOAD_TRADER = 0x010, #endif /* RELOAD_FAST_MODE */ RELOAD_FUNCTION = 0x020, RELOAD_ZONE = 0x040, RELOAD_MAPFLAG = 0x080, RELOAD_ALL = 0x0FF }; Change to: // [Cretino] // Uncomment to enable the reload command fast mode. #define RELOAD_FAST_MODE enum e_reload_type { RELOAD_NONE = 0x000, RELOAD_MOB = 0x001, RELOAD_SCRIPT = 0x002, #ifndef RELOAD_FAST_MODE RELOAD_SHOP = 0x004, RELOAD_WARP = 0x008, RELOAD_TRADER = 0x010, #endif /* RELOAD_FAST_MODE */ RELOAD_FUNCTION = 0x020, RELOAD_ZONE = 0x040, RELOAD_MAPFLAG = 0x080, RELOAD_ALL = 0x0FF }; Now, 'Reload Fast Mode' is actived. :) (Need compile the emulator after the change)

    
    
    After apply the '.diff' file, go to 'src\map\npc.h' and open.
    Search for:
    // [Cretino]
    // Uncomment to enable the reload command fast mode.
    //#define RELOAD_FAST_MODE
    
    enum e_reload_type
    {
    	RELOAD_NONE =		0x000,
    	RELOAD_MOB =		0x001,
    	RELOAD_SCRIPT =		0x002,
    #ifndef RELOAD_FAST_MODE
    	RELOAD_SHOP =		0x004,
    	RELOAD_WARP =		0x008,
    	RELOAD_TRADER =		0x010,
    #endif	/* RELOAD_FAST_MODE */
    	RELOAD_FUNCTION =	0x020,
    	RELOAD_ZONE =		0x040,
    	RELOAD_MAPFLAG =	0x080,
    	RELOAD_ALL =		0x0FF
    };
    
    Change to:
    // [Cretino]
    // Uncomment to enable the reload command fast mode.
    #define RELOAD_FAST_MODE
    
    enum e_reload_type
    {
    	RELOAD_NONE =		0x000,
    	RELOAD_MOB =		0x001,
    	RELOAD_SCRIPT =		0x002,
    #ifndef RELOAD_FAST_MODE
    	RELOAD_SHOP =		0x004,
    	RELOAD_WARP =		0x008,
    	RELOAD_TRADER =		0x010,
    #endif	/* RELOAD_FAST_MODE */
    	RELOAD_FUNCTION =	0x020,
    	RELOAD_ZONE =		0x040,
    	RELOAD_MAPFLAG =	0x080,
    	RELOAD_ALL =		0x0FF
    };
    
    Now, 'Reload Fast Mode' is actived. :) (Need compile the emulator after the change)

     

    I've tested and is working well, but can have bugs.

    I'm accepting suggestions.

    If you found any bug, report in topic or send me a private message.

    I'll solve the problem as quickly as possible.

     

    I think is it. :)

    Note: Sorry for my English.

    Diff file:  @reload_by_cretino_v0.1.diff 27.17 kB · 1 download

    Will you support for rA version?


  6. 2 hours ago, Naruto said:

    possibly the same thing here

    pc.c

    if ((sd->job & MAPID_BASEMASK) == MAPID_TAEKWON) { // Better check for class rather than skill to prevent "skill resets" from unsetting this sd->mission_mobid = pc_readglobalreg(sd,script->add_variable("TK_MISSION_ID")); sd->mission_count = pc_readglobalreg(sd,script->add_variable("TK_MISSION_COUNT")); }

    
    
    	if ((sd->job & MAPID_BASEMASK) == MAPID_TAEKWON) {
    		// Better check for class rather than skill to prevent "skill resets" from unsetting this
    		sd->mission_mobid = pc_readglobalreg(sd,script->add_variable("TK_MISSION_ID"));
    		sd->mission_count = pc_readglobalreg(sd,script->add_variable("TK_MISSION_COUNT"));
    	}

     

    I added that still the same i think there something more need to modified as well?

    I realized that it's a lot of modification needs to be done. especially in src/char/ side


  7. 4 hours ago, 4144 said:

    this line of code always will trigger skill error

    if ((sd->job & MAPID_UPPERMASK) != MAPID_TAEKWON || MAPID_STAR_GLADIATOR) {

    
    if ((sd->job & MAPID_UPPERMASK) != MAPID_TAEKWON || MAPID_STAR_GLADIATOR) {

    probably change it to this?

    if ((sd->job & MAPID_UPPERMASK) != MAPID_TAEKWON && (sd->job & MAPID_UPPERMASK) != MAPID_STAR_GLADIATOR) {

    
    if ((sd->job & MAPID_UPPERMASK) != MAPID_TAEKWON && (sd->job & MAPID_UPPERMASK) != MAPID_STAR_GLADIATOR) {

     

    Thank you for the help @4144 However there's an little issue everytime i completed my TKD Mission it won't give any points and proceed to another quest.


  8. 1 hour ago, Naruto said:

    case TK_MISSION: if ((sd->job & MAPID_UPPERMASK) != MAPID_TAEKWON) { // Cannot be used by Non-Taekwon classes clif->skill_fail(sd, skill_id, USESKILL_FAIL_LEVEL, 0, 0); return 0; } break;

    
    		case TK_MISSION:
    			if ((sd->job & MAPID_UPPERMASK) != MAPID_TAEKWON) {
    				// Cannot be used by Non-Taekwon classes
    				clif->skill_fail(sd, skill_id, USESKILL_FAIL_LEVEL, 0, 0);
    				return 0;
    			}
    			break;

    to

    case TK_MISSION: if ((sd->job & MAPID_UPPERMASK) != MAPID_TAEKWON || MAPID_STAR_GLADIATOR) { // Cannot be used by Non-Taekwon classes clif->skill_fail(sd, skill_id, USESKILL_FAIL_LEVEL, 0, 0); return 0; } break;

    
    		case TK_MISSION:
    			if ((sd->job & MAPID_UPPERMASK) != MAPID_TAEKWON || MAPID_STAR_GLADIATOR) {
    				// Cannot be used by Non-Taekwon classes
    				clif->skill_fail(sd, skill_id, USESKILL_FAIL_LEVEL, 0, 0);
    				return 0;
    			}
    			break;

    something like that i dont use it too often 

     

    but != means if not taekwon

     

    so make it if not taekwon OR sg

    I did try but still "skill has failed"...


  9.  

     

     

    Script Type: Quest

    Script Name: Soul Reborn

    Made for: Elaria Woon Reloaded

    Made by: Rokimoki

    Latest version: SoulReborn.txt

    Ragnarok version: Pre-Renewall - SQL Server

    Note: This script was made for Elaria Woon Reloaded, since they are going to close I will upload two scripts I made for them.

     

    Description:

     

    You must be an advanced class 99/70 to Soul Reborn, this mean your character will be deleted from your account. In order to have a reward you need another character in your account to send the reward to his/her inventory. The reward, at this point, must be an etc item or usable item, because the sql query to insert the reward in the `inventory` table is prepared to be like that, of course you can change it to give anything you want.

     

    Enjoy.

    Where is the Package Claim at Prontera?

    The package claim is a system which I did not coded, so this version send the item to a character from your account, maybe I have to edit the speeching script...

    Are you able to make the script? thanks in advanced!


  10. Thanks for the idea and base! i appreciate it.

    Edited: Does not work.

    Also, i want them to be warp on their original position (coordinates) where they play the last matched.
     

    e.g
    player 1 was in the pay_fild01 123 22

    After the EVENT ends, he will warped back to its original position THE "pay_fild01 123 22"

    Thank you for helping!


  11. So i would like to ask if how can i make each player is returned to the same exact point they were before playing the match.

     

     

    OnEventEnd:
       getmapxy(.@m$,.@px,.@py,0);
       warp .@m$,.@px,.@py; 
        .off = 0;
        .on = 0;
        for(set .@i, 0; .@i < getarraysize(.option); set .@i,.@i+1)
            removemapflag .map$,.option[.@i];
        end;

     

     

    Everytime the event is end, the mapserver tells player not attached. maybe? does it requires any SQL?


  12. Script Type: Quest

    Script Name: Soul Reborn

    Made for: Elaria Woon Reloaded

    Made by: Rokimoki

    Latest version: SoulReborn.txt

    Ragnarok version: Pre-Renewall - SQL Server

    Note: This script was made for Elaria Woon Reloaded, since they are going to close I will upload two scripts I made for them.

     

    Description:

     

    You must be an advanced class 99/70 to Soul Reborn, this mean your character will be deleted from your account. In order to have a reward you need another character in your account to send the reward to his/her inventory. The reward, at this point, must be an etc item or usable item, because the sql query to insert the reward in the `inventory` table is prepared to be like that, of course you can change it to give anything you want.

     

    Enjoy.

    Where is the Package Claim at Prontera?

     


  13. If it's just for testing and you have windows 10, you can use Ubuntu via WSL.

    https://msdn.microsoft.com/en-us/commandline/wsl/install_guide

    Hi Dastgir? i was wondering if, what if for example i want to host my RO to windows since its way more easy to setup and compiling the emulator itself.

     

    What is the first thing to do to make database? like using WAMP? XAMPP? or another alternative way.

    The ports need to be open or closed etc etc.

     

    I need some a little adviced.

×
×
  • Create New...

Important Information

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