Jump to content

Peopleperson49

Members
  • Posts

    1181
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by Peopleperson49

  1. I think my problem is that I really don't know the issue. I have the proper lua files and my data files in the grf are in english. I have made other clients and not had these problems before. I will check out your link. Thanks. Peopleperson49
  2. If you remember before I said it was easier to use rand(1,100) instead of rand(1,10). That is because if you want a 1% chance then all you do is make it if(rand(1,100)==1). To get the 10% as I stated earlier it was 1 of 10 which equal 10%. If you use 1 of 100 it equals 1%. Peopleperson49
  3. I did not select that option so I am not reading that first. Thanks for the suggestion. I even put the lua files in data/luafiles514/lua files. Peopleperson49
  4. Thats really nice to know. It explains alot! Thanks for the info I guess I missed the readme somewhere. Are there any additional data files that I should have added to my grf for the new client? Peopleperson49 I added the lua files back with that one folder first, but I think I'm having the same problem of it not reading lua files and showing gibberish. Is there data files that I need to add for new NPCs or the navigate to function. I can follow the red arrows but when I get close to the target it says Navigation>gibbeirsh. Even with putting my data files in data/luafiles514/lua files it is still coming up as gibberish. Peopleperson49
  5. Yes that is true, but don't mess yourself up with the rand numbers. If you just use rand(100) it is not 1 to 100. Its actually 0 to 99. It is a common misconception I see people make (see below). For your second question if you use rand(1,10) it is still a 10% chance because 1 is 10% of 10. You still have to make it something like if(rand(1,10)==1). So seem less confusing to me to just use if(rand(1,100)<=10). I hope this teaches you something, feel free to ask if you need more information. Peopleperson49 *rand(<number>{,<number>}); This function returns a number ... (if you specify one) ... randomly positioned between 0 and the number you specify -1. (if you specify two) ... randomly positioned between the two numbers you specify. rand(10) would result in 0,1,2,3,4,5,6,7,8 or 9 rand(0,9) would result in 0,1,2,3,4,5,6,7,8 or 9 rand(2,5) would result in 2,3,4 or 5
  6. Nice point. I am looking to open the cart window just like using @storage. Currently on my server novices go to job 30 and an learn pushcart and vending. This works fine allowing everyclass to vend, but I don't like seeing every class always walking around with a cart. I figured if I gave a command for it that charged 500z to open the cart menu it would allow the same basic effect without all the skilltree changes. I also wanted to allow vending to work without cart and charge a 10% tax if the character is not wearning a cart when an item is vended. Possible make an @vend command instead of needing skill, but the @vend charges the tax. Peopleperson49
  7. Those maps are just crazy! Very nice work!!! Peopleperson49
  8. Thank you for your work! How does this new command work? Such as does it charge zeny to use command to call up the cart or should I use bind to do that feature? Does this diff allow you use vending without the cart also? Peopleperson49 Edit: I didn't realize there was already an @cart added to later versions. Thanks for your help.
  9. zXoOm I'm going to give you the best help I can ever give you! And that is to look it up in the doc/script_commands.txt. Doing that is very easy for me, and once you learn it will be very easy for you! From there I will help you all I can with it. Peopleperson49 Announce Command: *announce "<text>",<flag>{,<fontColor>{,<fontType>{,<fontSize>{,<fontAlign>{,<fontY>}}}}}; This command will broadcast a message to all or most players, similar to @kami/@kamib GM commands. announce "This will be shown to everyone at all in yellow.",0; The region the broadcast is heard in (target), source of the broadcast and the color the message will come up as is determined by the flags. The flag values are coded as constants in db/const.txt to make them easier to use. Target flags: - bc_all: Broadcast message is sent server-wide (default). - bc_map: Message is sent to everyone in the same map as the source of the broadcast (see below). - bc_area: Message is sent to players in the vicinity of the source. - bc_self: Message is sent only to current player. You cannot use more than one target flag. Source flags: - bc_pc: Broadcast source is the attached player (default). - bc_npc: Broadcast source is the NPC, not the player attached to the script (useful when a player is not attached or the message should be sent to those nearby the NPC). You cannot use more than one source flag. Special flags: - bc_yellow: Broadcast will be displayed in yellow color (default). - bc_blue: Broadcast will be displayed in blue color. - bc_woe: Indicates that this broadcast is 'WoE Information' that can be disabled client-side. Due to the way client handles broadcasts, it is impossible to set both bc_blue and bc_woe. The optional parameters allow usage of broadcasts in custom colors, font-weights, sizes etc. If any of the optional parameters is used, special flag is ignored. Optional parameters may not work well (or at all) depending on a game client used. The color parameter is a single number which can be in hexadecimal notation. For example: announce "This will be shown to everyone at all in green.",bc_all,0x00FF00; Will display a global announce in green. The color format is in RGB (0xRRGGBB). In official scripts only two font-weights (types) are used: - normal (FW_NORMAL = 400, default), - bold (FW_BOLD = 700). Default font size is 12. Using this for private messages to players is probably not that good an idea, but it can be used instead in NPCs to "preview" an announce. // This will be a private message to the player using the NPC that made the // announcement announce "This is my message just for you",bc_blue|bc_self; // This will be shown on everyones screen that is in sight of the NPC. announce "This is my message just for you people here",bc_npc|bc_area; Use rand to easiy calculate a percent. For example if(rand(1,100)<=10) it would be a 10%. *rand(<number>{,<number>}); This function returns a number ... (if you specify one) ... randomly positioned between 0 and the number you specify -1. (if you specify two) ... randomly positioned between the two numbers you specify. rand(10) would result in 0,1,2,3,4,5,6,7,8 or 9 rand(0,9) would result in 0,1,2,3,4,5,6,7,8 or 9 rand(2,5) would result in 2,3,4 or 5
  10. Is there already a command to open cart that I can bind it to? But then I wouldn't need @cart. I have already thought about using that, but also version 16265 doesn't have that command yet. And because of other source mods I cannot update yet. Peopleperson49
  11. Why aren't these just added to the SVN permanently? Peopleperson49
  12. Request a source @cart which will allow a character to pull up the cart menu (just like @storage) without actually having a cart on. It will charge 500z each time it is used to open the cart menu. Also I would like to modify the vending skill to be allowed to be done when a character has the skill even if they dont have a cart on so that any char can vend. I suggest adding a 10% vending tax if you don't use a cart on making merchant class still the best choice to vend. I would like this release to be for everybody to use. Thanks. Peopleperson49
  13. Natsu if you put // inside of a line it ignores the rest of the line so this entry wouldn't work: Here you go Natsu. I think this format will be easier for you since you don't seem very familiar with it yet. This is set up for you to give a way 10 items in each catigory. If you get the 10% it will also announce the item obtained. Just change each ITEM# to the itemID that you wish and remove any ITEM#s after that you didn't use. At the end of each set of ITEM#s theres is a .@RainbowArray[rand(1,10)]. Change to rand(1,10) sections to however many items you have in that array. Let me know if you need anymore assistance. Peopleperson49 ItemDB2: 200000,Rainbow Scroll,Rainbow Scroll,{ if(rand(100)<10) { setarray .@RainbowArray[1],ITEM1,ITEM2,ITEM3,ITEM4,ITEM5,ITEM6,ITEM7,ITEM8,ITEM9,ITEM10; set RainbowItem,.@RainbowArray[rand(1,10)]; announce ""+strcharinfo(0)+" has won "+getitemname(RainbowItem)+" from a Rainbow Scroll.",bc_all; } else { setarray .@RainbowArray[1],ITEM1,ITEM2,ITEM3,ITEM4,ITEM5,ITEM6,ITEM7,ITEM8,ITEM9,ITEM10; set RainbowItem,.@RainbowArray[rand(1,10)]; } getitem RainbowItem,1; },{},{}
  14. My client appears to be diffed correctly and is showing no errors. Peopleperson49 <?xml version="1.0" encoding="euc-kr" ?> - <clientinfo> <desc>Ragnarok Client Information</desc> <servicetype>korea</servicetype> <servertype>sakray</servertype> <extendedslot /> - <connection> <display>Ragnarok Underground</display> <desc>Ragnarok Online Underground</desc> <address>REMOVED</address> <port>6900</port> <version>0</version> <langtype>1</langtype> - <aid> <admin></admin> </aid> <balloon>Low Rate Server || 20x/20x/10x</balloon> </connection> </clientinfo>
  15. I replaced my old LUA files with the those LUA files in the data/lua files. Should I have included the luafiles514 for this client? Peopleperson49
  16. Those are really good ideas! My goal was to be able to send a server email if maintance was going to be happening without copying and pasting each email address. I really like being able to also pick groups such as classes and etc... I would say that you group listed above is perfect as long as theres a choice to pick and choose who you want to send an email to also. Some players wish to not ever get emails so I think its very important to have an account option to not recieve them for each player to setup. Thank you for your time! Peopleperson49
  17. I updated my files with those but no matter what I do I still error when it doesn't read from my grf. All the gibberish still shows for the skills and Regular/Battle Chat menu. If you walk to one of the sysbols on the mini-map it will error. Peopleperson49
  18. Which LUA files do I need for 2012-04-10aRagexeRE? If you have the link to the repository that would be great also! Thanks. Peopleperson49
  19. I fixed the login errors, but when I login now it is not reading from my grf and shows gibberish. I have hexed it to read from my INI so thats not it. Any ideas? Peopleperson49
  20. I diffed the 20120410 client and hexed it to read from my INI instead of the default INI. I got it to let me login with no errors, but how do I get it to read from my grf instead of coming up with gibberish? Is there a certain dll that needs to be selected or not selected? Peopleperson49
  21. No problem thanks a lot when I get home I will give it a try! I found the dll also. A seperate question how do I modify the client to not make an aura until 150 no matter what class they are? Peopleperson49 Should I replace my packet version 28 with the info you gave me? I tried adding at at version 30 and I got the consol error 'The packet_db only has support up to version 28.' and 'Skipping packet verison 30'. Peopleperson49
  22. That looks great Rage, but honestly I'm not sure exactly what to do with it and I really don't want to guess incorrectly. Peopleperson49 Edit: I think I understand now that was just a peice of the packet_db for packet 30. I guess I read too much into it. Why not just replace my packet_db with the latest one that has it in there already? Or is it better just to paste what you put here in my old one? Where do I get that dll file?
  23. I'm not 100% sure what packet_db that rev 16265 uses right now, but I think it is 28. Can I take a new packet_db files and replace my old one with it? However, I don't like to experment with my server!!! Peopleperson49
  24. I switched to a new client 2012-04-10aRagexeRE and used ShinsDiffPatcher to patch it. When the server loads my patcher works fine and the client opens. I an login without error, but when I select a character and go into the actual game I get the message 'Rejected from Server.(3) and my client closes. My console recieves an error saying clif_parse: Disconnecting session #6 with unknown packet version. Also any computer with my old client can still login but gets the CHARACTER_INFO size error!! (which is expected). My LUA files are up to date for the new client and mmo is updated to 20120410. I'm using svn rev 16265. Peopleperson49
  25. Sure sorry about that. New topic: http://rathena.org/board/topic/71910-new-client-rejected-from-server3-error/. Peopleperson49
×
×
  • Create New...