Jump to content

edumander1

Members
  • Posts

    12
  • Joined

  • Last visited

Posts posted by edumander1

  1. I'm trying to use a ring that change to 4th skin, 3rd already works but 4th doesn't.

    My hexed is 2022-04-06_Ragexe_1648707856

    This my item_db

    Quote
      - Id: 30005
        AegisName: 4th_Job_Suit
        Name: 4th Job Suit
        Type: Shadowgear
        Locations:
          Shadow_Left_Accessory: true
        ArmorLevel: 1
        EquipLevelMin: 1
        Script: 'changebase roclass(eaclass()|EAJL_FOURTH);'
        UnEquipScript: 'changebase Class;'

     

  2. I'm trying to add a chatroom in an invisible to stay "inside" the portal

    I already tried with FAKE_NPC and -1

    Quote
    1@eom, 101,194,5    script  PvP Room    FAKE_NPC,{
        end;
        OnInit:
        waitingroom "PvP Room", 0;
        end;
    }

    and this is my full script:

    Quote
    1@eom, 101,194,0    warp    PvP Room    1,1,pay_dun04,0,0
     
    pay_dun04, 60,181,0 warp    random_1    1,1,pay_dun04, 0,0,0
    pay_dun04, 202,206,0    warp    random_2    1,1,pay_dun04, 0,0,0
    pay_dun04, 191,41,0 warp    random_3    1,1,pay_dun04, 0,0,0
    pay_dun04, 40,37,0  warp    random_4    1,1,pay_dun04, 0,0,0
     
    -   script  item_get    -1,{
        OnPCKillEvent:
            .@DelayPvP = (5 * 60);  // in seconds
     
            if( getmapflag(strcharinfo(3), mf_pvp)) {
                if (PrevKilled == killedrid && @PVPTIMER > gettimetick(2)) {
                   
                    dispbottom "You can't win points from same player twice in a roll for " + (@PVPTIMER - gettimetick(2)) + " seconds";
                } else {
                    getitem 674, 1;
                }
     
                if (.@DelayPvP) @PVPTIMER = gettimetick(2) + .@DelayPvP;
                PrevKilled = killedrid;
            }  
    }
     
    -   script  announcer   -1,{
        OnPCLoadMapEvent:
            if(getgmlevel() < 99) {
                announce "[ " + strcharinfo(0) + " ] Entered the PvP Room.", bc_all, 0x76EE00;
            }  
    }
     
    -   script  sum_mvp -1,{
     
        onInit:
            setarray .mvps, 1038,1039,1046,1059,1086,1087,1112,1115,1147,1150,1157,1159,1190,1251,1252,1272,1312,1373,1389,1418,1492,1511,1583,1623,1630,1646,1647,1648,1649,1650,1651,1658,1685,1688,1708,1719,1734,1751,1768,1779,1785,1832,1871,1874,1885,1917,2022,2068;
        end;
     
        onMinute30:
            atcommand "@killmonster2";
     
            .@randIndex = rand(getarraysize(.mvps));
            .@mvpId = .mvps[.@randIndex]);
     
            monster "pay_dun04", 0, 0, "The Butcher", .@mvpId, 1;
            announce "[ The Butcher ] is inside the PvP Room looking for more victims", bc_all, 0xFF0000;
        end;
    }
     
    1@eom, 101,194,5    script  PvP Room    FAKE_NPC,{
        end;
        OnInit:
        waitingroom "PvP Room", 0;
        end;
    }
     
    pay_dun04   mapflag pvp
    pay_dun04   mapflag noteleport
    pay_dun04   mapflag nowarp
    pay_dun04   mapflag nosave
    pay_dun04   mapflag nomemo
    pay_dun04   mapflag nodrop
    pay_dun04   mapflag nobranch
    pay_dun04   mapflag loadevent

     

  3. I'm trying to use @killmonster2 before the npc call another monster, but doesn't working

    Quote
    -   script  sum_mvp -1,{
     
        onInit:
            setarray .mvps, 1038,1039,1046,1059,1086,1087,1112,1115,1147,1150,1157,1159,1190,1251,1252,1272,1312,1373,1389,1418,1492,1511,1583,1623,1630,1646,1647,1648,1649,1650,1651,1658,1685,1688,1708,1719,1734,1751,1768,1779,1785,1832,1871,1874,1885,1917,2022,2068;
        end;
     
        onMinute30:
            atcommand "@killmonster2";
     
            .@randIndex = rand(getarraysize(.mvps));
            .@mvpId = .mvps[.@randIndex]);
     
            monster "pay_dun04", 0, 0, "The Butcher", .@mvpId, 1;
            announce "[ The Butcher ] is inside the PvP Room looking for more victims", bc_all, 0xFF0000;
        end;
    }

     

  4. On 11/5/2023 at 2:57 AM, Chaos92 said:

    I check your link, and it have https.

    You try to disable https, just use http instead.

    And also, the problematic part your main.ini 

    Please check the file URL, make sure its correct.

    Hi, thank you for your asnwer . I disabled the SSL and check the url in the main.ini.

    Is everything correct and the patch dir is 775, but get 403 in the url and still doens't working.

     

    I created a subdomain to the patch folder and change my RootURL to
     

    Quote
    RootURL='http://patch.battle.ragnarok.pw'

    and no main.ini my file_url to 

    Quote

     

    like this the subdoamin doesn't have SSL, but still doesn't connect in the server.

     

    @solved

     

    I don't know why, but I changed my rootURL to 

    Quote
    RootURL='http://battle.ragnarok.pw/patch/'

    and works...

  5. My thor patcher can show news and status server but can't get updates.

    image.png.32320b531a195bf8a2ed2aab7ce655cc.png

     

    This is my config.ini:

     

    Quote
    [Config:Main]
     
    RootURL='http://battle.ragnarok.pw/patch/'
     
    RemoteConfigFile='main.ini'
     
    TimeOut=0
     
    StatusFile='update.dat'
     
    DefaultGRF='battlero.grf'
     
    ClientEXE='Ragnarok.exe'
    ClientParameter='-1rag1'
     
    //When patcher unable to connect webserver,
    //should the patcher allow player start the game anyways?
    FinishOnConnectionFailure=false
     
    [Config:Window]
     
    Style='none'
     
    //This allows the player drag the window by background
    DragHandling=true
     
    //Background can be either jpg or bmp, in later case
    //the top-left pixel is chosen as transparent color.
    Background='images/BGCLEAN.bmp'
     
    FadeOnDrag=true
     
    [Config:BGM]
    File=''
     
    Loop=true
     
    Volume=5
     
    Directory=
     
    [Config:Misc]
    Title='BattleRO Game Launcher'
     
    HideProgressBarWhenFinish=false
     
    [ProgressBar:bar1]
    Width=663
    Height=16
    Left=2
    Top=549
     
    FrontImage='images/bar_h.png'
    BackImage='images/bar.png'
    Hook='ProgressChange'
     
    [Label:Status]
    AutoResize = false
    Width=369
    Height=80
    Left=7
    Top=535
    Alignment='left'
     
    FontColor=$6f6864
    FontName = ''
    FontSize = '7'
     
    Text=''
     
    Hook='StatusChange'
     
    // - NOTICE BOX ----------------------------------------------------
     
    // [NoticeBox:Slide]
    // Width=557
    // Height=176
    // Left=19
    // Top=102
    // URL='http://battle.ragnarok.pw/patch/web/slide.php'
     
    [NoticeBox:StatusServer]
    Width=95
    Height=30
    Left=542
    Top=47
    URL='http://battle.ragnarok.pw/patch/web/status.php'
     
    [NoticeBox:News]
    Width=439
    Height=106
    Left=40
    Top=307
    URL='http://battle.ragnarok.pw/patch/web/news.php'
     
    // [NoticeBox:Topics]
    // Width=439
    // Height=106
    // Left=40
    // Top=428
    // URL='http://battle.ragnarok.pw/patch/web/topics.php'
     
    // - BTN START ----------------------------------------------------
    [Button:Start]
    Default='images/BTNJOGAR.png'
    OnHover='images/BTNJOGAR_H.png'
    OnDown='images/BTNJOGAR.png'
     
    Left=706
    Top=460
     
    //Hook is used for default buttons,
    //do not use this on custom buttons!
    Hook='Start'
     
    // - BTN EXIT ----------------------------------------------------
    [Button:Exit]
    Default='images/BTNFECH.png'
    OnHover='images/BTNFECH_H.png'
    OnDown='images/BTNFECH.png'
     
    Left=879
    Top=9
     
    Hook='Exit'
     
    [Button:Cancel]
    Default='images/BTNFECH.png'
    OnHover='images/BTNFECH_H.png'
    OnDown='images/BTNFECH.png'
     
    Left=879
    Top=9
    Hook='Cancel'
     
    // - CUSTOM BTNS ----------------------------------------------------
    [Button:Website]
    Default='images/WEBSITE.png'
    OnHover='images/WEBSITE_H.png'
    OnDown='images/WEBSITE.png'
     
    Left=171
    Top=47
    Mode='1'
    Action='https://battle.ragnarok.pw/'
     
    [Button:Register]
    Default='images/REGISTER.png'
    OnHover='images/REGISTER_H.png'
    OnDown='images/REGISTER.png'
     
    Left=266
    Top=47
    Mode='1'
    Action='https://battle.ragnarok.pw/account/create/'
     
    [Button:Vote]
    Default='images/VOTE.png'
    OnHover='images/VOTE_H.png'
    OnDown='images/VOTE.png'
     
    Left=369
    Top=47
    Mode='1'
    Action='https://battle.ragnarok.pw/vote/'
     
    [Button:Donate]
    Default='images/DONATE.png'
    OnHover='images/DONATE_H.png'
    OnDown='images/DONATE.png'
     
    Left=438
    Top=47
    Mode='1'
    Action='https://battle.ragnarok.pw/donate/'
     
    // [Button:CommunityNews]
    // Default='images/BTNCOMUNIDADE.png'
    // OnHover='images/BTNCOMUNIDADE_H.png'
    // OnDown='images/BTNCOMUNIDADE.png'
     
    // Left=489
    // Top=285
    // Mode='1'
    // Action='https://discord.gg/JC68t7b3Zj'
     
    // [Button:CommunityTopics]
    // Default='images/BTNCOMUNIDADE.png'
    // OnHover='images/BTNCOMUNIDADE_H.png'
    // OnDown='images/BTNCOMUNIDADE.png'
     
    // Left=489
    // Top=406
    // Mode='1'
    // Action='https://discord.gg/GCaqUtu'
     
    // [Button:Face]
    // Default='images/FACEBOOK.png'
    // OnHover='images/FACEBOOK_H.png'
    // OnDown='images/FACEBOOK.png'
     
    // Left=587
    // Top=103
    // Mode='1'
    // Action='https://discord.gg/GCaqUtu'
     
    // [Button:Insta]
    // Default='images/INSTAGRAM.png'
    // OnHover='images/INSTAGRAM_H.png'
    // OnDown='images/INSTAGRAM.png'
     
    // Left=587
    // Top=148
    // Mode='1'
    // Action='https://discord.gg/GCaqUtu'
     
    [Button:Discord]
    Default='images/DISCORD.png'
    OnHover='images/DISCORD_H.png'
    OnDown='images/DISCORD.png'
     
    Left=587
    // Left=587
    Top=103
    // Top=190
    Mode='1'
    Action='https://discord.gg/JC68t7b3Zj'
     
    [Button:Setup]
    Default='images/BTNSETUP.png'
    OnHover='images/BTNSETUP_H.png'
    OnDown='images/BTNSETUP.png'
     
    Left=856
    Top=9
    Mode='2'
    Action='Setup.exe'
     
    //[Button:Extra]
    //
    //
    //
    // Mode - mode for button
    // 1 = open URL
    // 2 = Launch file/program
    // 3 = Message box
    //Mode=
    // Action - depend on what you set in the Mod, this may vary
    // ex. Mode = 1 , Action='http://google.com'
    //Action=

     

    and this is my main.ini:

     

    Quote
    //Thor Patcher remote config file
    [Main]
    //Allow patching or not?
    allow=true
     
    //Should patcher ignore everything else and finish patch immediately?
    Force_Start=false
     
    //if not, what message should appear?
    policy_msg=Server is taking a nap.
     
    //file_url - patch files should ALL put here.
    // This config entry will override the one in embed config.
    // o HTTP:
    //         http://domain.com/dir/
    // o FTP:
    //         ftp://domain.com/dir/
    //     o With <Username> [Password] [Port]
    //  ftp://username:[email protected]:port/dir/
    //     o Note: username is required if want put password, otherwise everything is optional.
    file_url=http://battle.ragnarok.pw/patch/data/
     
    [Patch]
    //use CheckSum tool, hash for client & patcher
    // used to make sure exe is up to date
    //  (leave empty to disable this feature)
    ClientSum=
    PatcherSum=
     
    //This is compressed file for patcher & client update
    // To make these work, ClientSum and/or PatcherSum can't be empty
    // Note: these files should put same place as patch file (file_url in internal config)
    //Relative address, not FULL URL!
    ClientPath=
    PatcherPath=
     
    // Patch list file
    PatchList=plist.txt
     
    [Stars]
    // Shining o.O (Anyways, its for start button clones)
    // Since orignal client has check sum.. why not for clones? XD
     
    //How many? (it should same as amount of start button clone, but of course it's your choice)
    clients=0
     
    // _sum - checksum, use CheckSum tool.
    //client1_sum=
    // _Name - Filename of exe
    //client1_Name=
    // _Path - Path for file [Compressed]
    //client1_Path=
     
    [Misc]
    //Set a limit for fragment, when reach this limit, patcher will ask user to defrag
    FragmentLimit=50

     

×
×
  • Create New...