Jump to content

Echoes

Members
  • Posts

    155
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Echoes

  1. On 12/7/2023 at 2:19 PM, Rynbef said:

    Maybe add the item to the MySQL Inventory of the player. But its not good to do it on this way.

     

    Idk if it possible with source edit. It's could be hardcoded in the client.

     

    Rynbef~

    Hi and thanks for your reply.

    Yeah I've had bad experiences editing player inventories with MySQL so I want to avoid that 🙈

    Hmm MMM

  2. 47 minutes ago, AceofSpades said:

    then dont use "announce" in script if you want to get a message to your self....

    Hmm I don't know how to call it in english but... I meant the prompt you get when you pick up something? as stated in first message with the image as example. It's not an announce in itself since I'm not using the script announce at all.

  3. Hello rAthena,

    Today I bring you this question, is it possible to make these... prompt on the screen above the player
    image.png.c492a45e19c21280923d1b059c2588d7.png getitem 502,1;

    not appear when using getitem? I searched the script_commands.txt for a command to give items to players without that message but I didn't find anything...

    I'm okay with killing a monster and naturally getting those messages when I pick up their drops, but if I get an item via OnNPCKillEvent I want to avoid the message of getting such item from the monsters.

     

    Help please 😄

  4. 19 hours ago, Tero said:

    We want to replace this code:

    if (!path_search(&wpd, bl->m, bl->x, bl->y, x, y, flag&1, CELL_CHKNOPASS)) // Count walk path cells
    		return 0;

    With this:

    if (sd && !(flag & 1)) {
    	// check easy path, but don't give up if it fails
    
    	if (path_search(&wpd, bl->m, bl->x, bl->y, x, y, 1, CELL_CHKNOPASS)) {
    		ud->state.walk_easy = 1;
    	} else {
    		if (path_search(&wpd, bl->m, bl->x, bl->y, x, y, flag & 1, CELL_CHKNOPASS)) {
    			ud->state.walk_easy = flag & 1;
    		}
    		else return 0;
    	}
    }
    else {
    	if (path_search(&wpd, bl->m, bl->x, bl->y, x, y, flag & 1, CELL_CHKNOPASS)) {
    		ud->state.walk_easy = flag & 1;
    	}
    	else return 0;
    }

     

    Hi Tero and first, thank you for these updates, it keeps my inner child busy while imagining all the potential your endeavors may provoke to the game! Your posts are such a refreshing read 

     

    At first, I didn't want to bother you with those, uhm, problems some may encounter by doing what you do and copying your suggestions and improvements, but I decided to test your updates and encountered an error in the code quoted, this line to be specific:

    if (sd && !(flag & 1)) {

    The 'sd' statement is giving me the compiling error C2065: undeclared identifier in both map-server & map-server-generator projects, which is preventing me from compiling successfully and test those changes. 
    image.png.27d728693a74571b084fe91dab40c2bc.png

    I'm ashamed to say, while I kind of get the what of the error, I don't know how to successfully fix it since I know very little of source code, so I would like to request your help on how to solve this issue, if you do not mind 🙂

     

    Aside from that, please continue working on these fantastic changes and new perspective of things!

  5. Oh well, I'm neither since I followed the career of biotechnology, but I did self-study on basic programming all my years on this game and a general and only tip i can provide you is:

    GIVE IT A TRY, break things, break the code, try again and familiarize yourself with the content, I'm yet to learn how to properly modify source so I asked a while ago and got a lot of suggestions too! Sure, it takes time and is not efficient to do it the self-study way, but once you got the gist of it, darn, you are sure to look the little duck on your desk with other eyes

  6. On 10/25/2022 at 5:08 AM, rmon said:

    When i clicked on cancel, its giving me this error 
    image.png.e49fd39a3eabcc32ebd52f4c94b8a5f5.png

    I second (third?) this, when I cancel midway on choosing a style, aside from losing my current option (if I was changing cloth color it resets) that message is sent to mapserv.

    I'm using 4.4 version.

    After testing, this can be solved by following these instructions:

    Thanks.

  7. Hello rAthena,

    I remember back in the day, like in 2008 or so some servers had this feature of all the hairstyles available to have wave/movements effects when like picking items up, casting skills and simply walking, making the game much alive.
     

    I tried looking for those sprites in this forum and on herc but no luck so far so I'm asking here:

    Do anyone have those ancient files to share? Or tell me when I can find them, please

     

    Thank you

  8. 1 hour ago, Chaos92 said:

    https://kamishi.ragnawork.com/product/700-palettes-human-pack/

    Kamishi already released 700 palette pack for FREE. Also, dont forget to read the instruction.

    Hi Chaos and thank you for your reply,

    Ah, yeah, I forgot to mention I did follow the installation instructions here: https://kamishi.ragnawork.com/installation-details-700-palette-pack/ including the GRF fixes on some sprites, 27 of 42 current head sprites.

    The problem occurs on the 15 newer official hairstyles.

    ___

    SOLVED!

    Well... saving the fixed palettes through Act Editor IS a thing so... I didn't know you could export the palette file from an .act, so yes, fixed now 🙈

    image.thumb.png.96e79e427d366031493c50a1e6ec1db4.png

  9. Hi rAthena,

    Today I bring you a problem regarding palettes and new hairstyles. Using Kamishi's human palettes on up-to-date kRO gives errors on some of the newer hairstyles, for example:
    image.png.8af1a6d64a756dd16d1f63ba322cd384.pngimage.png.e9069c57eff190203e9a7a74270daed2.pngimage.png.7fd93e7af40f1b6a24c131cb11905ac3.png

    Reference: image.png.632e7d4be053065d8801387d59c9c57d.png("correct" palette behaviour on one of the new hairstyles)

    and so on, so I would like to ask this:

    How could I fix those problems on specific hairstyles? What I know is, it has to do with base sprite file of the newer hairstyles to match Kamishi's palettes.

    I've been trying a "workaround" which involves editing the .act with Act Editor directly with its palettes edit section but I don't really know how to use and apply it, the most I've been able to do is load the palettes with bugs and copy-paste the colors on the problematic sections of the .act's palette, but I'm not sure if I want that, I want the palette itself (.pal) fixed to work with new hairtstyles.

    Could someone please guide me in fixing those new hairstyles? Thank you 🙇‍♂️

  10. Solved!

    Thank you @Chaos92, @imat1 and @Harvin for your replies across this thread, there were really helpful and helped me troubleshooting the error!

    And what was the error? SHAME, SHAME ON ME: the error was the langtype, after reinstalling my kRO folder, reinstalling my DB and testing after every change and suggestion here, I thought well, what if Chile is no longer supported as a langtype? and voilà 🎉, changed to 1 instead of 17 (bye my chilito 😢) now I can put emblems, the error is no longer shown and I have response on webserv.bat!

    This is my new clientinfo since reinstalled kRO:

    <?xml version="1.0" encoding="euc-kr" ?>
    <clientinfo>
    	<desc>Ragnarok Client Information</desc>
    	<servicetype>korea</servicetype>
    	<servertype>primary</servertype>
    	<connection>
    		<display>rAthena</display>
          		<address>127.0.0.1</address>
          		<port>6900</port>
          		<version>55</version>
          		<langtype>1</langtype>
    		<registrationweb></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>
    		<aid>
    			<admin>2000000</admin>
    		</aid>
       	</connection>
    </clientinfo>

    Going to further test if I can use servicetype chile though 😈

    image.thumb.png.dd16d207fe335d7a006bddbf4475fade.png

    No error and emblem shown!

    image.png.f9139db45bd4e3397f86d8a3290523b9.png

    Response on webserv.bat 🎉

     

    FINALLY!!!!

  11. 6 hours ago, Chaos92 said:

    console_msg_log: 0 changed to other read the instruction

    Now I have this but there's no new log on webserv.dat when I try to use an emblem. As I understand it, I need to have my emblem folder and choose one from there to use in my guild ALT+G emblem edit, right?

    //Makes server log selected message types to a file in the /log/ folder
    //1: Log Warning Messages
    //2: Log Error and SQL Error messages.
    //4: Log Debug Messages
    //Example: "console_msg_log: 7" logs all 3 kinds
    //Messages logged by this overrides console_silent setting
    console_msg_log: 7

    image.png.241561f369d28164f08602ad8f8e1ae7.png*click*

    image.png.d28d7c6e2fc7bf4b41b81fd2a6ef9212.png*no new log*

    And obviously the usual
    image.png.8a6bd1d2ee5f0ec6160b2837a0c537f4.png

     

    😭

    I'm out of ideas, I reinstalled my DB, changed encoding of the .conf files, changed the servicetype and servertype to korea/primary, the only thing I haven't tested is the line of the clientinfo <readfolder /> (which is diffed to read data folder first so this would not do anything right?)

  12. 2 hours ago, Harvin said:

    try edit directly the world name into your server name that in char_athena.conf if it isn't correct then you should adjust the char set on that column table, idk which one suit for your language

    Hi and thanks for the reply, I tried changing the world_name directly in the DB and nothing new happens, I'm still getting the error message 😭 The collation is utf8mb4_general_ci and I believe it's the correct one.
    I still can't get emblems to work, there is no response to UPLOAD or DOWNLOAD on webserv.bat but I'm getting responses on char loading only
    image.png.3ebb3c6aeeb30bae118502faa7b84e3a.png

     

    2 hours ago, Harvin said:

    where  ???? is your server name where you put in char_athena.conf is it spelled correctly?

    Yes, the name in mapserv is spelled correctly 🙂 

  13. 9 hours ago, Chaos92 said:

    the worldname is a bit weird, it should follow server name if im not mistaken. Maybe the one set up in conf char/map/login.

     Used SampleRO and rAthena and I'm still getting those errors 😭 user_configs
    image.png.7b494932a0a83846b9532e2c0083d781.png

     I tried changing the encoding to ANSI from UTF-8 but it's the same.

     

    9 hours ago, Chaos92 said:

    about web auth token was disabled, no problem its normal , just info.

    Okay, thanks

  14. 6 hours ago, imat1 said:

    What's your server name in char_athena.conf? Don't put any space. Put something like SampleRO.

    Indeed my server's name contained an empty space (doesn't contain any special character), erased it and restarted the server, now there is a new line in user_config
    image.png.1f260de2b16405c5a7ba7ec7cdefb4e3.png

    And I still see the error message on login 😭

     

    One thing that may be related was this message on logserv.bat, I don't know really 🙈
     

    [Info]: Web Auth Token for account 2000000 was disabled

     

  15. 20 minutes ago, imat1 said:

    hmm that's weird.

    Try changing ExternalSettings_kr_sak.lub instead of ExternalSettings_kr.lub

    AssistAddr = "127.0.0.1:8888"

    Okay, I see response now on webserv.bat 😄
    image.png.5c1776763c8207e5a66690db58be5007.png

    That was becuase I didn't remember I had <servertype></servertype> as sakray, dang.

    But I'm still getting the message
    image.png.de87eb41f12ec8039ac47ae870a966ff.png

    🙀
    This is what I see on my DB user_configs
    image.png.dd57dc5ccfb68cb0754b99a59a7d089d.png

    Tried creating a new account but the problem persists, also can't set any emblem yet

  16. 8 hours ago, Chaos92 said:
    AssistAddr = "127.0.0.1:8888"

    Have u changed that to you IP ? How about your guild emblem, is the emblem can be changed ?

    I'm using localhost IP for the server so I used localhost on assistaddr too but that isn't it then? Also used IPv4 and didn't work, should I use my public IP?

    i can't change emblem for some reason yeah, thought i just needed the emblem folder on ro directory

  17. 4 hours ago, Chaos92 said:

    I didnt saw you mention about what clientdate are you using. if you are using 2020 clients and above, web server is needed for http emblem server.  The settings in externalsettings will be used for the web server. So that will fixed the first one.

    About the second line, it just the information since that client might support /showshop. 

    • /showshop — Toggles the ability to see/hide vendor shops.

    efd280f0cec840f49160d838ea19be9d.gif

    From what I saw its originally in red too.

     

    Ah!! Right, my client date, sorry forgot that one! I'm using 2021-11-03_Ragexe_1635926200 client so yes, as 2020 and above clients.

    The part about the external settings is something I don't understand, the settings listed in my original thread are not enough it seems since the client still shows me the error, may I ask you how exactly I need to set it? I set it to the generic localhost one, tried with my IPv4 and didn't work also.

    Oh, and this is my webserv.bat
    image.png.0c540ac0d99e9e64eec80fe504253c9c.png

    and uploaded \sql-files\web.sql to my DB.

     

    About the second error, thank you for the information, so I will not erase it if it is intended to be that way, thank you very much about the gif too.

    Thank you Chaos for your replies in almost all my lastest threads they are very helpful on troubleshooting 🙂 

  18. Hello rAthena,

    Today I bring you shame in the form of system and error messages shown on character login:
    image.png.faab21721987a3a734e640f94c2813df.png

    For those who can't see the image:

    1. There was an error when loading the data account settings. (Please restart to retry.)
    2. System Message: The current shop display function is in %s state. (/showshop)

    Those two, to be exact.

    I KNOW there is a quick way of getting rid of these messages, it being erasing the corresponding lines in msgstringtable.txt, but I don't want that, I want to fix those problems to ensure there is no issue in the future.

    1.
    About the first message. I searched the forums (WOW! INCREDIBLE) and found a couple threads that end up fixing the issue but my mind can't think the way the authors and helpers did so I'm unable to follow the instructions correctly:

     

    This solution for the first message implies something about web service which I don't know anything about, is it the webserv.bat that starts with runserv.bat? And file data\luafiles514\lua files\service_korea\ExternalSettings_kr.lub and did what was suggested on such thread to do the following:
     

    AssistAddr = "127.0.0.1:8888"
    -----------------------------------------
    -- Old client compatibility [Secret]
    -- (Just change the "AssistAddr" to your IP)
    -----------------------------------------
    Url = { TwitterUrl = 'http://'..AssistAddr }
    AccountLinkedUserDataUrl = {
    	Save = 'http://'..AssistAddr..'/userconfig/save',
    	Load = 'http://'..AssistAddr..'/userconfig/load'
    }
    TwitterDataUrl = {
    	Auth = 'http://'..AssistAddr..'/twitter/user-auth',
    	Upload = 'http://'..AssistAddr..'/twitter/upload'
    }
    EmblemDataUrl = {
    	Upload = 'http://'..AssistAddr..'/emblem/upload',
    	Download = 'http://'..AssistAddr..'/emblem/download'
    }

    Please note the first line about AssistAddr.

    And sadly, I'm still getting the error message.

    2.
    The second system message, I haven't found a solution on it yet. Maybe it doesn't even need to be solved since I understand it as a command that shows and hides the merchant's vending stores, but it bugs me it is in red and not in yellow like other normal messages like Equipment information shown and such.

     

    With that being said, please help me fix those errors! Thank you 🙂

    not by modifying msgstringtable.txt, please

  19. First, I'm sorry to necro my own post but I haven't found a solution to this yet, the message is
    image.png.3ddfa67b436e384822033219150265fe.png

    And sorry all who posted in my topic but with no further information on my part 🙇‍♂️ now I'm able to reply properly.

    @Sapito Sucio Thank you for your reply; I know what you are talking about but I want to avoid erasing too much text there and doing so as last resort, I would want to just deactivate them if that's possible.

    @LadyNanuia Thank you for your reply; by removing, what do you mean? the message? Please tell me how 😄

    @kalabasa Thank you for your reply but that's not what I'm talking about 🙈

     

    Uhm, since this my own thread and it isn't answered I hope I'm not doing something bad

×
×
  • Create New...