Jump to content

Macromango

Member
  • Posts

    20
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Macromango

  1. At this point I'm afraid to ask, but here I go. PLAYER_INDEX DATABASE ID stands for the id of the account and this is clear to me EMPIRE stands for the kingdom of the account clearly with shinsoo = 1, jinno = 3 etc What about those pids? They are almost probably associated to each player character per account, but still I don't really get what the values refer to, all information I looked for seemed confusing and non exaustive; If someone could point me to something I'll be glad to get deeper into the undestanding of this Keep up the good work, cheers Macro
  2. Solved, Obviously missing the " GetApplyPoint() " function in client binary.
  3. Hello fellow devs; I was implementing the Bonus Board on my client and despite it looked quite simple, it is actually giving me this confusing error. I've tried to rollback the changes and to implement it again, for a second time, with enhanced attention; but despite this the error prompts again. SYSERR CLIENT This confuses me a lot. Thanks in advance for your time and help; Cheers
  4. Thanks again for your interest, @WeedHex; Current setup is 2 Channels with 2 Cores per channel; The service is rolling on Martysama's 4.9.89 and I'm not using any multilanguage system. All processes running good: Only syserr is: load: ANI directory = (null) At the start of every Core at every Channel; That's something I've been investigating without any significant progress Thank you for joining the post. Actually CH1 - Core 2 starts ,and keeps running without any syserrs: that's the strange thing that makes me go mad! I've already tried to change the starting script provived with the files, but nothing changed. I actually don't use hardlinks, but I do have the actual compiled sources in " game/main/srv1/share/bin "; could be this messing up with something? I've actually tried some time before to replace the mentioned files with some valid hardlinks, but the problem persisted.
  5. Thanks for your interest; Actually there's no crash of the process, so I'm not getting any game.core file; but here's the ftp struct: The main problem is that it's impossible to use the private chat between players on different cores, Also the shouting chat doesn't work as intended, since it's isolated for every core. Looks like the cores can't communicate each others in some circumstances. I thought about a networking problem and so I double checked my NAT hairpinning, but it was actually fine. Important to mention that I've manually set my WAN IP in the "src/game/desc_client.cpp" file and frankly I'm not 100% sure about the implications of this on the cores communication, since there's no trace left to start debugging; f*ck me!! This issue is stressing me out from months, I'm not sleeping well because of it.
  6. I'm experiencing the same issue and despite I've managed to add the fix provided in this topic by @SCOOB , nothing has changed. I'll keep working on it in these days! EDIT: root/ui.py@class ListBoxExNew
  7. I'm in the club too, facing the same issue. I managed to resolve the issue by editing the file "locale/skilldesc.txt" in the row referring to the skill number 109 (healing), replacing "STANDING_SKILL" with "STANDING_SKILL|CAN_USE_FOR_ME|NEED_TARGET|ONLY_FOR_ALLIANCE". Then, in the database, I emptied the "setFlag" field referring to that 109 skill in "player/skill_proto". EDIT: As @Syreldar mentioned above, make sure that in "player/skill_proto" the "setFlag" field referring to that 109 skill is populated with the "REMOVE_BAD_AFFECT" flag. (Thanks to Syreldar for clarifying that: grazie.) With this little fix, the Healing skill works just like a regular buff. Cheers!
  8. Hello fellow devs; It's been a while since I'm facing this problem and I've been struggling with it recently so I surrended and now I am seeking for help lol My CHANNEL 1 only works on "core1"; Because whenever the player teleports to a "core2" configured map, he get disconnected with syserr (DESC::~DESC). Despite this; my CHANNEL 2 works on 2 cores perfectly. Ports are correctly configured through the firewall. I tried do put only one single map in CH1 core2 and teleport there but it didn't worked: same logout; Process "srv1-ch1-core2" is up and running without any syserrs. The "CONFIG" of the two cores on CH1: CORE1 CORE2 Thank to all of you for your precious time and help! MACRO
  9. Thanks for such a wonderful tip, @Braxy! Since I've never programmed in "Lua" language, I'm basically learning it from checking the original Metin2 quest files and making my own scripts for testing the various mechanisms. It's actually intuitive if you have some general programming knowledge, but tips like the one you've pointed me to, are a plus! Thanks again!
  10. Thanks for your prompt reply @mast210! After a good night of sleep I managed to undestand what was the issue: as I said, it was something stupid! I've completely forgot the fact that I've tested the quests one by one when I did acquired it, some weeks ago. So the quest flags were still active on my testing character and when I did upload all the package, obviously, this triggered all those unfinished quests. Checking on the DB under the table "quest" allowed me to delete all those flags and after resetting the service, everything worked like a charm! Thank you very mutch for your support! This issue is happily #SOLVED : kindly requesting to close it
  11. Hello to everyone! First of all: thanks for your time and support, this forum is such a massive useful resource! I'm writing this post because I could not find anything regarding my problem; it's been some days since I'm having to deal with it. The problem occurs when I'm tryng to import and compile the originals "collect_quest_lv**": the ones from the biologist. I started with uploading "collect_quest_lv30", compiled it; everything works fine, the quest gets working. Then I've uploaded "collect_quest_lv40" and I've compiled it: this get activated even if I didn't finish the first one! I started to check the quests and they seem good to me: This is collect_quest_lv30 at its end when *** begin ** ** ** clear_letter() set_quest_state("collect_quest_lv40", "run") --**THIS SHOULD ACTIVATE THE NEW QUEST @ "RUN" STATE set_state(__complete) end This is collect_quest_lv40 at its beginning state start begin end --** START STATE CORRECTLY EMPTY state run begin --** RUN STATE MUST BE THE POINT WHERE IT GETS ACTIVATED BY THE LAST QUEST when login or levelup with pc.level >= 40 begin set_state(information) end end There must be something stupid I'm missing. I'll be glad if someone could address me to the undestanding of the issue! Cheers!
  12. Thank you my friend @regal! After adding the missing 6th skills vnums in the "special.active_skill_list", my quest script recognized the skills and prompted me their vnum. I managed to associate that orphan vnums with some translated strings: Looking around in locale.lua I noticed that every skill vnum is paired with a translated string found in translate.lua, so I just created new strings to match the said orphan vnums and everything worked like a charm! Your help was precious, thank you very mutch, mate! Good things to you! No need to worry @Finnis; Your answer was still valuable! Thank you for helping and good things to you too! MACRO (This post can be closed, solution was found)
  13. Hello devs; I searched days for solutions to this problem, but still got no luck; I'm pretty sure that I'm missing something! I'm trying to figure out what's happening in my lua script, that should list all skills at "M" level; in order to upgrade them. It works fine for every skill of every race except the 6th skill of ninja archer "Spark" and also the 6th skill of the mental warrior "Sword Orb": So I'm assuming this is a "6th skill problem". I have those 6th skills set in my db, they upgrade successfully with in game console command ("/setskillother name 51 21"), and they work perfectly in game. I assume there must be something that I'm missing from my function to add them in the variable "skill_list", here's the function: function BuildMasterSkillList(job, group) -- FUNC LIST SKILLS FROM M1 TO M10 MASTER_SKILL_LEVEL = 20 GRAND_MASTER_SKILL_LEVEL = 30 local skill_list = special.active_skill_list[job+1][group] local ret_vnum_list = {} local ret_name_list = {} table.foreach(skill_list, function(i, skill_vnum) local skill_level = pc.get_skill_level(skill_vnum) if skill_level >= MASTER_SKILL_LEVEL and skill_level < GRAND_MASTER_SKILL_LEVEL then table.insert(ret_vnum_list, skill_vnum) local name=locale.GM_SKILL_NAME_DICT[skill_vnum] if name == nil then name=skill_vnum end table.insert(ret_name_list, name) end end) return {ret_vnum_list, ret_name_list} end -- function BuildMasterSkillList Also I'll post the "output" part of the same script, but I'm sure the problem isn't here: local menu_list = {} table.foreach(name_list, function(i, name) table.insert(menu_list, name) end) table.insert(menu_list, gameforge.locale.cancel) local s=select_table(menu_list) if table.getn(menu_list) == s then return end Thanks for your time and your precious help; Greetings!
  14. Thanks again for supporting, mate! Actually this VM is for testing purposes, it runs on a server of mine (in my attic) that is virtualizing it with ESXI, so actually yes, since I fully manage this network I can tell you with accuracy that the internal IP of that machine is 192.168.1.xxx. I tried to add "BIND_IP: WAN_IP" in all the CONFIG files in the various cores, but when starting the service i get prompted this: SYSERR: Apr 26 16:53:48 :: socket_bind: bind: Can't assign requested address This make me think that maybe must be another place where i have to configure the WAN IP (?).
  15. Thank you very mutch for your relpy! As suggested, I tryed to log in the game from the LAN where the server is running. Actually it was successful and the player was correctly spawned inside the map! This leads the research of the solution totally to another direction. Perhaps I should edit something in the source that manages the external connections? Greetings
  16. Buonasera everyone! As always, after posting this question I've smashed the search button and i rolled painfully trough the third Google search page; if I'm forced to write this is because that research I made didn't produce satisfyng results and let me stuck in my condition (it just made me laugh by reading some bullshit like: "delete the map folder and replace it with another to see if something changes"). Here's the thing: The scenario it's a dedicated VM rolling on FreeBSD 12.2 x32 and MySQL 5.6; on this VM it was compiled from source (and fully integrated) the revision 41023 of the gamefiles, along with the proper generation of its database. Everything worked like a charm, the syserr log files were empty afer several reboots of both the machine and the game service. I've manually created thorugh Navicat my account for the application, without any player character. just an empty account. Time was for me to switch on the client side: together with the files I was provided with a compatible client (wich I like due to the fact that it's without any mods) so after configuring it for a proper access, I ran it and I was able to successfully perform the login, finding me at the character creation screen. I entered the nickname of the character wich was successfully generated, then I proceeded to uncork the champagne and finally started the game while sipping my glass. The result was actually embarrassing: in fact, once the player was selected, after the animation; I was sent back to the login screen. I put the sparkling wine straight back in the refrigerator and started digging in the log files, which I attach here: SYSERR: Apr 25 13:19:28 :: PlayerCreateSuccess: InputDB::PlayerCreateSuccess: cannot find server for mapindex 0 51830 x 166571 (name NAME) I therefore thought it was some problem related to the loading of the map and the consequent spawn position, crealy invalid: "mapindex=0" immediatly sounded like bullshit to me. Therefore I chose to try to set the player position by manually editing the "player" database in the "player" table in a position like: "somewhere in the happy village of Shinsoo": x=640 | y =540 | map_index = 3 At this point I tried to restart all the thing and I felt confident in my login: the result was the same logout that produced the following logs: SYSERR: Apr 25 14:01:37 :: GetServerLocation: location error name NAME mapindex 0 640 x 540 empire 1 SYSERR: Apr 25 14:01:37 :: GetServerLocation: cannot find server for mapindex 0 469300 x 964200 (name NAME) The next attempt I made was to create another account, with another player, in a different kingdom than Shinsoo; but the result was the same logout after the selection, and the same logs with invalid mapindex. On the several hours that followed I searched the meanderings of various forums out there in search for some key concepts that could make me understand what I was dealing with, but in the end I find myself here writing this post. I noticed precisely that the variable "mapindex" continued to be equal to zero, although I had manually set it to three; I can imagine that there is some inconsistency in the management of the maps. I also attach the CONFIG file of core1 in ch1: And also the "index" file in the "map" folder of the local, which obviously does not show any "0" value. #UPDATE# By logging in the game from the local network where the server runs, the login proceeds smoothly and the character is correctly loaded into the map. This should move the search for the solution in a completely different direction. I performed a further test, opening all the incoming and outgoing ports to the server both on the router and on the firewall, then tryed to log in from the external network, but the result was always negative. I realize that I am in the domain of competence of the game itself, my competence here is equal only to what I can understand as a programmer, so before I start moving by breaking everything, I think it is better to appeal to those who have more experience than me and probably can direct me to what I have to do to solve this technical issue and finally be able to sip my fucking champagne in front of the village of Shinsoo. As always, I thank you in advance and remind you to wash your hands!. Love - MACROMANGO
  17. Greetings from pizzaland, my dudes! ?? I'm "internationally known and locally respected" with the alias of MACRO; I'm a huge IT fan, I started as a young weirdo stealing old hardware from rubbish dumps at night, then testing the components and assembling the good ones, making "frankenstein-looking-like" home servers to keep my files safe on RAID and do my weirdo stuff (lots of testing and lots of blowing up), closed in my attic at night. I also offered IT support to my school friends for a little money, using those "reconditioned" components to fix their terminals, that made me save the amount of money I needed to buy me latest generation hardware for my pc as well as a used DELL PowerEdge server (I have a thing for DELL), that made me deeply enthusiast on real server managing stuff, I was fascinated about the virtualization and spent a lot of time playing around with VmWare in order to become familiar with all its potentialities: that made me go "MAMMA MIA!" I enjoyed Metin2 on my teens, it was a lovely back in time since there wasn't all that "bullshit" that we have today and people was kinda nicer; it was more about chilling around. I always was a full buff shaman because I'm a comfy one and my role is definetely the supporter. I remember starting one lame pserver on a "frankenstein-looking-like" machine (closed, just for me and a friend of mine) back in the days, with a .vdi image of the 2011 server files: the "franzi" ones; we played on it for like a year straight every night feeling like two gods in a desert planet: modding items, exploring the maps, duelling, spawning A TON of mobs just to make the thing crash and mainly chatting and enjoying our shiny modded characters: the comfy way you kno! I'm back as an adult now, I'm a 22yrs old financially stable weirdo living in it's own house; and I'm here because I truly would like to master my knowledge about the managing of both the server side and client side of Metin2 pserver because I'll like to pull out one of my never fulfilled desires: open my own pserver to the public, running on machines I have physical contact with. My vision about this is a fully clean experience with no bullshit. I'm not, as we say in Italy: "One that likes the baby food ready"; meaning that I'm not a person who avoids the fatigue and wants all the stuff "ready to eat", like a baby. If the effort is related to a personal archievement I'm in first line doing wathever I have to do with a big ass smile on my face! My knowledge in IT is completely self-taught, and it's propelled by pure passion, so there is literally nothing that doesn't amuse me when it comes to "make the thing work". For this reason I'm in no hurry with my project, as I said my schedule is to first master my knowledge, messing things up with some tests and deeply understand how this systems work. Again, as we say in Italy: "Those who do it themselves, do it like three people" (If you want something done, do it by yourself); nothing more true than this, especially when you are a meticulous autistic like me! This place is a well of knowledge and I'm glad to have the chance to dive into it! Many pizza-flavored greetings from Italy! See you around! (Wash you hands!) MACRO
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.