Jump to content

fiction

Members
  • Content Count

    153
  • Joined

  • Last visited

  • Days Won

    4

Posts posted by fiction


  1. 20 hours ago, MikZ said:

    8>ExtendedBG.c 8>D:\games\SQL\Hercules-stable\src\plugins\ExtendedBG.c(2084,13): error C2039: 'skillitem': is not a member of 'map_session_data' 8>D:\games\SQL\Hercules-stable\src\map\pc.h(187): message : see declaration of 'map_session_data' 8>D:\games\SQL\Hercules-stable\src\plugins\ExtendedBG.c(4052,37): error C2039: 'skillitem': is not a member of 'map_session_data' 8>D:\games\SQL\Hercules-stable\src\map\pc.h(187): message : see declaration of 'map_session_data' 8>D:\games\SQL\Hercules-stable\src\plugins\ExtendedBG.c(4089,11): error C2039: 'skillitem': is not a member of 'map_session_data' 8>D:\games\SQL\Hercules-stable\src\map\pc.h(187): message : see declaration of 'map_session_data' 8>D:\games\SQL\Hercules-stable\src\plugins\ExtendedBG.c(4102,6): error C2039: 'skillitem': is not a member of 'map_session_data' 8>D:\games\SQL\Hercules-stable\src\map\pc.h(187): message : see declaration of 'map_session_data' 8>D:\games\SQL\Hercules-stable\src\plugins\ExtendedBG.c(4102,22): error C2039: 'skillitemlv': is not a member of 'map_session_data' 8>D:\games\SQL\Hercules-stable\src\map\pc.h(187): message : see declaration of 'map_session_data' 8>D:\games\SQL\Hercules-stable\src\plugins\ExtendedBG.c(5466,19): error C2039: 'autocast': is not a member of '<unnamed-tag>' 8>D:\games\SQL\Hercules-stable\src\map\pc.h(198): message : see declaration of '<unnamed-tag>' 8>Done building project "ExtendedBG.vcxproj" -- FAILED.

    
    8>ExtendedBG.c
    8>D:\games\SQL\Hercules-stable\src\plugins\ExtendedBG.c(2084,13): error C2039: 'skillitem': is not a member of 'map_session_data'
    8>D:\games\SQL\Hercules-stable\src\map\pc.h(187): message : see declaration of 'map_session_data'
    8>D:\games\SQL\Hercules-stable\src\plugins\ExtendedBG.c(4052,37): error C2039: 'skillitem': is not a member of 'map_session_data'
    8>D:\games\SQL\Hercules-stable\src\map\pc.h(187): message : see declaration of 'map_session_data'
    8>D:\games\SQL\Hercules-stable\src\plugins\ExtendedBG.c(4089,11): error C2039: 'skillitem': is not a member of 'map_session_data'
    8>D:\games\SQL\Hercules-stable\src\map\pc.h(187): message : see declaration of 'map_session_data'
    8>D:\games\SQL\Hercules-stable\src\plugins\ExtendedBG.c(4102,6): error C2039: 'skillitem': is not a member of 'map_session_data'
    8>D:\games\SQL\Hercules-stable\src\map\pc.h(187): message : see declaration of 'map_session_data'
    8>D:\games\SQL\Hercules-stable\src\plugins\ExtendedBG.c(4102,22): error C2039: 'skillitemlv': is not a member of 'map_session_data'
    8>D:\games\SQL\Hercules-stable\src\map\pc.h(187): message : see declaration of 'map_session_data'
    8>D:\games\SQL\Hercules-stable\src\plugins\ExtendedBG.c(5466,19): error C2039: 'autocast': is not a member of '<unnamed-tag>'
    8>D:\games\SQL\Hercules-stable\src\map\pc.h(198): message : see declaration of '<unnamed-tag>'
    8>Done building project "ExtendedBG.vcxproj" -- FAILED.

    Someone please help. willing to pay if not that much. thanks!

     

    Reemplace skillitemlv in to: autocast.skill_lv and skillitem  in to: autocast.skill_id in ExtendedBG.c


  2. 3 hours ago, Psyz said:

    Sorry, I forgot.
    This spoiler shows how the happy hour issue works on the eamod source.

    And I also asked about the Glorious Weapons Shop, whether they already have them with badges or not.

    isn't this?

    Spoiler
    OnMinute00:
    if (gettime(GETTIME_HOUR) < 4) // Don't Choose Ranked Time if it is 12:00AM ~ 4:00 AM (Less players)
    end;
    .@year = $BGRanked_ / 1000000;
    .@month = ($BGRanked_ % 1000000) / 10000;
    .@day = ($BGRanked_ % 10000) / 100;
    .@hour = $BGRanked_ % 100;
    if (.@year == gettime(GETTIME_YEAR) && .@month == gettime(GETTIME_MONTH) && .@day == gettime(GETTIME_DAYOFMONTH)) {
    if (.@hour == gettime(GETTIME_HOUR)) // Ranked Matches
    $BGRanked = 1;
    else // Time has passed or yet to arrive
    $BGRanked = 0;
    } else {
    .@hour = rand(gettime(GETTIME_HOUR), 23);
    $BGRanked_ = gettime(GETTIME_YEAR) * 1000000 + gettime(GETTIME_MONTH) * 10000 + gettime(GETTIME_DAYOFMONTH) * 100 + .@hour;
    if (.@hour == gettime(GETTIME_HOUR))
    $BGRanked = 1;
    else
    $BGRanked = 0;
    }
    if (.@ret)
    return;

    end;

    As i know, Happy hours put available Ranked Reward Mode


  3. 8 hours ago, 4144 said:

    Try this pr https://github.com/HerculesWS/Hercules/pull/2568

    I add some info if it crashing on parsing wrong data, but i cant reproduce your issue. If it crash, show output here

    Thank you, with that pr i has knew where was the problem reside.
    Anyways, my problem was for some reason i has a dot in JExp, i changed to an integer and problem was fixed.

     

    	Exp: 18000
    	JExp: .

    Fixed :D


  4. Hi, wondering what i'm doing wrong with this:

     

    [root@test Hercules]# python2 /home/lothar/Hercules/tools/mobskilldbconverter.py  pre-re /home/lothar/Hercules/
    Traceback (most recent call last):
      File "/home/lothar/Hercules/tools/mobskilldbconverter.py", line 264, in <module>
        ConvertDB(sys.argv[1], sys.argv[2])
      File "/home/lothar/Hercules/tools/mobskilldbconverter.py", line 217, in ConvertDB
        MobDB = Tools.LoadDBConsts('mob_db', mode, serverpath)
      File "/home/lothar/Hercules/tools/utils/common.py", line 40, in LoadDBConsts
        config = libconf.load(f)
      File "/home/lothar/Hercules/tools/utils/libconf.py", line 531, in load
        includedir=includedir)
      File "/home/lothar/Hercules/tools/utils/libconf.py", line 304, in from_file
        tokens.extend(tokenizer.tokenize(''.join(lines)))
      File "/home/lothar/Hercules/tools/utils/libconf.py", line 230, in tokenize
        self.filename, self.row, self.column)
      File "/home/lothar/Hercules/tools/utils/libconf.py", line 135, in __init__
        self.value = float(self.text)
    ValueError: could not convert string to float: .

     


  5. 8 hours ago, bWolfie said:

    how are you changing it? 

    Changing Element, to Ele_Weapon.
     

    Spoiler


    
    	Id: 490
    	Name: "CR_ACIDDEMONSTRATION"
    	Description: "Acid Demonstration"
    	MaxLevel: 10
    	Range: 9
    	Hit: "BDT_MULTIHIT"
    	SkillType: {
    		Enemy: true
    	}
    	AttackType: "Misc"
    	Element: "Ele_Weapon"
    	DamageType: {
    		IgnoreFlee: true
    	}
    	NumberOfHits: {
    		Lv1: 1
    		Lv2: 2
    		Lv3: 3
    		Lv4: 4
    		Lv5: 5
    		Lv6: 6
    		Lv7: 7
    		Lv8: 8
    		Lv9: 9
    		Lv10: 10
    	}
    	InterruptCast: true
    	CastTime: 1000
    	AfterCastActDelay: 1000
    	CoolDown: 0
    	Requirements: {
    		SPCost: 30
    		Items: {
    			Fire_Bottle: 1
    			Acid_Bottle: 1
    		}
    	}
    },


     

     


  6. Hi, recently i restore a sql DB.

    But in the map-server, appear the following:

    [SQL]: - detected 57 new SQL updates
    [SQL]: -- 'sql-files/upgrades/2013-02-14--16-15.sql'
    [SQL]: -- 'sql-files/upgrades/2013-02-15--18-06.sql'
    [SQL]: -- 'sql-files/upgrades/2013-03-05--01-05.sql'
    [SQL]: -- 'sql-files/upgrades/2013-03-06--00-00.sql'
    [SQL]: -- 'sql-files/upgrades/2013-03-09--01-56.sql'
    [SQL]: -- 'sql-files/upgrades/2013-03-27--18-35.sql'
    [SQL]: -- 'sql-files/upgrades/2013-04-16--01-24.sql'
    [SQL]: -- 'sql-files/upgrades/2013-04-16--02-15.sql'
    [SQL]: -- 'sql-files/upgrades/2013-10-09--21-38.sql'
    [SQL]: -- 'sql-files/upgrades/2013-10-10--16-36.sql'
    [SQL]: -- 'sql-files/upgrades/2013-10-27--16-47.sql'
    [SQL]: -- 'sql-files/upgrades/2013-10-30--19-53.sql'
    [SQL]: -- 'sql-files/upgrades/2013-10-30--21-12.sql'
    [SQL]: -- 'sql-files/upgrades/2013-10-31--07-49.sql'
    [SQL]: -- 'sql-files/upgrades/2013-11-09--00-03.sql'
    [SQL]: -- 'sql-files/upgrades/2013-11-15--00-06.sql'
    [SQL]: -- 'sql-files/upgrades/2013-11-15--19-57.sql'
    [SQL]: -- 'sql-files/upgrades/2013-11-16--07-49.sql'
    [SQL]: -- 'sql-files/upgrades/2013-11-18--08-23.sql'
    [SQL]: -- 'sql-files/upgrades/2013-12-24--00-15.sql'
    [SQL]: -- 'sql-files/upgrades/2014-01-04--16-47.sql'
    [SQL]: -- 'sql-files/upgrades/2014-01-06--17-22.sql'
    [SQL]: -- 'sql-files/upgrades/2014-02-19--17-57.sql'
    [SQL]: -- 'sql-files/upgrades/2014-03-25--23-57.sql'
    [SQL]: -- 'sql-files/upgrades/2014-04-07--22-04.sql'
    [SQL]: -- 'sql-files/upgrades/2014-04-26--10-00.sql'
    [SQL]: -- 'sql-files/upgrades/2014-05-17--00-06.sql'
    [SQL]: -- 'sql-files/upgrades/2014-09-01--16-53.sql'
    [SQL]: -- 'sql-files/upgrades/2014-11-03--00-45.sql'
    [SQL]: -- 'sql-files/upgrades/2015-07-02--18-14.sql'
    [SQL]: -- 'sql-files/upgrades/2015-07-08--13-08.sql'
    [SQL]: -- 'sql-files/upgrades/2015-08-27--20-42.sql'
    [SQL]: -- 'sql-files/upgrades/2015-12-16--12-57.sql'
    [SQL]: -- 'sql-files/upgrades/2015-12-17--15-58.sql'
    [SQL]: -- 'sql-files/upgrades/2016-03-10--22-18.sql'
    [SQL]: -- 'sql-files/upgrades/2016-07-08--02-42.sql'
    [SQL]: -- 'sql-files/upgrades/2016-07-08--02-51.sql'
    [SQL]: -- 'sql-files/upgrades/2016-10-03--20-27.sql'
    [SQL]: -- 'sql-files/upgrades/2016-10-26--10-29.sql'
    [SQL]: -- 'sql-files/upgrades/2017-03-02--11-40.sql'
    [SQL]: -- 'sql-files/upgrades/2017-03-05--08-09.sql'
    [SQL]: -- 'sql-files/upgrades/2017-03-15--14-29.sql'
    [SQL]: -- 'sql-files/upgrades/2017-06-04--15-04.sql'
    [SQL]: -- 'sql-files/upgrades/2017-06-04--15-05.sql'
    [SQL]: -- 'sql-files/upgrades/2017-11-04--10-39.sql'
    [SQL]: -- 'sql-files/upgrades/2018-02-26--15-57.sql'
    [SQL]: -- 'sql-files/upgrades/2018-03-10--04-06.sql'
    [SQL]: -- 'sql-files/upgrades/2018-06-03--00-10.sql'
    [SQL]: -- 'sql-files/upgrades/2018-06-03--17-16.sql'
    [SQL]: -- 'sql-files/upgrades/2018-06-05--12-02.sql'
    [SQL]: -- 'sql-files/upgrades/2018-07-24--03-23.sql'
    [SQL]: -- 'sql-files/upgrades/2018-09-01--05-22.sql'
    [SQL]: -- 'sql-files/upgrades/2018-12-14--01-02.sql'
    [SQL]: -- 'sql-files/upgrades/2018-12-29--07-51.sql'
    [SQL]: -- 'sql-files/upgrades/2019-04-08--21-52.sql'
    [SQL]: -- 'sql-files/upgrades/2019-04-25--02-12.sql'
    [SQL]: -- 'sql-files/upgrades/2019-05-09--18-07.sql'
    [SQL]: To manually skip, type: 'sql update skip <file name>'

    This command is outdated:

    : To manually skip, type: 'sql update skip <file name>'
    
    
    

    Exist an alternative to clean this messages?


  7. Hi, how can i store the current item bonus ?.


    i'm having trouble when i use an enchantment npc with an item that have item bonus, because the enchantment override the currently bonus.

    i think it's something with getequipoption , but i don't know how to store the current item bonus and set again the same bonus.

×
×
  • Create New...

Important Information

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