The forums will be going offline for an extended maintenance period at 1400hrs GMT on 19th June 2025. The number of hours for this downtime is intentionally not advertised due to the nature of these upgrades.
×
-
Posts
123 -
Joined
-
Last visited
-
Days Won
2
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Everything posted by namerpus18
-
I will read about using vector, thank you. I am still new.
-
That's quite what I want to achieve. But to tell you what it is exactly, I want to reward all IDs who met a dealt total damage(example: 100,000 dealt total damage) to the MVP aside from MVP reward for top1,top2, and top3. Of course, I need to adjust MVP's HP maybe up to x100 if there are more than 500 players participating. EDIT: Actually I think this 'mvplog' thing will do the trick but I need to learn first how to use it coz I don't know yet about functions from SQL.
-
Good day everyone, I am currently trying to make a server online thru google VPS, I managed to make it running so far but can't connect to it. Already tried different configs out there. I can't see the problem because it seems to be working but I cannot connect. Thank you guys. SUBNET_ATHENA: subnet: 255.255.255.0:"VPS WAN IP":"VPS WAN IP" CHAR_CONF login_ip: 127.0.0.1 char_ip: "VPS WAN IP" INTER_CONF // MySQL Login server login_server_ip: 127.0.0.1 login_server_port: 3306 login_server_id: "USER" login_server_pw: "PASS" login_server_db: ragnarok login_codepage: login_case_sensitive: no ipban_db_ip: 127.0.0.1 ipban_db_port: 3306 ipban_db_id: "USER" ipban_db_pw: "PASS" ipban_db_db: ragnarok ipban_codepage: // MySQL Character server char_server_ip: 127.0.0.1 char_server_port: 3306 char_server_id: "USER" char_server_pw: "PASS" char_server_db: ragnarok // MySQL Map Server map_server_ip: 127.0.0.1 map_server_port: 3306 map_server_id: "USER" map_server_pw: "PASS" map_server_db: ragnarok // MySQL Web Server web_server_ip: 127.0.0.1 web_server_port: 3306 web_server_id: "USER" web_server_pw: "PASS" web_server_db: ragnarok // MySQL Log Database log_db_ip: 127.0.0.1 log_db_port: 3306 log_db_id: "USER" log_db_pw: "PASS" log_db_db: ragnarok log_codepage: log_login_db: loginlog MAP_CONF char_ip: 127.0.0.1 map_ip: "VPS WAN IP" SCLIENT: <?xml version="1.0" encoding="euc-kr" ?> <clientinfo> <desc>Ragnarok Client Information</desc> <servicetype>korea</servicetype> <servertype>primary</servertype> <connection> <display>Local</display> <address>"VPS WAN IP"</address> <port>6900</port> <version>55</version> <langtype>0</langtype> <registrationweb>www.ragnarok.com</registrationweb> <loading> <image>loading00.jpg</image> <image>loading01.jpg</image> <image>loading02.jpg</image> <image>loading03.jpg</image> <image>loading04.jpg</image> <image>loading05.jpg</image> <image>loading06.jpg</image> </loading> </connection> </clientinfo> rAthena is starting... (c) 2021 rAthena Project checking... Check complete. Looks like a good, nice rAthena! Logging is disabled Server 'login-server' started at 08-16-22:52-29 Server 'char-server' started at 08-16-22:52-29 [Status]: Memory manager initialised: log/login-server.leaks [Status]: Memory manager initialised: log/char-server.leaks rAthena Development Team presents ___ __ __ _____/ | / /_/ /_ ___ ____ ____ _ / ___/ /| |/ __/ __ \/ _ \/ __ \/ __ `/ / / / ___ / /_/ / / / __/ / / / /_/ / /_/ /_/ |_\__/_/ /_/\___/_/ /_/\__,_/ http://rathena.org/board/ [Info]: Git Hash: 'd4c7614d80bca48cf1b829afef5be4aee45b16a4' rAthena Development Team presents ___ __ __ _____/ | / /_/ /_ ___ ____ ____ _ / ___/ /| |/ __/ __ \/ _ \/ __ \/ __ `/ / / / ___ / /_/ / / / __/ / / / /_/ / /_/ /_/ |_\__/_/ /_/\___/_/ /_/\__,_/ http://rathena.org/board/ [Info]: Git Hash: 'd4c7614d80bca48cf1b829afef5be4aee45b16a4' [Info]: Server uses 'select' as event dispatcher Server 'map-server' started at 08-16-22:52-29 [Info]: Server supports up to '1024' concurrent connections. [Status]: Login server binding IP address : 127.0.0.1 -> 127.0.0.1 [Info]: Finished reading conf/import/inter_conf.txt. [Info]: Finished reading conf/inter_athena.conf. [Info]: Finished reading conf/import/login_conf.txt. [Info]: Finished reading conf/login_athena.conf. [Info]: Done reading '23' messages in 'conf/msg_conf/login_msg.conf'. [Info]: Server uses 'select' as event dispatcher [Info]: Server supports up to '1024' concurrent connections. [Status]: Login server IP address : 127.0.0.1 -> 127.0.0.1 [Status]: Character server IP address : 35.213.XXX.XX -> 35.213.XXX.XX Server 'web-server' started at 08-16-22:52-29 rAthena was started. [Status]: Login server IP address : 127.0.0.1 -> 127.0.0.1 [Status]: Character server IP address : 35.213.XXX.XX -> 35.213.XXX.XX [Info]: Done reading conf/import/char_conf.txt. [Info]: Done reading conf/char_athena.conf. [Info]: Done reading conf/import/inter_conf.txt. [Info]: Done reading conf/inter_athena.conf. annie12@instance-1:~/rathena$ [Info]: Done reading '169' messages in 'conf/msg_conf/char_msg.conf'. [Info]: Done reading conf/import/inter_conf.txt. [Info]: Done reading conf/inter_athena.conf. [Info]: Connect Character DB server.... (Character Server) [Status]: Memory manager initialised: log/web-server.leaks rAthena Development Team presents ___ __ __ _____/ | / /_/ /_ ___ ____ ____ _ / ___/ /| |/ __/ __ \/ _ \/ __ \/ __ `/ / / / ___ / /_/ / / / __/ / / / /_/ / /_/ /_/ |_\__/_/ /_/\___/_/ /_/\__,_/ http://rathena.org/board/ [Info]: Git Hash: 'd4c7614d80bca48cf1b829afef5be4aee45b16a4' [Info]: Server uses 'select' as event dispatcher [Info]: Server supports up to '1024' concurrent connections. [Info]: Finished reading conf/import/web_conf.txt. [Info]: Finished reading conf/web_athena.conf. [Info]: Done reading '0' messages in 'conf/msg_conf/web_msg.conf'. [Info]: Done reading conf/import/inter_conf.txt. [Info]: Done reading conf/inter_athena.conf. [Info]: Connecting to the Login DB server..... [Status]: Connect success! (Login Server Connection) [Info]: Connecting to the Char DB server..... [Status]: Loading '1' entries in 'conf/inter_server.yml' [Status]: Done reading '1' entries in 'conf/inter_server.yml' [Status]: Connect success! (Char Server Connection) [Info]: Connecting to the Map DB server..... [Status]: Loading '49' entries in 'db/pre-re/exp_guild.yml' [Status]: Done reading '49' entries in 'db/pre-re/exp_guild.yml' [Info]: Ipban connection made. [Info]: Clan loaded (1 - Swordman Clan) [Info]: Clan loaded (2 - Arcwand Clan) [Info]: Clan loaded (3 - Golden Mace Clan) [Info]: Clan loaded (4 - Crossbow Clan) [Status]: The login-server is ready (Server is listening on the port 6900). [Status]: Connect success! (Map Server Connection) [Info]: Connecting to the Web DB server..... [Status]: Finished Reading GeoIP Database. [Status]: Characters per Account: '0'. [Info]: Start checking DB integrity [Status]: Memory manager initialised: log/map-server.leaks rAthena Development Team presents ___ __ __ _____/ | / /_/ /_ ___ ____ ____ _ / ___/ /| |/ __/ __ \/ _ \/ __ \/ __ `/ / / / ___ / /_/ / / / __/ / / / /_/ / /_/ /_/ |_\__/_/ /_/\___/_/ /_/\__,_/ http://rathena.org/board/ [Info]: Git Hash: 'd4c7614d80bca48cf1b829afef5be4aee45b16a4' [Status]: Connect success! (Web Server Connection) [Status]: Starting server... [Debug]: Web server not running, sleeping 1 second. [Info]: Server uses 'select' as event dispatcher [Info]: DB integrity check finished with success [Status]: The char-server is ready (Server is listening on the port 6121). [Info]: Server supports up to '1024' concurrent connections. [Info]: Char Server IP Address : '127.0.0.1' -> '127.0.0.1'. [Info]: Map Server IP Address : '35.213.XXX.XX' -> '35.213.XXX.XX'. [Info]: Char Server IP Address : '127.0.0.1' -> '127.0.0.1'. [Info]: Map Server IP Address : '35.213.XXX.XX' -> '35.213.XXX.XX'. [Status]: Using SQL dbs: yes [Info]: Logging item transactions to table 'picklog'. [Info]: Logging commands to table 'atcommandlog'. [Info]: Logging 'logmes' messages to table 'npclog'. [Info]: Logging Cash transactions to table 'cashlog'. [Info]: Logging Feeding items to table 'feedinglog'. [Info]: Connecting to the Map DB Server.... [Status]: Connect success! (Map Server Connection) [Info]: [SQL]: Connecting to the Log Database ragnarok At 127.0.0.1... [Status]: [SQL]: Successfully 'connected' to Database 'ragnarok'. [Status]: Loading maps (using db/import/map_cache.dat as map cache)... [Status]: Loading maps (using db/pre-re/map_cache.dat as map cache)... [Status]: Loading maps (using db/map_cache.dat as map cache)... [Status]: Loading 1179 maps. [Info]: Successfully loaded '1179' maps. [Info]: Done reading '0' messages in 'conf/msg_conf/import/map_msg_eng_conf.txt'. [Info]: Done reading '1271' messages in 'conf/msg_conf/map_msg.conf'. [Status]: Loading '220' entries in 'conf/atcommands.yml' [Status]: Done reading '220' entries in 'conf/atcommands.yml' [Status]: Loading '4' entries in 'db/pre-re/instance_db.yml' [Status]: Done reading '4' entries in 'db/pre-re/instance_db.yml' [Status]: Using packet version: 20190605. [Status]: Packet Obfuscation: Enabled. Keys: 0x00000000, 0x00000000, 0x00000000 [Status]: Loading '5' entries in 'db/const.yml' [Status]: Done reading '5' entries in 'db/const.yml' [Status]: Loading '6170' entries in 'item_db' [Status]: Done reading '6170' entries in 'item_db'. [Status]: Loading '64' entries in 'item_db2' [Status]: Done reading '64' entries in 'item_db2'. [Warning]: Item Ahura_Mazda (2199) is a shield and should have a view id. Defaulting to Guard... [Warning]: Item Tuxedo is an armor, but does not have an armor level. Consider adding it. Defaulting to 1. [Status]: Done reading '19' entries in 'db/pre-re/item_noequip.txt'. [Status]: Done reading '0' entries in 'db/import/item_noequip.txt'. [Info]: Attempt to connect to login-server... [Status]: Connecting to 127.0.0.1:6900 [Info]: Connection request of the char-server 'rAthena' @ 35.213.XXX.XX:6121 (account: 'qwer', ip: '127.0.0.1') [Notice]: Authentication accepted (account: qwer, id: 1, ip: 127.0.0.1) [Status]: Connection of the char-server 'rAthena' accepted. [Status]: Connected to login-server (connection #5). [Status]: Awaiting maps from map-server. [Status]: The web-server is ready (Server is listening on the port 8888). [Status]: Loading '63' entries in 'db/pre-re/item_group_db.yml' ... [Status]: Done loading '0' entries for '0' NPC Markets from 'market' table. [Status]: Loading NPCs... [Info]: Done loading '13035' NPCs: -'3095' Warps -'187' Shops -'9753' Scripts -'3911' Spawn sets -'40470' Mobs Cached -'0' Mobs Not Cached [Status]: Event 'OnInit' executed with '1469' NPCs. [Status]: Server is 'ready' and listening on port '5121'. [Status]: Attempting to connect to Char Server. Please wait. [Status]: Connecting to 127.0.0.1:6121 [Status]: Logging in to char server... [Status]: Successfully logged on to Char Server (Connection: '7'). [Status]: Sending maps to char server... [Status]: Event 'OnInterIfInit' executed with '0' NPCs. [Status]: Event 'OnInterIfInitOnce' executed with '0' NPCs. [Status]: Requested '34' guild castles from char-server... [Status]: Map-Server 0 connected: 1179 maps, from IP 35.213.XXX.XX port 5121. [Status]: Map-server 0 loading complete. [Info]: Loaded guild castle (33 - guild 0) ... [Info]: Loaded guild castle (28 - guild 0) [Status]: Map-server connected to char-server 'rAthena' (whispername: Server). [Status]: Map Server is now online. [Info]: Received Fame List of '0' characters. [Status]: Received '34' guild castles from char-server. [Status]: Received '4' clans from char-server.
-
I have checked it and kinda understand it but not fully as I am not yet familiar to sql structures or parameters but I think its kinda straight forward. From what i see 'mvplog' is a function right? And inside the parentheses are its parameters? Uhm regarding the script I made above does it make sense? I just want to know if i understand a little now about source code editing. coz pointers realy confused me most of the time and giving me hard time always. EDIT. is there something i can lookup in source code that uses this 'mvplog'? just to figure how to use it Thanks a lot
-
//===============SOURCE CODE REFERENCE============= void mob_add_spotted(struct mob_data *md, uint32 char_id) { int i; //Check if char_id is already logged for (i = 0; i < DAMAGELOG_SIZE; i++) { if (md->spotted_log[i] == char_id) return; } //Not logged, add char_id to first empty slot for (i = 0; i < DAMAGELOG_SIZE; i++) { if (md->spotted_log[i] == 0) { md->spotted_log[i] = char_id; return; } } } //==========CODE I MAKE FROM REFERENCE ABOVE void mob_add_atker(struct mob_data *md, uint32 char_id) { int i; //Check if char_id is already logged for (i = 0; i < DAMAGELOG_SIZE; i++) { if (md->dmglog[i] == char_id) return; } //Not logged, add char_id to first empty slot for (i = 0; i < DAMAGELOG_SIZE; i++) { if (md->dmglog[i] == 0) { md->dmglog[i] = char_id; return; } } } Good day everyone, I am new and still learning in source code and I want to try to make something for my project using lines from the source code itself. What I am trying to achieve here is to log char IDs of all those who attacked the monster(MVP). I am focusing this one before proceeding to the next step. Did I make it right? Thank you so much as always, EDITED: Or should I use this one? from pc.ccp void pc_damage_log_add(map_session_data *sd, int id) { uint8 i = 0; if (!sd || !id) return; //Only store new data, don't need to renew the old one with same id ARR_FIND(0, DAMAGELOG_SIZE_PC, i, sd->dmglog[i] == id); if (i < DAMAGELOG_SIZE_PC) return; for (i = 0; i < DAMAGELOG_SIZE_PC; i++) { if (sd->dmglog[i] == 0) { sd->dmglog[i] = id; return; } } }
-
Thanks mate
-
-
Yeah, I am quite new in src editing. Been reading all src codes and analyzing what things do. Thank you
-
Sorry for the confusion, I want to modify a skill's flag using item script. bonus bNoKnockback effect makes the char immune to knock back. What I am aiming is - giving an example - I am a Knight and i use magnum break. I want to remove it's knockback effect if i equip certain item.
-
I tried to add it manually because the client diff is outdated and I am using a newer client. I am getting an error on an identifier of the function do_battle_events as others do. Here's my src code I edited don't mind the "+" sign I intentionally leave it there. If you mind AttackEvent.diff battleCCPsrc.txt
-
There's a function here ONPCAttackEvent() but I cant make it work coz i think i am using newer client. Thank you
-
Hi, may I ask what fishing version this is?
-
Hi everyone, Can i put a script in Equipscript{} that remove knock back effect of a skill? Like bowlingbash and magnum break? I know how to do it on item_db but i dont want to disable it permanently. I just want to disable it whenever you equip and item and toggle that effect when unequipped. Thank you so muchh all - Id: 1101 AegisName: Sword Name: Sword Type: Weapon SubType: 1hSword Buy: 100 Weight: 500 Attack: 25 Range: 1 Slots: 3 ... ... Locations: Right_Hand: true WeaponLevel: 1 EquipLevelMin: 2 Refineable: true Equipscript | //disable knockback effect for magnumbreak skill Unequipscript | //Revert back to normal item
-
Hi, can you help me so I can make every player that dealt damage to the mvp get a coin? Thank you so much
-
Hello everyone, I just want a little enlightment about this script. What does the last line does? Thank you so much struct view_data { uint16 class_; t_itemid weapon, shield, //Or left-hand weapon. robe, head_top, head_mid, head_bottom; uint16 hair_style, hair_color, cloth_color, body_style; char sex; unsigned dead_sit : 2; // 0: Standing, 1: Dead, 2: Sitting
-
Hello everyone, I am currently squishing my brain out to analyze source codes relate to pc_setstand so that I can assign animation for it. I want to set IDLE animation so that every time a character is in this state(pc_setstand) it will do IDLE animation, not just a static sprite. I hope it's possible. Or even only after a character stops walking state. Thank you so much,
-
Hi ive been looking for something like this, I wonder if it's possible that all players that dealt certain damage to the MVP get chance to get item reward? Thank you so much
-
Hi everyone, Can anyone help me modify this so before 5mins it will broadcast also the mvp will respawn to its map. Thank you so much. source: https://rathena.org/board/topic/132835-mvp-respawn-broadcaster-fix-some-console-warnings/ if( md->spawn->state.boss ) { char message[128]; sprintf(message, "[MVP Spawn]: %s has been spawned on %s map.", md->name, map_mapid2mapname(md->spawn->m)); clif_broadcast(&md->bl, message, (int)strlen(message) + 1, BC_DEFAULT, ALL_CLIENT); }
-
May nakita ako sa conf/battle/monster.txt di ko lang sure ito, // Should mobs not spawn within the viewing range of players? // 0 is disabled, otherwise it is the number of retries before giving up // and spawning the mob within player-view anyway, unless the max (100) is used, // in which case the mob will not be spawned, and it'll be retried again in // 5 seconds. // NOTE: This has no effect on mobs that always spawn on the very same cell // (like ant eggs) except if you set it to the max. no_spawn_on_player: 0
-
Hi everyone, I wonder if where can I edit and make kafra storage to have weight limit? Thank you so much
-
Hello everyone, Is there a way I can make the @slaveclone an exact copy of the original character it copies? Like the same stats and buffs that the character has from the time it was copied? The @slave is quite good but it behaves weird to me. And I want the slave to stay in the char position so @slaveclone I think is what I need. Thank you so much,
-
Good day everyone, Anyone can give me something to start off to make this script that gives rewards to all players that inflict certain damage to the MVP of MINI? To my current knowledge, I have no idea what holds the info regarding the total damage inflicted by a player to the monster/MVP/MINI. Thank you so much,
-
Hello po, Paano po i enable yung time respawn sa MVP tomb? yung defaulut kasi wala nakalagay. Tinignan ko sa source is yung respawn timer = invalid timer kaya siguro wala. And kung pede sana NPC na parang time keeper na makikita kung buhay yung mvp and kung slayed sya nakalagay din respawn time. Thank you po
-
[SOLVED] Tulong po bakit ganito kababa damage?
namerpus18 replied to namerpus18's topic in Tulong para sa Server
I already setup my server to pre though (#define PRE), anyway i will try to setup a fresh server and i hope things go smoothly and i will try rAthena this time. Thank you so much for your time -
[SOLVED] Tulong po bakit ganito kababa damage?
namerpus18 replied to namerpus18's topic in Tulong para sa Server
I agree, I am now in the transition process but I would like to make it slow so I won't get overwhelmed. Anyway, do you have any idea what's wrong here? I mean, the char stats do not reflect the damage output. This is the first time I experience this and I already checked the files I think are responsible for it but I still have no idea what is going on here.