Jump to content

suimin

Members
  • Posts

    10
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by suimin

  1.  

     

     

     

    I believe its from msgstringtable.txt

    though i've never encounter your issue when using those project.

    I've used three different msgstringtable.txt files trying to get rid of this, and none of them have changed the numbers...

     

    I know only one way to hide these numbers, You need to insert a space like this:

    File : msgstringtable.txt

     

    Game Settings                                                                #

     

    I put a space after the game setting window before the # like you said, but it still looks the same in the game, with the numbers. :/ I really don't think the problem is msgstringtable.txt.

     

    I used it on the client 2015-11-04 and it work for me. (Try to put more spaces)

    line 1484:

     

    Game settings                                                                                                                           #

     

    my screenshot

     

    Okay, this time I changed not only the amount of spaces, but the text that it should show for the game settings window. The numbers were still there, and the text didn't change, so maybe I have another msgstringtable.txt that is interfering somewhere. I will check my GRF's. o:

     

    EDIT:

     

    I did find a msgstringtable.txt that was being read before the one I was editing. I got rid of it and now the numbers are gone on the settings screen, but they still appear in the PM's when I don't use pop-up windows...

     

     

    post-36788-0-81548300-1473542263_thumb.png

  2.  

     

    I believe its from msgstringtable.txt

    though i've never encounter your issue when using those project.

    I've used three different msgstringtable.txt files trying to get rid of this, and none of them have changed the numbers...

     

    I know only one way to hide these numbers, You need to insert a space like this:

    File : msgstringtable.txt

     

    Game Settings                                                                #

     

    I put a space after the game setting window before the # like you said, but it still looks the same in the game, with the numbers. :/ I really don't think the problem is msgstringtable.txt.

  3.  

    I use their msgstringtable.txt, but I can't remember if I also use their other files. I will apply them now and see. Thanks for the fast reply! :o I'll let you know what happens.

     

    EDIT:

     

    Applying their files did nothing. :( I guess it's not a lua/lub problem then. At least that narrows it down a little more.

  4. These numbers appear on the game setting window... They also appear when you PM another character, if you don't use pop-up windows. It's annoying during PM's.

     

    The numbers always start with 813, and the 333 part varies depending on character.

     

    What do they mean, and how can I get rid of them?

     

    I already tried changing msgstringtable.txt and that wasn't the problem. So I suspect it's in SRC or lua files somewhere, but I have no clue where to look... :( I suppose it could also be the client diff, but really I have no clue.

     

    I tried searching on both Rathena and Google but I can't seem to find anyone with the same problem. o.O

    post-36788-0-13559700-1473534313_thumb.png

  5.  

    something like this ?

    prontera,155,175,5	script	Sample#cardcount	4_F_KAFRA9,{
    	getinventorylist;
    	while ( .@i < @inventorylist_count ) {
    		if ( getiteminfo( @inventorylist_id[.@i] ) == IT_CARD ) {
    			.@total_card_count += @inventorylist_amount[.@i];
    		}
    		.@i++;
    	}
    	mes "You have "+.@total_card_count+" Card(s)";
    	close;
    }
    

     

    Wow! Your code is so much more condensed than mine! It looks much better, and it also works! Thank you!

     

    Looking at your code, I can learn a lot about what I can do for next time I try to do a script like this, too. It's very helpful!

  6. I was with Ragnahosting some months back. I didn't know this at the time, but they diff'd my client wrong, and because of it I had many problems. I tried to get support for those problems, but same thing. No answer most of the time, and they wouldn't help solve the issue that they caused. When I left them they sent a website that asked why I was leaving, so I told them. I must have offended them for telling the truth or something, because now it says account banned when I go to their website, lol.

     

    Now that I'm running a server from my own PC, I was able to see what they did wrong with the diff and it's kind of amazing that they were able to screw that up. Basically, they forgot to check "read msgstringtable". XD No wonder I wasn't getting any message strings for anything! Anyway, I didn't try any other companies, but Ragnahosting at least is not worth your money.

  7. Hi, I'm new to scripting, but I'm trying to learn more.

     

    I'm currently trying to make an NPC that counts how many cards are in the inventory of the player, then counts the quantity of each card, and finally adds up all the numbers to make the result, the entire amount of cards in the player's inventory.

     

    I worked really hard to learn this, and it seemed to work for a bit... But when a friend got on my server and tested it with me, it stopped working. I don't know what went wrong.

     

    prontera,163,189,3 script Test NPC 90,{
    
    
    getinventorylist;
    while(.@i < @inventorylist_count && getiteminfo(@inventorylist_id[.@i],2) != 6) 
    .@i++;
    copyarray .@a[0],@inventorylist_amount[.@i],@inventorylist_count;
    while(.@a < @inventorylist_count)
    .@a++;
    set .@b,.@a[1]+.@a[2]+.@a[3]+.@a[4]+.@a[5]+.@a[6]+.@a[7]+.@a[8]+.@a[9]+.@a[10]+.@a[11]+.@a[12]+.@a[13]+.@a[14]+.@a[15]+.@a[16]+.@a[17]+.@a[18]+.@a[19]+.@a[20]+.@a[21]+.@a[22]+.@a[23]+.@a[24]+.@a[25]+.@a[26]+.@a[27]+.@a[28]+.@a[29]+.@a[30];
    if(.@i < @inventorylist_count) {
    mes "You have cards.";
    mes ""+.@b+"";
    close;
    }
    mes "You don't have cards.";
    close;
    }

    Sorry about the lack of tabs in the script, I'm not sure how to add those in a post. ^^;

  8. Hi! I'm new-ish I guess.

     

    I've had 2 attempts with making a server, and the current one is the most successful so far. I'm having a lot of fun setting it up all custom-like, and my friends are helping me test! I hope to make it go public eventually. ^^

     

    Anyway, I've used a lot of resources on these forums, and I thought it was time I should contribute back. I'll try to help people with whatever questions I can on here, using what I've learnt and experimented with. :D

     

    I'll also post custom stuff I make, if I ever successfully finish it, which I'm hoping for...

     

    At the moment I'm making custom GM sprites! At first I thought, I'd be miffed if someone stole them from my GRF file from my server. But then I thought, nah. I might as well just make 'em public and have them give me credit.

     

    I'm also learning to make custom maps. Hoping to make an Akihabara in RO, as well as a retro gaming themed town. But I'm still a total noob to the map making so it's not worth saying, "I'm definitely gonna share this!" when I'm not sure yet if I can do it.

     

    I'm a pretty determined individual, though, so I will do my best for all these things! Expect more of me on these forums!

    • Upvote 1
  9. For your char_athena, you should have:

     

    // Login Server IP
    // The character server connects to the login server using this IP address.
    // NOTE: This is useful when you are running behind a firewall or are on
    // a machine with multiple interfaces.
    login_ip: 127.0.0.1
     
    // The character server listens on the interface with this IP address.
    // NOTE: This allows you to run multiple servers on multiple interfaces
    // while using the same ports for each server.
    //bind_ip: 127.0.0.1
     
    // Login Server Port
    login_port: 6900
     
    // Character Server IP
    // The IP address which clients will use to connect.
    // Set this to what your server's public IP address is.
    char_ip: [LAN IP]

     

    For map_athena:

    // Character Server IP
    // The map server connects to the character server using this IP address.
    // NOTE: This is useful when you are running behind a firewall or are on
    // a machine with multiple interfaces.
    char_ip: 127.0.0.1
     
    // The map server listens on the interface with this IP address.
    // NOTE: This allows you to run multiple servers on multiple interfaces
    // while using the same ports for each server.
    //bind_ip: 127.0.0.1
     
    // Character Server Port
    char_port: 6121
     
    // Map Server IP
    // The IP address which clients will use to connect.
    // Set this to what your server's public IP address is.
    map_ip: [LAN IP]

     
    If you want to make it so that you can access the server on other computers on the same router, change 127.0.0.1 to your server's WLAN IP.
     
    Next, in clientinfo.xml you will need to put your LAN IP as the address. This is only for people connecting to your server from outside your router, you will not be able to connect unless it is 127.0.0.1 or your WLAN IP.
    • Upvote 1
×
×
  • Create New...