CDER

Members
  • Content Count

    34
  • Joined

  • Last visited

About CDER

  • Rank
    Advanced Member

Profile Information

  • Github
    CDER

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hello guys, I need help with a script, would be a survival system, to open more customization in ragnarok, I would like to remind you that I am Brazilian, so the script exists sets in Portuguese, but bullshit like "hunger, thirst, sleep , weapon and armor durability " Script Survival this is a npc I used to create a system, if hungry, thirsty, sleep is at 0 he would take the player to prison, the problem is that he even takes my character to prison, but I don't know how I can make the player start with 80's hunger, thirst, sleep, and he ends up being taken to prison after the programming detects that he is at 0, and even in the menu npc I created when using the @menu all status command is at 0. .. below is the menu script Script Menu - Can anyone help me assign 80 hunger, thirst, sleep to the player creating the character?
  2. CDER

    Function Survival

    It would be a system of hunger, thirst, sleep ... If it arrives in a value less than 1, of the following commands like, delchar, breakequip, it is very visible until .., in my case every 18 minutes, would consume -1 hunger, thirst and -4 sleep, the durability of arms would care in the future, ie instead of spending -1 with time, would be spent through attacks, I was told that I need to move in the sql, while others insist on saying that my function has no logic whatsoever, which is funny, even because I know of my failures ...
  3. CDER

    Function Survival

    Hi guys, I have a very big and expansive project. First of all I'm Brazilian the script was not 100% translated, interpreted dubarma as "durabilityweapon" and dubarmor as "durabilityarmor" 1-Doubts: I do not know all the doc commands yet, so this is not quite complete function. 2-Npcs function: I added npcs to the outside of the function, and I used the "callfunc" command in the npc to call the function, these npcs would be bed, durability repairer, and in the future would initiate the same "callfunc" 1 hunger, thirst. 3-Error !!! When creating my menu npc, to view the statuses, only everything appears in 0, as if the function had not responded. 4- Menu command I used bindatcmd to when using the @ menu command, I would view your information. And I used the * menu, and even created a labbel for him. scriptlabbel: menu1: [email protected] $; mes "[Hunger]:"[email protected]; month "[Headquarters]:"[email protected]; mes "[Sleep]:"[email protected]; month "[DubArma]:"[email protected]; mes "[DubArmor]:"[email protected]; close; end; 5- function script function script Sobrevivencia { getcharid(0); if (getcharid(0)){ [email protected] = 100; [email protected] = 100; [email protected] = 100; [email protected] = 100; [email protected] = 100; setd("[email protected]", 100); setd("[email protected]", 100); setd("[email protected]", 100); setd("[email protected]", 100); setd("[email protected]", 100); getd("[email protected]"); getd("[email protected]"); getd("[email protected]"); getd(".dubarma"); getd("[email protected]"); end; } else{ if ([email protected] <= 1){ delchar([email protected], 0); end; } } if ([email protected] <= 1){ delchar([email protected], 0); end; } if ([email protected] <= 1){ delchar([email protected], 0); end; } if ([email protected] <= 31){ sleep(30000); sleep2(30000); end; } if ([email protected] <= 1){ @breakweapon; end; } if ([email protected] <= 1){ @breakarmor; end; } attachnpctimer("strcharinfo(0)") initnpctimer(strcharinfo(0)); OnTimer1080000: [email protected] = -1; [email protected] = -1; [email protected] = -4; end; }
  4. help-me, error runserver - npcghouse error: line 5, parse_callfunc: not enough arguments, expected... não consigo entender, por que da esse erro... prontera,150,150,5 script Casa de Guild 804,{ set @nome,"[G-house]"; set @itemid,"502"; set @itemqtd,"5"; set slot; set gdonahouse1,"[Guild]: == strcharinfo(2)"; set gdonahouse2,"[Guild]: != strcharinfo(2)"; set gmasterhouse1,"[Lider]: == strcharinfo(0)"; set gmasterhouse2,"[Lider]: != strcharinfo(0)"; set .mapa,"prontera"; // nome do mapa onde será teleportado set .coordX,175; // coordenada X do mapa que será teleportado set .coordY,170; // coordenada Y do mapa que será teleportado slot; mes @nome; if (slot){ mes "Deseja comprar nossos serviços ?, Custo:@itemqtd Moedas" next; end; switch(select("Sim!:Não!")){ case 1: if (getcharid(2) && getcharid(0) && getguildmaster(<getcharid(2))){ if (countitem(.idItem) == .qntdIdItem) { mes @nome; mes "Bem vinda:strcharinfo(2)"; close2; delitem @itemid,@itemqtd; getguildname(<getcharid(2)>); instance_create("<ghouse>"{,<IM_GUILD>{,<2>}}); slot+1; gdonahouse1; gmasterhouse1; break; end; } else { mes @nome; mes "Você não tem @itemqtd moedas, "; close; break; end; } } else { mes [email protected]$; mes "Apenas guildmasters pode comprar casas!"; close; break; end; } case 2: mes @nome; mes "Ok!"; close; break; end; } } else { if (slot+1 && getguildname(<getcharid(2)>) != getguildname(<getcharid(2)>)){ mes nome; mes gdonahouse2; mes gmasterhouse2; mes "Já pertence a uma guild!"; close; end; else { if (slot+1 && getguildname(<getcharid(2)>)){ mes nome; mes gdonahouse1; mes gmasterhouse1; mes "Olá strcharinfo(0), Deseja entrar?"; next; switch(select("Sim!:Não!")){ case 1: mes @nome; mes "OK!"; close2; warp .mapa,.coordX,.coordX; break; end; case 2: mes @nome; mes "OK!"; close; break; end; } } } } } }
  5. CDER

    Check_NameGuild

    @thpereira você consegue? não conseguir ainda... chega discord ou pv, CDER#8973
  6. I would like to know where is the command that enables the class of the assassin to use a weapon in each hand The intention is for an armature to enable my custom class to use 2 daggers / sword / one-handed ax Ex: 2357, Valkyrie_Armor, Valkyrian Armor, 4.0,, 2800,, 6,, 1.0xFFFFFFFE, 2,2,16,, 1,1,0, {enable_two_weapons; }, {}, {}
  7. CDER

    2 armas

    Galera gostaria de saber aonde se encontra o comando que habilita pra classe do assasino usar uma arma em cada mão A idea é por pra uma armadura habilitar a minha classe custom usar 2 adagas/espada/machado de uma mão Ex: 2357,Valkyrie_Armor,Valkyrian Armor,4,0,,2800,,6,,1,0xFFFFFFFE,2,2,16,,1,1,0,{ enable_two_weapons; },{},{}
  8. CDER

    Armadura

    Alguem poderia me informa como consigo por pra ao usar uma armadura, exibir uma sprite no visual do char ?, exp: eu so um novice e quero com que quando eu use uma armadura, mude pra sprite de assasin cross...
  9. Como faço pra meu cliente ler a act/spr do monstro custom, ex: nas scripts da luafile/datainfo, amostra as scripts e os id dos monstros, mas eu quero por um monstro com act/spr, já esta na minha pasta data a act/spr, só nn sei como faço pra script ler a act/spr custom
  10. CDER

    Sistema pk

    @Juan Meissner imitar um server onde apenas burgues tem condições, nunca foi minha motivação, ridiculo...
  11. CDER

    Fogueira

    mas essa fogueira é daqui do forum tambem, mas o tutorial daqui ta mais avançado, vou ler...
  12. CDER

    Fogueira

    Bom galera novamente eu aqui, estou usando o rathena por hora, e estou com uma duvida https://rathena.org/board/files/file/3913-campfire/ quero colocar esse script no meu serve, mas mesmo ele falando como que usa na area de download, ele deixou bem resumido, gostaria de saberaonde devo por a script dessa fogueira no meu emulador...
  13. CDER

    Sistema pk

    @JulioCF kkk já estava pensando nisso
  14. CDER

    Sistema pk

    @M4karov obrigado...
  15. CDER

    Sistema pk

    kkkkkk meu deus, eu coloco o endereço da sprite aonde ? voce falou bonito, só não explicou como é que esse comando piqueno, vai fazer todo esse processo..., as sprites já estão criadas... @M4karov