Jump to content

Takuyakii

Members
  • Posts

    215
  • Joined

  • Last visited

Posts posted by Takuyakii

  1. 3 hours ago, serjtk said:

    Hey guys,

    I am trying to create the script below that counts the kills depending on the faction that the killer and the victim belong to. It’s actually quite simple and obvious.

    However, I’m not having success with the part where it checks if the players are in the same faction. It seems that the problem lies in killedrid, which is not correctly setting the char_id.

     

     

    -    script    SistemaKillFaccoes    -1,{

    OnPCKillEvent:
        if (strcharinfo(3) != "guild_vs3") { end; }
        set .@killer, getcharid(0);
        set .@killed, killedrid;


        query_sql "SELECT faction FROM `char` WHERE char_id = " + .@killer + ";", .@killer_faction;
        query_sql "SELECT faction FROM `char` WHERE char_id = " + .@killed + ";", .@killed_faction;


        if (.@killer_faction == .@killed_faction) {
            query_sql "UPDATE faction_kills SET mortes = mortes - 2 WHERE faction_id = " + .@killer_faction + ";";
            dispbottom "--- Você matou um membro da própria Facção [-2 pontos] -----";
            end; 
        }


        if (.@killer_faction == 1 || .@killer_faction == 2) {
            query_sql "UPDATE faction_kills SET mortes = mortes + 1 WHERE faction_id = " + .@killer_faction + ";";
            dispbottom "----- Você eliminou um membro da Facção inimiga [+1 ponto] -----";
        }

        end;
    }

  2. 13 hours ago, Reloadscript said:

    Why is it so hard to understand?

    I mean, everyone has to play according to the storyline. If you go and change the positions from the original storyline, who would know where to go? Every quest and every episode has a specific storyline detailing where to go. If you suddenly change the location, how would anyone know?

    Players follow the quest's storyline, don’t you get it? It’s not something that can just be randomly changed.

     

    That's why I gave an example of this quest. Players have to follow the storyline, and if you create a new city or map, how will they know where to go? How will they continue playing?

    Everything is tied to the storyline. Each website even has guides for players to follow the story. If you change the locations, it disrupts both the story and the gameplay flow.

     

    Ex. Quest Illusion of Under Water 

    After talk main NPC then go to Prontera in library how to go?

     

    Why is it so hard to understand? if you purchase the map it's your responsibility to make it work or adjust to your quest/warp etc.
     

  3. On 6/24/2024 at 7:54 PM, Kater said:

    I don't know what to comment if it didn't help or anything.
    If I open the forum it's because I couldn't find it, if you said there are several because you didn't put the link or the keyword to search.

    try to use google, i have no time for now to search it im using phone. don't be spoon feed 

  4. Hello guys can i request for a Reset npc
    For the first 3 reset is free.

    After that you should have to pay zeny.

    Thank you in advance.

     

    //===== rAthena Script =======================================
    //= Reset NPC
    //===== Description: =========================================
    //= Resets skills, stats, or both.
    //===== Additional Comments: =================================
    //= 1.0 First Version
    //= 1.1 Optimized for the greater good. [Kisuka]
    //= 1.2 Cleaning [Euphy]
    //= 1.3 All statuses removed upon skill reset. [Euphy]
    //= 1.4 Compressed Script, Added limit use option [Stolao]
    //=	Changed set -> setarray, Improved text with F_InsertPlural
    //= 1.5 Added sc_end_class to reset related status changes [sader1992]
    //============================================================
    prontera,150,193,4	script	Reset Girl	124,{
    	//	 		Skills,	Stats,	Both,	Limit
    	setarray .@Reset,	5000,	5000,	9000,	0;
    	mes "[Reset Girl]";
    	if(.@Reset[3] && reset_limit > .@Reset[3]) {
    		mes "Sorry you can only reset "+callfunc("F_InsertPlural",.@Reset[3],"time")+" in your life.";
    		close;
    	}
    	mes "I am the Reset Girl.";
    	mes "Reset Stats: "+ callfunc("F_InsertComma",.@Reset[1]) +"z";
    	mes "Reset Skills: "+ callfunc("F_InsertComma",.@Reset[0]) +"z";
    	mes "Reset Both: "+ callfunc("F_InsertComma",.@Reset[2]) +"z";
    	if(.@Reset[3]) mes "You may only reset "+callfunc("F_InsertPlural",.@Reset[3],"time")+", so use "+((.@Reset[3]>1)?"them":"it")+" wisely.";
    	mes "Please select the service you want:";
    	next;
    	set .@i,(select("^FF3355Reset Skills:Reset Stats:Reset Both^000000:Cancel"));
    	if(.@i > 3) close;
    	mes "[Reset Girl]";
    	if (Zeny < .@Reset[.@i-1]) {
    		mes "Sorry, you don't have enough Zeny.";
    		close;
    	}
    	if(.@Reset[3]){
    		mes "You can only reset "+callfunc("F_InsertPlural",.@Reset[3],"time")+" in your life, are you sure?";
    		if(select("Let me think:That's fine") == 1) close;
    	}
    	set Zeny, Zeny-.@Reset[.@i-1];
    	if(.@i&1){
    		sc_end_class;
    		ResetSkill;
    	}
    	if(.@i&2) ResetStatus;
    	mes "There you go!";
    	if(.@Reset[3]) set reset_limit,reset_limit + 1;
    	close;
    }

     

  5. Hello can someone help me to make this

    what i want to happen is waiting room on npc

    but it will fetch or get the 

    /* Time Events */
    /* On<weekday><hour><minute>: */
    OnWhisperGlobal:
    OnSun1200:
    OnMon1200:
    OnTue1200:
    OnWed2233:
    OnThu1200:
    OnFri1200:
    OnSat1200:



    for example in waiting room

    Example today is Wednesday
    it will get the time for Thursday

    Activate in (TIME)

  6. function viewid {
        function md {
            while(1) {
                set .@zt,.@zt+1;	
                if(.@zt&13) sleep2(1);
                if(strmobinfo(3,set(.@t,rand(1001,1323)))) break;
            }
            return .@t;
        }
        set .@t,md();
    
        for(set .@i,0;.@i<30;set .@i,.@i+1)
            if(.@t==.viewid[.@i]||.@t==1285||.@t==1286||.@t==1287||.@t==1288) {
                set .@t,md();
                set .@i,-1;
            }
        return .@t;
    }
    
    function gviewid {
        set .@n,getarraysize(.viewid);
        while(1) {
            set .@zt,.@zt+1;
            if(.@zt&13) sleep2(1);
            if(set(.@u,.viewid[set(.@t,rand(.@n))])) break;
        }
    
        for(;.@t<.@n;set .@t,.@t+1)
            set .viewid[.@t],.viewid[.@t+1];
        return .@u;
    }

     

  7. 4 hours ago, Alexandrite said:

    there used to be accurated amount of monster spawn file in the past from my knowledge

    but after 10-15 years pass most of file all vanish, and what left is most likely the monster spawn that i found it most likely get edit on the monster spawn amount so i don't sure if the amount is true anymore

    //mag_dun01
    mag_dun01.gat,0,0,0,0    monster    Explosion    1383,10,0,0,0
    mag_dun01.gat,0,0,0,0    monster    Blazer    1367,10,0,0,0
    mag_dun01.gat,0,0,0,0    monster    Diabolic    1382,10,0,0,0
    mag_dun01.gat,0,0,0,0    monster    Grizzly    1381,5,0,0,0
    mag_dun01.gat,0,0,0,0    monster    Lava Golem    1366,3,0,0,0
    mag_dun01.gat,0,0,0,0    monster    Kaho    1072,10,0,0,0

    //mag_dun02 
    mag_dun02.gat,0,0,0,0    monster    Gig    1387,10,0,0,0
    mag_dun02.gat,0,0,0,0    monster    Blazer    1367,10,0,0,0
    mag_dun02.gat,0,0,0,0    monster    Diabolic    1382,10,0,0,0
    mag_dun02.gat,0,0,0,0    monster    Nightmare Terror    1379,3,0,0,0
    mag_dun02.gat,0,0,0,0    monster    Sky Deleter    1384,5,0,0,0
    mag_dun02.gat,0,0,0,0    monster    Earth Deleter    1385,5,0,0,0
    mag_dun02.gat,0,0,0,0    monster    Kaho    1072,10,0,0,0

  8. 1 hour ago, dalubhasa333 said:

    Hi.

     

    Maybe someone can lead me to fix issue.

    I changed the settings from renewal to prerenewal commenting #define prere my ragnarok client getting an error

    image.png.0e17cae3df85bf8581f1f63dfd76dad8.png

    when i change it back to renewal it works fine, i would like to run my server in prerenewal.

     

    Thanks

    set your PACKETVER /CLIENT DATE then recompile.

  9. 17 hours ago, Sidy said:

    Hello everyone, good?

    I want to change color view item, someone knows? I searched here and net but I didn't find.

    I want, for example, change that purple, to white. Where I can? Tks !! xD

    screenRagnaYumi009.png

    contact @Functor

  10. On 2/23/2023 at 8:08 PM, lelouchxv said:

    All items is gone and it went 0/0 but on sql it still have items can someone help me pls. Thanks in advance

    qwe.jpg

    have u fix this? im getting this too.

  11. On 5/21/2023 at 1:03 AM, xeijvro said:

    Sorry if i dont know if im at the right or wrong section of the forum but this is the bug sometimes the gstorage suddenly becomes 0/0 

     

    This bug happened after i enable vip system. i try to disable vip system in core.hpp but there is error shown on recompiling after i put comment on

     /// Uncomment to enable VIP system.

    //#define VIP_ENABLE

     

    Can someone help me ?  Its really frustrating because in able to fix this they need to break guild and create a new guild all bounded items are left in gstorage ?

    bug.png

    have u fix this? im getting this too.

     

    On 6/2/2023 at 9:44 PM, xeijvro said:

    Still bugged idk what happened 

    i already fixed this by recompiling. 

  12. 15 hours ago, Philo said:

    Hi,

    I can't locate this error in server side. Hope you guys can give me a hint which foldedr/file is this. And also, is this the reason why the server keeps on disconnecing? I never see any error apart from this self debugging. 

    image.png

    check your all custom quest, that have 300.

  13. 2 hours ago, lelouchxv said:

    R> Can someone show me or teach me where to edit Flying Side kick Stargladiator or Taekwon Skill

    because i want it not debuffing any positive buffs> or not go through GTB

    	case TK_JUMPKICK:
    		// debuff the following statuses
    		if( dstsd && dstsd->class_ != MAPID_SOUL_LINKER && !tsc->getSCE(SC_PRESERVE) ) {
    			status_change_end(bl, SC_SPIRIT);
    			status_change_end(bl, SC_ADRENALINE2);
    			status_change_end(bl, SC_KAITE);
    			status_change_end(bl, SC_KAAHI);
    			status_change_end(bl, SC_ONEHAND);
    			status_change_end(bl, SC_ASPDPOTION2);
    			// New soul links confirmed to not dispell with this skill
    			// but thats likely a bug since soul links can't stack and
    			// soul cutter skill works on them. So ill add this here for now. [Rytech]
    			status_change_end(bl, SC_SOULGOLEM);
    			status_change_end(bl, SC_SOULSHADOW);
    			status_change_end(bl, SC_SOULFALCON);
    			status_change_end(bl, SC_SOULFAIRY);
    		}
    		break;

    skill.cpp
    remove this

    • Love 1
  14. Good Day rA,

    i dont' know if this is the right question or section to post this. please move this to right section ty

    just want to ask is this Sprite edit? or client modification? etc.

    the text above of npc,

    i know showscript but i think its not.

    unknown.png

  15. 3 hours ago, CyanZoldyck said:

    Heya! Just wondering if somebody knows how to reduce the SP being drained on enemies of Pressure/Gloria Domini skill? I would like to make it 5% SP drained per hit. Thanks a bunch!

    skill.cpp
    change 

    	case PA_PRESSURE:
    		status_percent_damage(src, bl, 0, 15+5*skill_lv, false);


    to:
     

    	case PA_PRESSURE:
    		status_percent_damage(src, bl, 0, 1+5, false);

     

  16. 27 minutes ago, iFox said:

    good day guys.  I would like to ask how to fixed this issue on dota 2 pvp ladder  by Annieruru.

    Thank you so much.
    errro1123.thumb.png.5e48f39d81fda7585f366db709a4aa23.pngdotapvpladder.txt

    changed
    
            if (.msg_die)
                message .@victimaid, "You have been killed by "+ .@killername$;
            if (.msg_kill)
                message .@killeraid, "You just killed "+ .@victimname$;
    
    to
    
    
            if (.msg_die)
                message .@victimname$, "You have been killed by "+ .@killername$;
            if (.msg_kill)
                message .@killername$, "You just killed "+ .@victimname$;

     

    dotapvpladder.txt

  17. 26 minutes ago, iFox said:

    Good day guys. Sorry if I'm in a wrong section. I would like to ask how to fixed or find this error? Thank you so much for your reply.

    error123.png

    go to the npc/mobs/ and look for the pvp.txt i think u missing those files or deleted

    • Upvote 1
  18. 20 minutes ago, nicolasdemartini said:

    good night how can I do so that the peco peco pegue nomal hits very fast

    mob_db.txt

    1019,PECOPECO,Peco Peco,Peco Peco,19,531,0,159,72,1,50,64,0,0,1,13,13,25,27,9,10,12,2,2,23,0x1089,200,0,0,576,0,0,0,0,0,0,0,925,9000,2402,20,508,200,507,900,1604,100,0,0,582,1000,0,0,0,0,4031,1
     

    unknown.png

    1019,PECOPECO,Peco Peco,Peco Peco,19,531,0,159,72,1,50,64,0,0,1,13,13,25,27,9,10,12,2,2,23,0x1089,200,0,0,576,0,0,0,0,0,0,0,925,9000,2402,20,508,200,507,900,1604,100,0,0,582,1000,0,0,0,0,4031,1

    @reloadmobdb

×
×
  • Create New...