Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/10/19 in all areas

  1. Hello there, Some of you might know this already and maybe have read the original guide for it. But for those who doesn't know it yet, see below. Note: I’m sharing the steps on how to do it using CentOS7 for the proxy server/VM while the main server/VM will be anything you like as long as rAthena supports it. Before everything else, I would like you to know that this guide will only work on CentOS7 and this doesn’t guarantee that it will provide low latency to your players since its main function is to HIDE the IP of your MAIN VPS to avoid being bombarded with unwanted traffic. In the event, you received lots of traffic on your proxy, you can just reject it on your main VPS via firewall rules/iptables. Requirements Spare VPS to configure the proxy Patch your client using updated "Enable Proxy Support" patch provided by 4144's NEMO & Functor DO NOT patch "Skip Service Select" since you need it to choose from the multiple connections. Add multiple connection on your clientinfo.xml/sclientinfo.xml Configure subnet_athena.conf to prevent sending real IP in network packets from login and char servers. (Functor) (Optional) Enable "Cancel to Select Service" Patch VPS Configuration (IMPORTANT) Note: Again, make sure that your VPS is using CentOS7 since this was tested under the said OS and working 100% Follow the commands provided below. /* Port Forwarding CentOS 7 FirewallD */ // ======================================================================== // Please read the comments per line it is self-explanatory. // Important Parameters: // INSERT_ZONE = output of the get default zone // INSERT_IP = is the public IP of your main VPS or server // If you like the guide give it a thumbs up! // ======================================================================== // This command is to get the default zone being used by your VM. firewall-cmd --get-default-zone // This command is to check all rules applied to your VM by the current active zone. firewall-cmd --zone=INSERT_ZONE --list-all // Enabling Masquerade Status (IP Forwarding). // This is the important configuration else below won't work firewall-cmd --zone=INSERT_ZONE --add-masquerade --permanent // IP/Traffic forwarding // Make sure you have configured masquerade firewall-cmd --zone="INSERT_ZONE" --add-forward-port=port=6900:proto=tcp:toport=6900:toaddr=INSERT_IP --permanent firewall-cmd --zone="INSERT_ZONE" --add-forward-port=port=6121:proto=tcp:toport=6121:toaddr=INSERT_IP --permanent firewall-cmd --zone="INSERT_ZONE" --add-forward-port=port=5121:proto=tcp:toport=5121:toaddr=INSERT_IP --permanent // Add rules for ro-ports (assuming that you didn't change the port) firewall-cmd --zone=INSERT_ZONE --add-port=6900/tcp --permanent firewall-cmd --zone=INSERT_ZONE --add-port=6121/tcp --permanent firewall-cmd --zone=INSERT_ZONE --add-port=5121/tcp --permanent // Reload rules to take effect firewall-cmd --reload clientinfo.xml/sclientinfo.xml Configuration (IMPORTANT) The example below shows how to configure multiple connections/tunnel to your VPS. (P.S. I'm not quite sure how many connection is the limit that can be defined on the xml) <?xml version="1.0" encoding="euc-kr" ?> <clientinfo> <desc>Ragnarok Online Client Information</desc> <servicetype>america</servicetype> <servertype>primary</servertype> <connection> <display>^FF0000[ SE Asia ]^000000 - Connection Tunnel</display> <balloon>This server is dedicated to SEA Region to possibly reduce latency.</balloon> <address>INSERT_IP_HERE</address> <port>6900</port> <version>46</version> <langtype>1</langtype> <registrationweb>https://rathena.org/board</registrationweb> <loading> <image>loading00.jpg</image> <image>loading01.jpg</image> </loading> <yellow> <admin>2000000</admin> </yellow> </connection> <connection> <display>^FF0000[ US Central ]^000000 - Connection Tunnel</display> <balloon>This server is dedicated to US Central Region to possibly reduce latency.</balloon> <address>INSERT_IP_HERE</address> <port>6900</port> <version>46</version> <langtype>1</langtype> <registrationweb>https://rathena.org/board</registrationweb> <loading> <image>loading00.jpg</image> <image>loading01.jpg</image> </loading> <yellow> <admin>2000000</admin> </yellow> </connection> <connection> <display>^FF0000[ US West ]^000000 - Connection Tunnel</display> <balloon>This server is dedicated to US West Region to possibly reduce latency.</balloon> <address>INSERT_IP_HERE</address> <port>6900</port> <version>46</version> <langtype>1</langtype> <registrationweb>https://rathena.org/board</registrationweb> <loading> <image>loading00.jpg</image> <image>loading01.jpg</image> </loading> <yellow> <admin>2000000</admin> </yellow> </connection> </clientinfo> subnet_athena.conf (IMPORTANT) Change the default value (shown below) subnet: 255.0.0.0:127.0.0.1:127.0.0.1 TO subnet: 0.0.0.0:127.0.0.1:127.0.0.1 As per Functor, "If you will just apply the patch of EXE - game client will not use these IPs from network packets. But players will be able to find real IP by using any network sniffer.". That's it. If you have question, drop by a comment. ROK On! Original Links: Ragnarok Proxy Setup (Hide your VPS IP) Other: Setting up 2020 rAthena Server | Setting up 2020 Client - rAthena based
    1 point
  2. Postei aqui por que não achei uma área correta. Olá galera, como todos sabem eu nunca me aventurei nessa área de programação, porém por uma demanda da empresa eu tive que fazer um painel simples em VBA, o que acabou fazendo eu me interessar por programação, comecei a estudar HTML5, PHP, CSS, e JAVASCRIPT, com isso decidi começar o projeto de desenvolver um painel de ragnarok para que eu possa práticas, em baixo vai estar todas as funcionalidades do painel. OBS: O painel ainda está em desenvolvimento. [ PF PAINEL] Linguagens: - HTML5 - PHP - JAVASCRIPT - CSS Funcionalidades: - Registrar Conta OK - Visualizar Conta OK - Visualizar Personagens OK - Resetar Posição de Personagens OK - Resetar Estilo de Personagens OK - Logs da Conta OK - Alterar Email Em Desenvolvimento - Alterar Senha Em Desenvolvimento - Rankings de Zeny Em Desenvolvimento - Rankings de Eventos Em Desenvolvimento - Rankings da Campal Em Desenvolvimento - Ranking do PVP Em Desenvolvimento - Ranking de Tempo Online Em Desenvolvimento - Ranking de MVP's Em Desenvolvimento Estou vendo o que fazer quando finalizar, talvez eu disponibilize para a comunidade, lembrando que ainda sou novo nessa área e o painel foi feito com o intuito de aprendizado, então caso tenha erros por favor pode avisar, caso tenham sugestões do que pode ser adicionado podem avisar também, qualquer crítica e sugestão é bem vinda. OBS: O design do painel eu não desenvolvi do 0, peguei um painel flat responsivo e fui modificando. Segue abaixo algumas imagens do painel:
    1 point
  3. rathena/conf/char_athena.conf // Starting point for new characters // Format: <map_name>,<x>,<y>{:<map_name>,<x>,<y>...} // Max number of start points is MAX_STARTPOINT in char.hpp (default 5) // Location is randomly picked on character creation. // NOTE: For Doram, this requires client 20151001 or newer. start_point: iz_int,18,26:iz_int01,18,26:iz_int02,18,26:iz_int03,18,26:iz_int04,18,26 start_point_pre: new_1-1,53,111:new_2-1,53,111:new_3-1,53,111:new_4-1,53,111:new_5-1,53,111 start_point_doram: lasa_fild01,48,297
    1 point
  4. =============== Update: 06/10-2019: Added 1 Script ============ Added Mystic Enchanter + extra version without Random Options Support
    1 point
  5. Hi again, i bring this tool to my fellow mappers out there!. Browedit Manager [v0151] ~Download~ (Mediafire) ~Download~ (Dropbox) ~Download~ (Mega) Usage: Just uncompress to any folder and read the following manual: Changes on 0.151: - Added save last settings used function for "Add Custom Texture" and "Add Custom Model". - Implemented "View Files" buttons for fast access to custom files. - Implemented "Add Custom Model". - Fixed a couple of minor bugs, added workfiles to avoid the basic missing textures/models messages, running through settings again will fix this!. Changes on 0.141: - Fixed a couple of bugs with add custom texture functions. Changes on 0.14: I changed a couple of icons of the editor: Lightning Sounds Effects - Added Some new colors to Background/No Tile selection!. - Implemented Categories/Subcategories in Add Custom Texture!. Main Menu Build Version: Select the Version of Browedit to Launch.(I only bundled the 2 versions i use, 586 and 620, i don't think you'll need anything else.) Start Browedit: Launch the selected Version of Browedit!.(Requires to run through settings first!) Open (RO Directory): Open the RO Directory that was setup on the Settings window!.(Requires to run trough settings first!) Settings: Sends you to Settings Window!.(Required to run this program!) Add Custom Texture: Sends you to Add Custom Texture Window!.(Requires to run through settings first!) Exit Manager: Closes Program!.(Doesn't close Browedit Windows!) Settings RO Directory: Setup your RO Directory!.(Directory where you have your data.grf and/or rdata.grf as well as choosing the files to be used. ) Background Color: Select the color you want to use as a background inside Browedit!.(Purple (Default)!) Empty Tile Color: Select the color you want to use for the tiles that have no texture yet inside Browedit!.(Purple (Default)!, Originally was a bright yellow, i recommend to change the default!) Resolution: Select Browedit's Resolution!.(800x600 (Default)!, I only included resolutions of Power by 2 that i've tested, widescreen resolutions tend to glitch!) Camera Smoothing: Select Browedit's Camera Smoothing value!.(0.6 (Default)!, I tried a lot of variants but i cannot tell much difference about this, i recommend to leave at default.!) Save Files And Return: Saves the changes you made to Settings and returns to Main Menu window!.(After this, buttons on the Main Menu will be available!.) Add Custom Texture RO Directory: Shows you the current RO directory in use by browedit!. Texture Sub-Folder: Type the sub-folder you want to use in the RO directory (if you select Copy to Texture to RO Folder the sub-folder will be created if it doesn't exist!) Copy Texture to RO Folder: Copies your new texture file to your RO Directory!.(By default it's unchecked assuming your new texture is already on data\texture\!) Texture Directory: Browse for your new texture!.(By default it'll show you your RO directory, if you have your new texture somewhere else, be sure to check Copy Texture to RO Folder!) Texture ID Name: Specify an ID Name for your new texture!.(By default it copies your filename, Uncheck Same Name if you want to change the ID Name!) Category Name: Specify a Main Category inside browedit's texture browser! (Case Sensitive!!, custom by default). Sub-Category Name: Specify a Sub-Category for your Main Category inside browedit's texture browser! (Case Sensitive!!) Engage!: Processes your new texture!.(Adds it to Browedit and copies to RO Directory if choosen!) Return to Main Menu!: Returns you to Main Menu!. Add New Map RO Directory: Shows you the current RO directory in use by browedit!. Map Dimensions: Select the dimensions of your new map! (the map aspect is shown in the image above!). Map Name: Type your new map name! (There are server-side/client limitations!). Engage!: Processes your new map!. Return to Main Menu!: Returns you to Main Menu!. Add Custom Model RO Directory: Shows you the current RO directory in use by browedit!. Model Sub-Folder: Type the sub-folder you want to use in the RO directory (if you select Copy Model to RO Folder the sub-folder will be created if it doesn't exist!) Model Directory: Browse for your new model!.(By default it'll show you your RO directory, if you have your new model somewhere else, be sure to check Copy Model to RO Folder!) Category Name: Specify a Main Category inside browedit's model browser! (Case Sensitive!!, custom by default). Sub-Category Name: Specify a Sub-Category for your Main Category inside browedit's model browser! (Case Sensitive!!) Engage!: Processes your new custom model!. Return to Main Menu!: Returns you to Main Menu!. Notes: - Removed the ugly Hamtaro almost from everywhere! and replaced it with a cutter Poring chewing a pencil! - Contains 2 working revisions of Browedit (And plugins) within the package, 586 (which i personally use to Map) and 620 (which i only use to automatic gat calculation). - It's probable i'll post Video tutorials on how to use these 2 revisions in order to achieve similar Gravity's quality maps sometime in the future!. - As you well know, you cannot create new maps from scratch from Browedit, it's neccesary to look for an already existing map with the desired dimensions, clean it and then start mapping, the function Add New Map saves you that trouble as i added a pack of several different clean maps from where to pick from!. Copyright Notes: This tool only helps mappers to manage their Borf's Browedit settings, i'm in NO way claiming intellectual or physical or whatever crap over this program!!, for all intends and purposes this program is just an Add On to Browedit!. As always, Leave your suggestions and opinions!. Enjoy~! ~Nuckelavee
    1 point
  6. // Shop NPCs -- supplying no argument displays entire menu. // callfunc "qshop"{,<shop ID>{,<shop ID>{,...}}}; //============================================================ prontera,164,203,6 script Quest Shop#1 998,{ callfunc "qshop"; OnPCLoadMapEvent: if( strcharinfo(3) == strnpcinfo(4) ) showevent 1,1; end; } prontera mapflag loadevent
    1 point
×
×
  • Create New...