Jump to content

Daraen

Members
  • Content Count

    134
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Daraen


  1. Hi, Yommy If you go by, can you tell me why I get a server crash after activating your plugins when I enter the @autotrade command.

     


    I would like to use this add on for cp feed developed exclusively in relation to this plugin because hercules does not offer anything to display merchants / buyingstores.


    The only error that pops up on my server is:
     

    $ [Error]: Server received crash signal! Attempting to save all online characters!

    I have no idea where the error occurs, the only direction I have is that it comes after an @autotrade.
    I specify that my @autotrade works perfectly when I deactivate this plugin.
    I am using a client 2018-04-18b

    I will appreciate if someone helps me fix this problem.

    Thank you


  2. I have been spamming Hercules Discord for an hour now for an important issue which is that skills above level 10 have no effect, only do one hit, one damage but no developer wants to. look into this topic.

    It will seem that there is no case for WZ_JUPITEL and WZ_METEOR in battle.c but I don't think this is the cause of the problem.

    In short, it doesn't matter if Mistress cast Jupitel THunder level 28 to me, I only get one hit, I'm not knockback and the skill effect is present on me but I only get one hit.

    Same for Meteor Storm level 11, I suffer only one hit per ball.
    It is not normal.

    It looks like there is a problem with any skill above level 10.

    How can you solve this big problem?
    I am using a 2018 client

    Some fix for rAthena : https://github.com/rathena/rathena/issues/4743
    https://github.com/rathena/rathena/commit/b77ba3ae5bb765295df89151170ec4ccb9c5d3cf


  3. On 2/23/2021 at 12:24 AM, iogigclub said:

    @Daraen Could you tell me how to get the new databases of "Emulator hercules_RENEWAL" I mean new costumes or weapon and NPCs like the official server? Thanks for you attention

    All you need to do is launch the official ragnarok online patcher. be careful, by doing this you will certainly have to redo certain steps. I won't tell you which one, I don't personally.

     


  4. 13 minutes ago, aabarreto said:

    Damn... What the problem could be then?

      This should work

     Script: <"
            bonus bHit,10;
            bonus bAllStats,1;
                if(getrefine() >= 6) {
                bonus bHit,10;
                bonus2 bAddRace,RC_Boss,10;
                }
                if(getrefine() >= 11) {
                bonus bHit,10;
                bonus2 bAddRace,RC_Boss,10;
                }
        ">

     


  5. 3 hours ago, aabarreto said:

    So, since I couldn't find bRO scripts done, I'm starting to custom add the items myself...

     

    Buuuut... My Red Dragon Armor is just giving me hit +1 bonus, doesn't matter the refine.

     

    This is the script I made:

     

    {    Id: 15240
        AegisName: "RED_DRAGON"
        Name: "Armadura do Dragão Vermelho"
        Type: "IT_ARMOR"
        Weight: 40
        Def: 100
        Slots: 1
        Upper: ["ITEMUPPER_UPPER", "ITEMUPPER_THIRD", "ITEMUPPER_THIRDUPPER", "ITEMUPPER_THIRDBABY"]
        Loc: "EQP_ARMOR"
        EquipLv: 90
        Script: <"
            bonus bHit,10;
            bonus bAllStats,1;
            if(getrefine()>=6) {
                bonus bHit,10;
                bonus2 bAddRace,RC_Boss,10;
                };
            if(getrefine()>=11) {
                bonus bHit,10;
                bonus2 bAddRace,RC_Boss,10;
                };
    ">

      I got my hit bonus +10 when I refine my item to 6

     

     Script: <"
                if(getrefine()>=6) {
                bonus bHit,10;
                bonus2 bAddRace,RC_Boss,10;
            }
        ">

     


  6. 2 minutes ago, aabarreto said:

    And which grf is that? How do I know it?

    Nope... I have luafiles514/lua files, but now the datainfo folders...
    No accessoryid.lub; yes accname.lub
    Nope... It should be on those files? I saw that in the new clients I would only need to edit iteminfo...

    In my memories, you use the anacondaq pack.

    To add custom elements, go to your data.grf extract accessoryid.lub and accname.lub from luafiles514 / lua files / datainfo.

    Add ACCESSORY_Pegasus = 20000 in accessory id at the end of your file and [ACCESSORY_IDs.ACCESSORY_Pegasus] = "_Pegasus" in accname.lub

    save

    add now files in the grf which is read first by your client, save.

    Don't forget to add the object in item_db.conf

    do @reloaditemdb and it should work.

    Yes you also have to add that in iteminfo.


  7. 23 hours ago, celeron0134 said:

    this NPC checks if the user is on the right cell so the user can talk or not talk to the NPC.. 

    if you are outside the cell.. and a player is already in the cell you cant talk to the NPC or a dialogue will pop up that someone is still in front of me

    wait for him/her to leave the cell

    quiz_02,246,374,4 script cell checker 112,{ .@n = getareausers("quiz_02", 246, 372, 246, 372); if (.@n < 1) { mes "["+ strnpcinfo(0) +"]"; mes "Please stand in front of me to talk"; close; } if (.@n == 1) mes "["+ strnpcinfo(0) +"]"; mes "Congrats you are now in front of me"; close; }else{ npctalk "Too many people in front of me, only one person will be teleported in next 10 minute."; end; }

    
    quiz_02,246,374,4	script	cell checker	112,{
    
    	.@n = getareausers("quiz_02", 246, 372, 246, 372);
    
    	if (.@n < 1) {
    	mes "["+ strnpcinfo(0) +"]";
    	mes "Please stand in front of me to talk";
    	close;
    }
    
    	if (.@n == 1)
    	mes "["+ strnpcinfo(0) +"]";
    	mes "Congrats you are now in front of me";
    	close;
    	}else{
    		npctalk "Too many people in front of me, only one person will be teleported in next 10 minute.";
    	end;
    
    }

    i need something like this

    if ((.@n == 1) && (strcharinfo(0) != .@n)) mes "someone is on front of me"; mes "and i am waiting for him/her to talk to me"; mes "wait till the player leave the cell"; end;

    
    	if ((.@n == 1) && (strcharinfo(0) != .@n))
    	mes "someone is on front of me";
    	mes "and i am waiting for him/her to talk to me";
    	mes "wait till the player leave the cell";
    	end;

     

    https://github.com/HerculesWS/Hercules/blob/master/doc/script_commands.txt#L3737


  8. 32 minutes ago, Kuya Jeo said:

    I think this is a normal behavior since asura is neutral damage and GR card will make you into ghost property, once you got freeze/frozen, effect of GR Card will be disregarded because your property is now water and not a ghost anymore

    @Kuya Jeo Truth be told, it's the same as a frozen character receiving lightning bolt / jupitel thunder or any other wind property attack. the damage will be multiplied and ignore the property of the people.

    In short, being frozen gives us the water property for the time we are frozen. Finally, asura is really doubled in terms of damage? or is it the same number of damage approximately without a Ghostring card?


  9. On 2/1/2021 at 8:16 AM, aabarreto said:

    So I added a custom item... The script works fine, but everything in the game became an apple and I never saw the actual sprite working.

     

    Those are my lines in ItemInfo.lua:

     

        [77001] = {
            unidentifiedDisplayName = "Pegasus",
            unidentifiedResourceName = "Pegasus",
            unidentifiedDescriptionName = { "Pegasus" },
            identifiedDisplayName = "Pegasus",
            identifiedResourceName = "pegasus",
            identifiedDescriptionName = {"Pegasus"},
            slotCount = 4,
            ClassNum = 20000
        },

     

    I also tried these:

     identifiedResourceName = pegasus,

     identifiedResourceName = "Pegasus",

     identifiedResourceName = "PEGASUS",

     

    Those are the files on data.grf:

     

    image.png.47cf6b41218ae01dac7dc6524d5cdfb3.png

     

    Where am I wrong?

    Never put custom objects in your data.grf!
    Always put them in the grf read first by your client!
    Do you have the luafiles514 / lua files / datainfo folders in your <mygrf> .grf?
    Do you have the accessoryid.lub and accname.lub files in your <mygrf> .grf ??
    Did you enter ACCESSORY_Pegasus = 20000 and [ACCESSORY_IDs.ACCESSORY_Pegasus] = "_Pegasus"?


  10. On 9/26/2020 at 7:04 AM, Dastgir said:

    I am aware of this warning, for now it's safe to ignore, I was talking about the bug wherein whole server couldn't see hg, I want to know the steps to reproduce that bug

     1pff.png

     

    same error as @Zero Human etc etc
    I just recompile my server after dragging the files for the plugin.


  11. 22 minutes ago, aabarreto said:

    Thanks a lot, Daraen! I knew it would be you to show up.

     

    1. I tried language 18, it didn't work as well. We use Á À Ã Ó Ô Ç É Ê Í Ú...

     

    2/3. Thanks a lot!!!! It did work, buuuut... Teletransportador shows as Teletransportadxer, I don't know why... That xe are actually symbols, not regular letters.

     

    4. Okdok, I'll try it!

     

    PS: I don't know why, but after changing the npc script and the language settings, my background image vanished, I'll try switching language again.

    1. Just like that and it will work?

    2/3. I followed Daraen and it kinda worked, thanks a lot anyway!
    4. So even the items that cannot be spawned are on data? Like Cenia, Amon and Enforcer shoes... Or do I have to get it in other servers? 

    1. For langtype, put this in the grf which is read first in your client, put your desired langtype back, it should have worked now °°

     

    --[[
        GRF Editor [Version - 1.8.0]  [Build - 1.5.3.3063]
      
        This file was generated by GRF Editor
    --______________________________________________________]]
    
    -- Using GRF Editor Decompiler (beta 1.0.3)
    
    MaxLevelTable = {
    	BaseLevel = 99,
    	BaseLevel3rd = 175,
    	BaseLevelExtend2 = 160,
    	BaseLevelUpperJob = 175,
    	BaseLevelHomun = 175,
    	BaseLevelDoram = 175,
    	JobLevelNovice = 10,
    	JobLevelSuperNovice = 99,
    	JobLevelBase = 50,
    	JobLevel2nd = 70,
    	JobLevel3rd = 60,
    	JobLevelExtend2 = 50,
    	JobLevelUpperJob = 60,
    	JobLevelDoram = 50
    }
    MakeableRace = { Doram = false }
    Url = { TwitterUrl = "http://112.175.128.140:3000/" }
    LEVELAURA = {}
    LEVELAURA["EF_NONE"] = -1
    LEVELAURA["EF_LEVEL99"] = 200
    LEVELAURA["EF_LEVEL99_ORB1"] = 976
    LEVELAURA["EF_LEVEL99_ORB2"] = 977
    LEVELAURA["EF_LEVEL150"] = 978
    LEVELAURA["EF_LEVEL150_SUB"] = 979
    LEVELAURA["EF_LEVEL160"] = 1022
    LEVELAURA["EF_LEVEL160_SUB"] = 1023
    Level99AuraTable = {
    	Default99LvAura = LEVELAURA.EF_LEVEL99,
    	Default99LvAura_sub = LEVELAURA.EF_LEVEL99_ORB1,
    	Baby99LvAura = LEVELAURA.EF_LEVEL99,
    	Baby99LvAura_sub = LEVELAURA.EF_LEVEL99_ORB2,
    	SecondHigh99LvAura = 0,
    	SecondHigh99LvAura_sub = 0,
    	Homun99LvAura = 0,
    	Homun99LvAura_sub = 0,
    	Boss99LvAura_sub = LEVELAURA.EF_LEVEL99_ORB1
    }
    MaxLevelAuraTable = {
    	Default150LvAura = LEVELAURA.EF_LEVEL150,
    	Default150LvAura_sub = LEVELAURA.EF_LEVEL150_SUB,
    	Default160LvAura = LEVELAURA.EF_LEVEL160,
    	Default160LvAura_sub = LEVELAURA.EF_LEVEL160_SUB,
    	HomunMaxLvAura = LEVELAURA.EF_LEVEL150,
    	HomunMaxLvAura_sub = LEVELAURA.EF_LEVEL150_SUB
    }
    
    -- Function #0
    GetTableIntValueForC = function(tableName, keyName)
    	local t = _G[tableName]
    	if nil == t then
    		return -1
    	else
    		local intValue = t[keyName]
    		if nil == intValue then
    			return -1
    		end
    		return intValue
    	end
    end
    
    -- Function #1
    GetTableStringValueForC = function(tableName, keyName)
    	local t = _G[tableName]
    	if nil == t then
    		return ""
    	else
    		local stringValue = t[keyName]
    		if nil == stringValue then
    			return ""
    		end
    		return stringValue
    	end
    end
    
    -- Function #2
    GetTableBoolValueForC = function(tableName, keyName)
    	local t = _G[tableName]
    	if nil == t then
    		return false
    	else
    		local boolValue = t[keyName]
    		if nil == boolValue then
    			return false
    		end
    		return boolValue
    	end
    end

    Go to your data.grf and extract the luafiles514 / lua files / service_kora / externalsettings_kr.lub folder

    now go to the grf which is read first by your server and create the following folders there, luafles514 / lua files / service_usa /

    modify externalsettings_kr.lub with the code I put for you and save.

    Now changed its name to ExternalSettings_usa.lub and drag it to luafles514 / lua files / service_usa /

    put the langtype you want, this should solve your problem

    Edit: set doram to true if your server is a renewal server and you are using dorams


  12. 50 minutes ago, aabarreto said:

    Hey, it's me, Mario!

    Not quite, but you got the idea.

     

    Anyway... Some new doubts:

     

    1. When using brazilian's commas, I got a bunch of weird characters in the place of the letters and then my char stopped moving. I changed my language on sclientinfo.xml (to 12)... Is there anything else I should do?

     

    2. In the newbie offline pack there are some custom scripts... I'm using them, but I can't change the NPCs that do their roll. P.e., the Warper is a Valkyrie, even if I change these lines:

    -    script    Warper    4_M_FAIRYSOLDIER,{
    function Go; function Disp; function Pick; function Restrict;
     

    3. In the same case of the warper... If I change the name to "Teletransportador", the npc vanishes... Does it need to have the same name as the .txt and as listed on the .conf?

     

    4. Anyone knows where I can file some .grf to merge with my data (and the other needed files) to add the huge amount of items that bRO and jRO have and kRO doesn't?

    BY THE POWER INVESTED IN ME BY THE LORD, I THEREFORE SUMMON LORD DARAEN

    1. no idea, i'm not brazilian i don't see what your special characters are.
    i am using langtype 18.

     

    2/3. https://github.com/HerculesWS/Hercules/blob/stable/npc/custom/warper.txt#L21

    leave the FAKE_NPC.

    go here: https://github.com/HerculesWS/Hercules/blob/stable/npc/custom/warper.txt#L471

    change 4_F_VALKYRIE to 4_M_FAIRYSOLDIER for all.

    To replace Warper by Teletransportador, same things, L21 replace Warper by Teletransportador then go L471 replace duplicate (Warper) and Warper # by duplicate (Teletransportador) Teletransportador #

    Leave whatever is behind the # otherwise errors will be displayed.

    Do @reloadscript.

     

    4 / For the personalized elements, creating a clean grf will be more favorable than modifying the data.grf, create a grf of the name of your example server server.grf and put all your custom elements there.
    Remember that it must be read in data.ini first

    Example:
    0 = server.grf
    1 = rdata.grf
    2 = data.grf


  13. It's interesting thanks for the link, but I was talking about a few things directly implanted in the client, for example in RoExt or other. I saw that NovaRO have created a NovaExt and that there is an fps and ping counter and even an fps debrider built into their client.

    Then I simply ask the question, is this planned or not?

    I don't have the skills to develop my own dll yet, I'm going to lean into it and see what I can get out of it, with willpower I'll get there one day hahaha

     

    EDIT: indeed fraps works fine but I don't want to force people to dl external software just to display this. RO client is blocking 60 fps from what I see. And I can say that I have a good pc because on LoL I have 300 fps, cs go also and warzone I am at 100 fps.

    bidw.png


  14. Hi all,
    I know the discussion is redundant and I apologize if it tires people.
    Nowadays, all games are capable of showing the fps and ping that you get in games. Here are some examples came from my computer :

     

    jvl7.jpg

    g52k.png


    Do you plan to do the same on Ragnarok Online?
    If the answer is no, I saw that on geforce experience, Ragnarok Online is taken into account, this software already offers an fps and ping counter, unfortunately the executables available on nemo are not considered as Ragnarok Online.

    I'm launching the topic, maybe other people will be interested.

    If my topic is tiring and redundant, delete it!

    Have a nice day / evening everyone

×
×
  • Create New...

Important Information

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