Jump to content

Klutz

Members
  • Content Count

    87
  • Joined

  • Last visited

Everything posted by Klutz

  1. Hi, I was looking at the Dynamic Shop and i have a question: In case i want to sell for example: 15x Box of Thunder for 1 Gold_Coin What will be the way to do it? Is it even possible? NPC script example if the above doesn't explain it well enough: delitem 7517,1; <--- 1 Gold Coins will be deleted getitem 12028,15; <--- For 15 Box of Thunders Regards, Klutz
  2. Klutz

    Map server errors

    Bump regarding this issue?
  3. Klutz

    Map server errors

    I listed it only plugin is db2sql When i disable nullpo_ret(bst); The skill works fine. i wonder why: bst = status->get_base_status(bl); returns null.
  4. Hey, I get some map server errors using Arrow shower skill: Facts: 1) Happens when you use arrow shower on a trap. 2) The trap doesn't get pushed away. 3) Doesn't Happens when you use arrow shower on a monster, a Player or empty spot. 4) i replaced all my source edits (skill.c and battle.c) with the files from the git - > Doesn't solve the problem. 5) i am using pre-re settings. 6) i am running latest Hercules. 7) Only plugin that is being used is db2sql. The Error: [Error]: --- nullpo info -------------------------------------------- [Error]: skill.c:12185: 'bst' in function `skill_unit_onplace_timer' [Error]: ./map-server(assert_report+0x80) [0x6435a0] [Error]: ./map-server(skill_unit_onplace_timer+0x419) [0x5c5609] [Error]: ./map-server(skill_unit_timer_sub_onplace+0xc9) [0x5ced19] [Error]: ./map-server() [0x50b8dd] [Error]: ./map-server(map_vforeachinshootrange+0x99) [0x516559] [Error]: ./map-server(map_foreachinshootrange+0x97) [0x514fc7] [Error]: ./map-server(skill_unit_timer_sub+0x2b3) [0x5d2ee3] [Error]: ./map-server() [0x63a5ca] [Error]: ./map-server() [0x639c42] [Error]: ./map-server(skill_unit_timer+0x36) [0x5cee36] [Error]: --- end nullpo info ---------------------------------------- Thanks in advance, Klutz
  5. It's likely you do not have ModRewrite enabled on your Apache server. Mind giving my a hand in this? I want to use this tool and make it my primary server administrator tool.
  6. Now that works . Thank you so much <3
  7. It doesn't I didn't even read the docs, I checked on the picklog itself. There is nothin there about -1 for the card i am inserting. So it's not logged.
  8. That's what i am saying. It doesn't log it at all, no matter what i do. Something seems to be broken
  9. I am always getting error of URLs was not found. Example: he requested URL /account/search was not found on this server.
  10. My logs configuration: map_log: { // Enable Logs? (Note 3) // 0x00000 - Don't log at all // 0x00001 - (T) Log trades // 0x00002 - (V) Log vending transactions // 0x00004 - (P) Log items drop/picked by players // 0x00008 - (L) Log items drop/looted by monsters // 0x00010 - (S) Log NPC transactions (buy/sell) // 0x00020 - (N) Log Script transactions (items deleted/acquired through quests) // 0x00040 - (D) Log items stolen from mobs (Steal/Gank) // 0x00080 - © Log player-used items (consumables/pet&hom&merc food/items used for skills&attacks) // 0x00100 - (O) Log produced/ingredient items // 0x00200 - (U) Log MVP prize items // 0x00400 - (A) Log player created/deleted items (through @/# commands) // 0x00800 - ® Log items placed/retrieved from storage. // 0x01000 - (G) Log items placed/retrieved from guild storage. // 0x02000 - (E) Log mail system transactions. // 0x04000 - (I) Log auction system transactions. // 0x08000 - ( Log buying store transactions // 0x20000 - (K) Log account bank transactions // 0x10000 - (X) Log all other transactions (rentals expiring/inserting cards/items removed by item_check/ // rings deleted by divorce/pet egg (un)hatching/pet armor (un)equipping/Weapon Refine skill/Remove Trap skill) // Example: Log trades+vending+script items+created items: 1+2+32+1024 = 1059 // Please note that moving items from inventory to cart and back is not logged by design. enable: 0xFFFFF And it doesn't log any insert/extract card to weapon or any armor item
  11. Hi, I am moving my server from eAthena to Hercules. And i saw the unique_id feature hercules has. I forced serial the important cards i want to keep track, but sadlyunique_id doesn't stay after adding card to weapon, armor and etc... I was wondering how can i keep this data even after card was added to weapon and removed from weapon. Maybe adding card0_unique_id for each slot will do the work, but i can't find the procedure who deals with card insert. The second option is to log that this item was inserted to other item, but i don't think Hercules has this feature either. Does anyone have any idea how to do that? Regards, Tomer
  12. Hey, I was looking the new for convertor visionary_tab to lua files. i found out Functor made a tool to convert it back in 2013 - but i can't find a link. Does anyone have this tool to make my life easier? Regards, Klutz
  13. As @4144 said, Hercules uses .conf files with a structure more human readable. This is an example for item_db.conf: { Id: 1625 AegisName: "Healing_Staff" Name: "Healing Staff" Type: 4 Buy: 20 Weight: 400 Atk: 10 Matk: 105 Range: 1 Job: { Acolyte: true Priest: true Monk: true } Loc: 2 WeaponLv: 3 EquipLv: 55 View: 10 Script: <" bonus bAtkEle,Ele_Holy; bonus bHealPower,(getrefine()*3/2); "> }, However, if you still need to have updated item_db in sql format, you can convert the .conf file to .sql with this plugin: https://github.com/HerculesWS/Hercules/wiki/Db2sql so lets make sure i understood everything, Hercules doesn't support sql based item_db/item_db2 (that will be used by the map server) And i need to move all my custom items to the text files (aka item_db.conf)
  14. Hercules uses sql as default (and only uses sql, doesn't use txt databases). You may want to setup a new Hercules default server to explore and watch how Hercules works. In this topic you can find a very good guide about how to install sql databases: http://herc.ws/board/topic/1574-tutorial-preparing-database-ragnarok-for-pre-compiled-hercules/ Here you can download a precompiled server: http://herc.ws/board/files/file/25-hercules-win32-for-ragexe-20130703/ And here you can find the newest version of hercules: https://github.com/HerculesWS/Hercules/ After having tested and experienced hercules, you may want to convert your sql databases from eAthena to Hercules with the tools provided on "sql-files\upgrades" folder: eAthena-logs-upgrade.sql eAthena-main-upgrade.sql https://github.com/HerculesWS/Hercules/commit/95c3844754b1649aaa4866e1e65034ad24a1cafe this commit say it doesn't support anymore
  15. How can i setup Hercules doesn't use txt database, instead uses also sql db and provide two sql files for conversion: Hercules\sql-files\upgrades\eAthena-logs-upgrade.sql Hercules\sql-files\upgrades\eAthena-main-upgrade.sql Both of them can be found on GitHub: https://github.com/HerculesWS/Hercules If you want to export query sql into a txt file, I'm not used on it. How can i setup the emulator to use the sql? I couldn't find the option anywhere.
  16. Hi, I am upgrading my server from eAthena to Hercules. I used to use sql tables on my old server. How do i export the sql tables to Hecules txt files?
  17. Klutz

    Pre-re Source edit

    I don't think i can for example change the SP formula taken by pressure by the map_zone and my other things.
  18. Klutz

    Pre-re Source edit

    But i can't seems to understand the plugin system. I will need help with few examples (from the ones i read i couldn't understand how it works)
  19. Hi, I am moving my old eAthena server to Hercules ( i am using 2009 eAthena right now) I am trying to understand the plugin system but i don't seems to understand how it works. I was wondering if i will change everything on my source (mostly skills calculation damage and caps) will it prevent me from updating my server? I wish i could do it all using plugins but sadly i don't understand the plugin system. Regards, Klutz
  20. Why do you want to change the source for or add a plugin for changing the damage output of Paladin's pressure? Use the map_zone conf when you switch to Hercules. I already gave you the example above using : "adjust_skill_damage PA_PRESSURE 200" You just want to increase the damage of the skill? Correct? You can also read this to learn more: http://herc.ws/board/topic/302-introducing-hercules-map-zone-database/ According to what i am reading it caps only the Damage to the HP. The second question was Damage to SP. So from what i understand this won't help me in this case.
  21. Lets try something else: this is my current pressure SP damage: case PA_PRESSURE: status_percent_damage(src, bl, 0,5*skilllv, false); and Hercules: case PA_PRESSURE: status_percent_damage(src, bl, 0, 15+5*skill_lv, false); How do i edit it using HPM? Once i will understand how the HPM works it will be much easier for me (i have too many source edits i couldn't upgrade my eathena [still at 2010 version]
  22. You know a great thing about Hercules isn't just our plugin feature. We also have something called the map_zone_db. In this file, you can edit skills and increase their damage without touching the source. So no need to worry. Head on over to https://github.com/HerculesWS/Hercules/blob/master/db/pre-re/map_zone_db.conf and look for: And add this mapflag to one of the zones. "adjust_skill_damage HT_LANDMINE 200", What you do here now, is add the skill Pressure and change the damage output bad example then i won't be able to learn that way
  23. Hey, I am moving from eAthena server based to Hercules. And i need to move all my source edit to Hercules and i decided to do it the right way and use the HPM. I read the wiki and check some example but i don't seems to understand how it works. so i will just get example for something i need and i will try to learn from that. i want to add to PA_PRESSURE Maximum damage value. so my old Source edit is this: case PA_PRESSURE: md.damage=500+300*skill_lv; if (md.damage > 2000){md.damage=2000;} This is under battle.c -> battle_calc_misc_attack Line 4010 on latest Hercules . how can i make it in plugin?
×
×
  • Create New...

Important Information

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