Jump to content

Feilor

Members
  • Posts

    135
  • Joined

  • Last visited

  • Days Won

    1

Community Answers

  1. Feilor's post in equipment tab functions was marked as the answer   
    Looks like the admin of the forum prefer to warn people than help them, but to those want to know i found it on pc.c the function is 
    bool pc_equipitem(struct map_session_data *sd,short n,int req_pos)  
  2. Feilor's post in Random Option for Vicious Weapons was marked as the answer   
    Well, to make the official way it's get hard, but you can do it as NPC way, players drop the weapon and go to a NPC to get the options, it's a better way since you need only to create group 1, 2 and 3 and in the npc make it random
  3. Feilor's post in Problem with droped itens in 2017-06-14bRagexeRE was marked as the answer   
    I solved this problem using system folder from this git:
    https://github.com/zackdreaver/ROenglishRE
  4. Feilor's post in R> Brian script | statpointcount.txt was marked as the answer   
    I alredy found it and uploaded it to the community https://rathena.org/board/files/file/3600-brian-scripts/
  5. Feilor's post in mapflags on sec_in was marked as the answer   
    To ppl want to know that, the damnt mapflags are on:
    npc/custom/etc/penal_servitude.txt
  6. Feilor's post in bindatcomand with switch was marked as the answer   
    Thanks to show me this option will be usefull
     
     
    I made alot of changes on the script hahaha I will show it to you soon, including the progressbar
     
     
    @Community
    I got answer for all my questions here they are:
     
     
     
    I did this to solve the problem:
    OnInit: bindatcmd("tokens" ,"TokensFunc::OnTokens",0,99); end; OnTokens: @opcao = atoi(.@atcmd_parameters$[0]); @desc = atoi(.@atcmd_parameters$[1]); if(.@atcmd_parameters$[0] == "entrar") @opcao = 1; if(.@atcmd_parameters$[0] == "info") @opcao = 2; if(.@atcmd_parameters$[0] == "trocar") @opcao = 3; if(.@atcmd_parameters$[0] == "sair") @opcao = 4; switch(@opcao){ case 1: "script" end; FYI:  dont use "case 0:" because the .@atcmd_parameters$[0] always come as 0 (idk why but it is okay)
     
     
     
     
    @Kurofly helped me with this and teach me this:
    - script pvpexit -1,{ OnInit: .TimeToExit = 5; //amount of time before exiting (in seconds) bindatcmd "exit",strnpcinfo(0)+"::OnExit"; end; OnExit: dispbottom "You will exit the map after "+.TimeToExit+" seconds if you're not hurt."; @prev_hp = Hp; addtimer 100,strnpcinfo(0)+"::OnTimer"; end; OnTimer: @exittimer++; if (Hp < @prev_hp) { dispbottom "You've been hit! exitting cancel..." ; end; } @prev_hp = Hp; if (@exittimer >= .TimeToExit*10) { @exittimer = 0 ; warp getsavepoint(0),getsavepoint(1),getsavepoint(2) ; end; } addtimer 100,strnpcinfo(0)+"::OnTimer"; }
  7. Feilor's post in 2013 client error (interesting) was marked as the answer   
    Solved it deleting and downloading NEMO again (idk why)
×
×
  • Create New...