Jump to content

Hadeszeus

Members
  • Content Count

    651
  • Joined

  • Last visited

  • Days Won

    1

Reputation Activity

  1. Upvote
    Hadeszeus reacted to Mhalicot in Costume Item Plugins   
    File Name: Costume Item Plugins
    File Submitter: Mhalicot
    File Submitted: 10 Feb 2014
    File Category: Plugins
     
    HPM @costumeitem complete package.
     
    Compatible with Windows System Only
     
    if you are using Linux, ignore other files and use only afk.c
    Instruction.
     
    1. Download and extract files using 7z or any application that can extract it.
    2. extract it in your server directory ex: C:/RO Server/Hercules/
    2.1. edit conf/plugins.conf and add costumeitem
    3. Your done. you can now try your plugins
     
    if you are using VS2010/VS2009/vs2013 or whatsoever and you are failing to compile because of platform issue.
    this is what you need to do.
     
    In Recompiling:
    If you are using other MSVS/C
    Quote
     
    Note: Recompile if you modify the script.
     
    If you have any questions feel free to drop a comment.
     
    NOTE: You done have to edit your src to add this custom features(Less conflict when you want to update your server). Thanks to Mr. Ind for making this Plugins possible, This Plugins will convert your items to costume(item stats/combos/bonuses will also copied)
     
    for more info on how to to use HPM visit Here
    (Tested on Hercules rev. 146**)
    Script Release: Costume System
     
    Click here to download this file
  2. Upvote
    Hadeszeus reacted to Mhalicot in Costume Item Plugins   
    Update Version 3.4
    3.4 Fixed Error when compiling.

  3. Upvote
    Hadeszeus reacted to Jguy in HAT - The Hercules Admin Tool!   
    Hi folks,
     
    https://github.com/jguy1987/HercAdminTool/commit/b232298ac0b0c889a3dbc54386cd80a71fa8db12
     
    Multiple what's it's now?!???!?!???!
    This update adds the ability for the HercAdminTool to be able to administrate multiple char/map databases with one login database.
     
    At the top right of the page, next to your username, you will find a server selection box. Dropping this down you will be able to select the Char/Map server to use.
     

     
    As of right now, you could potentially administrate as many char/map servers as you wanted, I have not found any limit.
     
    The plan is to have your admin panel groups restrict access to specific servers. So, you can lock everyone out of another server if you wanted to. But as of right now, each group would have the same permissions on each server. This may change depending on what I see the need for.
     
    The configuration for this is accomplished in two places, both in the config directory. hat.php has the configuration array for setting the main things up, like the human readable server name and the database server name. The remaining configuration is done in database.php. Add a separate group for each server you have. The 'database_group' setting in hat.php MUST match up with what you name the database in database.php.
     
    Hope everyone enjoys!
     
    NOTE: I've received some questions regarding this. When I say "Multiple Char/Map servers" I mean that there is 1 login server, and then 2 character servers connected to it, and from there, each character server has a map server connected to it, NOT One login, one char, and multiple map servers. Kind of like this:
     
    |==========| |=========| | char | | map | /========| server |======| server | |--------------| / | s1 | | | | | / |==========| |=========| | login |/ | server | | | |==========| |=========| |--------------| | char | | map | ========| server |======| server | | s2 | | | |==========| |=========|
  4. Upvote
    Hadeszeus reacted to evilpuncker in Any chance to know or debug which is missing?   
    I may be wrong but that error is because you (or some player) are trying to use @warp into a unknown map or a script is bad scripted thus trying to send user to empty map
  5. Upvote
    Hadeszeus reacted to Dastgir in Any chance to know or debug which is missing?   
    Not a missing map, but source trying to get MapID of an empty mapname..
  6. Upvote
    Hadeszeus reacted to jaBote in Query Question mysql   
    Never done anything like this, but if you feel like experimenting try the cursors example here: http://www.databasejournal.com/features/mysql/mysql-cursors-and-loops.html
     
    Of course, experiment as much as you want in a backup or a test DB . The query you want to use for each cursor repetition is like this:
     
    INSERT INTO `char_reg_num_db` (`char_id`, `key`, `index`, `value`) VALUES (EVERY_CHAR_ID_GOES_HERE, 'limit_var', '0', '1');  
    Or you could get even smarter and do something like this (totally untested) code:
    -- Copy structure of char_reg_num_db into a temporary tableCREATE TABLE IF NOT EXISTS `temp_table` ( `char_id` int(11) unsigned DEFAULT '0', `key` varchar(32) CHARACTER SET latin1 COLLATE latin1_bin DEFAULT '', `index` int(11) unsigned DEFAULT '0', `value` int(11) DEFAULT '0', PRIMARY KEY (`char_id`,`key`,`index`), KEY `char_id` (`char_id`)) ENGINE=MyISAM DEFAULT CHARSET=latin1;-- Add all existing char_ids into our tableINSERT INTO `temp_table` (`char_id`) SELECT `char_id` FROM `char`;-- Add the data we want to add for every user (row in the table)UPDATE `temp_table` SET `key` = 'limit_var', `index` = '0', `value` = '1' WHERE 1;-- Insert the temporary data into our char_reg_num_db tableINSERT INTO `char_reg_num_db` SELECT * FROM `temp_table`;-- Drop our temporary tableDROP TABLE `temp_table`;  
     And that's it. Hope it works. You should restart the server or make all your users relog for this to take effect.
  7. Upvote
    Hadeszeus got a reaction from Legend in How to prevent BOT?   
    Diff your CLIENT using NEMO and check SSO Login
    Then you need to use ROCRED for example to support SSO
  8. Upvote
    Hadeszeus got a reaction from vBrenth in Seriously, where do you host your server?   
    Thanks for this info. 
  9. Upvote
    Hadeszeus reacted to Takari in CORA™ CMS   
    CORA v0.9.4.2 is now 30% finished and is expected to be released this coming sunday! 
    Some changes you can expect:
    [*]Support for item_db2, item_db_re, mob_db2, etc. [*]Improved error presentation for registration/account update. [*]Minor bug fixes and updates on existing modules. [*] AND MORE!!

    ​A detailed changelog will be posted along the update. For the meantime, how do you guys feel about mobile content management? Useful for those admins on the go, If I may so myself 

  10. Upvote
    Hadeszeus got a reaction from Doch in Yourolist - new RO list/database/tools webpage, soon :]   
    Congrats to this project! My only suggestion to you is to make the look and feel clean.
  11. Upvote
    Hadeszeus reacted to Dastgir in Plugin Collections   
    Hello Community,
     I am feeling like, there's many plugin on forum, but not been actively used, due to out-of-date plugin
     
    I have updated Shikazu's Plugin first(as it was requested on the thread from 25th April), maybe Shikazu busy on his rl.
    Also I have included My Plugins there.
     
    I would like to add more plugins there(which are not updated on hercules forum <- please suggest if you find some outdated plugin and want me to update it )
     
    List of Plugins and Owners:
    https://github.com/dastgir/HPM-Plugins/blob/master/README.md  
    Repository: https://github.com/dastgir/HPM-Plugins
     
    Thanks.
  12. Upvote
    Hadeszeus reacted to malufett in Announce via command request   
    try this..
    - script atcmd_broadcast2 -1,{OnInit:bindatcmd "broadcast2",strnpcinfo(3)+"::OnAtcommand";end;OnAtcommand:setarray .@broadcastMap$[0],"prontera","morroc","payon","geffen";for(.@i=0; .@i<getarraysize(.@broadcastMap$);.@i=.@i+1){mapannounce .@broadcastMap$[.@i],.@atcmd_parameters$[0];}end;}
  13. Upvote
    Hadeszeus reacted to GmOcean in Ask for help with this Status Ailment   
    sc_def = bst->int_*20;
    That should make it -1 for every 20 int.
     
    tick_def = bst>int_ * 20 + SCDEF_LVL_CAP(bl, 150) *20;
    That should make it last about 55% less than normal, but I dunno for sure. Since I don't know what the last *50 is a reference to.
  14. Upvote
    Hadeszeus reacted to Litro in Ask for help with this Status Ailment   
    Just change the tick deff part and disable tick deff2 part, it should be like this
    case SC_DEEP_SLEEP: sc_def = bst->int_*50; tick_def = bst->int_ *20; // Linear reduction instead //tick_def2 = bst->int_ * 50 + SCDEF_LVL_CAP(bl, 150) * 50; // kRO balance update lists this formula break; sc_def is resistance part, tick_def is timer part, tick_def2 is timer part to but taken to calculation after tick deff has been calculated, SCDEF_LVL_CAP(bl, 150) * 50 is comparison level caster and target (not sure how it work get @Playtester or other member who have knowledge to explain it to you)
  15. Upvote
    Hadeszeus reacted to Playtester in is it normal to have vending tax? and how to remove it?   
    Yes 2% vending tax is official behavior. Gravity added this around episode 10 to battle inflation (same reason why they added Rachel Donation, Socket Enchanter and Comodo Gambling). Ragnarok Online easily suffers inflation (= more money "created" by NPCs than money used), the Vending Tax helps to stabilize the economy.
  16. Upvote
    Hadeszeus reacted to Ink in Reset Basic Skill on Baby Class   
    line 159 
     
    if (.@newjob == Job_Novice_High)resetlvl(1); add below
     
    if (.@newjob == Job_Baby) {resetlvl(4);SkillPoint = 0;}  
    think this is added in the git already. you can also use the latest version there
  17. Upvote
    Hadeszeus reacted to Litro in How to adjust STAT requirements for Status effect?   
    case SC_STUN: sc_def = st->vit*100; sc_def2 = st->luk*10 + SCDEF_LVL_DIFF(bl, src, 99, 10); tick_def2 = st->luk*10; Percentual resistance: 10000 = 100% Resist <- from the code sc_def = st->vit*100; mean you will need 100 vit to fully resist stun
  18. Upvote
    Hadeszeus reacted to Michi in UNLIMIT how to recude the attack percentage change?   
    You can change it here
    if( sc && skill_id != PA_SACRIFICE && sc->data[SC_UNLIMIT] && (wd.flag&(BF_LONG|BF_MAGIC)) == BF_LONG) { switch(skill_id) { case RA_WUGDASH: case RA_WUGSTRIKE: case RA_WUGBITE: break; default: ATK_ADDRATE( 50 * sc->data[SC_UNLIMIT]->val1 ); } } ->   ATK_ADDRATE( 50 * sc->data[sC_UNLIMIT]->val1 );
  19. Upvote
    Hadeszeus reacted to AnnieRuru in @market clone   
    Download: 1.9
    plugin
     
    Create a market clone, to leave a message for other players
    while the player can go hunting/questing/events
    @market "<Title>" "<Message>" <Color> create a market clone with a chat room titled -> "<Title>"
    when players tries to join the chat room, it refuse the joining, but instead leave a message -> "<Message>"
    with 1.4 update,
    player can now choose their own favorite color for their AFK message
    the <Color> field is optional
    I was struggling to use array for the color list ...
    but in the end, I guess the simplicity is the best
    so you guys can guess how to add in your own list easily
     
    @marketkill kill the market clone without logging off
     
    when a GM do @killmonster @killmonster2, or *killmonster *kilmonsterall script command will not remove the clone
    but @reloadscript, however, will remove it
     
    feels like I just copy paste from the description
    whatever ...
     
    Credit : remember to rep Dastgir's topic because I mostly copy his codes
     
     
  20. Upvote
    Hadeszeus reacted to Garr in Character & NPC are small by default issue   
    I think there's some size change missing in the latest mob.h SZ_SMALL <> SZ_MEDIUM replacement.
  21. Upvote
    Hadeszeus reacted to GrandlineHost in [Games] Jackpot slot machine   
    Hi there,
     
    Today i would like to share two script that enable you to play the jackpot game!
     
    1st script  : slot machine - original scripter is release by godaimet
    2nd script : casino employee - my script which i modified from a simple "redeem script i found..uhmm...nowhere?"
     
    How it work?
     
    First, you need a exchange your zeny into token from the casino employee npc. From this script i set 1 token = 50k zeny.
     
    Note that you can also :
    exchange back the token into zeny redeem some special gift

     

     
    2nd, you can start play the casino machine. Click on the casino machine npc.
     
    You can roll the machine as many time as you like and it will reduce 1 pcs of your coin every single time you roll it.
     

     
    During rolling the machine, it will goes randomly in 3 sequence alphabet.
     
    If you are lucky to get the same three Alphabet in a row, you will win the reward as stated on the previous picture
     

     

     
    Credits
    goes to the casino machine scripter owner godaimet and i hope you guys
    will have fun playing with this jackpot machine! 
     
    slotmachine.txt
    casinoemployee.txt
  22. Upvote
    Hadeszeus reacted to AnnieRuru in Maintenance mode   
    Download: 1.5
    plugin
     
    create table maintenance ( id int primary key auto_increment, account_id int, name varchar(23), reason varchar(99), minlv2connect tinyint, order_time datetime, start_time datetime, end_time datetime ) engine = innodb;   .
    remember to enable HPMHooking to enable this modification
    plugins_list: [ /* Enable HPMHooking when plugins in use rely on Hooking */ "HPMHooking", .
    .
    Note:
    sometimes the server countdown jumps 1 second ahead
    this is normal because the timetick from time->add is unstable
    so I use unix_time to synchronize the countdown to server time
     
    .
    .
    so, if you found some script/source code having bugs and you need to shut down your server for a short while
    then you come to the right place
    .
    @maintenance <Group ID can stay 1~99> <duration to kick in minute> <maintenance duration in minute> <reason> then a GM99 can commence the maintenance
     
    Example : '@maintenance 40 5 10 need to fix announcer script'
     
    every player with group ID 40 and below will be kick after 5 minutes
    and the server will start counting down by an announcement,
    during the maintenance of 10 minutes, group ID 40 and below will deny from login into the server
    `maintenance` table will also generate a new line, with the `reason` field as 'need to fix announcer script'
    which is useful to know when and how many times you did emergency server shutdown
    though, the actual reason for using SQL is to persist the data after server shutdown
    so the server will continue being in maintenance mode despite how many times you have shut down the server
    until it times up ( `end_time` field ), or manually do `@maintenanceoff`
     
    Note:
    you can't generate a new line using 'INSERT INTO' Sql syntax when server is online
    because I declare a bunch of variables to for them, for the purpose of saving memory consumption
    you have to login the game and type `@maintenance` to initiate the maintenance mode, otherwise it wont work.
    .
    .
    .
    @maintenanceoff if you have already finished fixing the script/source code, and there's still a lot of time left
    you can type '@maintenanceoff' to immediately turn off the maintenance mode so players can login before the schedule.
    .
    .
    .
    .
    -- Script commands --
    .
    *maintenance <Group ID can stay 1~99>, <duration to kick in minute>, <maintenance duration in minute> { , <reason> }; .
    .
    actually I have no idea why I wanna make a script command ... maybe just for fun ?
    .
    - script jsdfksdj FAKE_NPC,{ OnMon0255: maintenance 40, 5, 60; end; } .
    this will make an announcement on Monday, 2:55AM that the server will have a regular server maintenance starts from 3AM to 4AM
    during that time, player with group ID 40 will be kicked and blocked from entering the server
    the `reason` field in `maintenance` table will be defaulted to '*Regular server maintenance*'
    .
    maintenance 40, 5, 60, "系统保养";
    this will overwrite the `reason` field in `maintenance` table to '系统保养' instead of regular maintenance
    .
    .
    *maintenanceoff { <reason> }; uhh ... useless I think ...
    .
    .
    *maintenancecheck( <type> ); use 'maintenance()' to check the server is currently in maintenance mode or not
    return 0 if server is normal
    return 1 if server is going to have maintenance
    return 2 if server is having maintenance
    all other types are meant to myself to debug this junk
     
     
     
     
  23. Upvote
    Hadeszeus got a reaction from Ancyker in Cart Cannon and Cannon Ball Element   
    I'd like to ask if this is still the correct behavior of Cart Cannon and Cannon Ball?


     

    Cause right now Cart Cannon doesn't take the element of Cannon Ball.
  24. Upvote
    Hadeszeus got a reaction from Ink in Cart Cannon and Cannon Ball Element   
    I'd like to ask if this is still the correct behavior of Cart Cannon and Cannon Ball?


     

    Cause right now Cart Cannon doesn't take the element of Cannon Ball.
  25. Upvote
    Hadeszeus reacted to Angelmelody in Warper of Toasty need help   
    StartNode("Nameless Island", "function", "f_questnameless");
     AddMap("Nameless Island", "nameless_n", 256, 215);
    EndNode();


    function script f_questnameless {
    return (checkquest(xxxx) == 2);
    }
×
×
  • Create New...

Important Information

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