Jump to content

eKoh

Members
  • Content Count

    75
  • Joined

  • Last visited


Reputation Activity

  1. Upvote
    eKoh got a reaction from RagnaSpell in My ragnarok web design (landing page)   
    Hello guys, I've made a ragnarok web design, it is a landing page, which I want to use to attract players to get into our forums. I want to make this to create a big community before launching our server.
     
    Please tell me what you like and what you dislike please be critical, it will help me a lot =)
     

  2. Upvote
    eKoh reacted to Dastgir in Is there @monster2 that doesn't give any Drops/Exp?   
    https://github.com/dastgir/HPM-Plugins/blob/master/src/plugins/monster_nodropexp.c
    Usage same as @monster.

  3. Upvote
    eKoh reacted to Garr in How temporary a $@ variable is?   
    It lasts while map server works. Once server crash or restart it's gone.
  4. Upvote
    eKoh reacted to raPalooza~ in Modern DamageFont   
    File Name: Modern DamageFont
    File Submitter: raPalooza~
    File Submitted: 19 Aug 2015
    File Category: Sprites & Palettes
     
    Modern DamageFont
    The ugliness of the original ragnarok font cannot be described...(screen shot for comparison)
    And after years of playing and messing with ragnarok, i havent seen a single sprite edit of the damage font...
    So here it is!!!
     
    By modificating the resolution of the damage sprite and sizing it down in the act file, we are able to get better resolution ;OO
    and with that work on detailed effects on the ragnarok font
     
    Feel free to use the modification. Hope to inspire more damage modifications!
    *It goes very well with my last two uploads, I know it has been a while since I show up, so....
    **Try it out it look Beautiful!
     

    raPzLight Skin Renewal 1.0
    Category: Other Graphics Last Updated Jul 14 2014 02:57 AM  
     

    Modern Prontera [ Free Clean Map ] 1.0
    Category: Maps & Textures Last Updated Jul 12 2014 12:15 PM  
     
    Click here to download this file
  5. Upvote
    eKoh reacted to Dastgir in Special Shop[Implement it in Hercules.]   
    Reference topic : http://rathena.org/board/topic/84169-specialty-shops/
     
    Pull Request : https://github.com/HerculesWS/Hercules/pull/232 (Tested it out, and its working.) 
    Diff File: SpecialShop_v1.2.diff (In case someone want to use it early/dev rejected it.)
    I have tested this source, and it works fine, anyone who wants to try can test it.




    Although in cashshop rearrangement, we would like if format is this
    <map name>,<x>,<y>,<facing>   pointshop <NPC Name> <sprite id>,<"points">,<"description">,<itemid>:<price>{,<itemid>:<price>...}  Where description is the name of point put, like if variable if PkP and description is PvP Points.
    Then when we open shop it will show in chat box (not npc dialog box), that "This shop uses PvP Points for purchasing items. Current PvP Points:123"
     
  6. Upvote
    eKoh reacted to Aeromesi in PvP Points System   
    [PvP Points System]

    Special thanks to: IeYaseru (An old friend who coded for me years ago, he died on the iNet T_T)
     
    Description:
    The variable used in this system is PvPPoints, so you may use that for a PvP shop system or other things in scripts, pvp master, etc... whatever your mind can come up with!
    //= Gives 1 PvP Point on killing other player//= Takes 1 PvP Points for dying//= Takes 5 PvP Points for killing same player 3 times//= within 90 seconds of each kill points.txt
  7. Upvote
    eKoh reacted to evilpuncker in How to know if the player is in combat?   
    (!battle_config.prevent_logout || DIFF_TICK(timer->gettick(), sd->canlog_tick) > battle_config.prevent_logout) ) 
  8. Upvote
    eKoh reacted to Soul1992 in I want to make a command @bghappy 20 <- 20% bonus   
    - script bghappy_1 -1,{ OnInit:bindatcmd "bghappy",strnpcinfo(3)+"::OnBghappy", 40,99; end; OnBghappy:if (@bghappy) {set @bghappy, 0;setbattleflag "bg_reward_rates",100; // Normal Ratessetbattleflag "bg_ranked_mode",0; dispbottom "Battlegrounds +20% mode is OFF.";end;} else {set @bghappy, 1;setbattleflag "bg_reward_rates",120; // +20% Reward Ratessetbattleflag "bg_ranked_mode",1;dispbottom "Battlegrounds +20% mode is ON.";end;}}
  9. Upvote
    eKoh reacted to Winterfox in I want to make a command @bghappy 20 <- 20% bonus   
    I think holding the state if happy hour is enabled or not shouldn't be handled by a temporary character variable.
    I would go for a on and off command build instead of a toggle.
     
    But it doesn't really do what was requested anyway.
    - script bghappy_1 -1,{ OnInit: bindatcmd "bghappy", strnpcinfo( 3 ) + "::OnBGHappyhour", 40, 99; end; OnBGHappyhour: .@rate = atoi( .@atcmd_parameters$[ 0 ] ); setbattleflag "bg_reward_rates", 100 + .@rate; if( .@rate ) { .@ranked = 1; dispbottom "Battlegrounds Happyhour +" + .@rate + "% mode is ON."; } else { .@ranked = 0; dispbottom "Battlegrounds Happyhour mode is OFF."; } setbattleflag "bg_ranked_mode", .@ranked; end;}
  10. Upvote
    eKoh reacted to zxcasdr in RENNC DESIGN | WEPRIORITIZE   
    Current Work



     
    More at: 
    https://www.facebook.com/pages/Rennc-design/1566006293643129?ref=hl
  11. Upvote
    eKoh reacted to evilpuncker in Monster Hp Display   
    just remove this from mob.c and recompile
     
     
    #if PACKETVER >= 20120404 if( !(md->status.mode&MD_BOSS) ){ int i; for(i = 0; i < DAMAGELOG_SIZE; i++){ // must show hp bar to all char who already hit the mob. if( md->dmglog[i].id ) { struct map_session_data *sd = map->charid2sd(md->dmglog[i].id); if( sd && check_distance_bl(&md->bl, &sd->bl, AREA_SIZE) ) // check if in range clif->monster_hp_bar(md,sd); } } }#endif   
  12. Upvote
    eKoh reacted to loong in [showcase]the first lot of 2015   
    Happy new year~everybody~
     

  13. Upvote
    eKoh reacted to Playtester in I want to learn Source code   
    Working on the emulators certainly helped me a lot also learning it. I'm not the type who reads explanations. I just look at examples and then try to imitate them. At first I started with easy code changes like just correcting the damage which is basically just finding it in the code and changing a number and then tried continuously harder things.
    Now I set debug messages everywhere and run test cases to figure out complex problems.
     
    But I guess I had programming knowledge even before joining eAthena.
     
    So going back even earlier... well I guess I simply wrote a hello world program. Also looking at an example, copying it, getting it to compile, and be happy that it showed "Hello world". And then I slowly expanded that like "When I press a key I want it to show a second message" and "Now the user should input a number and it should show the square of it" and then I started writing small minigames like "A goblin appears what to you want to do? 1. Hit it 2. Run away".
  14. Upvote
    eKoh reacted to csnv in I want to learn Source code   
    I guess I'll give you a more precise suggestion. Read and follow "The C Programming Language - 2nd edition" book, along with the exercises your C knowledge should be enough to be able to understand what the emulator does and how. Then, you can fix bugs or develop your own code, but above all you'll need time to understand the emulator code.
  15. Upvote
    eKoh reacted to Diconfrost VaNz in [Guide]How to setup a Ragnarok Online(Server Side Only)   
    Download these files first:

    MySQL Gui Tools

    MySQL Essentials

    Download Compiled SVN here(I suggest to use trunk)

    When you're done downloading those files, follow these steps:

    ==========// SVN Files Setup //==========

    1) Goto your downloaded svn and extract it.

    2) Goto conf folder and look for char_athena.txt, inter_athena.txt, map_athena.txt and subnet_athena.txt

    3) Open char_athena.txt, and map_athena.txt and look for this:


     
    // Server Communication username and password.userid: s1passwd: p1   

    and change that into


     
    // Server Communication username and password.userid: ragnarokpasswd: ragnarok   

    2) Open your char_athena.txt again and look for this:


     
    // Login Server IP// The character server connects to the login server using this IP address.// NOTE: This is useful when you are running behind a firewall or are on// a machine with multiple interfaces.//login_ip: 127.0.0.1// The character server listens on the interface with this IP address.// NOTE: This allows you to run multiple servers on multiple interfaces// while using the same ports for each server.//bind_ip: 127.0.0.1// Login Server Portlogin_port: 6900// Character Server IP// The IP address which clients will use to connect.// Set this to what your server's public IP address is.//char_ip: 127.0.0.1remove the "//" in login_ip and char_ip. It will look like this:// Login Server IP// The character server connects to the login server using this IP address.// NOTE: This is useful when you are running behind a firewall or are on// a machine with multiple interfaces.login_ip: 127.0.0.1// The character server listens on the interface with this IP address.// NOTE: This allows you to run multiple servers on multiple interfaces// while using the same ports for each server.//bind_ip: 127.0.0.1// Login Server Portlogin_port: 6900// Character Server IP// The IP address which clients will use to connect.// Set this to what your server's public IP address is.char_ip: 127.0.0.1   

    3) Open your inter_athena.txt and look for this:


     
    // Global SQL settings// overriden by local settings when the hostname is defined there// (currently only the login-server reads/obeys these settings)sql.db_hostname: 127.0.0.1sql.db_port: 3306sql.db_username: ragnaroksql.db_password: ragnaroksql.db_database: ragnaroksql.codepage:// MySQL Character SQL serverchar_server_ip: 127.0.0.1char_server_port: 3306char_server_id: ragnarokchar_server_pw:ragnarokchar_server_db: ragnarok// MySQL Map SQL Servermap_server_ip: 127.0.0.1map_server_port: 3306map_server_id: ragnarokmap_server_pw: ragnarokmap_server_db: ragnarok// MySQL Log SQL Databaselog_db_ip: 127.0.0.1log_db_port: 3306log_db_id: ragnaroklog_db_pw: ragnaroklog_db_db: loglog_codepage:   

    if you're using my guide that is a given and you don't need to edit them. But if you're planning to change any of here like the user password or what, you need to change this too.

    4) Open your map_athena.txt and look for this:



     
    // Character Server IP// The map server connects to the character server using this IP address.// NOTE: This is useful when you are running behind a firewall or are on// a machine with multiple interfaces.//char_ip: 127.0.0.1// The map server listens on the interface with this IP address.// NOTE: This allows you to run multiple servers on multiple interfaces// while using the same ports for each server.//bind_ip: 127.0.0.1// Character Server Portchar_port: 6121// Map Server IP// The IP address which clients will use to connect.// Set this to what your server's public IP address is.//map_ip: 127.0.0.1// Map Server Portmap_port: 5121remove "//" in char_ip, and map_ip, it will look like this:// Character Server IP// The map server connects to the character server using this IP address.// NOTE: This is useful when you are running behind a firewall or are on// a machine with multiple interfaces.char_ip: 127.0.0.1// The map server listens on the interface with this IP address.// NOTE: This allows you to run multiple servers on multiple interfaces// while using the same ports for each server.//bind_ip: 127.0.0.1// Character Server Portchar_port: 6121// Map Server IP// The IP address which clients will use to connect.// Set this to what your server's public IP address is.map_ip: 127.0.0.1// Map Server Portmap_port: 5121   

    5) Open you subnet_athena.txt and you'll see this:


     
    subnet: 255.0.0.0:127.0.0.1:127.0.0.1   

    If you changed the ips in char_athena.txt, inter_athena.txt and map_athena.txt, you should consider to put them here too.

    for example, the ip is 125.60.252.169

     
    subnet: 255.0.0.0:125.60.252.169:125.60.252.169   

    ==========// MySQL Setup //==========

    1) Install MySQL Gui Tools

    2) Install MySQL Essentials. Choose MySQL 501. Enter "ragnarok" for the password for "root"(remember you can change this later on, this is just a basic one). Just click the Execute and when done, just click Finish. Go to Task Manager and check if mysqld-nt.exe is running in processes although it's not necessary if no error occured during installation.

    3) Start MySQL Query nd it will prompt up a window. Fill in


     
    Stored Connection: (leave it blank)Server Host: localhost  Port: 3306Username: rootPassword: (remember the password you made when you're installing MySQL Essentials?put it here)Default Schema: ragnarok(you can change this afterwards, this is just a basic name)   
    and leave other field as it is but to make sure everything is correct. Then press enter.

    4) *When you are in MySQL Query Browser, click once on ragnarok database that is below Schemata.
    *Go to menu, click File and choose Open Script...
    *We need to execute main.sql, mail.sql and log.sql (execute upgrade_svn* .sql files, too, if require) so, look for the main.sql, which should be in sql-files folder in eAthena Server and other .sql files.
    *Pick main.sql and click Open.
    *Click the Green Execute Icon to the upper right to execute. Do the same with mail.sql now and execute it.
    *When you are done, we need to create log database by right-click somewhere within the table where the databases are and choose Create New Schema and type in log and click OK.
    *Double-click on log database, go to menu, click File, choose Open Script..., open logs.sql and Execute.
    *Double click ragnarok database to expand to see all tables.
    *Look for login table and double click and double click again.
    *Click once on Edit so, we can edit the cells. This icon should be in bottom.
    *For userid: and user_pass:, type in the name that you used in char_athena.conf and map_athena.conf.
    *When you are done editing, just click the Apply Changes that is next to the Edit icon.

    5) Goto MySQL Administrator. Login there.


     
    Stored Connection: (leave it blank)Server Host: localhost  Port: 3306Username: rootPassword: (remember the password you made when you're installing MySQL Essentials?put it here)    
    Then Enter.

    6) And you're inside the MySQL Administrator now. Go to User Administration and Click New User and enter this:


     
    MySQL User: ragnarokPassword: ragnarokConfirm Password: ragnarok   
    then click "Apply Changes".

    After that, Click the ragnarok user and goto schema priviledges(right-side of user information). Click ragnarok and log database and click "<<", then click "Apply Changes"

    And we're done  
  16. Upvote
    eKoh got a reaction from Happy in Advertisement strategy   
    oh RMS, will work for sure, I forgot to add it haha, but a lot of players are always seeking for a new server all the time. And I don't know if google ads will work.
  17. Upvote
    eKoh reacted to Dastgir in Best way to protect sprites   
    Encrypt the grf? Probably make your own grf encryption for best protection.
    But if you want to use well known encryptor, use SecureGRF, until now it dont have any decryptor (so backup original sprite first), so it is secure for now, but who knows the future...
  18. Upvote
    eKoh reacted to kisuka in YouTube Tutorials?   
    Would any of you be interested in a YouTube channel that walks through the processes of downloading Hercules, contributing to Hercules, spriting, scripting, mapping, client hexing, etc... basically everything @.@
     
    Lemme know
  19. Upvote
    eKoh reacted to Dastgir in Dastgir's Services   
    Hello Hercules Community,

    I am offering my Services to you @ some expense of money.

    Works for Emulator: Hercules/rAthena/Others(if any)
    Services:
    Scripting. (Min Price:5$ ) Source Modification(/Addition).(Min Price: 5$) Converting to/Creating a Plugin[Hercules Specific].(Min Price: 5$) Migrating Your Server. (Min Price: 10$) Adding Custom Items/Maps/Mobs. (Min Price: 5$) Creating/Adding New Skills. (Min Price: 10$) Changing of Emulator (Min Price: 10$) ClientSide Things. (Min Price: 5$) Fixing Errors. (Min Price: 5$) Script Review. Consulting And Anything else, that you want, just drop me a PM
    Maximum Price: Depends on Complexity of the Work
    What Else:
    Free Support for Service bought from me.

    Contact Info:
    Post Here Via PM Payment Methods:
    PayPal Only PM me if you want any other payment method, and I might check If I can have it.

    Status: AVAILABLE
  20. Upvote
    eKoh reacted to Mhalicot in [Script Command] addrid   
    A small example to how it works:
     
    - script bla -1,{ end;OnClock0820: addrid(0); if (zeny>20000) set zeny,0; end;}   
    means 08:20 each player who's currently logged in and has more than 20000 zeny would have his money set to 0;

    Another example:
    prontera,120,120,2 script bla 120,{ addrid(2000001); set cake,2; dispbottom "soup"; end;}   
    means that if someone talks with that npc, it'd also add the player with the acc_id 2000001 ,set both of their cake variables to 2 and display soup at the bottom of their chatwindow.

    And a last one:
    prontera,120,120,2 script bla 120,{ addrid(3,1,getcharid(2)); mes "hey my guild"; close;}   
    means that if someone in a guild talks with that npc , his entire guild as long as they aren't involved in a script currently, get a npcwindow with "hey my guild"
     
    Main Link~
  21. Upvote
    eKoh reacted to Mhalicot in [Script Command] addrid   
    File Name: [script Command] addrid
    File Submitter: Mhalicot
    File Submitted: 04 Dec 2013
    File Category: Plugins
     
    Converted to plugins since its been a month in pull request e5d29d7 by Dastgir
    topic request here
     
    HPM addrid complete package.
     
    Compatible with Windows System Only
     
    if you are using Linux, ignore other files and use only addrid.c
    Instructions: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 addrid
    3. Your done. you can now try your plugins

    /*========================================================================= * Attaches a set of RIDs to the current script. [digitalhamster] * addrid(<type>{,<flag>{,<parameters>}}); * <type>: * 0 : All players in the server. * 1 : All players in the map of the invoking player, or the invoking NPC if no player is attached. * 2 : Party members of a specified party ID. * [ Parameters: <party id> ] * 3 : Guild members of a specified guild ID. * [ Parameters: <guild id> ] * 4 : All players in a specified area of the map of the invoking player (or NPC). * [ Parameters: <x0>,<y0>,<x1>,<y1> ] * Account ID: The specified account ID. * <flag>: * 0 : Players are always attached. (default) * 1 : Players currently running another script will not be attached. *-------------------------------------------------------------------------*/ Quote
    A small example to how it works:
    - script bla -1,{ end;OnClock0820: addrid(0); if (zeny>20000) set zeny,0; end;} means 08:20 each player who's currently logged in and has more than 20000 zeny would have his money set to 0;
     
    Another example:
    prontera,120,120,2 script bla 120,{ addrid(2000001); set cake,2; dispbottom "soup"; end;} means that if someone talks with that npc, it'd also add the player with the acc_id 2000001 ,set both of their cake variables to 2 and display soup at the bottom of their chatwindow.
     
    And a last one:
    prontera,120,120,2 script bla 120,{ addrid(3,1,getcharid(2)); mes "hey my guild"; close;} means that if someone in a guild talks with that npc , his entire guild as long as they aren't involved in a script currently, get a npcwindow with "hey my guild"
     
    Main Link~
     
     
    Note: It is compiled already, so don't bother to recompile it.
    use recompile if you modify the script.
    If you have any questions feel free to drop a comment. 
    for more info on how to to use HPM visit Here
     
    Click here to download this file
  22. Upvote
    eKoh reacted to Garr in Check how many items free space & available weight in inventory   
    If I understand it right, it's for when you have an array with ItemIDs to give and another array with amounts, like this:
    setarray .itemIDs[0],512,7049,4001,985; // Apple, Stone, Poring Card, Eluniumsetarray .itemAmount[0],10,20,1,15;if ( checkweight2(.itemIDs,.itemAmount) ) {  for ( .@i = 0; .@i < getarraysize(.itemIDs); .@i++) {    getitem .itemIDs[.@i],.itemAmount[.@i];  }} else {  dispbottom "You don't have enough space in your inventory to get the items!";}end;
  23. Upvote
    eKoh reacted to Angelmelody in Problem with collection.bmps   
    identifiedResourceName = "Helm of Darkness",
     unidentifiedResourceName = "Helm of Darkness",
     
    these are incorrect and  should same as sprite name
  24. Upvote
    eKoh reacted to Angelmelody in How to detect that a player leaves a map?   
    OnPCLoadMapEvent: if(lastmap$!="" && strcharinfo(3)!=lastmap$) { player leaves a map } lastmap$ = strcharinfo(3); end;
  25. Upvote
    eKoh reacted to evilpuncker in how do i activate the target function?   
    mes "go to <NAVI>[Hat Maker]<INFO>izlude,131,148,</INFO></NAVI> to make hats";
×
×
  • Create New...

Important Information

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