Jump to content

mrgeiszer

Members
  • Posts

    21
  • Joined

  • Last visited

Posts posted by mrgeiszer

  1. Hello everyone, I'm kind of working in this script, but I'm not quite sure if its working or what.. please help

    here's the full script...

     

    //Bossnia Map 1 Gold Farm
    //==================================================
    //Bossnia Map bossnia_01
    //==================================================
    prontera,156,176,3    script    Gold Farm    88,{

        mes "[ Farmer ]";
        mes "Happy farming!";
        next;
        warp "bossnia_01" ,0,0;
        close;

    OnInit:
        disablenpc "Gold Farm";
        hideonnpc "Gold Farm";
        end;
        

    OnMinute10:
        hideoffnpc;
        announce "Farmer: Gold Farm Room Activated in the center of prontera!",bc_blue; 
        sleep2 10000;
        announce "Farmer: Come on hurry, NPC room will last only a minute.",bc_blue;
        sleep2 10000;
        enablenpc "Gold Farm";
        initnpctimer;
        end;

    OnTimer50000:
        announce "Farmer: Last 10 seconds.",bc_blue;
        end;
        
    OnTimer55000:
        announce "Farmer: 5.",bc_blue;
        end;
        
    OnTimer56000:
        announce "Farmer : 4.",bc_blue;
        end;
        
    OnTimer57000:
        announce "Farmer : 3.",bc_blue;
        end;
        
    OnTimer58000:
        announce "Farmer: 2.",bc_blue;
        end;
        
    OnTimer59000:
        announce "Farmer: 1.",bc_blue;
        end;
        
    OnTimer60000:
        announce "Farmer: Time's up. Gold Room will open again in 10 minutes.",bc_blue;
        end;
        
    OnTimer67000:
        disablenpc "Gold Farm";
        hideoffnpc;
        stopnpctimer;
        end;
        }
        

        
    //==================================================
    //MOB Monster here
    //==================================================
    bossnia_01,0,0,0,0    monster    Dokebi    1110,50,0,0,0
    bossnia_01,0,0,0,0    monster    Grand Peco    1369,30,0,0,0
    bossnia_01,0,0,0,0    monster    Mineral    1614,17,0,0,0
    bossnia_01,0,0,0,0    monster    Am Mut    1301,3,0,0,0
    //==================================================

  2. On 2/25/2016 at 9:14 AM, Haziel said:

    Third Job Costumes & New Classes: Corrected


    Third Job Costumes + New Classes
    The Correction

    preview.png.840a194ad942e1acbaf6c91170268c1e.png

    With the advent of jRO releasing new Job Costumes, and also, the new classes from the Taekwon branch, many of server owners want to replace the vanilla sprites or even, implement the bodystyle system.

    But, there's a catch! Originally jRO, and now, even kRO spriters, have  made it completely off of the default pattern of palette.

    In a classic example, you can notice the pattern of the RO palettes.
    What matters is the position of the colours, as an example, for all jobs, the white-ish tones will be always on the same row, so we can use it to create custom palettes.

    See how it works:

    http://hazielgraphics.com/images/guides/corjob1.png

    But jRO didn't follow the classic pattern, making it incompatible with custom palettes (@Kamishi ones included).

    http://hazielgraphics.com/images/guides/corjob2.png

    So, I edited frame by frame of each job sprite, of each gender, mounted or not, correcting them, converting them in a way so many of the previously created palettes will work.
    This package includes:

    Alternate Outfits:

    • Alternate Royal Guard M/F + Gryffon Battlemount + Lion Mount
    • Alternate Ranger M/F + Warg Battlemount + Ostrich Mount
    • Alternate Minstrel/Wanderer + Ostrich Mount
    • Alternate ArchBishop M/F + Alpaca Mount
    • Alternate Warlock M/F + Fox Mount
    • Alternate Mechanic M/F + Savage Mount
    • Alternate Genetic M/F + Savage Mount
    • Alternate Guillotine Cross M/F + Hyena Mount
    • Alternate Shadow Chaser M/F + Hyena Mount
    • Alternate Sorcerer M/F + Fox Mount
    • Alternate Sura M/F + Alpaca Mount
    • Alternate Rune Knight M/F + Dragon Battlemount + Lion Mount

    New Classes

    • Star Emperor M/F + Wolf Mount
    • Soul Reaper M/F + Wolf Mount

    As requested by @Emistry, I also added an extra, making it more compatible to default palettes:

    • Kagerou/Oboro + Frog Mount

    Following the another @Emistry's request, all files are now already on GRFs.
    The previous version had no Cashmount palette included, this one fixes the issue.
    Only the already released costumes are supported at this moment.

    The Rune Knight seems to be the last of them, it's over a year from the first release!

    As a final part of the package, I'm including Classic Palettes for all Alternate Costumes.

    Enjoy the final product!


    • Submitter
    • Submitted
      02/24/2016
    • Category
    • Content Author
      Gravity Corp

     

    this will cover or overwrite the old sprite of the 3rd jobs? tia

  3. 11 hours ago, Racaae said:

    Yes you can

    //Examples
    	setunitdata(getnpcid(0), UNPC_HAIRSTYLE, 2);
    	setunitdata(getnpcid(0), UNPC_HAIRCOLOR, 5);
    	setunitdata(getnpcid(0), UNPC_HEADTOP, 547);
    	setunitdata(getnpcid(0), UNPC_HEADMIDDLE, 0);
    	setunitdata(getnpcid(0), UNPC_HEADBOTTOM, 0);
    	setunitdata(getnpcid(0), UNPC_CLOTHCOLOR, 1);
    	setunitdata(getnpcid(0), UNPC_ROBE, 4);

     

    thank you for this it works perfectly for my npc

  4. as the title says, is there any way I can change the gender of my npc since i'm currently using the 'player' sprite. For example, mine i'm using a swordsman sprite but it's a female.

    here's the full script:

    //==================================================
    //Walking NPC player sprite
    //==================================================
    // - Gepard
    //==================================================
    prontera,156,180,0    script    Bonita    1,{   // the number 1 here is the swordsman sprite female with the default hairstyle
    
    end;
    
    OnInit:
    setarray .Message$[0],"Bonita: Hi there!",
                        "",
                        "",
                        "Bonita: Don't mind me",
                        "",
                        "Bonita: I'm just looking around",
                        "",
                        "Bonita: Hmm..";
    while( 1 ){
        if(.Count >= getarraysize( .Message$))
        .Count = 0;
        npcwalkto rand(150,160),rand(175,186);
        npctalk .Message$[ .Count];
        .Count++;
        sleep rand(3000,5000);
    }
    end;
    
    }

    please help i want to change the gender to male

  5. Hi everyone,

    I'm just new here at rAthena forum and I've just recently created my own server for personal use, but I'm having trouble by passing the closed connection error. I have followed specifically the guide instruction on this private server tutorial by  Earnestinence

     

    but still i'm getting the same issue even though I've already modify/configure the define_pre.hpp file on src/custom/define_pre.hpp

    PS: sorry I'm not sure where I can post this thread and if there's already a similar issue like this, kindly get this post through sorry and TIA

  6. On 7/12/2017 at 2:20 PM, Earnestinence said:

    Hello rAthena Community 

    I'm Earnestinence, and i'll be guiding you to setup rAthena and run Ragnarok

     

     

    Programs you need to install before we start

    Required Files: 

    ==========================================

    Setting up rAthena Server-Side: See video time-line: 00:02

    Step 1: Download/Clone rAthena Source

    • Open GitHub.

     

    Step 2: Configuring rAthena See video time-line: 00:35

    • open rathena/conf/import/char_conf.txt
      • Add these lines :
        • userid: username
        • passwd: password
        • login_ip: 127.0.0.1
        • char_ip: 127.0.0.1
      • [Optional] To change server name add this line :
        • server_name: YourDesiredServerName
      • Note: If you want to change anything in char_athena.conf, use the import-tmpl directory to avoid future issues when updating. ( just add the respective value you want ).
    • rathena/conf/import/map_conf.txt
      • Add these lines:
        • userid: username
        • passwd: password
        • char_ip: 127.0.0.1
        • map_ip: 127.0.0.1
      • Note: If you want to change anything in map_athena.conf, use the import-tmpl directory to avoid future issues when updating. ( just add the respective value you want ).
    • rathena/conf/import/inter_conf.txt
      • Add these lines
        • login_server_db: rathena
        • ipban_db_db: rathena
        • char_server_db: rathena
        • map_server_db: rathena
        • log_db_db: rathena_logs
      • Note: If you want to change anything in map_athena.conf, use the import-tmpl directory to avoid future issues when updating. ( just add the respective value you want ).
      • Note: I use rathena as my main database which contain all main tables (like: chars, login, guilds, etc... ). However, I like to separate my logs to rAthena_logs .

    Step 3: Compiling rAthena See video time-line: 02:16

    • Locate  rathena/rAthena.sln
      • Locate and right click rAthena.sln open with > Microsoft Visual Studio 2017 ( or 2013 / 2015 )
      • Wait for the MVS to load the project, when it's ready select Solution 'rAthena' (8 projects) and then right click and Click 'Clean Solution' First when clean finish successfully click on 'build Solution'
      • Wait for it to finish, make sure the log below finish successfully 

     

    Step 4: Setting SQL Database ( make sure MySQL installed and running ) See video time-line: 03:13

    • open MySQL Workbench
      • log in :
        • Using the username 'root 'and the password you set when you first install MySQL ( If you don't remember the password, you can reconfigure MySQL using MySQL installer )
      • once you logged in create new user account and grant Administrator Privileges: - See video time-line: 04:17
        1. In The Left Side click on Users and Privileges 
        2. At The Bottom click on Add account
        3. Set Login Name : ragnarok
        4. Set Password : ragnarok
        5. Set Confirm Password : ragnarok
        6. At The Top Menu Click Administrative Roles: and then check DBA
        7. Click Apply
        8. logout by clicking on X at the top of the current tap and then login using the new user account ragnarok with password ragnarok See video time-line: 05:00
      • Creating databases/schema : See video time-line: 05:26
        • Click on Screenshot_3.png  create new database/schema
        • Set the Name: rathena ( this will be our main database/schema )
        • Set Charset: utf8 ( Now this's is important you need to check this )
        • Click apply, apply and then finish
        • Now Click on Screenshot_3.png create new database/schema
        • Set the Name: rathena_logs ( this will be our logs database/schema )
        • Set Charset: utf8 ( Now this's is important you need to check this )
        • Click apply, apply and then finish
      • import rathena SQL files to rathena & rathena_logs databases: See video time-line: 06:16
        • Double click on rathena database/schema we've just created
        • Click on Screenshot_4.png 
        • locate rathena folder and go to rathena/sql-files and click on main.sql
        • Click on the light icon Screenshot_5.png * wait for the tablet to be executed *
        • Double click on rathena_logs database/schema we've just created
        • Click on Screenshot_4.png
        • locate rathena folder and go to rathena/sql-files and click on logs.sql
        • Click on the light icon Screenshot_5.png * wait for the tablet to be executed *
      • change the username and password of the server: See video time-line: 07:03
        • Now next/around rathena database right click on a blank area and click refresh all ( in order to view the tables we've just created or just relog )
        • Click on rathena database/schema > tables > locate login table..
        • now click on tables and locate login table then right click and click on select Rows - Limit 1000
        • Double click on s1 and change it to username then hit enter  ( we put the userid: username in rathena/conf/import-tmpl/char_conf.txt and map_conf.txt  make sure you use the same one you put in these files  ) 
        • Double click on p1 and change it to password then hit enter  ( we put the passwd: password in rathena/conf/import-tmpl/char_conf.txt and map_conf.txt  make sure you use the same one you put in these files ) 
        • Click apply, apply and then finish

    Step 5 ( running the server )

    • Running rAthena server See video time-line: 07:35
      • locate rathena folder rathena/ click on runserver
        •  ( less than 8 mins without any errors )

    ==================================================

     

     

    Client Side Running & patch ragnarok online client 

     

    • open Official kRO Client/ 
      • Updating kRO Files:
        • Locate and run rsu-kro-rag-lite.exe and wait for it to finish and then rsu-kro-renewal-lite.exe and wait for it to finish updating ..
      • Adding translated system/data files 
        • Locate ROenglishRE or ROenglishPRE and copy Data & System folders , GuildTip  & Tipoftheday
        • and paste these files into the official kro client folder ( Replace the files when asked )
      • Setting up clientinfo.xml : 
        • locate official kRO client folder open folder data/ and edit file clientinfo.xml
          1. change the version to 55 <version>55</version>  (This might not be needed  anymore.)
          2. set the langtype to 1 < To be able to write in English. ( refer to this page to find your preferred language beside English: https://github.com/rathena/rathena/wiki/Clientinfo.xml ).
          3. set admin sprite for any account you want, just put the account id 
            1. <aid>
              	<admin>2000000</admin>
              </aid>
      • Copy and paste the setup file into the the official kRO client folder
      • Patching the Client 2015-11-04 
        • load the client and select recommended and click enter for data.ini and then CHANGE/EDIT system/iteminfo.lub to system/iteminfo.lua and check read data folder first, ignore missing palettes, ignore resource errors and then customize the client as you want
    • Here's my additional patches:
      
      >>>
      Custom Window Title ( name you server )
      Disable Swear Filter
      Disconnect to Login Window
      Enable Title Bar Menu
      Read Data Folder First
      Show Cancel To Service Select
      Ignore Missing Palette Error
      Ignore Resource Errors
      Use Ragnarok Icon ( ragnarok icon for the client )
      <<<

      copy the new 2015-11-04aRagexe_patched and paste it your official kRO client folder

     

    now the client is ready, just run the game using 2015-11-04aRagexe_patched and Enjoy

    to create a male account just type ex: admin_f for female - admin_m for male 

    and don't forget to set the account group id 99 to get full GM permissions 

    Issue #1: Closed connection from '127.0.0.1'.
    Solve:  go to your rathena/src/custom/defines_pre.hpp and open it with notepad++ ( or any notepad ) add this line #define PACKETVER 20151104



     

    ========================================================

    As of 28-7-2018: the topic is fully updated and support MySQL 8.x 

    ========================================================

    For further questions or concerns regarding the tutorial, Do NOT hesitate to contact me in this topic.

    - Earnestinence

    I've run everything smooth both emulator and client side except getting the "closed connection error" please help, below the screen shot thanks in advance

    image.thumb.png.4e848cd1cf3be9d97b06e7af0affc5cc.png

  7. On 7/12/2017 at 2:20 PM, Earnestinence said:

    Hello rAthena Community 

    I'm Earnestinence, and i'll be guiding you to setup rAthena and run Ragnarok

     

     

    Programs you need to install before we start

    Required Files: 

    ==========================================

    Setting up rAthena Server-Side: See video time-line: 00:02

    Step 1: Download/Clone rAthena Source

    • Open GitHub.

     

    Step 2: Configuring rAthena See video time-line: 00:35

    • open rathena/conf/import/char_conf.txt
      • Add these lines :
        • userid: username
        • passwd: password
        • login_ip: 127.0.0.1
        • char_ip: 127.0.0.1
      • [Optional] To change server name add this line :
        • server_name: YourDesiredServerName
      • Note: If you want to change anything in char_athena.conf, use the import-tmpl directory to avoid future issues when updating. ( just add the respective value you want ).
    • rathena/conf/import/map_conf.txt
      • Add these lines:
        • userid: username
        • passwd: password
        • char_ip: 127.0.0.1
        • map_ip: 127.0.0.1
      • Note: If you want to change anything in map_athena.conf, use the import-tmpl directory to avoid future issues when updating. ( just add the respective value you want ).
    • rathena/conf/import/inter_conf.txt
      • Add these lines
        • login_server_db: rathena
        • ipban_db_db: rathena
        • char_server_db: rathena
        • map_server_db: rathena
        • log_db_db: rathena_logs
      • Note: If you want to change anything in map_athena.conf, use the import-tmpl directory to avoid future issues when updating. ( just add the respective value you want ).
      • Note: I use rathena as my main database which contain all main tables (like: chars, login, guilds, etc... ). However, I like to separate my logs to rAthena_logs .

    Step 3: Compiling rAthena See video time-line: 02:16

    • Locate  rathena/rAthena.sln
      • Locate and right click rAthena.sln open with > Microsoft Visual Studio 2017 ( or 2013 / 2015 )
      • Wait for the MVS to load the project, when it's ready select Solution 'rAthena' (8 projects) and then right click and Click 'Clean Solution' First when clean finish successfully click on 'build Solution'
      • Wait for it to finish, make sure the log below finish successfully 

     

    Step 4: Setting SQL Database ( make sure MySQL installed and running ) See video time-line: 03:13

    • open MySQL Workbench
      • log in :
        • Using the username 'root 'and the password you set when you first install MySQL ( If you don't remember the password, you can reconfigure MySQL using MySQL installer )
      • once you logged in create new user account and grant Administrator Privileges: - See video time-line: 04:17
        1. In The Left Side click on Users and Privileges 
        2. At The Bottom click on Add account
        3. Set Login Name : ragnarok
        4. Set Password : ragnarok
        5. Set Confirm Password : ragnarok
        6. At The Top Menu Click Administrative Roles: and then check DBA
        7. Click Apply
        8. logout by clicking on X at the top of the current tap and then login using the new user account ragnarok with password ragnarok See video time-line: 05:00
      • Creating databases/schema : See video time-line: 05:26
        • Click on Screenshot_3.png  create new database/schema
        • Set the Name: rathena ( this will be our main database/schema )
        • Set Charset: utf8 ( Now this's is important you need to check this )
        • Click apply, apply and then finish
        • Now Click on Screenshot_3.png create new database/schema
        • Set the Name: rathena_logs ( this will be our logs database/schema )
        • Set Charset: utf8 ( Now this's is important you need to check this )
        • Click apply, apply and then finish
      • import rathena SQL files to rathena & rathena_logs databases: See video time-line: 06:16
        • Double click on rathena database/schema we've just created
        • Click on Screenshot_4.png 
        • locate rathena folder and go to rathena/sql-files and click on main.sql
        • Click on the light icon Screenshot_5.png * wait for the tablet to be executed *
        • Double click on rathena_logs database/schema we've just created
        • Click on Screenshot_4.png
        • locate rathena folder and go to rathena/sql-files and click on logs.sql
        • Click on the light icon Screenshot_5.png * wait for the tablet to be executed *
      • change the username and password of the server: See video time-line: 07:03
        • Now next/around rathena database right click on a blank area and click refresh all ( in order to view the tables we've just created or just relog )
        • Click on rathena database/schema > tables > locate login table..
        • now click on tables and locate login table then right click and click on select Rows - Limit 1000
        • Double click on s1 and change it to username then hit enter  ( we put the userid: username in rathena/conf/import-tmpl/char_conf.txt and map_conf.txt  make sure you use the same one you put in these files  ) 
        • Double click on p1 and change it to password then hit enter  ( we put the passwd: password in rathena/conf/import-tmpl/char_conf.txt and map_conf.txt  make sure you use the same one you put in these files ) 
        • Click apply, apply and then finish

    Step 5 ( running the server )

    • Running rAthena server See video time-line: 07:35
      • locate rathena folder rathena/ click on runserver
        •  ( less than 8 mins without any errors )

    ==================================================

     

     

    Client Side Running & patch ragnarok online client 

     

    • open Official kRO Client/ 
      • Updating kRO Files:
        • Locate and run rsu-kro-rag-lite.exe and wait for it to finish and then rsu-kro-renewal-lite.exe and wait for it to finish updating ..
      • Adding translated system/data files 
        • Locate ROenglishRE or ROenglishPRE and copy Data & System folders , GuildTip  & Tipoftheday
        • and paste these files into the official kro client folder ( Replace the files when asked )
      • Setting up clientinfo.xml : 
        • locate official kRO client folder open folder data/ and edit file clientinfo.xml
          1. change the version to 55 <version>55</version>  (This might not be needed  anymore.)
          2. set the langtype to 1 < To be able to write in English. ( refer to this page to find your preferred language beside English: https://github.com/rathena/rathena/wiki/Clientinfo.xml ).
          3. set admin sprite for any account you want, just put the account id 
            1. <aid>
              	<admin>2000000</admin>
              </aid>
      • Copy and paste the setup file into the the official kRO client folder
      • Patching the Client 2015-11-04 
        • load the client and select recommended and click enter for data.ini and then CHANGE/EDIT system/iteminfo.lub to system/iteminfo.lua and check read data folder first, ignore missing palettes, ignore resource errors and then customize the client as you want
    • Here's my additional patches:
      
      >>>
      Custom Window Title ( name you server )
      Disable Swear Filter
      Disconnect to Login Window
      Enable Title Bar Menu
      Read Data Folder First
      Show Cancel To Service Select
      Ignore Missing Palette Error
      Ignore Resource Errors
      Use Ragnarok Icon ( ragnarok icon for the client )
      <<<

      copy the new 2015-11-04aRagexe_patched and paste it your official kRO client folder

     

    now the client is ready, just run the game using 2015-11-04aRagexe_patched and Enjoy

    to create a male account just type ex: admin_f for female - admin_m for male 

    and don't forget to set the account group id 99 to get full GM permissions 

    Issue #1: Closed connection from '127.0.0.1'.
    Solve:  go to your rathena/src/custom/defines_pre.hpp and open it with notepad++ ( or any notepad ) add this line #define PACKETVER 20151104



     

    ========================================================

    As of 28-7-2018: the topic is fully updated and support MySQL 8.x 

    ========================================================

    For further questions or concerns regarding the tutorial, Do NOT hesitate to contact me in this topic.

    - Earnestinence

    Hi,

    I'm on the my sql database part but it seems that it can't proceed it got alot of warnings no table created for the database. pls help

    image.thumb.png.8c8589e5b34fa51d33d1af2be5d03ec2.png

×
×
  • Create New...