Jump to content

killernot

Members
  • Posts

    18
  • Joined

  • Last visited

Posts posted by killernot

  1. Spoiler

     

    --------------          Message          --------------
    The given path's format is not supported.
    --------------        Stack trace        --------------
       at GrfToWpfBridge.Application.DefaultErrorHandler._reportAnyManagedExceptions(String message, Exception exception, ErrorLevel errorLevel)
       at GrfToWpfBridge.Application.DefaultErrorHandler.Handle(Exception exception, ErrorLevel errorLevel)
       at SDE.View.SdeEditor._reloadDatabase(Boolean alreadyAsync)
       at SDE.View.SdeEditor.<ReloadDatabase>b__2()
       at GRF.Threading.GrfThread.<>c__DisplayClass4.<Start>b__3()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()

    --------------         Exception         --------------
    System.NotSupportedException: The given path's format is not supported.
       at System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath)
       at System.Security.Permissions.FileIOPermission.QuickDemand(FileIOPermissionAccess access, String fullPath, Boolean checkForDuplicates, Boolean needFullPath)
       at System.IO.FileInfo.Init(String fileName, Boolean checkHost)
       at System.IO.FileInfo..ctor(String fileName)
       at SDE.Editor.Generic.Core.DbPathLocator.StoreFile(String path)
       at SDE.Editor.Generic.Core.DbDebugItem`1.Load(ServerDbs dbSource)
       at SDE.Editor.Generic.Core.AbstractDb`1._loadDb()
       at SDE.Editor.Generic.Core.DbItems._loadDb()
       at SDE.Editor.Generic.Core.AbstractDb`1.LoadDb()
       at SDE.Editor.Engines.DatabaseEngine.SdeDatabase.Reload(IProgress progress)
       at SDE.View.SdeEditor._reloadDatabase(Boolean alreadyAsync)

     

    any help?

    Untitled.png

  2. Then it isn't a client issue. Which rA Version you are using? (Date as example)

     

    Rynbef~

     

    cannot determine svn/Git version. 

    I'm pretty sure I downloaded the latest Rathena last September 01 2016.

    Check your imports, maybe it's in there?

    Make sure in battle.c, the minimum of max_hair_style is 0.

     

    Also, min_hair_style should be 0 if you want 0-29 hairstyles.

     

    LOL! thank you! this fixed my problem. I edited battle_conf.txt in import folder.

    post-7027-0-01708200-1473752331_thumb.png

  3. @killernot  What client version do you use? please share ClientPatches

    #usenemo 

    2013-08-07 

     

    Im using my hosting's diffpatcher. 

    Reload the npc script after you updated the battle config value.

    same.

    change battle.conf,save,@reloadbattleconf,@reloadscript.

    post-7027-0-59060300-1473349055_thumb.png

    post-7027-0-23644500-1473349658_thumb.png

    post-7027-0-00426200-1473349660.png

    post-7027-0-64918000-1473349740_thumb.png

  4.  

    I'm using Hercules. i guess it's not compatible at the moment  :D

     

    I have zero knowledge on Hercules, but based on the error, it is just stating that there are no such thing as bleeding status. What you can do is to delete any lines that are related to bleeding. See if this works for you.

     

     

    I fixed it!  /no1

     

    set_sc( NPC_PETRIFYATTACK , SC_STONE , SI_STONE , SCB_DEF_ELE|SCB_DEF|SCB_MDEF );

    set_sc( NPC_WIDEFREEZE , SC_FREEZE , SI_FREEZE , SCB_DEF_ELE|SCB_DEF|SCB_MDEF );

    set_sc( NPC_STUNATTACK , SC_STUN , SI_STUN , SCB_NONE );

    set_sc( NPC_SLEEPATTACK , SC_SLEEP , SI_SLEEP , SCB_NONE );

    set_sc( NPC_POISON , SC_POISON , SI_POISON , SCB_DEF2|SCB_REGEN );

    set_sc( NPC_CURSEATTACK , SC_CURSE , SI_CURSE , SCB_LUK|SCB_BATK|SCB_WATK|SCB_SPEED );

    set_sc( NPC_SILENCEATTACK , SC_SILENCE , SI_SILENCE , SCB_NONE );

    set_sc( NPC_WIDECONFUSE , SC_CONFUSION , SI_CONFUSION , SCB_NONE );

    set_sc( NPC_BLINDATTACK , SC_BLIND , SI_BLIND , SCB_HIT|SCB_FLEE );

    set_sc( NPC_BLEEDING , SC_BLOODING , SI_BLOODING , SCB_REGEN ); <--- I changed everything except for this line

    set_sc( NPC_POISON , SC_DPOISON , SI_DPOISON , SCB_DEF2|SCB_REGEN );

  5. help recompile error

    status.c: In function 'initChangeTables':
    status.c:156: error: 'SC_BLEEDING' undeclared (first use in this function)
    status.c:156: error: (Each undeclared identifier is reported only once
    status.c:156: error: for each function it appears in.)
    status.c:156: error: 'SI_BLEEDING' undeclared (first use in this function)
  6. help 

     

    [Error]: npc_parsesrcfile: Unknown syntax in file 'npc/custom/dice.txt', line '30'. Stopping...
     * w1=OnInit:
     * w2=
     * w3=
     * w4=
    

    here's my file

    //======Name========================================

    // Dice Event
    //======Version=====================================
    // 1.0
    //======Author(s)===================================
    // Sandbox
    //======Comments====================================
    // In loving memory of AstralRO
    //==================================================



    //Edit to where would you place the warper
    prontera,156,175,3 script Dice Event Warper#dice 723,{

    mes "Do you want to join the Dice Event?";
    menu "Yes",-;
    warp "quiz_02",55,87;
    close;

    }

    - script DiceTrigger -1,{

    OnMinute00:
    if(gettime(3) % 2 == 0) donpcevent "DiceTrigger::OnDiceETrigger";
    end;

    }

    OnInit:
    disablenpc "Dice Event Warper#dice";
    disablenpc "Claim Your Prize!#dice";
    end;


    OnDiceETrigger:
    if(agitcheck() == 1) end;
    enablenpc "Dice Event Warper#dice";
    announce "Dice Event: We are going to have a Dice Event",bc_all,0x8A2BE2;
    sleep2 1000;
    announce "Dice Event: For those who want to join, please warp @ mellina 115 150!",bc_all,0x8A2BE2;
    sleep2 1000;
    announce "Dice Event: The Warper would be open for 1 minute",bc_all,0x8A2BE2;
    sleep2 30000;
    announce "Dice Event: Last 30 Seconds.",bc_all,0x8A2BE2;
    sleep2 30000;
    announce "Dice Event: Warper Closed.",bc_all,0x8A2BE2;
    disablenpc "Dice Event Warper#dice";
    areawarp "ra_temsky",86,149,113,134,"ra_temsky",99,114;
    donpcevent "DiceEvent::OnDiceStart";
    end;

    }

    quiz_02,55,90,3 script Got Stuck?#dice 779,{

    mes "[ Got Stuck? ]";
    mes "Do you wish to go back?";
    menu "Yes",-;
    warp "prontera",115,150;
    close;

    }


    quiz_02,37,80,3 script Box 1 111,{

    warp "quiz_02",37,70;
    close;

    }

    quiz_02,49,80,3 script Box 2 111,{

    warp "quiz_02",49,70;
    close;

    }

    quiz_02,61,80,3 script Box 3 111,{

    warp "quiz_02",61,70;
    close;

    }


    quiz_02,73,80,3 script Box 4 111,{

    warp "quiz_02",73,70;
    close;

    }

    quiz_02,37,64,3 script Go Back#1 858,{

    warp "quiz_02",55,76;
    close;

    }


    quiz_02,49,64,3 script Go Back#2 858,{

    warp "quiz_02",55,76;
    close;

    }

    quiz_02,61,64,3 script Go Back#3 858,{

    warp "quiz_02",55,76;
    close;

    }

    quiz_02,73,64,3 script Go Back#4 858,{

    warp "quiz_02",55,76;
    close;

    }


    - script DiceEvent -1,{

    OnDiceStart:
    mapannounce "quiz_02","We are about to start the Dice event.",bc_blue;
    sleep2 1000;
    mapannounce "quiz_02","Rules are simple:",bc_blue;
    sleep2 1000;
    mapannounce "quiz_02","I'm going to pick a number, 1 to 4. Then I'll do a countdown from 5 to 0",bc_blue;
    sleep2 1000;
    mapannounce "quiz_02","All you have to do is go to box of the number you want",bc_blue;
    sleep2 1000;
    mapannounce "quiz_02","Example, If I get the number 4, All players standing on number 1 to 3 loses.",bc_blue;
    sleep2 1000;
    mapannounce "quiz_02","We'll do it again and again until we have 1 player left on this map.",bc_blue;
    sleep2 2000;
    mapannounce "quiz_02","Before I forget, you must GO INSIDE THE BOX! because if you're caught standing outside the box you'll be automatically disqualified!",bc_blue;
    sleep2 2000;
    mapannounce "quiz_02","That's it.. Now let's get it on!",bc_blue;
    sleep2 3000;
    goto L_start;
    end;


    L_start:
    enablenpc "Go Back#1";
    enablenpc "Go Back#2";
    enablenpc "Go Back#3";
    enablenpc "Go Back#4";
    if(getmapusers("quiz_02") == 1) goto L_winner;
    enablenpc "Box 1";
    enablenpc "Box 2";
    enablenpc "Box 3";
    enablenpc "Box 4";
    if(getmapusers("quiz_02") == 0) goto L_noone;
    if(getmapusers("quiz_02") > 1) {
    set $@number,rand(1,4);
    sleep2 1000;
    mapannounce "quiz_02","I'm ready to pick a number. Please go to the box of the number you want! Go go go!",bc_blue;
    sleep2 20000;
    mapannounce "quiz_02","5",bc_blue;
    sleep2 1500;
    mapannounce "quiz_02","4",bc_blue;
    sleep2 1500;
    mapannounce "quiz_02","3",bc_blue;
    sleep2 1500;
    mapannounce "quiz_02","2",bc_blue;
    sleep2 1500;
    mapannounce "quiz_02","1",bc_blue;
    disablenpc "Box 1";
    disablenpc "Box 2";
    disablenpc "Box 3";
    disablenpc "Box 4";
    disablenpc "Go Back#1";
    disablenpc "Go Back#2";
    disablenpc "Go Back#3";
    disablenpc "Go Back#4";
    areawarp "quiz_02",32,95,79,76,"mellina",115,150;
    areawarp "quiz_02",80,85,80,76,"mellina",115,150;
    areawarp "quiz_02",31,85,31,76,"mellina",115,150;
    if(getmapusers("quiz_02") == 0) goto L_noone;
    sleep2 1000;
    mapannounce "quiz_02","Time's Up. Winning number is "+$@number+"!",bc_blue;
    if($@number == 4) goto L_Lose1;
    if($@number == 3) goto L_Lose2;
    if($@number == 2) goto L_Lose3;
    if($@number == 1) goto L_Lose4;
    end;

    }

    L_Lose1:
    //Edit to where will you warp players that lost
    areawarp "quiz_02",33,73,41,52,"prontera",156,175;
    areawarp "quiz_02",45,73,53,52,"prontera",156,175;
    areawarp "quiz_02",57,73,65,52,"prontera",156,175;
    goto L_start;
    end;

    L_Lose2:
    //Edit to where will you warp players that lost
    areawarp "quiz_02",33,73,41,52,"prontera",156,175;
    areawarp "quiz_02",45,73,53,52,"prontera",156,175;
    areawarp "quiz_02",69,73,77,52,"prontera",156,175;
    goto L_start;
    end;

    L_Lose3:
    //Edit to where will you warp players that lost
    areawarp "quiz_02",33,73,41,52,"prontera",156,175;
    areawarp "quiz_02",57,73,65,52,"prontera",156,175;
    areawarp "quiz_02",69,73,77,52,"prontera",156,175;
    goto L_start;
    end;

    L_Lose4:
    //Edit to where will you warp players that lost
    areawarp "quiz_02",45,73,53,52,"prontera",156,175;
    areawarp "quiz_02",57,73,65,52,"prontera",156,175;
    areawarp "quiz_02",69,73,77,52,"prontera",156,175;
    goto L_start;
    end;

    L_noone:
    announce "No one won the Dice Event!",bc_all,0x8A2BE2;
    disablenpc "Claim Your Prize!#dice";
    disablenpc "Dice Event Warper#dice";
    end;

    L_winner:
    enablenpc "Claim Your Prize!#dice";
    disablenpc "Dice Event Warper#dice";
    end;

    }

    quiz_02,55,84,3 script Claim Your Prize!#dice 904,{

    getitem 7539,10; //Edit on what prize would you give to the winner
    announce strcharinfo(0)+" won the Dice Event!",bc_all,0x8A2BE2;
    disablenpc "Claim Your Prize!#dice";
    disablenpc "Dice Event Warper#dice";
    warp "mellina",115,150;
    close;
    end;

    }

    quiz_02 mapflag nowarp
    quiz_02 mapflag nowarpto
    quiz_02 mapflag noskill
    quiz_02 mapflag noteleport
    quiz_02 mapflag nomemo
    quiz_02 mapflag nosave SavePoint
    quiz_02 mapflag noicewall
    quiz_02 mapflag noloot

×
×
  • Create New...