Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 05/10/12 in all areas

  1. RO Open Setup About Clone of the default game setup application, shipped with every RagnarokOnline installation. It works on every 32-bit Microsoft* Windows* platform. Source is available for customizations. Known Issues None. Translations English - 100% (primary) French - 100% (Valioukha) German - 100% (Xalion) Brazilian Portuguese - 100% (EvilPuncker) Czech - 100% Japanese - 100% (Mintmoon) Russian - 100% (Jarek) Simplified Chinese - 100% (tinpont) Spanish - 100% (jaBote) Thai - 100% (iSuzutsuki) Traditional Chinese - 100% (Angelmelody) translate OpenSetup into your language Q & A Why does the client not use the Lua settings? Use latest OpenSetup version. If that's already the case, use newer client. Why does OpenSetup not let me to save without Administrator? A few settings are still written to a location in the registry, that needs Administrator rights. I have have issues with OpenSetup, is there something I should add to my report? When you experience the issue, press Shift+Esc inside the OpenSetup window until it closes and provide the generated log file (exename.log) along with your report. Download & Website http://ai4rei.net/p/opensetup License This work is licensed under a Creative Commons Attribution-Noncommercial 3.0 Unported License.
    2 points
  2. Briefing & Concept Hi. It has been a long time since I posted something here. Don't take me wrong I'm allways mapping every day; and now better than ever...! I have tons of great work to show you all for this month, the bad part is that it came all among at the same time, thats why I have been, really busy these days. Anyway I thought that it was a good idea to show this one, as a recent work, so as to be not that innactive around the board. This is a request under the cathegory of: "Main Town Editions" of my services. I don't remember exactly which was the last prontera edition I posted here, but I'm glad that I'm back into this cathegory to show you something. About the map: The idea of this map is, a Prontera Ruins. I know, maybe you have seen a prontera edition of this style before. I remember one or two. My idea with this prontera was, to make a ruined prontera, but with real -prontera ruins models- I mean, my intention was, to make the feeling that you are really visiting a destroyed prontera, that was destroyed recently. You will notice a lot of texturized prontera models, to make them look like destroyed models. Yeah I used a lot of magenta transparency to make Ruined holes on the roofs, walls, PS brushes with scratchs styles etc. Also, I added a lot of custom sounds (burning flames custom sound effect, crows sound effect...) Also I added visual effects as: Ashes (to increase the feeling of a burned or destroyed desolated area), earthquake effect, and burning flames. Please, check the video in HD to see how the effects looks on the map. I'm afraid that the quality is not that good to show how nice the ashes blowing effect looks as how they look in real game, but you can Maximize the Images here And you will notice the effect for sure Video of This map Watch it in HD 720p! Again, please watch it, SS dont show all the effects I added! Prontera Edition, tried to keep the basic walkways all among the map Map in daymode, but with a lot of dark tones Added fog in this one. Black fog when you zoom out the camera, gives a really destroyed area feeling Custom models from scratch (just a little, those pikes barricades), custom sound effects that I explained before... etc Previews Now the previews. Images are in High Quality, if you can, it will be really better if you maximize the images than watching it from the thumbnail on the post here. To appreciate detailes etc. Prontera South Entrance Please Hit the Image link to Maximize to appreciate better the Ashes details so as other details I added, thank you! Center Area, Back View Please Hit the Image link to Maximize to appreciate better the Ashes details so as other details I added, thank you! Prontera Ruined Model, ex 1 Please Hit the Image link to Maximize to appreciate better the Ashes details so as other details I added, thank you! Prontera Ruined Model, ex 2 Please Hit the Image link to Maximize to appreciate better the Ashes details so as other details I added, thank you! Prontera Ruined Model, ex 3 Please Hit the Image link to Maximize to appreciate better the Ashes details so as other details I added, thank you! Prontera Ruined Model, ex 4 Please Hit the Image link to Maximize to appreciate better the Ashes details so as other details I added, thank you! North Passage, I added Some crows, to increase the desolated style Please Hit the Image link to Maximize to appreciate better the Ashes details so as other details I added, thank you! North Plaza View Please Hit the Image link to Maximize to appreciate better the Ashes details so as other details I added, thank you! East Passage Please Hit the Image link to Maximize to appreciate better the Ashes details so as other details I added, thank you! Castle View Please Hit the Image link to Maximize to appreciate better the Ashes details so as other details I added, thank you! Church View Please Hit the Image link to Maximize to appreciate better the Ashes details so as other details I added, thank you! Fog Effect + Zoom out with dark sky Ok the last one is more like an... idea I had. I thought that it would be nice to add that one into this map. But I dont like that much the lacking opacity of that fog effect (practical reasons, I mean the users will not see nothing lol), thats why I didn't added it by default on the map. But on the other hand I really love how the fog effect matches the dark sky effect, I really like that. So, anyway... thats why I posted -here- some ideas about the transparency, but I didn't had luck -thanks Keyworld in advance for the idea, but I didn't had time to do that. Anyway, it is my customer decition to add it or not, or maybe he will add a timer script, to add that effect on certains hours? dunno. If you want maybe you can give me your opinions about this That is all. If you really like this prontera edition, well, maybe you can comment about it, or ... maybe you have ideas to make it look better? if so... Please comment! I remember some maps before that all of you commented and did some changes to look it better, so, really, ideas are allways welcome. Thanks in advance, and see you soon on the next map. Map that in fact, will be my first one to include some new things I have learned recently
    2 points
  3. Then you'll have to change the lights in the map,but for that you need to know,how to work with browedit,there is only day; or night;
    2 points
  4. Introduction : This Custom Enchantment System is based on the official enchantments (Mora Items, El Dicastes Quest Items) but improved for any armor-type in the game. Explanation : Enchantment Attributes : A NPC Allows you to enchant your armors 2nd, 3rd and 4th slots with many attributes, for example : STR + 1, STR + 2, Atk Speed + 1%, DEF + 1, Cast Time - 1% And a lot more. Enchantment Limits : You can enchant each slot for a different attribute, this means you can eventually get a LOT of bonuses. considering you are incredibly lucky, or just incredibly rich, and you spent an incredible amount of time playing, the maximum amount of one status you could get would be +45. Three +3 STR in each slot, 2nd, 3rd and 4th, in every armor piece, headgear, foot-gear, armor, shield and garment. That would give you a total of +45 STR for example. Obviously, it is ridiculously hard to achieve such limit. Enchantment Types : Normal Enchantment : Costs a bit of money, highest chance of working among the enchantments, but the enchantment given is random, you can choose a set of enchantments depending on your class, but it is not restricted only to your class. (Which means you can use a mage enchantment being an archer for example). MvP Selectable Enchantment : This works the same as normal enchantments, except you need 1 Unique Power Stone (will be explained later) to do this enchantment. The difference is that the cost is higher, the chance lower, but you will be able to select the normal enchantment you want, instead of being given randomly. MvP Unique Enchantment : This has a different special set of enchantments, you can get insane bonuses, but the enchantment costs 3 Unique Power Stones, a lot more money and has a lot higher chance to fail. The enchantment is given randomly and you can't choose a class-type in this specific enchantment. GM Enchantment : With this you can select any enchantment for free and with 100% chance to work, obviously it is only restricted to GMs above level 80. (You can change this in the script, refer to the header inside the NPC txt) Unique Power Stones : These are obtained through trading in MvP Misc items with the NPC, such as Fang of Garm, Tiger Footskin, etc. You can change these item requirements inside the NPC script. Please refer to the header in the txt for more info. Warning : The Following things may bug this system : - Your server has more than 1 slots for armors (footgears, headgears, etc). - Your server has a decarder NPC - Your server has a "Sign your name on item" NPC. - Your server uses 2nd, 3rd or 4th slots for armors for something else. - Be carefull with Mora Items, make sure to add them as an exception. - Be carefull with the normal armor enchant NPC in south prontera. (Recommended you remove it) Pictures : Download : Version 1.0 - Direct Download : Enchantment System.rar Media Fire : http://www.mediafire...5aj5947cweiae3q 4Shared : http://www.4shared.c...ent_System.html
    1 point
  5. Shin's Diff Patcher Info: Supports all Windows 32 bit versions (Windows XP SP2 and higher) and probably all 64 bit versions. Features: Plug-in based Uses list view instead of two seperate list boxes for easier selection Shortcuts to simplify your work Resizable window Inline diff descriptions (as long as the plug-in supports it) Auto-save and load of diffs Includes PlainDiffPlugin which provides support for *.diff files Allows items to be sorted either by type, group or diff name Prevents diff collision when selecting diffs that reference the same group CRC file check Data missmatch check Downloads: ShinsDiffPatcher SVN (Version 1.1.3b; 198kb) WeeDiffPlain Plugin Src SVN (Version 1.0; 11kb) Quick Usage 1. Select patch engine. 2. Select client exe. 3. Select diff file (if plug-in needs it). 4. Select output exe. 5. Click on "Patch It!" 6. Done. All patches that you have selected are automatically saved and will be restored the next time you select a diff file. You can also use the following shortcuts: - Ctrl + A = Select all diffs (only one item from each group if any) - Ctrl + D = Deselect all selected diffs - Ctrl + C = Copy all selected diffs into Clipboard Notes: You may think "What? Another patcher? Man..". Yes, another one. I'm not quite satisfied with the currently available diff patchers because they either lack of features or just don't provide the freedom I would like to have. I think I have chosen this name for the patcher because it's kinda convention to use his own name in the title bar (even though the initial name is WeeDiffPatcher). This is just an alpha release since there are some optimizations I would like to complete before I release a final version. I've included the source code for the DiffPlainPlugin to show you how you can implement your own plug-ins in order to get them working with my patcher. I would still like someone else to implement a proper plain diff plug-in because I haven't focused to optimize it to it's best (even though I have removed all possible memory leaks) since I developed this patcher for another plug-in based solution. If you have any suggestions or features that your plug-in needs in the future, don't hesitate to ask.
    1 point
  6. Hello guys ! I made this map long time ago and didn't used it. I was bored so I finished it and thought to release it here in eA. Rate it guys . Feel free to use it for your server. This file includes: ~ .rsw file ~ .gnd file ~ .gat file ~ .extra file ~ .bmp file (minimap) Screenshots: Enjoy and don't forget to say thanks.
    1 point
  7. Hello everyone! I figured I'd just make one of these threads that I have as my official free 'map' thread. Listed below is some maps I've done that are free to the public. I do not wish for them to be edited, but they ARE free and you are free to edit them. You are ALSO free to contact me if you need something edited specifically for your server from these maps. CREDITS would be awesome and please do NOT take credit for my work. It's bothersome and makes me a very sad panda ;~; Also you guys are more than free to add me on Facebook. There are maps uploaded onto my facebook that are not uploaded onto RMS/rA/eA. Also there will be constant updates for when I map. A little bit about this map. It was created specifically for a Lunar Event for a server I worked on not that long ago. Unfortunately it never got used so I'm releasing it to the public to do with it what you wish. I hope you like it and please report if you are having any issues. Please note that if your RO is not up to date you may not see the Red Carpet in the main part of the temple, if you decide to use the inside maps. Album of Lunar Map: Click here! Download Link: Click here! Download Link for Inside MapsClick Here! Over View:Click here! The 'ends' of each side of the map:Click here! Download Link: Click! Album of Novice Garden:Click Here! Download LinkClick Here! Please note that the Album shows for Hallow Town and the Vending map that I had planned on doing, unfortunately the Vending Map is no where near complete, but you can view what I had started doing. Album of Hallow Town: Click Here! Download LinkClick Here! Album of Aeven: Click here! Download Link: Aeven w/ House:Click Here! Download Link: Aeven w/ Well:Click Here! Album of Ilyo Kwan: Click Here! Download Link:Click Here! A little bit about this map, I made it for a server a little over a year ago. It was supposed to be kitty themed for events, there are no indoors maps at this time although i'd love to, at one point, make the indoors maps. The map HASNT been used yet, so if you find any glitches feel free to let me know. Two things that was asked of me for this map was an area for weddings and a 'gm only' area. Thats what the two paws are for, you can walk through the water to the wedding area but only GMs will be able to warp to the other paw, unless players get lucky with Fwings. =] Hope you guys like it. Album of Neko Isle: Click Here! Download link Click Here! Lemme know what you're using it for! Hope you guys like it, please feel free to report any bugs. :3 Also it would be awesome if you would please give credits
    1 point
  8. This is another way you can do it. Then best of luck. No one would simply make this command because it's pretty pointless =/. You either can do my way or nelson's
    1 point
  9. Purchase a expensive host thats the thing that i did.
    1 point
  10. you can disable a char command of a specific command by making the value of a command to [true,false] ex: go: [true,false]
    1 point
  11. I've update mine to the latest svn , it now wurks
    1 point
  12. Yes.. I know.. >> I said the VARIABLES in the NPC is CURRENTLY checking for equipment 10+.. What I said for YOU to do is, change all those VARIABLES that check the equipment for 10+ and change it to your liking.. simply that easy >>
    1 point
  13. Why not.. go into your pet DB and remove the pet from your Character's ID o_o?
    1 point
  14. @manabeast : 1) You can't really have both, well, you can, but you'd need a specific decarder npc that will only decard the 1st slot cards (because the generic decarder npc takes out the cards from all the slots in the item) otherwise you would have a bug where people would enchant their equip, decard, and then a new slot would appear (the slot where the enchantment was), as if they decarded the enchantment as well. EDIT: I believe the best way to do this, is by editing the src/map/script.c in the function "successremovecards" and "failedremovecards" EDIT: This change will only work if you use cards only in the first slot of armor-type equipments (otherwise you can't use the enchantment system at all). EDIT: I tried doing this for you, but i'm not sure it may work, edit your script.c : Find (inside "successremovecards" AND "failedremovecards") if(itemdb_isspecial(sd->status.inventory[i].card[0])) return 0; for( c = sd->inventory_data[i]->slot - 1; c >= 0; --c ) { if( sd->status.inventory[i].card[c] && itemdb_type(sd->status.inventory[i].card[c]) == IT_CARD ) {// extract this card from the item Replace with : if(itemdb_isspecial(sd->status.inventory[i].card[0])) return 0; for( c = ( sd->inventory_data[i]->type == IT_WEAPON ? (sd->inventory_data[i]->slot - 1) : 0 ); c >= 0; --c ) { if( sd->status.inventory[i].card[c] && itemdb_type(sd->status.inventory[i].card[c]) == IT_CARD ) {// extract this card from the item compile, then try it out 2) You can make the npc not destroy your item if you simply take out or comment the delitem command from the failure attempts : Search preferably for the line "// Fail" // Fail if (rand(0,100) > (90 - (10*.@slot_num))) { specialeffect2 306; mes "["+strnpcinfo(1)+"]"; mes "Wooops! I'm sorry, but it broke. There's nothing I can do about it anymore."; set Zeny, Zeny - .@zeny_cost; delitem .@itemid,1; close; } with // Fail if (rand(0,100) > (90 - (10*.@slot_num))) { specialeffect2 306; mes "["+strnpcinfo(1)+"]"; mes "Wooops! I'm sorry, but it failed. There's nothing I can do about it."; // <---- Changed text set Zeny, Zeny - .@zeny_cost; // delitem .@itemid,1; <---- Commented or Remove this line close; } Note : Make sure you make that replacement in the three type of enchantments. Note : The three types of failures are different, make sure you only edit the needed lines (the delitem command and the text). 3) the lack of sprite in the item sounds like something from the txt file in data folder "idnum2itemresnametable.txt" make sure you have added correctly the korean sprites for the enchantment items anywhere inside that file : 25000#·¹µåºí·¯µå# 25001#·¹µåºí·¯µå# 25002#À©µå¿Àºê¹öµÀ¾î# 25003#À©µå¿Àºê¹öµÀ¾î# 25004#À©µå¿Àºê¹öµÀ¾î# 25005#¾î¸Ó´ÏÀǾǸù# 25006#¾î¸Ó´ÏÀǾǸù# 25007#¾î¸Ó´ÏÀǾǸù# 25008#¿ëÀǺ¸Áö_È«# 25009#¿ëÀǺ¸Áö_È«# 25010#¿ëÀǺ¸Áö_Ȳ# 25011#¿ëÀǺ¸Áö_Ȳ# 25012#¿ëÀǺ¸Áö_Ȳ# 25013#ÆĶõ»öº¸¼®# 25014#ºÓÀº»öº¸¼®# 25015#ºÓÀº»öº¸¼®# 25016#Ãê·Ï»öº¸¼®# 25017#Ãê·Ï»öº¸¼®# 25018#婸®½ºå»ºí·Ç# 25019#婸®½ºå»ºí·Ç# 25020#婸®½ºå»ºí·Ç# 25021#¿»·î¿ì¶ÓÀìºê# 25022#¿»·î¿ì¶ÓÀìºê# 25023#¾î¸Ó´ÏÀǾǸù# 25024#¾î¸Ó´ÏÀǾǸù# 25025#¾î¸Ó´ÏÀǾǸù# 25026#¿ëÀǺ¸Áö_û# 25027#¿ëÀǺ¸Áö_û# 25028#¿ëÀǺ¸Áö_û# 25029#ºÐÈ«»öº¸¼®# 25030#ºÐÈ«»öº¸¼®# 25031#Çϴûöº¸¼®# 25032#Çϴûöº¸¼®# 25033#º¸¶Ó»öº¸¼®# 25034#º¸¶Ó»öº¸¼®# 25035#°ëºÓÀºº¸¼®# 25036#°ëºÓÀºº¸¼®# 25037#°ëºÓÀºº¸¼®# 25038#婸®½ºå»ºí·Ç# 25039#婸®½ºå»ºí·Ç# 25040#婸®½ºå»ºí·Ç# 25041#¿»·î¿ì¶ÓÀìºê# 25042#¿»·î¿ì¶ÓÀìºê# 25043#¾î¸Ó´ÏÀǾǸù# 25044#¾î¸Ó´ÏÀǾǸù# 25045#¾î¸Ó´ÏÀǾǸù# 25046#¿ëÀǺ¸Áö_û# 25047#¿ëÀǺ¸Áö_û# 25048#¿ëÀǺ¸Áö_û# 25049#¿ëÀǺ¸Áö_È«# 25050#¿ëÀǺ¸Áö_È«# 25051#¿ëÀǺ¸Áö_È«# 25052#Çϴûöº¸¼®# 25053#Çϴûöº¸¼®# 25054#º¸¶Ó»öº¸¼®# 25055#º¸¶Ó»öº¸¼®# 25056#Ãê·Ï»öº¸¼®# 25057#Ãê·Ï»öº¸¼®# 25058#Ãê·Ï»öº¸¼®# 25059#¿»·î¿ì¶ÓÀìºê# 25060#¿»·î¿ì¶ÓÀìºê# 25061#¿»·î¿ì¶ÓÀìºê# 25062#婸®½ºå»ºí·Ç# 25063#婸®½ºå»ºí·Ç# 25064#婸®½ºå»ºí·Ç# 25065#¾î¸Ó´ÏÀǾǸù# 25066#¾î¸Ó´ÏÀǾǸù# 25067#¾î¸Ó´ÏÀǾǸù# 25068#¿ëÀǺ¸Áö_û# 25069#¿ëÀǺ¸Áö_û# 25070#¿ëÀǺ¸Áö_û# 25071#¿ëÀǺ¸Áö_Ȳ# 25072#¿ëÀǺ¸Áö_Ȳ# 25073#¿ëÀǺ¸Áö_Ȳ# 25074#¿ëÀǺ¸Áö_Ȳ# 25075#¿ëÀǺ¸Áö_Ȳ# 25076#¿ëÀǺ¸Áö_³ì# 25077#¿ëÀǺ¸Áö_³ì# 25078#¿ëÀǺ¸Áö_³ì# 25079#Ãê·Ï»öº¸¼®# 25080#Ãê·Ï»öº¸¼®# 25081#·¹µåºí·¯µå# 25082#·¹µåºí·¯µå# 25083#·¹µåºí·¯µå# 25084#À©µå¿Àºê¹öµÀ¾î# 25085#婸®½ºå»ºí·Ç# 25086#婸®½ºå»ºí·Ç# 25087#¾î¸Ó´ÏÀǾǸù# 25088#¾î¸Ó´ÏÀǾǸù# 25089#¾î¸Ó´ÏÀǾǸù# 25090#¿ëÀǺ¸Áö_È«# 25091#¿ëÀǺ¸Áö_û# 25092#¿ëÀǺ¸Áö_û# 25093#¿ëÀǺ¸Áö_û# 25094#Ȳ±Ý# 25095#Ȳ±Ý# 25096#Ȳ±Ý# 25097#ÇÁ·¹ÀÓÇÏÆ®# 25098#ÇÁ·¹ÀÓÇÏÆ®# 25099#±×·¹ÀìÆ®³×ÀìÃÄ# 25100#±×·¹ÀìÆ®³×ÀìÃÄ# 25101#Ãê·Ï»öº¸¼®# 25102#Ãê·Ï»öº¸¼®# 25103#婸®½ºå»ºí·Ç# 25104#婸®½ºå»ºí·Ç# 25105#À©µå¿Àºê¹öµÀ¾î# 25106#À©µå¿Àºê¹öµÀ¾î# 25107#¿»·î¿ì¶ÓÀìºê# 25108#¾î¸Ó´ÏÀǾǸù# 25109#¾î¸Ó´ÏÀǾǸù# 25110#¾î¸Ó´ÏÀǾǸù# 25111#¿ëÀǺ¸Áö_È«# 25112#¿ëÀǺ¸Áö_û# 25113#¿ëÀǺ¸Áö_û# 25114#ºÐÈ«»öº¸¼®# 25115#¾È½Ç¶Ó# 25116#¾È½Ç¶Ó# 25117#¾È½Ç¶Ó# 25118#°ëºÓÀºº¸¼®# 25119#°ëºÓÀºº¸¼®# 25120#°ëºÓÀºº¸¼®# 25121#¾È½Ç¶Ó# 25122#¾È½Ç¶Ó# 25123#¾È½Ç¶Ó# 25124#ÆĶõ»öº¸¼®# 25125#ºÓÀº»öº¸¼®# 25126#ºÓÀº»öº¸¼®# 25127#°å´ëÇѺê¶ÓµÐ¿òÁ¶°¢# 25128#°å´ëÇѺê¶ÓµÐ¿òÁ¶°¢# 25129#°å´ëÇѺê¶ÓµÐ¿òÁ¶°¢# 25130#°å´ëÇѺê¶ÓµÐ¿òÁ¶°¢# 25131#°å´ëÇѺê¶ÓµÐ¿òÁ¶°¢# 25132#°å´ëÇѺê¶ÓµÐ¿òÁ¶°¢# 25133#°å´ëÇѺê¶ÓµÐ¿òÁ¶°¢# 25134#°å´ëÇѺê¶ÓµÐ¿òÁ¶°¢# 25135#°å´ëÇѺê¶ÓµÐ¿òÁ¶°¢# 25136#°å´ëÇѺê¶ÓµÐ¿òÁ¶°¢# 25137#°å´ëÇѺê¶ÓµÐ¿òÁ¶°¢# 25138#°å´ëÇѺê¶ÓµÐ¿òÁ¶°¢# 25139#°å´ëÇѺê¶ÓµÐ¿òÁ¶°¢# 25140#°å´ëÇѺê¶ÓµÐ¿òÁ¶°¢# 25141#°å´ëÇѺê¶ÓµÐ¿òÁ¶°¢# 25142#°å´ëÇѺê¶ÓµÐ¿òÁ¶°¢# 25143#°å´ëÇѺê¶ÓµÐ¿òÁ¶°¢# 25144#°å´ëÇѺê¶ÓµÐ¿òÁ¶°¢# 25145#°å´ëÇѺê¶ÓµÐ¿òÁ¶°¢# 25146#°å´ëÇѺê¶ÓµÐ¿òÁ¶°¢# 25147#°å´ëÇѺê¶ÓµÐ¿òÁ¶°¢# 30000#ºê¶ÓµÐ¿òÆÄÆí# 4) The lack of power stones might be associated to what item ID you set to be the power stone in your server, it simply checks for item ID 30000, if you didn't set the item to that number, it won't check properly. If that's not the case, i'm honestly not sure on what's the problem, that's all I can think of. @sizenine 1) I guess you can replace the following code : for( set .@i,1; .@i <= 6; set .@i,.@i+1 ) { if ((.@i == 3) && (getiteminfo(getequipid(3),5) == 32) && (getequipisequiped(.@i))) { // Only catch shields set .@menu$, .@menu$ + .@position$[.@i] + "-" + "[" + getequipname(.@i) + "]"; set .@arr[.@j], .@i; set .@j, .@j + 1; set .@menu$, .@menu$ + ":"; } if(getequipisequiped(.@i) && (.@i != 4) && (.@i != 3)) { set .@menu$, .@menu$ + .@position$[.@i] + "-" + "[" + getequipname(.@i) + "]"; set .@arr[.@j], .@i; set .@j, .@j + 1; set .@menu$, .@menu$ + ":"; } } with // Sets array for blacklist elements setarray .@blacklist[0], 1501 ; for( set .@i,1; .@i <= 6; set .@i,.@i+1 ) { if ((.@i == 3) && (getiteminfo(getequipid(3),5) == 32) && (getequipisequiped(.@i))) { // Only catch shields set .@menu$, .@menu$ + .@position$[.@i] + "-" + "[" + getequipname(.@i) + "]"; set .@arr[.@j], .@i; set .@j, .@j + 1; set .@menu$, .@menu$ + ":"; } for (set .@k, 0; .@k < getarraysize(.@blacklist); set .@k, .@k + 1 ) { if (getequipid(.@i) == .@blacklist[.@i]) { set .@blacklisteq, 1; break; } } if(getequipisequiped(.@i) && (.@i != 4) && (.@i != 3) && (!.@blacklisteq)) { set .@menu$, .@menu$ + .@position$[.@i] + "-" + "[" + getequipname(.@i) + "]"; set .@arr[.@j], .@i; set .@j, .@j + 1; set .@menu$, .@menu$ + ":"; } set .@blacklisteq, 0; } then you can replace the numbers in the array with the item IDs you want, that is for example : If you wanted to set the blackist array for item IDs 1501, 1502 and 1503 : replace setarray .@blacklist[0], 1501 ; with setarray .@blacklist[0], 1501, 1502, 1503 ; and so on. Just a notice that this is a really simple fix to the script, meaning the blacklisted items simply won't show in the equipment list. But if somehow a player manages to switch their equipments while talking to the NPC (through a hack or 3rd party prog), they could get through this fix.. if you want to prevent that, you could add something like that : Replace : if (countitem(.@itemid) > 1) { mes "["+strnpcinfo(1)+"]"; mes "Ah, looks like you have more than one of the same item in your inventory, I'm sorry but you must store them first before proceeding."; close; } mes "["+strnpcinfo(1)+"]"; with if (countitem(.@itemid) > 1) { mes "["+strnpcinfo(1)+"]"; mes "Ah, looks like you have more than one of the same item in your inventory, I'm sorry but you must store them first before proceeding."; close; } for (set .@k, 0; .@k < getarraysize(.@blacklist); set .@k, .@k + 1 ) { if (getequipid(.@i) == .@blacklist[.@i]) { mes "["+strnpcinfo(1)+"]"; mes "Sorry but the equipment you are using cannot be enchanted."; close; } } mes "["+strnpcinfo(1)+"]"; you can add both changes, or just the second change, if you add both, the equipment won't show in the list of equipments to be enchanted. if you add only the second, it will show in the list but you won't be able to enchant it in the end (just make sure you define the blacklist array somewhere if you add only second change). I recommend you add both, though. Note: Untested, but i believe it should work.
    1 point
  15. Here: -<tab>script<tab>DayNight<tab>-1,{ OnInit: if ((gettime(3) < 6) || (gettime(3) >= 22)) night; end; OnClock0600: announce "The sun is rising. [6:00]",bc_all,0xEEEEEE; day; end; OnClock1800: announce "It's getting dark and the moon is rising. [18:00]",bc_all,0xEEEEEE; night; end; }
    1 point
  16. please use @warp velika_town to go there to ensure this "velika_town" name is installed correctly.. otherwise double check they way you add this map ...
    1 point
  17. Seems the file was deleted from the Download section. Nevermind though here is my copy: mellina.zip
    1 point
×
×
  • Create New...