Jump to content

Earnestinence

Members
  • Posts

    152
  • Joined

  • Last visited

  • Days Won

    9

Everything posted by Earnestinence

  1. @Yusry wait you want a map only gm can access it ? no players?
  2. you can remove it if you want!
  3. Here try this, i used this for a while and i edited the coordinates to respawn each the GM and the player into chairs you should check it out prontera,164,172,4 script GM Warper 899,{ //Settings set .@map$, "sec_in01"; // Change to wherever your gm post is set .@mapx, 18; // X coords set .@mapy, 92; // Y coords set .@gmitem, 6101; // Item required to enter set .@mapgm$, "sec_in01"; // Change to wherever your gm post is set .@mapgmx, 18; // X coords set .@mapgmy, 97; // Y coords set .@gmamt, 1; // Ammount required if (getgmlevel() < 20) && (countitem(.@gmitem) >= .@gmamt) { goto requested; end; } if (getgmlevel() < 20) { goto nongm; end; } else { goto gmwarp; end; } OnInit: //waitingroom "GM Outpost",0; // Uncomment to enable a waiting room end; gmwarp: warp .@mapgm$,.@mapgmx,.@mapgmy; end; nongm: mes "[^0000FFGM Warper^000000]"; mes "I'm sorry but I can't help you unless you have an Attendance Card."; close; end; requested: mes "[^0000FFGM Warper^000000]"; mes "I see you have an Attendance card.."; next; mes "[^0000FFGM Warper^000000]"; mes "You may go in now."; menu "Go in.",goin,"Not now.",notnow; goin: warp .@map$,.@mapx,.@mapy; delitem .@gmitem,.@gmamt; mapannounce .@map$,strcharinfo(0)+" has entered the GM Outpost upon request.",0; end; notnow: next; mes "[^0000FFGM Warper^000000]"; mes "See you next time!"; close; end; }
  4. it's working fine in my side!! just set #define MAX_CHARS 9 in mmo.h chars_per_account: 9 in login_athena.conf or use import-tmpl/login_conf.txt: add this line chars_per_account: 9 then compile the server, and start RO then check
  5. locate and open /rathena/conf/import-tmpl/login_conf.txt add this line chars_per_account: 9 or you can simply edit login_athena.conf edit line chars_per_account: 0 to chars_per_account: 9
  6. revert all changes to lua files, and next time edit the lua files using Microsoft visual studio ( open it in MVS and edit the lines you want then save )
  7. as far as i know Euphy doesn't support his scripts anymore!
  8. tell me the steps you did, i don't think the client has anything to do with adding new maps
  9. when you patched your client did you check : disable packet encryption ?
  10. Solve: last update of kRO fix the problem
  11. Thanks both for the notes, i'll update everything including the video now, and sorry for my mistakes
  12. 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 Downloads: Github : https://desktop.github.com/ MySQL (When installing: make sure to check 'Use Legacy Authentication Method; Retain MySQL 5.x compatibility' ) : http://www.mysql.com/downloads/mysql/ MySQL Workbench : http://www.mysql.com/downloads/workbench/ Note: remember the username and password you set when installing ! Latest Clean kRO Full Client : by: @Akkarin Microsoft Visual Studio ( MVS ) : https://www.visualstudio.com/downloads/ Visual Studio is a code editor supporting and C andC++ compiler. more info Click here by @Aleos Notepad ++ : https://notepad-plus-plus.org/download/ Note: Notepad++ source code editor and Notepad replacement ( or just use notepad ) 2015-11-04a unpacked client: https://mega.nz/#!w84jRRjZ!iWjU1Qfsez_3nbTtqQuFWHsbda2IglPi7TBnzZWmJtI by: @Napster rAthena support all the clients listed in the packet files : read more Required Files: After you download and install GitHub download these files using GitHub File > Clone Repository rAthena ( server ) : https://github.com/rathena/rathena.git English Translated System & Data Folders RE/PRE: by @zackdreaver For Renewal: https://github.com/zackdreaver/ROenglishRE For Pre-Renewal : https://github.com/zackdreaver/ROenglishPRE NEMO Client Patcher : https://github.com/MStr3am/NEMO.git For more info see this topic by @NeoMind Client Setup : http://nn.ai4rei.net/dev/opensetup/ Client setup for Ragnarok Online by @Ai4rei ========================================== Setting up rAthena Server-Side: See video time-line: 00:02 Step 1: Download/Clone rAthena Source Open GitHub. Click Clone repository. Click URL tap. Copy and paste this URL: https://github.com/rathena/rathena.git Choose the downloading path. Click Clone and wait for it do finish downloading. 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 In The Left Side click on Users and Privileges At The Bottom click on Add account Set Login Name : ragnarok Set Password : ragnarok Set Confirm Password : ragnarok At The Top Menu Click Administrative Roles: and then check DBA Click Apply 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 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 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 locate rathena folder and go to rathena/sql-files and click on main.sql Click on the light icon * wait for the tablet to be executed * Double click on rathena_logs database/schema we've just created Click on locate rathena folder and go to rathena/sql-files and click on logs.sql Click on the light icon * 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 change the version to 55 <version>55</version> (This might not be needed anymore.) 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 ). set admin sprite for any account you want, just put the account id <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
  13. i don't use 2017 clients actually , however there seems to be a problems with hairstyle and haircolor in the newer clients 2015+ in general there's top unanswered question in the general support
  14. please use the search more, and for simple things you can ask me in discord Sexual dounts#9142
  15. Hello again @Questune09, you need to specifiy if its AddHunting or AddCollection and add this () just like is says in the script line :275 //AddHunting("<Quest Name>",<Min Lvl>,<Max Lvl>,<Reward|Item ID>,<Reward|Item Amount>,<Zeny Reward>,<Base EXP>,<Job EXP>,<Monster ID>,<Monster Amount>,...); ============= so add : AddHunting or AddCollection and add: (); AddHunting("Missing Monster",1,20,7720,2,300,6975,5175,1010,15); AddHunting("Missing Monster2",21,50,7720,2,500,13050,9675,1028,20); AddHunting("Kill the pest",40,100,7720,6,700,103725,150300,1500,25); AddHunting("Summer Quest",40,60,7720,5,1000,72225,81000,1323,32); AddHunting("Curse of Snake",60,105,7720,5,5000,293062,219712,1148,35); AddHunting("Curse of Amulet",41,75,7720,5,10000,59625,67050,1188,50); AddHunting("Doctors Sick",61,100,7720,5,20000,91125,102600,1099,50); AddHunting("Red Dragon",81,100,7720,8,25000,146700,169200,1715,33); AddHunting("Fast Cat",70,175,7720,15,350000,108000,76800,2072,100); AddHunting("Dark Summoner",81,120,7720,8,32000,273375,187425,1198,50); AddHunting("Ancient Mimic",101,150,7720,17,50000,275400,232650,1699,67); AddHunting("Another Tsk?",101,140,7720,12,35000,360112,304987,1987,65); AddHunting("Flame Trower",121,175,7720,12,330000,424350,318150,1682,80); AddHunting("Small Swordwoman",141,175,7720,10,588510,501750,1658,75); AddHunting("Fake Messenger",101,150,7720,6,30000,421975,341425,1371,55);
  16. you're welcome , don't forget to change the map int the pre-edited script!
  17. Hello there @DK77, Click Alt + G and then Create Guild then input guild name with space
  18. are you using a custom command for rewards? check if players use that command also check the database logs atcommand
  19. Hello again, @Questune09 please do not use word "Masters" for greetings, instead use friends, guys anyway.. you forgot to use getarg(4) getarg(5) A: manually Add & replace B: copy & paste the full edited script A step 1: add || countitem( getarg(4) ) < getarg(5) to if( countitem( getarg(2) ) < getarg(3) step 2: replace mes "Exchange "+getarg(3)+" "+getitemname( getarg(2) )+" into "+getarg(1)+" "+getitemname( getarg(0) )+"?"; to mes "Exchange "+getarg(3)+" "+getitemname( getarg(2) )+" and 1 "+getitemname ( getarg(4) )+" into "+getarg(1)+" "+getitemname( getarg(0) )+"?"; step 3: add delitem getarg(4),getarg(5); under mes "Done"; delitem getarg(2),getarg(3); B for pre-edited script: veil,120,100,4 script Memory of Tears 10092,{ function Exchange; mes "Why you are here??"; mes "Oh a Energy Debris and Job soul i like that give me that choose one"; next; switch( select( "Old Rune Circlet [1]", "Old Mitra [1]", "Old Driver Band [1]", "Old Driver Band (Yellow) [1]", "Old Shadow Crown [1]", "Old Minstrel Song [1]", "Old Midas Whisper [1]", "Old Magic Stone Hat [1]", "Old Burning Spirit [1]", "Old Wispers of Wind [1]", "Old Circlet of Bone [1]", "Old Guardian Crown [1]", "Old Camouflage of Rabbit Hood [1]" )){ // Exchange( <Item Gained>,<Amount>,<Item Required>,<Amount> ); case 1: Exchange( 18971,1,6820,50,6814,1 ); break; case 2: Exchange( 18972,1,6820,50,6819,1 ); break; case 3: Exchange( 18973,1,6820,50,6815,1 ); break; case 4: Exchange( 18974,1,6820,50,6815,1 ); break; case 5: Exchange( 18983,1,6820,50,6816,1 ); break; case 6: Exchange( 18976,1,6820,50,6818,1 ); break; case 7: Exchange( 18977,1,6820,50,6815,1 ); break; case 8: Exchange( 18978,1,6820,50,6817,1 ); break; case 9: Exchange( 18979,1,6820,50,6819,1 ); break; case 10: Exchange( 18980,1,6820,50,6817,1 ); break; case 11: Exchange( 18982,1,6820,50,6816,1 ); break; case 12: Exchange( 18983,1,6820,50,6814,1 ); break; case 13: Exchange( 18984,1,6820,50,6818,1 ); break; default: mes "Wrong Selection"; break; } close; function Exchange { mes "Exchange "+getarg(3)+" "+getitemname( getarg(2) )+" and 1 "+getitemname ( getarg(4) )+" into "+getarg(1)+" "+getitemname( getarg(0) )+"?"; if(select("Yes","No")==1){ if( countitem( getarg(2) ) < getarg(3) || countitem( getarg(4) ) < getarg(5) ){ mes "Sorry you didnt have enough Items to trade."; close; }else{ next; mes "Done"; delitem getarg(2),getarg(3); delitem getarg(4),getarg(5); getitem getarg(0),getarg(1); } } return; } } Enjoy, Ceil phantomhive
  20. Hello, please provide more information about it ( the quest ) is it official or custom quest ?
  21. You are welcome, please do not forget to mark as best answer
×
×
  • Create New...