Jump to content

Gidz Cross

Members
  • Posts

    656
  • Joined

  • Last visited

  • Days Won

    9

Posts posted by Gidz Cross

  1.  

    the MVP spawned by a script

    npc/re/mobs/dungeons/lhz_dun.txt

     

     

    lhz_dun03,0,0,0    script    mvp_lhz_dun03    -1,{

    OnTimer6000000: // delay1 = 6000000 ms (100 min)

        stopnpctimer;

        sleep rand(0,30)*60000; // 0 to 30 minutes

    OnInit:

        // Select Coordinates to summon a random MVP on

        switch(rand(1,6)) {

            case 1:  set .@x,140;  set .@y,232;  break;

            case 2:  set .@x,75;   set .@y,138;  break;

            case 3:  set .@x,140;  set .@y,87;   break;

            case 4:  set .@x,205;  set .@y,140;  break;

            case 5:  set .@x,123;  set .@y,137;  break;

            case 6:  set .@x,175;  set .@y,137;  break;

        }

        set .@mob,rand(1646,1651);

        boss_monster"lhz_dun03",.@x,.@y,strmobinfo(1,.@mob),.@mob,1,strnpcinfo(3)+"::OnMyMVPDead";

        // Select Coordinates to summon a random 99 on

        switch(rand(1,6)) {

            case 1:  set .@x2,183;  set .@y2,97;   break;

            case 2:  set .@x2,97;   set .@y2,96;   break;

            case 3:  set .@x2,47;   set .@y2,139;  break;

            case 4:  set .@x2,231;  set .@y2,140;  break;

            case 5:  set .@x2,139;  set .@y2,211;  break;

            case 6:  set .@x2,139;  set .@y2,259;  break;

        }

        set .@mob2,rand(1640,1645);

        boss_monster"lhz_dun03",.@x2,.@y2,strmobinfo(1,.@mob2),.@mob2,1,strnpcinfo(3)+"::OnMy99Dead";

        end;

    OnMyMVPDead:

        killmonster "lhz_dun03",strnpcinfo(3)+"::OnMy99Dead";

        initnpctimer;

    OnMy99Dead:

        end;

    }

     

     So im going to make it like this? Correct me if im wrong.

  2. if you spawn the MVP like this

     

     

    abbey03,0,0,0,0    boss_monster    Beelzebub    1873,1,43200000,600000,1

     

    you will see a tomb right after the MVP die

     

     

    I know the boss_monster. How can i make it to spawn with the boss_monster? As i said i cannot found the MVP bosses for npc/mobs/dungeon/lhz_dun

  3. Is there a new version? It seems that the atcommand.c is already changed. Since i cannot find the
     

    	if( !pc_get_group_level(sd) && DIFF_TICK(gettick(),sd->canlog_tick) < 5000 ) {
    		clif_displaymessage(fd,"@go cannot be issued since you were into battle recently");
    		return -1;
    	}
    

    and the

    if( !pc_get_group_level(sd) && DIFF_TICK(gettick(),sd->canlog_tick) < 5000 ) {
    		clif_displaymessage(fd,"@warp cannot be issued since you were into battle recently");
    		return -1;
    	}
    
  4. Hello. My players was reporting my Broadcaster NPC. They said sometimes its repeating their old message. So the scenario is like this.

     

     

    First broadcast message will be

     

    Hi

     

    Then they use it again by saying

     

    Hello

     

     

    So instead of hello, it was saying hi (the previous message). Im pertaining to one character.

     

    Anyways this is the script i use. (it has a 3 min delay before broadcasting again)

    prontera,187,209,3	script	Broadcaster#1::BC	894,{
    	
    	set @npcname$, "Broadcaster";
    	set @header$,"[^0000ff" + @npcname$ + "^000000]";
    
    	set broadcastfee, 1000000;
    
    	if (agitcheck()){mes @header$; mes "War of Emperium is ongoing!"; close;}
    
    	mes @header$;
    	mes "Hi, I'm the Broadcaster";
    	mes "I can Broadcast a message for you";
    	next;
    	mes @header$;
    	mes "It costs ^ff0000"+ broadcastfee +"^000000 zeny ";
    	next;
    	mes @header$;
    	mes "Would you like to Broadcast?";
    	switch (select("Yes","Nevermind")){
    	case 1:
    		if(Broadcast> gettimetick(2)) {
    		next;
    		mes @header$;
    		mes "Sorry you have to wait for 3 min.";
    		close;
    		}
    		next;
    		mes @header$;
    		if(Zeny<1000000) goto $nozenybc;
    		set Zeny,zeny - broadcastfee;
    		mes "Please input your message.";
    		next;
    		input broadcast$;
    		announce ""+strcharinfo(0)+": "+broadcast$+"",0,0x5AFF00; // Edit 5AFF00 for color code HTML Color Code
    		close2;
    		set Broadcast, gettimetick(2)+180; //Timer 180 = 3 minutes
    		dispbottom "Broadcaster: Please wait for 3min until next broadcast to avoid flooding.";
    		end;
    	case 2:
    		mes "Suit yourself";
    		close;
    }
    
    $nozenybc:
    	mes "I have to check that you have";
    	mes "enough money";
    	next;
    	mes @header$;
    	mes "Im sorry but you dont have ^ff0000"+broadcastfee+"^000000 zeny";
    	mes "Go get it if you want to Broadcast";
    	close;
    }
    
    splendide,194,182,3	duplicate(BC)	Broadcaster#2	894
    

    Please have a look at it.

  5. Hello rathena. I do have a live high rate pk server and my players was abusing the @warp command. Here are some scenarios.

     

    When a player died they can use @warp or @go with the same map and they will be instantly revive but will have 1~2 HP. The other server i played before when the player died they can still use the @warp or @go, they will warp of course but they will remain dead. So they have no choice to click the return to save point.

     

     

    Another thing.

     

    When a player hits another player, the player that got hit can still use the @warp & @go commands. So basically i want to add a delay for like 10 secs when they get hit before warping out again.

     

    Is there a fix for this? Is there a chance push it to the git? So in the future we dont have to edit this settings again.

     

     

    Thanks!

  6. Okay on your clientinfo. You can copy mine.

     

    <?xml version="1.0" encoding="euc-kr" ?>
    <clientinfo>
        <servicetype>america</servicetype>
        <servertype>primary</servertype>
        <connection>
            <display>Your RO</display>
            <desc>Your RO</desc>
            <address>127.0.0.1</address>
            <port>6900</port>
            <version>45</version>
            <langtype>1</langtype>
            <balloon>Your RO</balloon>
            <aid>
    			<admin>2000000</admin>
    
    		<loading>
    			<image>loading00.jpg</image>
    			<image>loading01.jpg</image>
    			<image>loading02.jpg</image>
    			<image>loading03.jpg</image>
    			<image>loading04.jpg</image>
    			<image>loading05.jpg</image>
    			<image>loading06.jpg</image>
    			<image>loading07.jpg</image>
    			<image>loading08.jpg</image>
    			<image>loading09.jpg</image>
    		</loading>
            </aid>
        </connection>
    </clientinfo>
    

    you see there's version 45? 2013-07-08 uses 45.


    Its clearly a client side area. Forget what i said earlier. And listen to this:



    1. Downlaod the latest kRO from here http://ratemyserver.net/index.php?page=download_kROLinks (credits goes to RMS)

    2. Latest Translation from https://github.com/ROClientSide/Translation (Got this link to Pneuma's forum signature) (Credits goes him and to hercules)

    • Upvote 1
  7. Haven't visit their forum, I barely visited this forum too  /whisp

    Too busy with work.. I guess I'll take a look around again

     

    Well to fill you in here's what their item_db format

     

    Hmmm lets say Valkyrie Armor

    {
    	Id: 2357
    	AegisName: "Valkyrie_Armor"
    	Name: "Valkyrian Armor"
    	Type: 5
    	Buy: 0
    	Weight: 2800
    	Def: 6
    	Slots: 1
    	Job: 0xFFFFFFFE
    	Upper: 2
    	Loc: 16
    	EquipLv: 1
    	Script: <"
    		bonus bAllStats,1;
    		bonus bUnbreakableArmor,0;
    		if(BaseClass==Job_Mage||BaseClass==Job_Archer||BaseClass==Job_Acolyte) bonus2 bResEff,Eff_Silence,5000;
    		else if(BaseClass==Job_Swordman||BaseClass==Job_Merchant||BaseClass==Job_Thief) bonus2 bResEff,Eff_Stun,5000;
    	">
    },
    

    While on rathena

    2357,Valkyrie_Armor,Valkyrian Armor,4,0,,2800,,6,,1,0xFFFFFFFE,2,2,16,,1,1,0,{ bonus bAllStats,1; bonus bUnbreakableArmor,0; if(BaseClass==Job_Mage||BaseClass==Job_Archer||BaseClass==Job_Acolyte) bonus2 bResEff,Eff_Silence,5000; else if(BaseClass==Job_Swordman||BaseClass==Job_Merchant||BaseClass==Job_Thief) bonus2 bResEff,Eff_Stun,5000; },{},{}
    

    Maybe you're thinking a WOW innovation from hercules.

     

     

    @topic

    Well anyways i meant this topic in a good way. Hehehe. Or if "some" devs planning to make our item_db like theirs, please do set an option weather to use that kind of format or to use the old one. Hehehe.

     

    item_db.txt <~> item_db.conf

    To my knowledge this isn't on anyone's plate for the foreseeable future.

    Hehe. Im seeing a lot of things lately. My imagination is getting wild. Sorry about that. :)

    • Upvote 1
  8. This is Suggestions thread right? So here it goes.

    You might wanna know that hercules improve their item_db. I would suggest that, do not implement that kind of innovation here in rathena. Let the old db as it is.

    The reason im wring this is because maybe some of the core developers are thinking or have planned to do that in the future. Just dont.

    Thank you.

  9. 1. Group.conf --> This is where you put @commands to normal player (the players will get 0 for their id's)

    2. I really dont know this (Needs more info)

    3. Can't reproduce this. As alt-f4 works fine.

    4.You can play with the settings to trunk\conf\battle\drops.conf (main drop thingy for the server) while trunk\rathena\db\pre-re or re mob_db (to adjust some monster drop)

     

    Let's say poring
     

    1002,PORING,Poring,Poring,1,50,0,2,1,1,7,10,0,5,1,1,1,0,6,30,10,12,1,3,21,0x83,400,1872,672,480,0,0,0,0,0,0,0,909,7000,1202,100,938,400,512,1000,713,1500,512,150,619,20,0,0,0,0,4001,1
    

    the 909 is the jellopy while the 7000 is the rate. (Im not really good at numbers so you have to play with those.

     

    5. Clearly its a clientside error. What client version do you have? (I use 2013 08 07 diff'ed with nemo patcher 2.0 and no problem at all)

    6. Trunk\rathena\conf\char_athena.conf scroll down til you found

    //===================================
    // Pincode system
    //===================================
    // NOTE: Requires client 2011-03-09aragexeRE or newer.
    // A window is opened before you can select your character and you will have to enter a pincode by using only your mouse.
    // Default: yes
    pincode_enabled: yes
    

    Pretty self explanatory right?

     

    7. The delay is set to 24 hours. Well you can change that. Go to Trunk\rathena\conf\char_athena.conf scroll down til you found

    // Amount of time in seconds by which the character deletion is delayed.
    // Default: 86400 (24 hours)
    // NOTE: Requires client 2010-08-03aragexeRE or newer.
    char_del_delay: 86400 
    

    Personally i changed 86400 into 1.


    Additional info from deleting character. Still in char_athena.conf i use the old method which is the email.

    // Restrict character deletion by email address or birthdate.
    // This restricts players from changing the langtype and deleting characters.
    // For birthdate, the client must be 20100803 or newer.
    // 1: Email address
    // 2: Birthdate (default)
    // 3: Email address or Birthdate
    char_del_option: 1
    


    This is my first help. Yay!

    • Upvote 1
  10.  

     

    A way to do this is to open your client in a hex editor and search for: NC_CashShop (or string 4E 43 5F 43 61 73 68 53 68 6F 70)

     

    Replace the values in the string with "00" for each line, so basically the number above^ will become:

    00 00 00 00 00 00 00 00 00 00 00

     

    Be sure to make a backup of your client in case something goes wrong. /ok

    It works! now there's a new problem. The client is looking for a file ".bmp". It is looking for an untitled bmp file. :<

     

     

    Ah right, I forgot that some users don't diff their client with "ignore missing file errors". You'll have to re-diff your client for the above to work without problems, I'm afraid. =l

     

    Or is there a way how to completely remove the cash shop without re diffing your client?

×
×
  • Create New...