Jump to content

crazyarashi

Developer
  • Posts

    776
  • Joined

  • Last visited

  • Days Won

    22

Posts posted by crazyarashi

  1. 1 hour ago, Nerks said:

    Good day to all,

    Guys please lend me your suggestion what windows VPS hosting is the as best as of now with a powerful ddos protection?

     

    Your suggestion is highly appreciated.

    Thank you very much in advance.

    God bless

    OVH or Vultr // If you're planning to run in SEA Server/Japan Server it's very hard to find a VPS with DDOS Protection.
    Vultr
    OVH

  2. 6 hours ago, Vicious said:

    Hi people, I using this npc:

    
    //===== 3CeAM Script =========================================
    //= 3CeAM Custom Stylist NPC
    //===== By: ==================================================
    //= Rytech
    //===== Current Version: =====================================
    //= 1.0
    //===== Compatible With: =====================================
    //= 3CeAM r791+
    //===== Description: =========================================
    //= A new generation stylist that offers enhanced style
    //= options and dressing room for character dye/style preview.
    //= Stylist also detects the server's max dyes/styles settings
    //= and also auto adjusts maxes between jobs as needed.
    //===== Additional Comments: =================================
    //= 1.0 First release. [Rytech]
    //============================================================
    prontera,162,184,4	script	Super Stylist	509,{
    Lintro:
    	mes "[Super Stylist]";
    	mes "Hey there. Im a super stylist. Want to try out my services?";
    	mes "I can customize your character's appearance in a hand full of ways.";
    	next;
    	menu "Sure.",Laccessroom, "No Thanks.",Lbye,"Super Stylist???",Lwhoareyou;
    
    Laccessroom:
    	// Open the dressing room and sets the dye/style max's depending on the job.
    	opendressroom(4);
    	set @hairdyemax,8;
    	set @hairstylemax,85;
    	set @bodydyemax,2;
    
    	
    
    	// Summoner's only have 6 hair styles.
    	if (BaseClass != Job_Summoner)
    		set @hairstylemax,MaxHairStyle;
    	else
    		set @hairstylemax,6;
    
    	// Only 3rd job's have access to a 2nd body style.
    	// Note: Not all of the new body styles are out. Best to limit only to jobs that do have them.
    	if (
    //	BaseThird == Job_Rune_Knight || 
    	BaseThird == Job_Warlock || 
    	BaseThird == Job_Ranger || 
    	BaseThird == Job_Arch_Bishop || 
    	BaseThird == Job_Mechanic || 
    	BaseThird == Job_Guillotine_Cross || 
    	BaseThird == Job_Royal_Guard || 
    	BaseThird == Job_Sorcerer || 
    	BaseThird == Job_Minstrel || 
    	BaseThird == Job_Wanderer || 
    //	BaseThird == Job_Sura || 
    	BaseThird == Job_Genetic || 
    	BaseThird == Job_Shadow_Chaser
    	)
    		set @bodystylemax,MaxBodyStyle;		
    	else
    		set @bodystylemax,1;
    		
    		
    	if (
    //	BaseThird == Job_Rune_Knight || 
    	BaseThird == Job_Warlock || 
    	BaseThird == Job_Ranger || 
    	BaseThird == Job_Arch_Bishop || 
    	BaseThird == Job_Mechanic || 
    	BaseThird == Job_Guillotine_Cross || 
    	BaseThird == Job_Royal_Guard || 
    	BaseThird == Job_Sorcerer || 
    	BaseThird == Job_Minstrel || 
    	BaseThird == Job_Wanderer || 
    //	BaseThird == Job_Sura || 
    	BaseThird == Job_Genetic || 
    	BaseThird == Job_Shadow_Chaser
    	)
    		set @hairstylemax,MaxHairStyle;
    	else
    		set @hairstylemax,85;
    		
    		
    		
    Lmain:
    	mes "[Super Stylist]";
    	mes "Ok step this way. A dressing room window should open. Use this to decide what you want and then select in the menu what your interested in.";
    	next;
    	menu "All Dyes And Styles",Lalldyestyle,"Hair Dye Only",Lhairdye,"Hair Style Only",Lhairstyle,"Body Dye Only",Lbodydye,"Body Style Only",Lbodystyle,"Im done.",Lbye;
    
    Lalldyestyle:
    	mes "[Super Stylist]";
    	mes "Enter the dyes/styles you want in the 4 input boxes in order....";
    	mes "Max Hair Dyes = "+@hairdyemax+"";
    	mes "Max Hair Styles = "+@hairstylemax+"";
    	mes "Max Body Dyes = "+@bodydyemax+"";
    	mes "Max Body Styles = "+@bodystylemax+"";
    	input @hairdye;
    	if (@hairdye < 0 || @hairdye > @hairdyemax) set @hairdye,0;
    	input @hairstyle;
    	if (@hairstyle < 0 || @hairstyle > @hairstylemax) set @hairstyle,0;
    	input @bodydye;
    	if (@bodydye < 0 || @bodydye > @bodydyemax) set @bodydye,0;
    	input @bodystyle;
    	if (@bodystyle < 0 || @bodystyle > @bodystylemax) set @bodystyle,0;
    	setlook 6,@hairdye;
    	setlook 1,@hairstyle;
    	setlook 7,@bodydye;
    	setlook 13,@bodystyle;
    	next;
    	goto Lmain;
    
    Lhairdye:
    	mes "[Super Stylist]";
    	mes "Enter the dye you want.";
    	mes "Max Hair Dyes = "+@hairdyemax+"";
    	input @hairdye;
    	if (@hairdye < 0 || @hairdye > @hairdyemax) set @hairdye,0;
    	setlook 6,@hairdye;
    	next;
    	goto Lmain;
    
    Lhairstyle:
    	mes "[Super Stylist]";
    	mes "Enter the style you want.";
    	mes "Max Hair Styles = "+@hairstylemax+"";
    	input @hairstyle;
    	if (@hairstyle < 0 || @hairstyle > @hairstylemax) set @hairstyle,0;
    	setlook 1,@hairstyle;
    	next;
    	goto Lmain;
    
    
    
    
    Lbodydye:
    	mes "[Super Stylist]";
    	mes "Enter the dye you want.";
    	mes "Max Body Dyes = "+@bodydyemax+"";
    	input @bodydye;
    	if (@bodydye < 0 || @bodydye > @bodydyemax) set @bodydye,0;
    	setlook 7,@bodydye;
    	next;
    	goto Lmain;
    
    Lbodystyle:
    	mes "[Super Stylist]";
    	mes "Enter the style you want.";
    	mes "Max Body Styles = "+@bodystylemax+"";
    	input @bodystyle;
    	if (@bodystyle < 0 || @bodystyle > @bodystylemax) set @bodystyle,0;
    	setlook 13,@bodystyle;
    	next;
    	goto Lmain;
    
    
    
    Lbye:
    	mes "[Super Stylist]";
    	mes "Ok then. Ill be here whenever you need to change your look.";
    	close;
    
    Lwhoareyou:
    	mes "[Super Stylist]";
    	mes "Never herd of us?";
    	mes "We super stylist are a new generation of stylist that are able to provide character appearance customization to players.";
    	next;
    	mes "But the difference between us and regular stylist is that we have a dressing room that allows you to try out different styles and dyes freely all together.";
    	mes "This allows you to get a full preview of what your char will look like if you applied all the styles and dyes selected before finalizing what you want.";
    	mes "Better then doing one at a time.";
    	next;
    	mes "Super stylist can also change the appearance of the outfit you wear. We call them body styles. However, only 3rd job characters are offered this service at the moment.";
    	mes "Also we don't have outfits ready for all of these jobs yet since this service is still very new and designs are still being worked on.";
    	mes "Be sure to check back later if a style isnt available for your job as were releasing them one by one.";
    	next;
    	goto Lintro;
    }

     

    the dressroom does not show any outfit for 2nd jobs because not have, but  the 2nd jobs when chose "bodystyle only": 1  the client search the sprite and crash.

     

     

    59a99381c0bc3_1-9-201714.9_2412.gif.741c22c30fd6d4aa34f4c15ab646e541.gif59a99393d6a78_1-9-201714.9_4413.gif.3c6d3cde621e72aa7fc2ddf041cf6c02.gif59a993a0604f8_1-9-201714.9_4914.gif.335504d05e33dd457d987e77b9d6c291.gif

     

     

    I want to know:

    how I can restrict the use of bodystyle option for 2nd jobs? add any message  "I don't have another Outfit for you.";
    "Come back again, with another character" or something...

    pd:sorry for my bad english.

    you can just remove the bodystyle from the menu. :))
     

    menu "All Dyes And Styles",Lalldyestyle,"Hair Dye Only",Lhairdye,"Hair Style Only",Lhairstyle,"Body Dye Only",Lbodydye,"Body Style Only",Lbodystyle,"Im done.",Lbye; // Old Menu
    
    menu "All Dyes And Styles",Lalldyestyle,"Hair Dye Only",Lhairdye,"Hair Style Only",Lhairstyle,"Body Dye Only",Lbodydye,"Im done.",Lbye;
    // Bodystyle Menu Removed.

     

  3. 19 minutes ago, NotKappa said:

    How can we add a new variable type

    I know that there is account bound variable and char bound variable.

    What about IP bound variable how would it be possible to implement that

    query_sql should do the trick :))

  4. 54 minutes ago, Profile said:

    Hi, I would like to create a check to check if all the players in a map (they will be in a party) are dead.

    If all players in the party are dead, It will teleport all players back to savepoint.

    However, It will do nothing if only one player dies or if is ressurected.

    I have already set mapflag so that players can't leave party.

    Could anybody assist me?

    Thanks!

     

    May I Ask if is this running on an instance? :))

  5. 11 minutes ago, kolikan36 said:

    sorry :/

    Here it is : [Info]: request connect - account_id:1/login_id1:131563907/login_id2:559163282

    you shouldn't use the id 1 for logging in to your character XD That's for server login//
    you should create another account in your my sql db login starting in the id 2000000 // GM Account 

  6. 14 minutes ago, kolikan36 said:

    Thanks ! 

    This is from logserver : 

    [Info]: Closed connection from '127.0.0.1'.
    [Status]: Char-server ragnarok': authentication of the account 1 REFUSED (ip: 127.0.0.1).

     

    No error on map server...

    May i ask what id are you trying to use for loggin in? :)) and have you set up the conf files all into local ip(127.0.0.1 :o)

  7. 9 minutes ago, kolikan36 said:

    Hi there thanks a lot for everything you provide on this site ! 

    I've done this tutorial : 

    My server is loading corectly and my database works well.

    I've a big issue concerning this client version. I tried to apply all the answers you provided on the forum during these days... but Nothing.

    I'm still rejected from the server.

    Can you help me ? :)

    ---

    CLIENT INFO XML

    
    <?xml version="1.0" encoding="euc-kr" ?>
    <clientinfo>
    	<desc>Ragnarok Client Information</desc>
    	<servicetype>korea</servicetype>
    	<servertype>primary</servertype>
    	<connection>
    		<display>Local</display>
          		<address>127.0.0.1</address>
          		<port>6900</port>
          		<version>55</version>
          		<langtype>19</langtype>
    		<registrationweb>www.ragnarok.com</registrationweb>
    <aid>
    	<admin>2000000</admin>
    </aid>
    		<loading>
    			<image>loading00.jpg</image>
    			<image>loading01.jpg</image>
    			<image>loading02.jpg</image>
    			<image>loading03.jpg</image>
    			<image>loading04.jpg</image>
    		</loading>
       	</connection>
    </clientinfo>

    PACKETS.H

    
    // Copyright (c) rAthena Dev Teams - Licensed under GNU GPL
    // For more information, see LICENCE in the main folder
    #ifndef _CONFIG_PACKETS_H_
    #define _CONFIG_PACKETS_H_
    
    /**
     * rAthena configuration file (http://rathena.org)
     * For detailed guidance on these check http://rathena.org/wiki/SRC/config/
     **/
    
    #ifndef PACKETVER
    	#define PACKETVER 20151104
    #endif
    
    #ifndef PACKETVER_RE
    	/// From this point on only kRO RE clients are supported
    	#if PACKETVER > 20170517
    		#define PACKETVER_RE
    	#endif
    #endif
    
    #if PACKETVER >= 20110817
    	/// Comment to disable the official packet obfuscation support.
    	/// This requires PACKETVER 2011-08-17 or newer.
    	 #ifndef PACKET_OBFUSCATION
    	#define PACKET_OBFUSCATION
    
    		// Define these inside src/custom/defines_pre.h or src/custom/defines_post.h
    		// #define PACKET_OBFUSCATION_KEY1 <key1>
    		// #define PACKET_OBFUSCATION_KEY2 <key2>
    		// #define PACKET_OBFUSCATION_KEY3 <key3>
    
    		/// Comment this to disable warnings for missing client side encryption
    	#define PACKET_OBFUSCATION_WARN
    	 #endif
    #else
    	#if defined(PACKET_OBFUSCATION)
    		#error You enabled packet obfuscation for a version which is too old. Minimum supported client is 2011-08-17.
    	#endif
    #endif
    
    #ifndef DUMP_UNKNOWN_PACKET
    	//#define DUMP_UNKNOWN_PACKET
    #endif
    
    #ifndef DUMP_INVALID_PACKET
    	//#define DUMP_INVALID_PACKET
    #endif
    
    /**
     * No settings past this point
     **/
    
    /// Check if the specified packetversion supports the pincode system
    #define PACKETVER_SUPPORTS_PINCODE PACKETVER >= 20110309
    
    /// Check if the client needs delete_date as remaining time and not the actual delete_date (actually it was tested for clients since 2013)
    #define PACKETVER_CHAR_DELETEDATE (PACKETVER > 20130000 && PACKETVER <= 20141022) || PACKETVER >= 20150513
    
    /// Check if the specified packetvresion supports the cashshop sale system
    #define PACKETVER_SUPPORTS_SALES PACKETVER >= 20131223
    
    #endif // _CONFIG_PACKETS_H_

     

     

     

    Can you provide the map server error when you are trying to login? :))

  8. 7 minutes ago, Scamper said:

    Hi Guys

    my map server is giving me the following error

    image.png.ecc4ffce662f5d7f72457cb64ce1413c.png

     

    I tried to change the max Value in the pc.H

    
    #define MAX_PC_BONUS 100

    but I`'m still getting the same Error :/

    any suggestions?

    thx in Advance

    Have you recompile your server after changing the values? :))

  9. 11 minutes ago, Quesooo said:

    isee i have this all instances

     


    1,Endless Tower,14400,300,1@tower,50,355,2@tower,3@tower,4@tower,5@tower,6@tower
    2,Sealed Catacomb,7200,300,1@cata,100,224,2@cata
    3,Orc's Memory,3600,300,1@orcs,179,15,2@orcs
    4,Nidhoggur's Nest,14400,300,1@nyd,32,36,2@nyd
    5,Mistwood Maze,7200,300,1@mist,89,29
    6,Culvert,3600,300,1@pump,63,98,2@pump
    7,Octopus Cave,3600,300,1@cash,199,99
    8,Bangungot Hospital 2F,3600,300,1@ma_h,40,157
    9,Buwaya Cave,3600,300,1@ma_c,35,57
    10,Bakonawa Lake,7200,300,1@ma_b,64,51
    11,Wolfchev's Laboratory,14400,300,1@lhz,45,148
    12,Old Glast Heim,3600,300,1@gl_k,150,20,2@gl_k
    13,Eclage Interior,1200,300,1@ecl,60,50
    14,Sara's Memories,3600,300,1@sara,250,155
    15,Geffen Magic Tournament,7200,300,1@gef,119,209,1@gef_in,1@ge_st
    16,Horror Toy Factory,3600,300,1@xm_d,111,22
    17,Faceworm's Nest,3600,300,1@face,112,374
    18,Nightmarish Jitterbug,3300,300,1@jtb,16,18
    19,CharlestonCrisis,3600,300,1@mcd,127,273
    23,Charleston Crisis,7200,300,1@mcd,127,282,1@mcd
    24,Central Laboratory,3600,300,1@lab,120,30
    25,Wave Mode Forest,3600,300,1@def01,46,64
    26,Ghost Palace,3600,300,1@spa,42,196
    27,Bios Island,7200,300,1@dth1,19,94,1@dth2,1@dth3

    I will test the instance and see if i will be able to duplicate the results :))

    • Love 1
  10. 17 minutes ago, Quesooo said:

    Hi i have a big problem

     

    after creating a instance the server get disconnect all players in game disconnected and when trying to enter in game its rejected players

     

    please help

    It's probably a syntax error inside the instance.db :)) can you provide the instance db that you are using for that instance? :))

    • Upvote 1
  11. 1 hour ago, Jonald said:

    Can you help me with this gympass npc not adding weight

    
    //===== rAthena Script ======================================= 
    //= Gym Pass Cash Item NPC
    //===== By: ================================================== 
    //= Kisuka
    //===== Current Version: ===================================== 
    //= 1.3
    //===== Compatible With: ===================================== 
    //= rAthena Project
    //===== Description: ========================================= 
    //= [Official Conversion]
    //= Exchange Gym Passes to learn "Enlarge Weight Limit"
    //= iRO NPC situated in Payon beside Kafra Shop.
    //===== Additional Comments: ================================= 
    //= 1.0 First version [L0ne_W0lf]
    //= 1.1 Fixed the NPC saying you "00" [L0ne_W0lf]
    //= 1.2 Replaced effect numerics with constants. [Samuray22]
    //= 1.3 Updated script, and fixed potential errors. [L0ne_W0lf]
    //============================================================ 
    
    payon,173,141,4	script	Ripped Cabus#GymPass	899,{
    	mes "[Ripped]";
    	mes "Hey, there. People aren't";
    	mes "as physically active as they";
    	mes "used to be. Even if you fight";
    	mes "for a living, your body might";
    	mes "be weak and flabby in some";
    	mes "areas. Know what I mean?";
    	next;
    	mes "[Ripped]";
    	mes "Hey, train with me, and I can";
    	mes "guarantee that you'll be able";
    	mes "to lift and carry more of your";
    	mes "stuff. Just gimme your";
    	mes "^FF0000Gym Pass^000000 each time,";
    	mes "and we'll be good to go.";
    	next;
    	mes "[Ripped]";
    	mes "But don't get too excited:";
    	mes "no matter how much training";
    	mes "I take you through, you can";
    	mes "overdo it. You ever hear of";
    	mes "anyone that got too buff?";
    	mes "That's cuz they're dead. See?";
    	next;
    	mes "[Ripped]";
    	mes "I'd say that it'd be safe";
    	mes "for you to seriously train";
    	mes "with me and increase your";
    	mes "item carrying capacity ^FF000010 times^000000.";
    	mes "So... Are you ready to sweat?";
    	next;
    	switch(select("Yes:No:Um, my workouts wore off.")) {
    	case 1:
    		if (gympassmemory < 10) {
    			set .@add_carry,gympassmemory + 1;
    			set .@remain_carry,10 - .@add_carry;
    			if (countitem(7776) > 0) {
    				mes "[Ripped]";
    				mes "Oh, awesome, I see you";
    				mes "brought your Gym Pass.";
    				mes "Alright, just do what I do,";
    				mes "and try to feel the burn.";
    				mes "Ready? Let's do this.";
    				next;
    				specialeffect2 EF_EARTHSPIKE;
    				next;
    				specialeffect2 EF_DEVIL;
    				next;
    				specialeffect2 EF_COIN;
    				next;
    				specialeffect2 EF_SIGHTRASHER;
    				next;
    				mes "[Ripped]";
    				mes "There, you should be able";
    				mes "to carry more stuff with you.";
    				mes "Let's see, we can increase";
    				mes "your item carrying capacity";
    				mes "^FF00000" + .@remain_carry + "^000000 more times if we continue";
    				mes "training together like this.";
    				delitem 7776,1; //Max_Weight_Up_Scroll
    				set gympassmemory,.@add_carry;
    				skill "ALL_INCCARRY",.@add_carry,SKILL_PERM_GRANT;
    				close;
    			}
    			else {
    				mes "[Ripped]";
    				mes "Dude, what'd I tell you?";
    				mes "You gotta bring me your";
    				mes "^FF0000Gym Pass^000000 if you wanna";
    				mes "work out, and build up your";
    				mes "item carrying muscles.";
    				close;
    			}
    		}
    		else {
    			mes "[Ripped]";
    			mes "Dude, I don't think we can";
    			mes "build up your item carrying";
    			mes "muscles anymore than that.";
    			mes "It's too dangerous for your";
    			mes "body if we even tried! C'mon,";
    			mes "I told you about the limits.";
    			close;
    		}
    	case 2:
    		mes "[Ripped]";
    		mes "Aw, that's too bad.";
    		mes "Well, come back if you";
    		mes "change your mind. Tell";
    		mes "your friends about me:";
    		mes "if they're flabby, I'll help";
    		mes "get them in shape.";
    		close;
    	case 3:
    		if (gympassmemory > 0) {
    			mes "[Ripped]";
    			mes "What happened?";
    			mes "You let your item carrying";
    			mes "muscles just atrophy? Lucky";
    			mes "for you, there's such a thing";
    			mes "as muscle memory. It's won't take";
    			mes "as long to build 'em back up...";
    			next;
    			specialeffect2 EF_EARTHSPIKE;
    			next;
    			specialeffect2 EF_DEVIL;
    			next;
    			specialeffect2 EF_COIN;
    			next;
    			specialeffect2 EF_SIGHTRASHER;
    			next;
    			mes "[Ripped]";
    			mes "How about that?";
    			mes "Your item carrying";
    			mes "muscles grew back,";
    			mes "just like that! Try not to";
    			mes "wimp out again, okay?";
    			skill "ALL_INCCARRY",gympassmemory,SKILL_PERM_GRANT;
    			close;
    		}
    		else {
    			mes "[Ripped]";
    			mes "Uhh...";
    			mes "We didn't work out";
    			mes "together before.";
    			mes "I'm sure about that.";
    			close;
    		}
    	}
    }

     

    I Believe this is the gympass npc in the rA repo :o and it's working tested it just now :)) may you provide your current git hash :o

  12. 24 minutes ago, Vicious said:

    Hi, I'm looking for the sprites of the GM

    gm1.png.27b548504f003231c6495896901ea4d7.png

    Any know how find?

    In your grf following this path
    //male
    sprite/Àΰ£Á·/¸öÅë/³²/¿î¿µÀÚ_³².act
    sprite/Àΰ£Á·/¸öÅë/³²/¿î¿µÀÚ_³².spr
    //female
    sprite/Àΰ£Á·/¸öÅë/¿©/¿î¿µÀÚ_³².spr
    sprite/Àΰ£Á·/¸öÅë/¿©/¿î¿µÀÚ_³².act

×
×
  • Create New...