Jump to content

GmOcean

Members
  • Posts

    666
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by GmOcean

  1. Solved: Removed all Extended Box additions, and it worked. Posted my solution in case anyone else is having issues getting 2013 clients to work.
  2. Well, before you can do that, you first need to create the 2slotted item and add it to your db. When you have done that, post back with your custom items IDs and you'll be able to get further assistance.
  3. Here, all I did was delete anything having to deal with zeny. And left in Patskie's changes. //===== eAthena Script ======================================= //= Armor Enchanter //===== By: ================================================== //= L0ne_W0lf //===== Current Version: ===================================== //= 1.1 //===== Compatible With: ===================================== //= eAhena SVN //===== Description: ========================================= //= [Aegis Conversion] //= Add a +1, 2, or 3, of a random stat to specified armor. //===== Additional Comments: ================================= //= 1.0 First version. //= 1.1 Corrected typo (Sit -> Suit) (bugreport:4586) //============================================================ poring_c02,176,72,4 script Apprentice Craftsman 73,{ mes "[Apprentice Craftsman]"; mes "I've been studying ways to enhance an armor to maximize it's capability."; next; mes "[Apprentice Craftsman]"; mes "Enchanting is an awesome skill that infuses a mysterious status power into the armor's hidden socket."; next; mes "[Apprentice Craftsman]"; mes "However, you have to keep in mind that if there are two armors of the same kind in your possession, the Enchantment will be applied in the order they are placed in your inventory."; next; mes "[Apprentice Craftsman]"; mes "In that case, the Enchantment may be applied to an item which you didn't mean to Enchant. So just bring ^5555ffONE Armor^000000 you want enchanted to be safe.."; next; mes "[Apprentice Craftsman]"; mes "I'm not responsible for what would happen if you have more than one of the same kind in your inventory."; next; switch(select("Non Slotted Armor.:Slotted Armor.:High Grade Armor.:Maybe next time.")) { case 1: switch(select("Mantle:Coat:Chain Mail:Full Plate:Silk Robe:Saint's Robe:Holy Robe:Wooden Mail:Tights:Silver Robe:Mage Coat:Thief Clothes:Legion Plate Armor:Lucius's Fierce Armor of Volcano:Saphien's Armor of Ocean:Aebeccee's Raging Typhoon Armor:Claytos Cracking Earth Armor:Ninja Suit:Chameleon Armor:Glorious Suit:Glorious Popularized Suit:Glorious Mass-Production Suit")) { case 1: callsub S_EnchantArmor,2307,50; case 2: callsub S_EnchantArmor,2309,50; case 3: callsub S_EnchantArmor,2314,50; case 4: callsub S_EnchantArmor,2316,50; case 5: callsub S_EnchantArmor,2321,50; case 6: callsub S_EnchantArmor,2325,50; case 7: callsub S_EnchantArmor,2327,50; case 8: callsub S_EnchantArmor,2328,50; case 9: callsub S_EnchantArmor,2330,50; case 10: callsub S_EnchantArmor,2332,50; case 11: callsub S_EnchantArmor,2334,50; case 12: callsub S_EnchantArmor,2335,50; case 13: callsub S_EnchantArmor,2341,50; case 14: callsub S_EnchantArmor,2344,50; case 15: callsub S_EnchantArmor,2346,50; case 16: callsub S_EnchantArmor,2348,50; case 17: callsub S_EnchantArmor,2350,50; case 18: callsub S_EnchantArmor,2337,50; case 19: callsub S_EnchantArmor,2386,50; case 20: callsub S_EnchantArmor,2394,50; case 21: callsub S_EnchantArmor,2395,50; case 22: callsub S_EnchantArmor,2396,50; } case 2: switch(select("Mink Coat:Lord's Clothes:Glittering Jacket:Formal Suit:Mantle(1):Coat(1):Chain Mail(1):Full Plate(1):Silk Robe(1):Scapulare(1):Saint's Robe(1):Tights(1):Silver Robe(1):Thief Clothes(1):Legion Plate Armor(1):Lucius's Fierce Armor of Volcano(1):Saphien's Armor of Ocean(1):Aebeccee's Raging Typhoon Armor(1):Claytos Cracking Earth Armor(1)")) { case 1: callsub S_EnchantArmor,2311,55; case 2: callsub S_EnchantArmor,2318,55; case 3: callsub S_EnchantArmor,2319,55; case 4: callsub S_EnchantArmor,2320,55; case 5: callsub S_EnchantArmor,2308,55; case 6: callsub S_EnchantArmor,2310,55; case 7: callsub S_EnchantArmor,2315,55; case 8: callsub S_EnchantArmor,2317,55; case 9: callsub S_EnchantArmor,2322,55; case 10: callsub S_EnchantArmor,2324,55; case 11: callsub S_EnchantArmor,2326,55; case 12: callsub S_EnchantArmor,2331,55; case 13: callsub S_EnchantArmor,2333,55; case 14: callsub S_EnchantArmor,2336,55; case 15: callsub S_EnchantArmor,2342,55; case 16: callsub S_EnchantArmor,2345,55; case 17: callsub S_EnchantArmor,2347,55; case 18: callsub S_EnchantArmor,2349,55; case 19: callsub S_EnchantArmor,2351,55; } case 3: switch(select("Meteo Plate Armor:Orlean's Gown:Life Link:Diablos Robe:Diablos Armor:Assaulter Plate:Elite Engineer Armor:Assassin Robe:Warlock's Battle Robe:Medic's Robe:Elite Archer Suit:Elite Shooter Suit:Sprint Mail:Kandura:Armor of Naga:Improved Tights")) { case 1: callsub S_EnchantArmor,2364,60; case 2: callsub S_EnchantArmor,2365,60; case 3: callsub S_EnchantArmor,2391,60; case 4: callsub S_EnchantArmor,2374,60; case 5: callsub S_EnchantArmor,2375,60; case 6: callsub S_EnchantArmor,2376,60; case 7: callsub S_EnchantArmor,2377,60; case 8: callsub S_EnchantArmor,2378,60; case 9: callsub S_EnchantArmor,2379,60; case 10: callsub S_EnchantArmor,2380,60; case 11: callsub S_EnchantArmor,2381,60; case 12: callsub S_EnchantArmor,2382,60; case 13: callsub S_EnchantArmor,2387,60; case 14: callsub S_EnchantArmor,2388,60; case 15: callsub S_EnchantArmor,2389,60; case 16: callsub S_EnchantArmor,2390,60; } case 4: mes "[Apprentice Craftsman]"; mes "Please come back when you have any interest in enchanting your armor."; close; } else { mes "[Apprentice Craftsman]"; mes "I am in charge of Enchanting Armors. Simply put, I've been studying ways to power-up armor."; next; mes "[Apprentice Craftsman]"; mes "If by any chance, you would want to enchant your armor, bring me 400,000 zeny and the armor you want to enchant and you are all set to go."; close; } S_EnchantArmor: set .@itemid,getarg(0); if (countitem(7227) < 10) { mes "[Apprentice Craftsman]"; mes "I need 10 TCG's"; close; } if ((countitem(.@itemid) > 0) && (countitem(.@itemid) < 2)) { mes "[Apprentice Craftsman]"; mes "Socket enchant wil cost you 400,000 zeny. And there will be a random option enchanted. Of course, there is a chance of breaking your armor."; next; mes "[Apprentice Craftsman]"; mes "First and most importantly."; mes "^ff5555Existing Refine Level of the Armor"; mes "and Cards will be GONE.^000000"; mes "Do you still want to try an Enchant?"; next; switch(select("Hmm... Let me think it over.:Go ahead.")) { case 1: mes "[Apprentice Craftsman]"; mes "Well, I can't blame you. Safety first, Ey?"; mes "Now you have a nice day."; close; case 2: mes "[Apprentice Craftsman]"; mes "Quite of an adventurer huh? Well, shall we?"; close2; specialeffect2 EF_MAPPILLAR; set .@enc_ran,1; delitem .@itemid,1; delitem 7227, 10; switch(select("Str +3:Int +3:Dex +3:Agi +3:Vit +3:Luk +3:Nevermind")) { case 1: set .@addpart,4702; getitem2 .@itemid, 1, 1, 0, 0, 0, 0, 0, .@addpart; close; case 2: set .@addpart,4712; getitem2 .@itemid, 1, 1, 0, 0, 0, 0, 0, .@addpart; close; case 3: set .@addpart,4722; getitem2 .@itemid, 1, 1, 0, 0, 0, 0, 0, .@addpart; close; case 4: set .@addpart,4732; getitem2 .@itemid, 1, 1, 0, 0, 0, 0, 0, .@addpart; close; case 5: set .@addpart,4742; getitem2 .@itemid, 1, 1, 0, 0, 0, 0, 0, .@addpart; close; case 6: set .@addpart,4752; getitem2 .@itemid, 1, 1, 0, 0, 0, 0, 0, .@addpart; close; default: close; } } } else close; }
  4. As nanakiwurtz said, it's a script command, however unless you have rAthena, this script will most likely not work for you. Atleast, the command won't work for you.
  5. Well, WTF lol. That's completely out of my control ><; I've already tried with 3 other clients same issue.... This is totally f*cked lmao.
  6. Bump. Anyone have any idea on how to fix this?
  7. It is not from Gravity, it is just another private server, that chooses to run it's servers as close to Official as possible (what rAthena is out of the box). What they claim for " official server character transfers " is just them saying, they will try their best to recreate said character on an account on their server for you. So it's as if you DID transfer from IRO to their private server.
  8. Oh? Well, it's not in the documentation lol, it mentions that charcommand doesn't require an RID unlike the method above. Which I assumed meant atcommand since it was the only method listed before it. Good to know though.
  9. This should do it. I don't think I missed anything. But in case there are errors, just post a response here. I'm heading out so I might not get to it right away, but hopefully someone else can fix it for me in my absence. prontera,180,150,4 script Ancient God Quest 123,{ //ItemID,Amt,ItemID2,Amt2,etc,etc,... setarray .@0[0],1009,300,7006,200,944,50,7018,10,7291,10; setarray .@1[0],1000,300,1001,300,1061,300,7511,500,1234,1,7294,10,7295,10; setarray .@2[0],951,500,956,500,995,100,7297,10,1461,1,7562,10; setarray .@3[0],7511,666,923,666,1038,666,1039,666,7566,10,7300,10,7450,10,2507,1; setarray .@4[0],994,100,7097,100,1030,10,7290,10,7035,10; setarray .@5[0],739,300,1064,300,748,300,950,300,7513,10; setarray .@6[0],7043,500,12116,300,7067,100,7048,10; setarray .@7[0],7210,500,7069,500,7110,300,7109,10,7108,10; setarray .@8[0],7086,5,7088,5,7090,5,7091,5,7087,5,7089,5,658,50; //Custom ID,CustomID,CustomID,etc,... setarray .@9[0],00000,00000,00000,00000; if(ancientquest==9){mes "You already did this quest."; close;} mes "Bring me the following:"; for(set .@i,0; .@i<getarraysize(getd(".@"+ ancientquest +"")); set .@i,.@i+2) {mes "["+ getd(".@"+ ancientquest +"["+(.@i+1)+"]") +"]x "+ getitemname( getd(".@"+ ancientquest +"["+ .@i +"]") ) +"";} if(switch(select("Turn in.:I'll be back.")) == 2){close;} for(set .@j,0; .@j<getarraysize(getd(".@"+ ancientquest +"")); set .@j,.@j+2) {if(countitem( getd(".@"+ ancientquest +"["+ .@j +"]") ) < getd(".@"+ ancientquest +"["+ (.@j+1) +"]") ) {mes "Not enough: "+ getitemname( getd(".@"+ ancientquest +"["+ .@j +"]") )+" ^FF0000"+ countitem( getd(".@"+ ancientquest +"["+ .@j +"]") ) +"/"+ getd(".@"+ ancienquest +"["+ (.@j+1) +"]") +""; close;} }//End For(set .@j) set ancientquest,ancientquest+1; for(set .@l,0; .@l<getarraysize(getd(".@"+ ancientquest +"")); set .@l,.@l+2) {delitem( getd(".@"+ ancientquest +"["+ .@l +"]"), getd(".@"+ ancientquest +"["+ (.@l+1) +"]") );} if(ancienquest == 9){getitem( .@9[rand( getarraysize(.@9) )],1); mes "Quest Complete."; close;} next; mes "You have completed the task. Now I have another one for you. Should you choose to accept it, speak to me again."; close; }
  10. Then Perhaps this will interest you: http://rathena.org/board/topic/85638-xynvaroth-array-20/ Not sure how user friendly it is, but it does allow you to increase your normal array limits. Also, I'd suggest use 2dimensional arrays, but again, 2d & 3d arrays, aren't very user friendly, and frankly hard to explain :/ Edit: Now that I think about it.. Why doesn't rAthena support 2d Arrays, or more importantly why hasn't it been implemented yet, is there src issue that prevents the engine from rendering something like this into existence O.o?
  11. Edit: Solved. Solution: Removed ( Extended Chat ) options form diff, and the client worked. I know this is a common issue, and one that is usually fixed easily, but for the life of me I can't seem to get around it lol. At any rate here is the information regarding this issue. Actuall Error: [Info]: clif_parse: Disconnecting session #3 with unknown packet version (p:0x10 62,l:19). [Info]: Closed connection from '127.0.0.1'. MapServer: [Status]: Done reading '774' entries in 'packet_db.txt'. [Status]: Using default packet version: 38. Client Used = 2013-06-05 Ragexe ClientDiff Allow Chat Flood (50 Lines) Allow space in guild name Cancel to Login Window Change Gravity Error Handler Custom Window Title Disable 1rag1 type parameters Disable Ragexe Filename Check Disable HShield Disable Packet Encryption Disable Swear Filter Enable 64k Hairstyle Enable Multiple GRFs Enable Title Bar Menu Enforce Official Login Background Extended Chat Box Extended Chat Room Box ExtendedNpcBox Extended PM Box Fix Camera Angles (FULL) @ Bug Fix Increase Headgear ViewID to 5000 Increase Zoom Out Max KOREA ServiceType XML Fix Only Fist Login Background Disable Quake skill effect Read Data Folder First Read msgstringtable.txt Read questid2display.txt Remove Gravity Ads Remove Gravity Logo Remove Hourly Announce Remove Serial Display Restore Login Window Skip License Screen Translate Client In English Ascii & Arial on All Langtypes Use Normal Guild Brackets Use Plain Text Descriptions Use Ragnarok Icon packet_db.txt packet_db_ver: 38 //2013-06-05 Ragexe (Shakto) packet_ver: 38 0x0369,7,actionrequest,2:6 0x083C,10,useskilltoid,2:4:6 0x0437,5,walktoxy,2 0x035F,6,ticksend,2 0x0202,5,changedir,2:4 0x07E4,6,takeitem,2 0x0362,6,dropitem,2:4 0x07EC,8,movetokafra,2:4 0x0364,8,movefromkafra,2:4 0x0438,10,useskilltopos,2:4:6:8 0x0366,90,useskilltoposinfo,2:4:6:8:10 0x096A,6,getcharnamerequest,2 0x0368,6,solvecharname,2 0x0838,12,searchstoreinfolistitemclick,2:6:10 0x0835,2,searchstoreinfonextpage,0 0x0819,-1,searchstoreinfo,2:4:5:9:13:14:15 0x0811,-1,reqtradebuyingstore,2:4:8:12 0x0360,6,reqclickbuyingstore,2 0x0817,2,reqclosebuyingstore,0 0x0815,-1,reqopenbuyingstore,2:4:8:9:89 0x0365,41,bookingregreq,2:4:6 // 0x0363,8 // CZ_JOIN_BATTLE_FIELD 0x0281,-1,itemlistwindowselected,2:4:8:12 0x022D,19,wanttoconnection,2:6:10:14:18 0x0802,26,partyinvite2,2 // 0x0436,4 // CZ_GANGSI_RANK 0x023B,26,friendslistadd,2 0x0361,5,hommenu,2,4 0x0883,36,storagepassword,2:4:20 Clientinfo.xml <version>38</version> mmo.h #ifndef PACKETVER #define PACKETVER 20130605 //#define PACKETVER 20120410 //Default #endif Thats everything I can think of to help solve this issue faster. I'll be waiting slightly-impatiently lol xD But seriously, no rush but help is greatly appreciated.
  12. You can find the Link to rAthena's SVN repository, and GIT hub repositories at the top of every page. There isn't a " server side " data folder. Thats part of your RO client.
  13. https://github.com/rathena/rathena/blob/master/conf/battle/status.conf // Will certain skill status-changes be removed on logout? // This mimics official servers, where Extremity Fist's no SP regen, // Strip Equipment, and some other buffs are removed when you logout. Setting is: // 0 = remove nothing. // 1 = remove negative buffs (stripping, EF) // 2 = remove positive buffs (maximize power, steel body...) // 3 = remove both negative and positive buffs. debuff_on_logout: 3
  14. @Zezicla - This script is working for rAthena already. It just isn't working for eAthena because I don't remember there being an @cleanmap command. Also, the script command, atcommand "@cleanmap" requires an RID to be attached. @Phantom Of Rouge-Gon - You don't have to shut down your server to do your update right away... Prepare the SVN before hand, then just swap them out from your host as long as they both contain the say IPs, and Client dates, I don't see why the downtime should be any longer than the time it would take to shut down eA and than start up rA.
  15. Yea, as Brain is saying, atm it's not possible, you'd need to edit the src code, if your trying to store the tax from a Vending Purchase. However, if your trying to store the tax from a normal NPC purchase, then you'll need to use a Dynamic NPC. You'd first need to use a Dynamic NPC to create the ' tax ' and also store it. At the moment those are your options. But, additionally, you should be able to also edit the src code for a normal NPC, and add a ' tax ' feature. Not exactly sure, what the actual coding to do so is, but the snippet that you need to edit should be here This is in NPC.C for editing normal NPC sells. Couldn't find the purchase section I might have over looked it lol. Just woke up @.@; value = pc_modifysellvalue(sd, sd->inventory_data[idx]->value_sell); z+= (double)value*amount; Now this is for Vening: pc_payzeny(sd, (int)z, LOG_TYPE_VENDING, vsd); if( battle_config.vending_tax ) z -= z * (battle_config.vending_tax/10000.); You'll see here, that it actually, sets your zeny - that tax. So, here is most likely where you'd need to have it store the tax into a var. Not sure how, but Brian.. I'm sure he knows...D:
  16. I see. Wish I could help further, but sadly, I don't think it's one that can be fixed without knowing exactly how the db is set up. Also, for curiosities sake, how many columns are in your a single entry in that db?
  17. That basically means you don't have the command " cleanmap ". Which means it could be time for you to make a choice. Either 1. Leave eAthena and get rAthena. 2. Wait for someone to post a fix so their is a work around (probably gonna have to write it using atcommand). Or 3. Get support at eA forums :/
  18. 1. http://rathena.org/wiki/Instancing 2. Yes, in my opinion it is much easier to make an instance using this new ' instancing ' system. Mainly because it eliminates the need, to use a map named 1@mapname. Also, you don't really have to keep track of every bit of information as most of it is stored into a pre-made db file. And lastly, the commands are easier to understand in the new guide xD
  19. Hmm, I think you can just recompile your server and select " Release " instead of Debug, if your using Visual++. In my experience, it got rid of all Debug/Warning notices, and only presented me with actual ' Errors '.
  20. The actual script part isn't hard to write up, but without the Poring King sprite/ items I'm afraid it'll all be moot.
  21. Alright. For this command, to work, you simply stand on 1 location, then use the command. It will instruct you to stand on another location and use the command again. After doing so, every cell inside of that square, is now un-vendable / un-chatable. I know this kinda seems redundant, and wondering why I didn't just make it so you input all the coordinates, well, that's because, some people can't remember to do that. Though, I do have it in the works for that version to be released, I'm just a tad-bit busy atm. Edit: Updated file, to use a 'simpler' way of settings cells. (ex. @novend/@nochat <x1> <y1> <x2> <y2> <on/off>) Edit 2: Updated to v0.3 Fixed a bug with commands setting different cells.
  22. I think, Patskie just accidentally linked the wrong command: *getareausers("<map name>",<x1>,<y1>,<x2>,<y2>) This function will return the count of connected characters which are located within the specified area - an x1/y1-x2/y2 square on the specified map. This is useful for maps that are split into many buildings, such as all the "*_in" maps, due to all the shops and houses.
  23. You can either add an npctimer, or you can simply just add all the OnClock variables directly after OnInit: so it'll look like this: OnInit: OnClock0000: OnClock0400: OnClock0800: OnClock1200: OnClock1600: OnClock2000: blah blah blah script commands; end;
  24. Then try something like this: -%TAB%script%TAB%poring_king%TAB%-1,{ OnPoringKingDead: while(1){ makeitem(501,1,"this",rand(200),rand(200)); set .@a,.@a+1; if(.@a == 100){break;}} end; } Edit: Lol, I forgot to press send, was sitting on here for a few hours without sending it @.@; At anyrate, either this or the one in Patskie's link will work.
  25. *makeitem <item id>,<amount>,"<map name>",<X>,<Y>; *makeitem "<item name>",<amount>,"<map name>",<X>,<Y>; This command will create an item lying around on a specified map in the specified location. itemid - Found in 'db/(pre-)re/item_db.txt' amount - Amount you want produced map name - The map name X - The X coordinate Y - The Y coordinate. This item will still disappear just like any other dropped item. Like 'getitem', it also accepts an 'english name' field from the database and creates apples if the name isn't found. If the map name is given as "this", the map the invoking character is on will be used. Example: makeitem 501,100,"this",0,0; //*note - Not sure if 0 should be used for random or -1*
×
×
  • Create New...