Jump to content

ZelosAvalon

Members
  • Posts

    181
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by ZelosAvalon

  1. 14 minutes ago, TARTs said:

    npc > script_custom.conf

    // -- Warper that works only after locations are unlocked
    //npc: npc/custom/etc/quest_warper.txt

    yes i know this one, but i would like to know how it work, i dont understand nothing in this npc, I would like something simpler, and in quest_warper you need to talk to the NPC on the map, what I want to do you just need to get on the map.

    I tried to modify this one ( npc: npc/custom/etc/quest_warper.txt) ,but I had many errors!

     

  2. I would like an NPC to teleport me to a map just after I have arrived at the map, for example:

    The game starts in Izlude, so as soon as I get off the ship and get into Izlude it will be unlocked on my Teleport NPC (in the Towns tab), as soon as I leave Izlude to prt_field08 that map will be added to the NPC (in the Fields tab > Prontera),  if tell me the way I can add all the other maps and cities i will finish this NPC and share this here, I just need to know how to get them added to the menu as soon as I get into the map.

    PS: if I have not arrived on the map it will not appear in the menu, like in the NPC Wapra

    the main menu should contain the following submenus:
    menu "
    Last Warp ^ 777777 [" + lastwarp $ + "] ^ 000000", -,
         "~ Towns", Towns,
         "~ Fields, Fields,
         "~ Dungeons, Dungeons,
         "~ Guild Castles", Castles,
         "~ Guild Dungeons", Guild_Dungeons,
         "
    ~ Instances", Instances,
         "
    ~ Special Areas", Special;

    based on NPC Warper

     

    best regards, ZelosAvalon

  3. So here I am away for health reasons, enter the discord: https://discord.gg/aGRAAqM

     

    On 4/22/2018 at 9:31 PM, DarkSilux said:

    Great idea! Too bad Zelos is missing.

    sumi not to here goes to the discord link ai https://discord.gg/aGRAAqM

     

    On 4/22/2018 at 4:07 PM, joao said:

    Fluent English and interested in helping with personal project. What do you think about creating a discord for communication?

    enter in our discord the people who are translating it is all there! https://discord.gg/aGRAAqM

  4. On 03/02/2018 at 5:05 PM, hannicaldummy said:

    Cara, eu penso o mesmo, há tempos eu venho traduzindo a interface do jogo e o iteminfo kkkkkkkkkkkk

     

    Vou te mandar PM assim que voltar de viagem lá pro dia 10-15 e pode contar comigo nessa equipe de tradução!

     

    Já possuo o item_db e o mob_db 100% pt-br que traduzi há umas duas semanas :)

    você já entrou no projeto ?

  5. On 21/03/2018 at 2:55 PM, Skorm said:

    @ZelosAvalon I updated my previous post. This isn't the entire event though. It's just a way of collecting 10 different players in a list and then warping them in groups of two to different maps. You'll have to figure out the rest unless someone else wants to spend the time building you an event.

    tyvm <3

     

  6. 19 hours ago, Skorm said:

    I don't really have a lot of time to code it all out or whatever... Or even test but this is a quick example I came up with.
     

    
    -	script	Example	100,{
    	.@len = getarraysize(.waiting_list$);
    	if( !.init && !compare("|"+implode(.waiting_list$,"|")+"|", "|"+getcharid(0)+"|") ) {
    		.waiting_list$[.@len] = ""+getcharid(0);
    		npctalk ++.@len + "";
    		if( .@len == 10 ) {
    			.init = 1;
    		
    			.@map_len = getarraysize(.maps$);
    			copyarray .@maps$,.maps$,.@map_len;
    			copyarray .@cordx,.cordx,.@map_len;
    			copyarray .@cordy,.cordy,.@map_len;
    			
    			while( .@len ) {
    				.@rng = rand(.@len);
    				.@map_rng = .@rng % .@map_len;
    				.@map$ = .@maps$[ .@map_rng ];
    				.@x = .@cordx[ .@map_rng ];
    				.@y = .@cordy[ .@map_rng ];
    				
    				warp .@map$,.@x,.@y,atoi(.waiting_list$[.@rng]);
    				deletearray .waiting_list$[.@rng], 1;
    				
    				.@rng = rand(--.@len);
    				warp .@map$,.@x,.@y,atoi(.waiting_list$[.@rng]);
    				deletearray .waiting_list$[.@rng], 1;
    				
    				deletearray .@maps$[ .@map_rng ], 1;
    				deletearray .@cordx[ .@map_rng ], 1;
    				deletearray .@cordy[ .@map_rng ], 1;
    				
    				.@map_len--;
    				.@len--;
    			}
    			.init = 0;
    		}
    	}
    	end;
    	
    	OnInit:
    		setarray .maps$, "prontera", "izlude", "geffen", "comodo", "amatsu";
    		setarray .cordx, 10, 100, 50, 20, 40;
    		setarray .cordy, 10, 100, 50, 20, 40;
    }

     

    I know you are a busy man, but if have any time could you check this error for me ? image.png.56b9af87207a94edf2b312e88f7c1c0c.png

    thanks anyway,

    best regards ZelosAvalon

  7. how can I create an NPC with an option to register 10 players, this option registers the player to participate in the draw.
    the draw will choose a random dual among those 10 players, and will teleport to separated maps.
    each dual will go to a different map where the event will start.

  8. can some one help me with this script ?

    Spoiler

    prt_in,290,137,6    script    Tradutor    768,{

    /* Use this SQL table
    CREATE TABLE IF NOT EXISTS `acc_lang` (
      `id` INT(11) UNSIGNED NOT NULL DEFAULT '0',
      `name` VARCHAR(30) NOT NULL DEFAULT '',
      `language` INT(11) UNSIGNED NOT NULL DEFAULT '0',
      PRIMARY KEY (`id`)
    ) ENGINE=MyISAM;
    */

        mes "[Tradutor]";
        mes "Eu sou o Tradutor!";
        mes "I'm the Translator!";
        next;
        mes "Escolha sua linguagem:";
        mes "Choose your language:";
        switch(select("Português Brazil:English")) {
            case 1:
                query_sql "SELECT `language` FROM `acc_lang` WHERE `id` = '"+getcharid(0)+"'", .@language;
                if (.@language = 2)
                    {
                        mes "Sorry, you already have the active English language!";
                        close;
                    }
                else
                    {
                        query_sql "UPDATE `acc_lang` SET `language` = '2' WHERE `id` = '"+getcharid(0)+"'";
                        mes "Ready, active english language!";
                        close;
                    }
            case 2:
                query_sql "SELECT `language` FROM `acc_lang` WHERE `id` = '"+getcharid(0)+"'", .@language;
                if (.@language = 2)
                    {
                        mes "Sorry, you already have the active English language!";
                        close;
                    }
                else
                    {
                        query_sql "UPDATE `acc_lang` SET `language` = '2' WHERE `id` = '"+getcharid(0)+"'";
                        mes "Ready, active english language!";
                        close;
                    }
                
        }

    }
    prt_in,282,138,6    script    Teste    768,{

        query_sql "SELECT `language` FROM `acc_lang` WHERE `id` = '"+getcharid(0)+"'", .@language;
        if (.@language = 1){
            // if language English - language = 1
            mes "[Teste]";
            mes "Welcome ^3355FF"+strcharinfo(0)+"^000000";
            close;
        }
        else
        {
            //if language Português Brazil - language = 2
            mes "[Teste]";
            mes "Bem vindo ^3355FF"+strcharinfo(0)+"^000000";
            close;
        }
    }

     

  9. On 03/02/2018 at 5:05 PM, hannicaldummy said:

    Cara, eu penso o mesmo, há tempos eu venho traduzindo a interface do jogo e o iteminfo kkkkkkkkkkkk

     

    Vou te mandar PM assim que voltar de viagem lá pro dia 10-15 e pode contar comigo nessa equipe de tradução!

     

    Já possuo o item_db e o mob_db 100% pt-br que traduzi há umas duas semanas :)

    UP! Projeto já está em andamento aqueles que quiserem participar entrem em contato comigo!

    • Upvote 1
  10. 6 hours ago, BrOgBr said:

    Use the last iteminfo from kRO.

    The iteminfo now has a new structure, like this:

    
    [19308] = {
    unidentifiedDisplayName = "¸ðÀÚ",
    unidentifiedResourceName = "ĸ",
    unidentifiedDescriptionName = {"°¨Á¤µÇÁö ¾ÊÀ½. [µ¸º¸±â] ¸¦ »ç¿ëÇÏ¿© °¨Á¤ÇÒ ¼ö ÀÖ´Ù."},
    identifiedDisplayName = "¾Æ¹Ì½ºÆ®¸£ º£·¹¸ð",
    identifiedResourceName = "¾Æ¹Ì½ºÆ®¸£º£·¹¸ð",
    identifiedDescriptionName = {
    	"¾Æ¹Ì½ºÆ®¸£ÀÇ ±Í¸¦ º»µû ¸¸µç º£·¹¸ð. ",
    	"2Á¦·Ã ´ç, MATK + 10, ATK + 10. ",
    	"7Á¦·Ã ½Ã, º¯µ¿ ij½ºÆà 10% °¨¼Ò. ",
    	"9Á¦·Ã ½Ã, ¹«¼Ó¼º, ¼º¼Ó¼º ¸¶¹ý °ø°Ý·Â 10% Áõ°¡. ",
    	"11Á¦·Ã ½Ã, MATK + 3%, ATK + 5% ",
    	"10Á¦·Ã ÃÊ°ú ½Ã, 1Á¦·Ã ´ç °íÁ¤ ij½ºÆà 0.1ÃÊ °¨¼Ò.(ÃÖ´ë 15Á¦·Ã±îÁö Àû¿ë)",
    	"",
    	"Ȧ¸®½ºÆ½°ú ÇÔ²² ÀåÂø ½Ã, ¹«±â 2Á¦·Ã ´ç MATK + 10, ¾Æµµ¶ó¹«½º µ¥¹ÌÁö 30% ¾¿ Áõ°¡. ",
    	"½Å¹¦ÇÑ °­¾ÆÁöÇ® ÁöÆÎÀÌ¿Í ÇÔ²² ÀåÂø ½Ã, ¹«±â 2Á¦·Ã ´ç ¹«¼Ó¼º ¸¶¹ý °ø°Ý·Â 5% ¾¿ Áõ°¡. ",
    	"³ªÈåÆ®Áö°ÅÀÇ Æ®À©¿§Áö(B)¿Í ÇÔ²² ÀåÂø ½Ã, ¹«±â 2Á¦·Ã ´ç Ä«Æ® ij³íÀÇ µ¥¹ÌÁö 10%¾¿ Áõ°¡. ",
    	"°è¿­ : ^777777Åõ±¸^000000 ¹æ¾î : ^77777715^000000",
    	"À§Ä¡ : ^777777»ó´Ü ^000000¹«°Ô : ^77777720^000000",
    	"¿ä±¸ ·¹º§ : ^7777771^000000", "ÀåÂø : ^777777Àü Á÷¾÷^000000"
    }, 
    	slotCount = 1,
    	ClassNum = 1294,
    	costume = false
    }, 

     

    i use iteminfo from here: https://github.com/Asheraf/Translation I don't understand what's causing this error! it's already with the new iteminfo structure, could you help me?

×
×
  • Create New...