Jump to content

gidzdlcrz

Members
  • Content Count

    74
  • Joined

  • Last visited

  • Days Won

    1

Reputation Activity

  1. Like
    gidzdlcrz reacted to delber in Custom Skill Effect   
    Yesterday I tried to change the look of Skill and the same thing happens here. But when I use the @effect 89 command it appears, but the Skill when it is used shows the old one. I believe the name of the str file is another, because I changed the name from stormgust.str to stormgust--.str and still keeps getting the old hahahaha Skill.
     
    The change is cool. I tried to find where the texture connection occurs with Skill to see the file name but I haven’t been able to yet.
    Sorry for my bad ingles (google translator).
     
    EDIT: I managed to make Modern Lord of Vermillion 1.0.0 work, maybe it helps who’s trying too. In my case my data.grf determined the Skill in data\texture\effect\lord_of_vermillion\lord_of_vermillion.str so just create the lord_of_vermillion folder and within changed the name of Skill lord.str to lord_of_vermillion.str
     
    CONCLUSION: we will have to find where Skill is depending on your data.grf unfortunately I haven’t found the file that makes this link yet, because it would be easier to know the current name of each Skill(I don’t even know if such file exists hahaha).
     
    EDIT: I found my Storm Gust. On my data.grf was called storm_min.str. I switched the files and it worked here now.
  2. Like
    gidzdlcrz reacted to AnnieRuru in Party Match   
    originate from rathena
     
    Download 1.0
    script
     
     
    Description -> copy paste from rathena forum

    by the way I added OnPCUseSkillEvent feature
    its totally up to you to add this or not, but I found it's very convenient after add them
    having a cursor to immediately select the player I want without typing the name out
  3. Upvote
    gidzdlcrz got a reaction from deviruzy in MySQL Workbench, How to load. please?   
    from there. You click the OPEN SQL SCRIPT FILE. 




    After you saw the texts generated in your query window hit the lightning logo. 
     
    Do the same with logs.
     
  4. Like
    gidzdlcrz reacted to AnnieRuru in WoE Castle auto Assign on Guild   
    there's a reason that I haven't made this script like above did because there is a bug
    if setcastledata when the agit is on, the emperium is not change immediately
    ( its not like *bg_monster_set_team command where the monster allegiance can be change immediately )
    and nobody bother to fix this because not many people knows how to write a custom woe castle script (well ... I know though )
    99,prontera,Prontera Test Castle,test flag,1 prontera,155,188,5 script reset castles 100,{ if(getgmlevel()!=99) { mes "you are not admin!"; close; } mes "Are you sure reset all castles ?"; if(select("no:yes") == 2 ) { set .@gid,getcharid(2); if(!.@gid) { mes "you haven't joined a guild!"; close; } setarray .@maps$[0],"aldeg_cas01","aldeg_cas02","aldeg_cas03","aldeg_cas04","aldeg_cas05"; setarray .@maps$[5],"gefg_cas01","gefg_cas02","gefg_cas03","gefg_cas04","gefg_cas05"; setarray .@maps$[10],"payg_cas01","payg_cas02","payg_cas03","payg_cas04","payg_cas05"; setarray .@maps$[15],"prtg_cas01","prtg_cas02","prtg_cas03","prtg_cas04","prtg_cas05"; setarray .@maps$[20],"prontera"; for( set .@i, 0; .@i <= 20; set .@i, .@i+1 ) setcastledata .@maps$[.@i],1,.@gid; mes "All castles have been set to"+getguildname(.@gid)+"!"; } close; } prontera,152,185,4 script test flag 722,{ dispbottom "========================="; set .@gid, getcastledata( "prontera", 1 ); dispbottom "owner of the castle : "+( ( .@gid )? "["+ getguildname(.@gid) +"]" : "<none>" ); dispbottom "agit check : "+( ( agitcheck() )?"on":"off" ); dispbottom "gvg_castle mapflag : "+( ( getmapflag( strcharinfo(3), mf_gvg_castle )?"on":"off" ) ); dispbottom "========================="; end; OnInit: if ( !agitcheck() ) agitstart; else donpcevent strnpcinfo(0)+"::OnAgitStart"; setmapflag "prontera", mf_gvg_castle; flagemblem getcastledata("prontera",1); end; OnAgitStart: monster "prontera",151,181,"EMPERIUM",1288,1,strnpcinfo(0)+"::OnEmpBreak"; end; OnAgitEnd: killmonster strnpcinfo(4), strnpcinfo(0)+"::OnEmpBreak"; end; OnEmpBreak: announce "The Emperium has fallen", bc_map; setcastledata "prontera", 1, getcharid(2); donpcevent "::OnRecvCastle123"; sleep getbattleflag("gvg_eliminate_time"); monster "prontera",151,181,"EMPERIUM",1288,1,strnpcinfo(0)+"::OnEmpBreak"; end; OnAgitInit: requestguildinfo getcastledata("prontera", 1); OnRecvCastle123: flagemblem getcastledata("prontera",1); end; OnGuildBreak: setcastledata "prontera", 1, 0; donpcevent "::OnRecvCastle123"; end; } after using the castle reset npc, the castle's emperium will still belongs to the original guild,
    which even yourself still can hit the emperium
     
    to fix this, the emperium has to be removed and respawn again
    the correct script has to donpcevent on the official castle script ...
  5. Like
    gidzdlcrz reacted to AnnieRuru in WoE Castle auto Assign on Guild   
    this is the correct script
    http://upaste.me/8f1311087bf401916
     
     
    lol, I also found a bug by writing this script
    http://herc.ws/oldboard/index.php?app=tracker&showissue=8077
  6. Like
    gidzdlcrz reacted to AnnieRuru in hosting Hercules on Google Cloud with CentOS 8   
    Over the last few days I have been playing with Google Cloud services
    because Google cloud currently offers $300 free credit upon signing up
    yes, FREE $300 credit
    and thus my journey trying to host hercules server on a VPS has begun
     
    all you need is a valid Debit/Credit card number ...
    of course you have to be an adult to try the hosting service ... right ?
     

     
     
    oh and, don't worry, you can always cancel it anytime

     
    after playing with it, I found the Windows option is too expensive, and thus trying to learn the Linux option
     
    This guide is actually demonstrate by using a trash gmail account that can throw away later
    I don't mind all the credentials are shown in the screenshot, when I click the Open topic button I have deleted this project on Google Cloud
     
     
    Step 1. Download Putty and WinCP
    https://www.putty.org/.
    https://winscp.net/eng/download.php
     
    Step 2. Run Google Cloud
    2.1 login to your Google cloud project
    https://github.com/AnnieRuru/customs/blob/master/server hosting/2.png
     
    2.2 first you need to link your credit card to this google cloud
    https://github.com/AnnieRuru/customs/blob/master/server hosting/3.png.
    https://github.com/AnnieRuru/customs/blob/master/server hosting/4.png
    select the billing option to the debit/credit number you input earlier
    https://github.com/AnnieRuru/customs/blob/master/server hosting/5.png
    this billing information is very important, you need to check this once in a while to stop unwanted services <-- please scroll to the right
     
    2.3 pin these 3
    - billing
    - compute engine
    - VPC network
    https://github.com/AnnieRuru/customs/blob/master/server hosting/6.png
     
    2.4 now time to create a VPS, select Compute Engine
    https://github.com/AnnieRuru/customs/blob/master/server hosting/7.png
    2.4.1
    enter all the necessary information
    1. the Virtual machine name
    2. your nearest location
    3. the spec of the machine
    https://github.com/AnnieRuru/customs/blob/master/server hosting/8.png
     
    PS: I tested the cheapest option, N1 series, f1 micro 614MB memory and E2 micro, 1GB memory
    when compiling hercules later, putty just stop ... I think it run out of memory
    ... hercules should have mention a recommendation needs at least 2GB memory to run
     
    2.4.2
    4. Select Boot Disk as CentOS 8
    https://github.com/AnnieRuru/customs/blob/master/server hosting/9.png
    5. select allow HTTP and HTTPS
    https://github.com/AnnieRuru/customs/blob/master/server hosting/10.png
     
    2.4.3
    6. Click Security tab
    https://github.com/AnnieRuru/customs/blob/master/server hosting/11.png
    needs to 'Enter public SSH key'
     
    run Putty Key Generator and click Generate
    https://github.com/AnnieRuru/customs/blob/master/server hosting/12.png
     
    1. change the 'key comment' as it will become user name
    2. save private key to desktop
    3. copy the field
    https://github.com/AnnieRuru/customs/blob/master/server hosting/13.png
     
    paste into Google cloud
    https://github.com/AnnieRuru/customs/blob/master/server hosting/14.png
     
    2.4.4
    select Networking tab
    https://github.com/AnnieRuru/customs/blob/master/server hosting/15.png
    create a static IP address
    https://github.com/AnnieRuru/customs/blob/master/server hosting/16.png
    choose standard tier
     
    after everything done click [Confirm]
    https://github.com/AnnieRuru/customs/blob/master/server hosting/17.png
    and you get your virtual machine running
    https://github.com/AnnieRuru/customs/blob/master/server hosting/18.png
     
    2.5
    once your server up and running
    run Putty to connect to this server
    https://github.com/AnnieRuru/customs/blob/master/server hosting/19.png
    1. scroll down, expand 'SSH' to select 'Auth',
    2. then load the file you saved earlier by PuttyGen
    https://github.com/AnnieRuru/customs/blob/master/server hosting/20.png
    3. enter the public IP address,
    4. then click open
     
    https://github.com/AnnieRuru/customs/blob/master/server hosting/21.png
    it will prompt you with security alert, just click yes
     
    2.6
    login with your user name
    https://github.com/AnnieRuru/customs/blob/master/server hosting/22.png
     
    The very first command you should run is change the password
    sudo passwd root ok Windows Users, don't freak out like me
    there are no ******** when you input the password, this is Linux not Windows
    just input normally ... and press Enter key, it works that way
    https://github.com/AnnieRuru/customs/blob/master/server hosting/23.png
    then do the same with your username
    sudo passwd annie  
    3. update the OS and install all necessary product
     
    3.1 run all these commands
    sudo yum update sudo yum install gcc make mysql mysql-devel mysql-server pcre-devel git zlib-devel Transaction Summary ================================================================================ Install 89 Packages Total download size: 108 M Installed size: 395 M Is this ok [y/N]: Press 'Y' key
     
    3.2
    in the meantime, while this might take awhile, try login WinCP
    https://github.com/AnnieRuru/customs/blob/master/server hosting/24.png
    click new session, then click advance
    https://github.com/AnnieRuru/customs/blob/master/server hosting/25.png
    select 'Authentication' and load the Putty Gen file again
    https://github.com/AnnieRuru/customs/blob/master/server hosting/26.png
    just another warning
    https://github.com/AnnieRuru/customs/blob/master/server hosting/27.png
     
     
    3.3 Download Hercules
    git clone https://github.com/HerculesWS/Hercules.git ~/Hercules  
    4. SQL
     
    4.1 Start SQL service
    sudo systemctl start mysqld.service  
    4.2 login as root
    mysql -u root -p Enter password, just press enter
    default centOS 8 preinstalled MySQL, root has no password
     
    Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 10 Server version: 8.0.21 Source distribution Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> 4.3 create database
    CREATE DATABASE hercules; 4.4 select hercules database as default
    USE `hercules`; 4.5 create another user, not recommend to connect as root
    CREATE USER 'annie'@'localhost' IDENTIFIED BY '1234'; 4.6 grant this user privilege
    GRANT SELECT,INSERT,UPDATE,DELETE ON * TO 'annie'@'localhost'; 4.7 then quit
    quit it should show like this
    mysql> quit Bye [annie@centos ~]$ 4.8 goto sql-files directory
    cd /home/annie/Hercules/sql-files/ and run all these
    mysql -u root -p hercules < main.sql mysql -u root -p hercules < logs.sql mysql -u root -p hercules < item_db_re.sql mysql -u root -p hercules < mob_db_re.sql mysql -u root -p hercules < mob_skill_db_re.sql it should show like this
    [annie@centos ~]$ cd /home/annie/Hercules/sql-files/ [annie@centos sql-files]$ mysql -u root -p hercules < main.sql Enter password: [annie@centos sql-files]$ mysql -u root -p hercules < logs.sql Enter password: [annie@centos sql-files]$ mysql -u root -p hercules < item_db_re.sql Enter password: [annie@centos sql-files]$ mysql -u root -p hercules < mob_db_re.sql Enter password: [annie@centos sql-files]$ mysql -u root -p hercules < mob_skill_db_re.sql Enter password: [annie@centos sql-files]$ 4.9 go back login mysql and change inter-server connection password from s1/p1 into qwer/asdf
    mysql -u root -p and
    UPDATE `hercules`.`login` SET `userid` = 'qwer', `user_pass` = 'asdf' WHERE `account_id` = 1;  
    5. Compile Hercules
     
    go back to annie/hercules folder
    cd /home/annie/Hercules/ 5.1 type ./configure
    ./configure  
    OK STOP, many things can go wrong here, I stuck here for a few days and searching on both rathena and hercules forum for answers
    the correct output from putty should be this
    checking mysql.h presence... yes checking for mysql.h... yes checking whether my_bool is supported (MySQL)... no (converting my_bool to bool) checking MySQL library (required)... yes (8.0.21) checking PCRE library... checking pcre.h usability... yes checking pcre.h presence... yes checking for pcre.h... yes checking for library containing pcre_study... -lpcre checking for doxygen... no checking for perl... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/common/Makefile config.status: creating 3rdparty/mt19937ar/Makefile config.status: creating 3rdparty/libconfig/Makefile config.status: creating 3rdparty/libbacktrace/Makefile config.status: creating 3rdparty/libbacktrace/backtrace-supported.h config.status: creating src/char/Makefile config.status: creating src/login/Makefile config.status: creating src/map/Makefile config.status: creating src/plugins/Makefile config.status: creating src/test/Makefile config.status: creating tools/HPMHookGen/Makefile config.status: creating tools/doxygen/Makefile [annie@centos Hercules]$ if it doesn't show config.status: at the end, open a new topic in Linux support
    if it's the same as mine, then can proceed with
     
    5.2 compile hercules
    make sql finally compile should show like this
    CC party.c CC path.c CC pc.c CC pc_groups.c CC pet.c CC quest.c CC refine.c CC rodex.c CC script.c CC searchstore.c CC skill.c CC status.c CC storage.c CC stylist.c CC trade.c CC unit.c CC vending.c LD map-server make[1]: Leaving directory '/home/annie/Hercules/src/map' building conf/import folder... [annie@centos Hercules]$  
    6. configure Hercules
     
    6.1 start hercules by
    ./athena-start start https://github.com/AnnieRuru/customs/blob/master/server hosting/28.png
    of course the reason why connect to SQL failed is because haven't configure Hercules so ....
    stop it from running for a moment
    ./athena-start stop  
    6.2 login to WinCP
    https://github.com/AnnieRuru/customs/blob/master/server hosting/29.png
    ... I will assume you know how to change your public IP address on hercules
    the file you should change are
    map-server.conf
    - userid: "qwer"
    - passwd: "asdf"
    - map_ip: "35.213.138.42"
    - char_ip: "35.213.138.42" char-server.conf
    - userid: "qwer"
    - passwd: "asdf"
    - login_ip: "35.213.138.42"
    - char_ip: "35.213.138.42" conf\global\sql_connections.conf
    -db_hostname: "localhost"
    - db_port: 3306
    - db_username: "annie"
    - db_password: "1234"
    - db_database: "hercules" conf\network.conf
    .....<let me test this thing again> ....  
    <--- I will assume everyone reading this guide already know how to host an offline server, if not click here -->
     
    now run ./athena-start start again, and this time map-server couldn't connect to char-server
     
    7. Configure firewall
     
    7.1 run these 3 commands
    sudo firewall-cmd --permanent --add-port 6900/tcp sudo firewall-cmd --permanent --add-port 6121/tcp sudo firewall-cmd --permanent --add-port 5121/tcp 7.2 reload the firewall settings
    sudo firewall-cmd --reload 7.3 go back to Google Cloud,
    https://github.com/AnnieRuru/customs/blob/master/server hosting/30.png
    to create firewall
    https://github.com/AnnieRuru/customs/blob/master/server hosting/31.png
    configure the firewall
    https://github.com/AnnieRuru/customs/blob/master/server hosting/32.png
    2. & 3. configure firewall only to this project
    https://github.com/AnnieRuru/customs/blob/master/server hosting/33.png
     
    4. at 'tcp:' tab, only allow these 3 ports
    https://github.com/AnnieRuru/customs/blob/master/server hosting/34.png
     
    7.4
    run ./athena-start start again.
    then goto https://portchecker.co/ and check your port is open
    https://github.com/AnnieRuru/customs/blob/master/server hosting/35.png
    And Finally go to your client edit data/sclientinfo.xml to the WAN IP and

    VIOLA !! DONE !!
    I can connect my client to google cloud
     
    PS: the port checker website only shows Port 6900 is OPEN. only if fulfill these 3 conditions
    1. enable firewall setting on CentOS
    2. enable firewall setting on Google Cloud
    3. run the emulator by ./athena-start
     
     
    Ok now you can start worry about security issue like adding additional user in CentOS
    https://www.digitalocean.com/community/tutorials/how-to-add-and-delete-users-on-a-centos-7-server
    google cloud doesn't seem to allow login that way -> https://stackoverflow.com/questions/52503453/how-to-login-gcp-console-without-ssh
    and mysql root account password change ...
    ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '1234'; etc...etc...
    need more research
     
     
    Connect to MySQL in CentOS 8 using Window's MySQL Workbench
     
    1. add another connection
    https://github.com/AnnieRuru/customs/blob/master/server hosting/mysql1.png
     
    2. under 'Connection Method', select 'Standard TCP/IP over SSH'
    https://github.com/AnnieRuru/customs/blob/master/server hosting/mysql2.png
     
    3. configure these fields
    3.1 SSH hostname is the server IP address
    3.2 SSH username is the name you created with PuttyGen
    3.3 SSH keyfile needs a conversion with PuttyGen
    3.4 and Click [Test Connection]
    https://github.com/AnnieRuru/customs/blob/master/server hosting/mysql3.png
     
    4. the SSH keyfile needs to be convert from PuttyGen
    4.1 load existing private key, in this case was 'annie.ppk'
    4.2 click conversion and save as 'annie' without file extension
    https://github.com/AnnieRuru/customs/blob/master/server hosting/mysql4.png
     
    5. if successful it will show like this
    https://github.com/AnnieRuru/customs/blob/master/server hosting/mysql5.png
     
    then you can login into MySQL in CentOS
     
    did I forgot to mention needs to open the port 3306 in CentOS and Google Cloud ? refer back to step 7
     
    Reference: https://stackoverflow.com/questions/21527743/mysql-workbench-version-6-0-8-ssh-authentication-issue
     
     
    After thought :
    Overall I'm very satisfy with Google Cloud service,
    1. free $300 credit to spend
    2. can always register trash gmail account to make the credit infinite
      - of course the IP will always change if you do so
    3. very low latency from Malaysia connect to Singapore - just 30~40ms ping
     
    I haven't try OVH which everybody is recommending, but they doesn't offer immediate free credit for me to test so meh .....
     
    and I notice Hercules's wiki CentOS guide is broken, maybe I'll fix it
    https://github.com/HerculesWS/Hercules/wiki/Installation-(CentOS)
     
    - offtopic -
    over last few days playing with google cloud, when I visit Youtube, all my advertisement become Monday.com etc etc group project stuffs
    google really knows how to collect my data
  7. Like
    gidzdlcrz reacted to AnnieRuru in @packetfilter   
    No more Work in Progress, Please report if there are any bug
     
    Download: 1.0a [Complete]
    plugin
     
     
    What is `@packetfilter` ?
    `@packetfilter` is a custom mod originate from eamod
    https://github.com/zephyrus-cr/eamod/blob/master/Servers/rAthena/conf/groups.conf#L418-L422
    it can actually reduce lag on your live server during woe depends on how many players activate it
    it totally depends on the player's side, community effort that every player should together turn on the `@packetfilter` to reduce massive lag during woe
     
    this modification is actually very famous and there are members willingly to pay for it
    https://rathena.org/board/topic/121200-packetfilter-battleinfo/
    https://rathena.org/board/topic/123203-battleinfo-packetfilter/
    https://rathena.org/board/topic/111797-packetfilter-zepyhrus-ramod/
    https://rathena.org/board/topic/79995-buy-noactnodelay-partybuff-src-as-it-was-on-pro-ro-or-packetfilter/
     
     
     
    this `@packetfilter` is unlike the one you are having, or that is circulating on rathena forum
     
    this one has been written entirely from scratch and added some other flags that the original don't
    for example,
    `@packetfilter COHM EOHM`
    allow block normal chat and emotion from non-related players, pets, homunculus and monsters
    but this doesn't block normal chat from party/guild members
     
    a full list of flags are
      C = ignore normal Chat, including Dancer's scream, Bard's frost joke, and pet's talk (pet start to talk when intimacy > 900)   E = ignore emotion, including monster and pet emotion (but NOT pet performance)   I = ignore Item use effect   A = ignore normal Attack animation (based on receiving side), your own attack animation are always shown   B = Buffing skill animations (based on receiving side), your own casting animation are always shown   S = Status effect   T = offensive single Target skill/spell animations (based on receiving side), your own casting animation are always shown   G = Ground based skills (eg:storm gust), your own casting animation are always shown   M = Music dance/songs from Bard/Dancer   D = Direction. Recommend filter on Party/Guild type and not enemies. Highly Recommend for supportive type Class. after the Main type, also support additional flags
      S = Self   P = Party   G = Guild   B = Battleground   C = Clan   O = Other players, none of the above   H = Homunculus/pets/elementals/mercenary and player's @summon   M = Monsters  
     
    Why This plugin doesn't block Kaite or Energy Coat ?
     
    2 reasons
     
    No.1 - currently there is a bug with plugin,
    struct packet_spawn_unit *p = (struct packet_spawn_unit*)RBUFP(buf, 0); this line will throw error on Linux
    so no choice, maybe I'll make a bug report
    this bug also has been reported on Dastgir's `@noview`
     
    No.2 - just set p->virtue = 0; isn't really blocking the packet
    this goes against the very principle of this plugin, which is NOT send certain packet to the client
    OPT3 (including OPT3_KAITE | OPT3_ENERGYCOAT | OPT3_SOULLINK) is part of the idle_unitType, unit_walkingType and spawn_unitType function
    and blocking those 3 packet entirely is stupid
     
    in case you don't understand, look under clif_set_unit_walking and clif_set_unit_idle function inside src\map\clif.c file
    p.GUID = g_id; p.GEmblemVer = status->get_emblem_id(bl); p.honor = (sd) ? sd->status.manner : 0; // p.virtue = (sc) ? sc->opt3 : 0; <-- change this line p.virtue = 0; p.isPKModeON = (sd && sd->status.karma) ? 1 : 0; p.sex = vd->sex;  
     
    Note: about [D]irection type packet
     
    try add a ShowDebug inside clif->send
    src/map/clif.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/map/clif.c b/src/map/clif.c index ab3c4422a..9e245f335 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -450,6 +450,7 @@ static bool clif_send(const void *buf, int len, struct block_list *bl, enum send return true; } +ShowDebug("source:%s buf:0x%x send_target:%d\n", (sd != NULL)? sd->status.name : "NULL", RBUFW(buf, 0), type); switch(type) { case ALL_CLIENT: //All player clients. iter = mapit_getallusers(); you will find 0x9c is being send repeatedly on every attack and every skill cast , getting attack etc
    this direction update packet isn't just send by Shift-click, but also including all the actions above
    this packet is very spam-able and I think can be safely block on party/guild/clan/bg flags
    for supportive class, I also think can block all of them since supportive class doesn't need information from enemies
     
     
     
  8. Like
    gidzdlcrz reacted to AnnieRuru in Additional Feature for my own Broadcaster NPC   
    https://rathena.org/board/topic/126404-additional-feature-for-my-own-broadcaster-npc/?do=findComment&comment=388123
    after Tokei posted that I'm a bit fire up hahaha
     
    https://gist.github.com/AnnieRuru/cf56174c4bbbd3a61d4dd0c11100c425
    well, yes I didn't do the stuffs he said, but its do-able with SQL table or using storing them in array
    reply again if you want this feature
  9. Like
    gidzdlcrz reacted to AnnieRuru in Stylist   
    all right, I post up my custom stylist
     
    Download: 2.1
    script
     
    this one use CSV format
    setd ".@"+ Job_Rune_Knight +"_"+ LOOK_CLOTHES_COLOR +"$[1]", "0-5,11-18,20-23"; setd ".@"+ Job_Summoner +"_"+ LOOK_CLOTHES_COLOR +"$[0]", "0-3"; This means, the ID range for Job_Rune_Knight at bodystyle number (1) is 0,1,2,3,4,5,11,12,13,14,15,16,17,18,20,21,22,23
    2nd line means Summoner job can only use clothing range between 0 to 3, this prevent crash client due to human and doram race doesn't share the same palette
     
    From version 2.0 onwards, now you don't have to scratch your head about missing palette due to different bodystyle
    this script can handle that
     
     
  10. Upvote
    gidzdlcrz reacted to AnnieRuru in How to setup OFFLINE server for personal development use   
    Make your (offline) RO server in more than 5 hours - pun intended
    Hercules Link
    This Guide is intended for
    - Windows users
    windows sux, but 90% of the community still using windows, so I am targeting the majority of the members here
    - You want to contribute something back to the community
    if you just want to have fun by yourself, of course it's fine to use that 5 minute instant noodle guide
    BUT if you want to contribute to the community, you have to use LATEST server and software available
    ... which makes this guide outdated very fast
     
    Prelude: Determine your Windows Operating System type
    a. Windows Key -> Right Click on My Computer -> Select Properties
    https://github.com/AnnieRuru/customs/blob/master/server setup/prelude-1.png

    b. Determine your Operating System type
    I'm using Windows 7 Ultimate 64-bit system
    https://github.com/AnnieRuru/customs/blob/master/server setup/prelude-2.png
     
    Step 1: Download and Install TortoiseGit

    1a. Download TortoiseGit
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 1a.png
     
    1b. Installation
    next... next... next.. next... next.. next.. Install !!!
     
    1c. Create 2 new folders
    1 for Hercules, 1 for rAthena
    Right-click -> TortoiseGit -> Clone
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 1c.png
     
    1d. Download git 2.20.1
    you'll get this warning message
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 1d.png
    Open Git for Windows Website, Download it
    next... next... next.. next... next.. next.. Install !!!
     
    1e. Reposition git.exe
    This time go to TortoiseGit -> Settings
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 1e.png
    General tab -> Git.exe path
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 1e2.png
    C:\Program Files\Git\bin  
    1f. Download Hercules and rAthena
    Right Click on the folder, TortoiseGit -> Clone
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 1f.png
    https://github.com/HerculesWS/Hercules https://github.com/rathena/rathena  
    Problems might encounter during Step 1c,
    when it ask for a git.exe, you have to go to that git for windows site, and download that thing
    Problems might encounter during Step 1e,
    sometimes even though you have already install git2.20.1.exe, but it still couldn't find the git.exe file
    to solve it, Right-click -> TortoiseGit -> Settings, you get a warning, Click Ignore, then follow Step 1e
     
    Step 2: Download and Install Microsoft Visual Studio 2017
    Step 2a. Download Microsoft Visual Studio
    https://visualstudio.microsoft.com/downloads/
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 2a.png
     
    Step 2b. Downloading ...
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 2b.png
     
    Step 2c. Click Install Visual Studio Community 2017
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 2c.png
     
    Step 2d. Load Hercules Project
    Double click Hercules-15.sln
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 2d.png
    it says missing Windows 10 SDK 10.0.15063 ...
     
    Step 2e. Install individual component
    you can either let Visual Studio do its magic, or ...
    manually go to visual studio downloader ... click modify
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 2e.png
    then select the component to install manually
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 2e2.png
     
    Step 2f. Load rAthena Project
    Do the same thing by double clicking rAthena.sln,
    but this time rAthena project needs Windows 8.1 SDK and Windows Universal CRT SDK
     
    Both emulator has been compiled
     
    Problems might encounter during Step 2c
    if using Windows 7/8, after the download is complete, it install a windows update that might crash all the programs in your operating system
    this Parasite MUST be remove !!
    To do this, go to Control Panel -> Program and Features
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 2g.png
    Click View Install Update tab
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 2g1.png
    then find KB2882822 and remove this parasite from your computer immediately before restarting your computer
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 2g2.png
    IF you are the unlucky soul and you can't start any .exe file .... there's still a fix
    Restart the computer in Safe Mode ...
    many answer around the Internet tells you to press F8 when Windows Logo shows up, but this doesn't work for me, I have USB keyboard
    so I found another method ... run System Configuration
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 2h.png
    Select the [Boot] tab, then select Safe Mode.
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 2h2.png
    this will make your windows always restart in safe mode until you turn it off
    then follow the above process, uninstall that windows update, deselect safe mode, restart computer again, now it should be back to normal
     
    Problems might encounter during Step 2f
    During compiling, if you see this in your Visual Studio
    fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory this means you are missing a component Windows Universal CRT SDK
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 2f.png
     
    Step 3: Download and Install MySQL 8.0
    Step 3a: Download MySQL 8.0
    https://dev.mysql.com/downloads/mysql/
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 3a.png
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 3a2.png
    actually, you can just click this -> https://dev.mysql.com/downloads/file/?id=480824
    I have 64-bit operating system, but this 32-bit installer works fine for me
     
    Step 3b. Install MySQL 8.0
    Select Custom
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 3b1.png
    We only need 2 products, MySQL 8.0 and MySQL Workbench
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 3b2.png
    Ready to Install
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 3b3.png
    next... next.. Execute !! next.. next.. next..
    Account and Roles, type "1234" as password
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 3b4.png
    click [Check]... next... next.. next... DONE !!
     
    Step 3c. Run MySQL Workbench
    Welcome to MySQL Workbench
    Double click the icon -> Click Connect
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 3c.png
     
    Step 3d. Create a Schema
    Right click at the left side of the window
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 3d.png
    and create a Database call Hercules. Remember change charset/collation to utf8
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 3d2.png
     
    Step 3e. Install SQL Script for Hercules
    Set Hercules as default Schema
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 3e.png
    load hercules/sql-files/main.sql file
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 3e2.png
    copy into Query field, then Press Execute button
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 3e3.png
    repeat the same process again for log.sql file
     
    Step 3f. Install SQL Script for rAthena
    Set rAthena as default Schema
    install rAthena/sql-files/main.sql and the log.sql
     
    Problems might encounter during Step 3e.
    If you got a warning message that `ipbanlist` table creation failed, this has been reported -> hercules & rAthena
    that's why now we can only use utf8 charset
     
    Step 4: Connect MySQL to Hercules and rAthena
    Step 4a. Connect Hercules to MySQL
    Copy paste the import-tmpl folder, and rename it into import
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 4a.png
    then open each individual files and modify each one of them
    conf/import/char_server.conf
    char_configuration: { // Server name, use alternative character such as ASCII 160 for spaces. // NOTE: Do not use spaces or any of these characters which are not allowed in // Windows filenames \/:*?"<>| // ... or else guild emblems won't work client-side! server_name: "Hercules" // Information related to inter-server behavior inter: { // Server Communication username and password. userid: "qwer" passwd: "asdf" // 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" // 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" } pincode: { enabled: false } } conf/import/map-server.conf
    map_configuration: { // Information related to inter-server behavior inter: { // Interserver communication passwords, set in the login server database userid: "qwer" passwd: "asdf" // 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" // 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" } } conf/global/sql_connections.conf
    sql_connection: { // [INTER] You can specify the codepage to use in your mySQL tables here. // (Note that this feature requires MySQL 4.1+) //default_codepage: "" // [LOGIN] Is `userid` in account_db case sensitive? //case_sensitive: false // For IPs, ideally under linux, you want to use localhost instead of 127.0.0.1. // Under windows, you want to use 127.0.0.1. If you see a message like // "Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)" // and you have localhost, switch it to 127.0.0.1 db_hostname: "127.0.0.1" db_port: 3306 db_username: "root" db_password: "1234" db_database: "hercules" //codepage:"" }  
    Step 4b. Change s1/p1 inter server connection password
    since hercules server hates you for using s1/p1, I change it into qwer/asdf then
    Here's how to do it ... Open MySQL Workbench, double click your current running MySQL connection
    Type "SELECT * FROM `login`;" , edit the field s1/p1, then click [Apply]
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 4b2.png
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 4b3.png
     
    Step 4c. connect rAthena to MySQL
    Copy paste the import-tmpl folder, and rename it into import
    then open each individual files and modify each one of them
    conf/import/char-conf.txt
    // Server name, use alternative character such as ASCII 160 for spaces. // NOTE: Do not use spaces or any of these characters which are not allowed in // Windows filenames \/:*?"<>| // ... or else guild emblems won't work client-side! server_name: rAthena // 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 // 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 // NOTE: Requires client 2011-03-09aragexeRE or newer. // A window is opened before you can select your character and you will have to enter a pincode by using only your mouse. // Default: yes pincode_enabled: no conf/import/inter-conf.txt
    // MySQL Login server login_server_ip: 127.0.0.1 login_server_port: 3306 login_server_id: root login_server_pw: 1234 login_server_db: rathena login_codepage: login_case_sensitive: no ipban_db_ip: 127.0.0.1 ipban_db_port: 3306 ipban_db_id: root ipban_db_pw: 1234 ipban_db_db: rathena ipban_codepage: // MySQL Character server char_server_ip: 127.0.0.1 char_server_port: 3306 char_server_id: root char_server_pw: 1234 char_server_db: rathena // MySQL Map Server map_server_ip: 127.0.0.1 map_server_port: 3306 map_server_id: root map_server_pw: 1234 map_server_db: rathena // MySQL Log Database log_db_ip: 127.0.0.1 log_db_port: 3306 log_db_id: root log_db_pw: 1234 log_db_db: rathena log_codepage: log_login_db: loginlog conf/import/login_conf.txt
    // The login 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 conf/import/map_conf.txt
    // 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 // 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  
    Note: you can do the same for rAthena, change s1/p1 into qwer/asdf. rAthena doesn't *BEEP* when you use s1/p1 though
    simply add this line in both conf/import/char-conf.txt and conf/import/map_conf.txt then change it in MySQL Workbench
    // Server Communication username and password. userid: s1 passwd: p1  
    Read Also: What is Import folder, just scroll down to the bottom and read it
     
     
    Before going into next step, I want to stress enough and make sure you can get your server to connect to MySQL
    so try running run-server.bat to connect your hercules --OR-- rathena server to MySQL
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 4.5.png
    if you can't do it right, Open a New Topic in General Server Support
     
     
    problem might encounter during this step
    [SQL]: Client does not support authentication protocol requested by server; consider upgrading MySQL client This happens if you have previous version of MySQL installed on your computer, and upgrade into MySQL 8.0
    to fix this issue, run MySQL command line Client from start menu
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 4.5a.png
    then run these 2 commands seperately
    ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '1234'; FLUSH PRIVILEGES; https://github.com/AnnieRuru/customs/blob/master/server setup/Step 4.5b.png
     
    5. Download latest KRO Client and client translation files
    Step 5a. Download latest KRO from
    http://herc.ws/board/topic/15592-collection-official-full-clients-latest-kro/
    https://rathena.org/board/topic/106413-kro-full-client-2018-08-13-includes-bgm-rsu/ <-- I pick this
     
    // ========== THIS PART IS CONTROVERSIAL ===== BUT IT WORKS FOR ME ========
    Step 5b. Create another 2 folders
    let's name it Asheraf and zackdreaver ... the author of making client translation
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 5b.png
    then download their translation files by git clone them
    https://github.com/Asheraf/Translation https://github.com/zackdreaver/ROenglishRE  
    Step 5c. Download GRF Editor
    http://www.mediafire.com/file/aflylbhblrzpz0h/GRF+Editor+v1.8.2.7.zip <-- author forgot to update in that topic, mediafire link is latest one
     
    Step 5d. Compile GRF Editor
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 5d.png
    double click GRFEditor.sln
     
    Step 5e. Open GRF Editor file
    Navigate to the directory  \GRF Editor Sources v1.8.2.7\GRF Editor\GRFEditor\bin\Release and open GRF Editor.exe
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 5e.png
    I also wondering why the author makes the execution files hide so deep inside
     
    Step 5f. Drag the data folder from Asheraf client translation to new.grf
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 5f.png
    then save it as Asheraf.grf
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 5f2.png
     
    Step 5g. Repeat the process for zackdreaver translation
    Close Grf. New -> Grf, Drag the data folder from zackdreaver/Ragnarok/data to new.grf, then save it as zackdreaver.grf
     
    Now you have learn how to pack your own grf. You should have 2 new grf in client folder
     
    Step 5h. open data.ini in your ragnarok client and edit DATA.INI
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 5h.png
    [Data] 1=Asheraf.grf 2=zackdreaver.grf 3=rdata.grf 4=data.grf  
    Step 5i. Replace Asheraf/system folder into client/system folder
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 5i.png
     
    // ========== CONTROVERSIAL PART ENDS HERE ===== I'm sure many client experts having your doubts why I do like this ========
     
    A lot of problems can appear in this step, these problems also recent and changes with every client
     
    6. Create your own patch client
    Step 6a. Download latest nemo
    create another folder name nemo
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 6a.png
    then git clone from this site
    https://gitlab.com/4144/Nemo  
    Step 6b. Find a suitable client patches
    http://nemo.herc.ws/downloads/
    Since I download KRO 20180813, I chose 2018-06-20eRagexeRe
     
    Step 6c. Open nemo.exe
    Click Browse to select your downloaded client patch, then select Load Client
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 6c.png
     
    Step 6d. Use Recommend Settings
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 6d.png
    1. forget the "Always call SelectKoreaClientInfo" error
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 6d1.png
    2. DATA.INI
    3. system/itemInfo_Sak.lub <--- note: the Capital letter of Info_Sak ... nemo doesn't auto-detect capital letters
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 6d3.png
    4. Always Load Korea ExternalSetting lua files
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 6d4.png
    5. Read Data Folder first
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 6d5.png
    6. Apply Selected
    Step 6e. Copy 2018-06-20eRagexeRE_patched.exe to the KRO client folder
     
     
    By this step, you should be able to load your own hexed client without throwing any error
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 6.5.png
    if you having problem in this Step 5 & 6, Open a New Topic in Client Support
     
    FINAL STEP - change PACKEVER
    #define PACKETVER 20180620  
    Hercules -> src\common\mmo.h
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 7a.png
     
    rAthena ->
    src\config\packets.hpp <--- original directory, don't edit here
    src\custom\defines_pre.hpp
    https://github.com/AnnieRuru/customs/blob/master/server setup/Step 7b.png
     
    Then Compile for a Final time
     
     
    After thought, there are still some minor annoyance and adjustment
    client/data/msgstringtable.txt (unpack it or just put at client/data/ folder)
    line 3262 Smooth# line 3458 There was an error when loading the data account settings. (Please restart to retry.)# change them into just a #
     
    Frequently Asked Question:
    Change Renewal into Pre-Renewal
    Hercules -> src/config/renewal.h
    rAthena -> src/config/renewal.hpp
     
    This guide will be feature and pin only for a few months ... while it last .... I guess
  11. Like
    gidzdlcrz got a reaction from AnnieRuru in Dota PVP Ladder   
    Waiting for this. Imagine some people would like to have some peace and quiet time. They will be opt out to PVP Announcements. Hehe!

    Anyway here's the script you can add to manually truncate the PVP Ladder (Must be 99 GM Account).

    Again, same principle. Just add the BOLD to the script. Find these lines.
     
  12. Like
    gidzdlcrz reacted to AnnieRuru in Dota PVP Ladder   
    select * from item_db where type = 5 and equip_locations & 4 and view_sprite > 0; yeah my RO knowledge is again outdated, never thought robes can show sprite change
     
    3.6 - script
    - fix a missing sprite change from LOOK_ROBE
     
     
    PS: why the wings on my character is being chop off but the statue is display correctly ? WTF ??

  13. Upvote
    gidzdlcrz got a reaction from AnnieRuru in Dota PVP Ladder   
    For the people who wants their costume robe to show up!

    Find these  lines and add this BOLD.
     
     
     
    Alright.
     
    *Edit again. I forgot to mention that this is for rathena. 😝
  14. Like
    gidzdlcrz reacted to AnnieRuru in custom statue NPC   
    ok so I have been annoyed by some people claiming that statue doesn't work
    so I tackle this topic instead -> https://rathena.org/board/topic/125602-statue-npc-not-pvp-rankings/
     
    let GM do whatever they want with this npc,
    let it disguise as a player to reward them as a champion in an event, or just to shame a player for doing wrong things
    whatever
     
    Download: 1.4
    script
     
    Remember the color code

    remember Navigation link and Item Link

     
     
     
  15. Like
    gidzdlcrz reacted to AnnieRuru in Dota PVP Ladder   
    another server from rathena side told me his server has animated sprite overlapping on the statue
    so again its YOUR problem that having animated sprite ... but at least this one can be fix easily by resetting the UDT_HEADTOP|UDT_HEADMIDDLE|UDT_HEADBOTTOM back to 0

     
    3.5 - script
    - add .fix_custom_sprite setting to fix your server having custom animation equipment
     
    simple script conversion
    https://github.com/AnnieRuru/Release/blob/master/scripts/PvP %26 GvG/Dota PVP ladder/dota_sql_ladder_3.5r.txt
     
     
     
    at least I don't find anything hassle to convert this script into rathena ... unlike promotion code ... already 3 rathena members ask me to do that, and I turn down every time
  16. Like
    gidzdlcrz reacted to anacondaq in Ragnarok Offline Newbie Pack 2022 | Make your RO server in less then 5 minutes   
    Pack v2022:
     
     
    Current Version: 27 December 2021
     
    Update 2023-10-01 - latest versions can be found there: 
    https://discord.gg/p2kvabm
     
    https://ragnarokservice.top/
     
    Download Links (~4.5GB):
    Download from Mirror #1 or Download from Mirror #2 or Download from Mirror #3  
    Important: Please make someone mirror these files. Or make a donation to me and I will make a mirror by myself.

    What is that?

    This is a newbie package that contains 1 click solution for launching Hercules emulator with a single click.
    This package only for education. Do not use this package anywhere in production.

    This package good demonstration of how everything should be configured by yourself to make it work.
    We can find here a good guide on how to configure everything by yourself:
    http://herc.ws/board/topic/16521-how-to-setup-offline-server-for-personal-development-use/

    What inside the package?

    You have 7 folders:
    01_emulator = here emulators (pre-compiled and pre-configured) for RENEWAL or classic PRERE mechanics 02_client_side = here is your client-side what need to copy-paste to your clean kRO client 03_openserver = here is Open Server (MySQL server where stored your game database and which required by the emulator) 04_useful_tools = here are different useful tools that you usually will need when will work with the emulator or databases 05_misc_repos = here are repositories from which it has built the client-side, and exe patched. 06_cmder = this is a tool will be good for you to update the emulator to the latest version (and other files in misc_repos) 07_clean_kRO_client = this is a clean kRO client (2018 somewhere in march updated), need for you to run your own RO copy.
    How to use all of this?
    extract files inside 01_emulator, 02_client_side, 03_openserver, 07_clean_kRO_client Now, what emulator version do you need? Latest (current official servers) (renewal mechanic (suras, dorams, etc classes)) or classic PRE-re (champion, high wizard, high priest)? Now if for example, you use PRERE mechanic (where is high wizard class, paladin, lord knights, and no 3rd classes) your steps are next: a.) go to 02_client_side\FOR_PRERE_EMULATOR\ b.) select all files in this folder (FOR_PRERE_EMULATOR) and copy (CTLR+C) c.) now go to 07_clean_kRO_client/clean_kRO_client/ folder and copy files here (overwrite if windows explorer will ask to do that). d.) now you need to run OpenServer (it's a server that stores all your player's data inside the database, required by the emulator) and run it. e.) Click on Red Flag -> Run the server, make sure in your tray you got Green Flag. f.) Now go to 01_emulator\hercules_PRERE\ and run: run-server.bat g.) Now go to your 07_clean_kRO_client/clean_kRO_client/ and run: 2018-04-18bRagexeRE_patched.exe Your emulator, your database, and the client are running. Now you can try to login into the game.
    About Accounts:

    How to make a GM account or how to access the database?
    For that, you need to click on Green Flag -> Advanced -> PHPMYADMIN
    In the login field of PHPMyAdmin enter: "root", in the password field enter nothing. (no password)
    Press enter or login, and you will be in the database.
    Databases well structured, so mostly always you need not edit too much there.
     
    How to make a GM account?
    You opened PHPMYADMIN.
    Now select your database, and find in this database table called: "login"
    Open this table, and find your account name, and you will see column "group_id".
    Edit number in this column (group_id) to 99.
    0-99 = your GM level. 99 = super admin with all privilegies, 0 = simple player with no privieleges.

    Okay, everything working for me, what can I do next?
     
    My short answer: http://herc.ws/board/ Read all topics, read different guides, read info about NPCs Read info how to add NPCs, how to enable them, how to disable them Read /doc/ folder files inside your emulator folder Read wiki pages: https://herc.ws/wiki/Main_Page Do experiments and do not afraid to destroy everything or remove them.
    Just do mistakes and errors, it's how people learning something new, through mistakes.

    DO not afraid to do a lot of mistakes and ask questions.
    People will help you if you will try to help yourself first and will make good questions with some research before posting messages.


    What tools can I use for making everything much easier for me?
    Tools that you MUST have:
    - Grf Editor - Server Database Editor - VSCode / Notepad++ / Sublime Text / Atom  (any of these editors and select always C syntax highlight for opened files)
    I want to play with my friends on my server
    The solution that you will find by the link below is a terrible solution.
    But usable for a small group of people who for education only want to launch their server ONLINE (for others).
    This is SUPER bad, and never do that, (it's weird, after the only time you will understand why).
    But if you still asking here is the link: https://gist.github.com/anacondaq/3eae8e4afb5d3c3880d08b95b2c54b78

    ===============================================
    I want make a donation as a gesture of goodwill:
    ===============================================
    Ask administrators here: http://herc.ws/board/
    If they accept donations or not, I found no donation link.
    Optionally you can always support the next guys:
    4144 for massive help to the current RO scene at all by his hard work. AnnieRuru for a lot of scripts, helping newbies on the forums http://herc.ws/board/staff/ - all these guys zackdreaver for a lot of efforts on a translation project and to all guys, scripters, mappers, etc players who spend their time, their efforts just for you to make everything free what you see here. Sorry if I didn’t mention someone.
     
    I need help with <something>
    There are a lot of talented developers, software developers, scripters, mappers, spriters, and many other people in this community.
    Check the link: https://herc.ws/board/forum/49-paid-services/
    Also, I accept all questions related to the basic newbie stuff on the topic.
    Do not hesitate to ask even super stupid questions.
    But before asking something, try to do a very simple thing: 
    Open google, in the search bar enter: "site:herc.ws" Then write your question or problem Hit enter and check all links that you see, maybe someone already solved your problem earlier.  
    Alternatively: if you will not be annoying, and will be respectful, I can help with some newbie stuff in the discord channel about the package: https://discord.gg/p2kvabm
     
    Changelog:
    - 2021-04-10 - build from scratch new version with everything new (2020 game client, latest translation, fixed bugs, tons of features and improvements)
    - 20200419 - upgraded emulators, fixed problems with emulators, SQL files, and so on, upgraded full kRO, tools, misc Repos, client-files not touched. Added Discord channel for newbies support.
    - 20200307 - updated emulator, recompiled, uploaded to google drive. Client or db-server files not changed.
    - 20200203 - updated emulator, rest files not touched, if you want to upgrade your emulator, just download the 01_emulator.rar folder, and use it instead of your old one.
     
    I'm Ukrainian in Ukraine. Russia has begun a war against my country, and doing right now is genocide. Destroying cities, even mine own, killing thousands of people, civil people, burning to the ground cities. If you wish to support me in this challenging time (I will try to re-route part of this money to people I know to help them under these awful conditions).
     
    You can donate personally for me for my needs by the link: https://nowpayments.io/donation/anacondaq (crypto).
    Alternatively, you can send money to help Ukraine citizens to the official fond https://www.comebackalive.in.ua/ or 
    to: https://help.gov.ua/
  17. Like
    gidzdlcrz reacted to AnnieRuru in Dota PVP Ladder   
    yeah I bet everyone still using version 2.9, that outdated version from eathena
    honestly there isn't much change with previous version, version 2.9 still works fine if you know how to fix it
     
    Download: 3.6
    hercules - script
    rathena - script
    soundeffect
     
     
     
    if your server has custom animation sprite, remember to set .fix_custom_sprite to true
     
     
    Questions:
    when people ask to make modification to this script, it always comes down to these 2
     
    1. monthly/weekly reset
    ladder will reset monthly or weekly ... self explain
     
    2. "@dotaannounce" off
    hmm ... after talked to some people, they want the announcement set to global, but then some players want to see who are dead, and some players doesn't bother
    and I also saw this is a custom modification ... can be made into this script but ... nah ... I'll do it when I feel like it
  18. Like
    gidzdlcrz reacted to AnnieRuru in About the mushroom_event   
    OnMinute40: if (mobcount(.Map$, strnpcinfo(0)+"::OnMobKilled") == 0) end; killmonster .Map$, strnpcinfo(0)+"::OnMobKilled"; announce "All left over mushroom has been removed", bc_all; end;  
    I don't use rAthena but should work
  19. Like
    gidzdlcrz got a reaction from AnnieRuru in Promotional Code   
    ^ Well then lemme quote this and post to rathena forums.
  20. Like
    gidzdlcrz reacted to AnnieRuru in Promotional Code   
    1.2 - script
    - fix a bug after the code expire, the "list player has claimed this code" option is missing
    - fix a bug that when the code suddenly triggered/start, GM still can do edit
    - add some text to tell why players can't claim the code
    - add announcement when the Promotion Code activate and expire
     
    EDIT: found another bug, when using EDIT start/expire time, the announcement doesn't react ....
    I don't know how to fix this one <-- let's try trigger every hour
     
     
    a big word NO
    2 conditions then I'll consider
     
    No.1 - tell rathena developers to merge *getcalendartime script command
    https://github.com/HerculesWS/Hercules/commit/79b69495bbc5d758529a485eb1144bd64b8ea50f
     
    No.2 - tell rathena developers that *preg_match to follow the exact PHP style format, that can return $array
    https://www.php.net/manual/en/function.preg-match.php
     
    currently rathena's preg_match is like this
    *preg_match(<regular expression pattern>,<string>{,<offset>})
    I want this
    *preg_match(<regular expression pattern>,<string>{,<offset>{,<output array>,{<flag>}}})
     
    if rathena has these 2 script commands, then only I'll consider
    because this script is using them, without these 2 script commands it just won't feel the same functionality if these 2 features are scrap
  21. Like
    gidzdlcrz reacted to AnnieRuru in View current token quest script   
    ZZZZZZzzzzzz......
    talk to this npc... then talk to that npc... then go here kill monster, then help this npc in trouble ...
    what ... you think is rpg game or something ?
    insert keima meme here from the world gods only knows episode 4 18:12

     
    ok joke aside, I don't like doing this kind of stuffs, unless you want to pay me of course
    but if you want to do it yourself, there are 2 ways I can think of
    1. create a new bindatcmd "@checktokenquest" and script all the description yourself, this new npc will have a very long lines to code
    2. use quest log system like my sample here ->
    either way good luck
     
     
    I think gravity will eventually put this onto quest log or something...
  22. Like
    gidzdlcrz reacted to AnnieRuru in Promotional Code   
    I got 2 rep up for making that grumbling post, that just shows how many members really like this idea
    and of course I knew many topics talking about this script again and again and again and again and again and again and again and again and again and again and again and again !!!
    so I make one myself and hopefully don't want see people talking about that bug script again !!
     
    What this script does ?
    GM generate some sort of gibberish word and promotes it on social media
    then players input that gibberish word and able claim the items
     
    honestly I don't really see the point of gibberish word,
    I made this script in a drop down menu, players can just select it from the menu and claim it <_<
     
    Download: 1.3
    script
     
    here's an example by Philippine RO, from this post

     
    TODO :
    1. add coloring to the text
    2. HULD compatible ?
    3. maybe someday can rewrite this whole damn thing with .npc_var sync with SQL variables so don't have to call query_sql too frequently
     
     
  23. Like
    gidzdlcrz reacted to AnnieRuru in View current token quest script   
    and what is token quest exactly ?
     
    this kind of topic .... I usually lock them up immediately because there are not enough explanation ...
     
     
    https://rathena.org/board/topic/124678-treasure-hunter-quests-regarding-the-taken-quest/
    I went over to rathena forum, you also just say "gimme your token quest script I saw on other server pls help" but you never say how your players gonna get token in the first place
  24. Like
    gidzdlcrz reacted to w0wZukuBg in w0w: My Custom Items   
    File Name:
    w0w_custom_collection
    File Submitter: w0wZukuBg
    File Submitted: 24 June 2018
    File Category: Spriting & Palette
    Download Link: Click here to download
    .•°'°•.•°'°•.•°'°•.•°'°•.•°'°•.•°'°•.•°'°•.•°'°•.•°'°•.•°'°•.•°'°•.•°'°•.•°'°•.•°'°•.•°'°•.•°'°•.•°'°•.•°'°•.•°'°•.•°'°•.•°'°•.•°'°•.•°'°•.•°'°•.•°'°•.•°'°•.•°'°•.
    butterfly_wings [x5 new]
    Look at the old butterfly wing and at it. Now again on the old and on the new.
    Why is my butterfly wing looks like a wing, not a human ear? = D
    I would be happy if you would prefer my work for replacement.


    battle_manuals [x5 new]
    Recolor to diversify the rates.


    bubble_gums [x5 new]
    Recolor to diversify the rates.


    bullets [x6 new]
    Just additional sprites of bullets based on standard.
    Fire, Water, Wind, Earth, Poison and Shadow property.


    card_sprites [x3 new]
    Now rare cards will really decorate your inventory (:
    1 - for miniboss cards
    2 - for yellow MVP cards
    3 - for red MVP cards


    w0w_items [x6 new]
    1 - Armor Charm [ID 2656] - make it's own sprite instead of the Gravity...
    2 - Very Old Card Album [ID custom] - just an idea, make an item sprite according to second collection picture.
    3 - Animal Detector [ID custom] - the idea came from the game BG&E.
    4 - Venatu Doll [ID custom] - it can be an item for pet/mercenary activation or just a doll.
    5 - Camera [ID custom] - the file includes small ingame illustration of camera.
    6 - Condenced Blue Potion [ID custom] - nuff said ~


    gemmed_sallet [new]
    Could not wait any longer, just add a ingame hat animation
    made by myself instead of Gravity :3

    dullahan [white eyes]
    In one of the client updates the sprite Dullahan was changed. Since then, his eyes
    have disappeared. Gravity did not comment on what had happened. Very much I
    ask to check up this monster on your server and to replace a sprite in case of
    need.
    >>>>>
    w0w_cardbmp [x6 new]
    You can use this art work for any purpose, for example, you can make it a card on your server.

    sl_icons [x2 new]
    Two new icons for SL_GUNNER and SL_NINJA skills
    Since the icons use Chinese characters, then
    for the SL_GUNNER, the 枪 means a gun
    and for the SL_NINJA I left the character out of skill Final Strike
    .•°'°•.
    skating_grf [new]
    Just added edited santa costume sprite for imitation of skating (based on 여름 summer clothes sprite v1).
    You may see the sample of skating in my custom map Xpalace preview: Link here

    blood_tears [new]
    My first attempt to make a custom version of any weapon. The basis was taken Blood Tears [id 1271].
    .•°'°•.
    ~ Don't claim my or Gravity's work as yours and etc ~
  25. Upvote
    gidzdlcrz reacted to Dastgir in About the thor Patcher i made.   
    lang/Default.ini
    LangPatchingComplete= Add Text After =
×
×
  • Create New...

Important Information

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