Jump to content

simplemhan

Members
  • Posts

    308
  • Joined

  • Last visited

Posts posted by simplemhan

  1.  

    2013-08-21 (http://forums.irowiki.org/showpost.php?p=1368518&postcount=660) is done

    Edit: Well I don't know what to write on the item_combo_db.txt for these 2 Shadow equipments  /panic

    maybe like this?

    24078:24079:24080,{ bonus2 bSPDrainRate,10,1; if ((getequiprefinerycnt(EQI_SHADOW_WEAPON) + (getequiprefinerycnt(EQI_SHADOW_ACC_R) + (getequiprefinerycnt(EQI_SHADOW_ACC_L)) > 10) bonus2 bSPDrainRate,1000,1; }
    but hmm, refined accessories? /swt

     

    yes, its refineable.

  2. hello..thanks for sharing this useful php.. but i keep on getting error :(

     

     

    Warning: mt_rand() [function.mt-rand]: max(-1) is smaller than min(0) in D:\xampp\htdocs\RagRE_Item_Builder\isg\index.php on line 10

    Effect Type has not been coded yet or it does not exist.

     

    please help me :(

    to fix output file name

    index.php find and edit the red part

    // Copy Equip Sprite SPR/ACT Files To Output Folder

    copy('Input_Data/Equip/'. $item_name .'.spr', $sprite_female .'/¿©_'. $item_name .'.spr');

    copy('Input_Data/Equip/'. $item_name .'.act', $sprite_female .'/¿©_'. $item_name .'.act');

    copy('Input_Data/Equip/'. $item_name .'.spr', $sprite_male .'/³²_'. $item_name .'.spr');

    copy('Input_Data/Equip/'. $item_name .'.act', $sprite_male .'/³²_'. $item_name .'.act');

     

     please help me with the error above :(

    i try to use xampp 1.7.3 this version is used by many, working and tested by me.

    HELP!

    Warning: mt_rand() [function.mt-rand]: max(-1) is smaller than min(0) in E:\www\xampp\htdocs\RagRE_Item_Builder\isg\index.php on line 10

    Effect Type has not been coded yet or it does not exist.

    ID Sprite Name View ID Slots Item Script Script Description Action

     

     

    what do i do?

    i try to use xampp 1.7.3 this version is used by many. working and tested by me.

  3. now have some updates.

     

    http://inoah.dly2005.com/roWeb/

    or

    http://dly2005.com/roWeb/demo/

     

    attachicon.gifQQ截图20130722161009.png

     

        20130708 demo 0.0.1 use ro act and spr resources to start.

                    

        20130710 demo 0.0.2 use d5rpg engine to start base logic.

        20130711 demo 0.0.3 battle system, fake UI and skill.

        20130723 demo 0.0.4 add starling framework to map, add mornUI, add pureMVC to main logic, remove d5rpg.

        -- demo ? add starling player view and monster view.

        -- demo ? -act,spr in game, but only in tool

        -- demo 0.1.0 the first publish version with fake

    login, main ui, status ui, chat ui, item ui, joyStick ui, minimap ui,

    starling 2048*2048 map, player, monsters, base battle system.

    why so long in waiting for resources?

  4. you mean at every 30 (1:30, 2:30, 3:30 etc..) the event start ?

    Then replace

        OnClock0030:
        OnClock0130:
        OnClock0230:
        OnClock0330:
        OnClock0430:
        OnClock0530:
        OnClock0630:
        OnClock0730:
        OnClock0830:
        OnClock0930:
        OnClock1030:
        OnClock1130:
    

    by

    OnMinute30:// start at every 30 mins of an hour
    

    it will not mess my other event? example they will not run the same time? like poring catcher, jumper and disguise? they will not run at the same time?

     

    you mean at every 30 (1:30, 2:30, 3:30 etc..) the event start ?

    Then replace

        OnClock0030:
        OnClock0130:
        OnClock0230:
        OnClock0330:
        OnClock0430:
        OnClock0530:
        OnClock0630:
        OnClock0730:
        OnClock0830:
        OnClock0930:
        OnClock1030:
        OnClock1130:
    

    by

    OnMinute30:// start at every 30 mins of an hour
    

    it will not mess my other event? example they will not run the same time? like poring catcher, jumper and disguise? they will not run at the same time?

     

    I want to make my event dont occur the other events

     

    example like this:

     

    poring catcher every 15 mins

    jumper every 30 mins

    disguise every 45 mins

    lucky pick every 60 mins

    In your example the events will happen at the same time, because, for instance, if the "Poring Catcher" happens every 15 minutes, then it will also happen every 30 minutes...

    If you would like to make them happen after each other with a break of 15 minutes, you could do it this way:

    "Poring Catcher" happens every full hour:

    OnMinute00:
    "Jumper" happens at the 15th minute of each hour:
    OnMinute15:
    "Disguise" happens at the 30th minute of each hour:
    OnMinute30:
    "Lucky Pick" happens at the 45th minute of each hour:
    OnMinute45:
    Is this what you need?

    they will run only 1 times in every hour? or 2 time in 1 hr like Onminute30 will nut run on consecutive 30mins,  i just want to clarify that. thanks btw

  5.  

    Examples: OnHour0110 will be triggered at 1:10 am, OnHour1910

    you mean OnClock instead of OnHour here

    blank.gifcan you edit this every 30 mins but have a gapped of 30 mins also

    -    script    jumpevent    -1,{
    
        OnWhisperGlobal:
        if ( getgmlevel() < 99 ) end;
    
        L_JumpAdmin:
        mes "[Manager]";
        mes "^FF0000~Hi GM " + strcharinfo(0) + "!~^000000";
        mes "^FF0000The Current Prize is:^000000";
        mes "^FF00001. Random Prize:^000000 ^008000"+$jmp_item_amount1+" "+getitemname($jmp_item_id1)+"^000000";
        mes "^FF00002. Random Prize:^000000 ^008000"+$jmp_item_amount2+" "+getitemname($jmp_item_id2)+"^000000";
        mes "^FF00003. Random Prize:^000000 ^008000"+$jmp_item_amount3+" "+getitemname($jmp_item_id3)+"^000000";
        switch(select("Start Jump Event?:Set Prize:Not today Fellas!")){
    
            case 1:
                next;
                if( $@JumpStart == 1 ){
                mes "[Manager]";
                mes "I Can't Start The Event!!";
                mes "The Event is still ON!!";
                next;
                goto L_JumpAdmin;
                }
                next;
                mes "[Manager]";
                mes "^FF0000~Sure thing!~^000000";
                close2;
                goto L_StartJmp;
    
            case 2:
                next;
                mes "[Manager]";
                mes "^FF0000~What should the prize for winning be? Please input the ID.~^000000";
                menu "Set Prize 1",SP1,"Set Prize 2",SP2,"Set Prize 3",SP3,"Go Back to main",L_JumpAdmin;
    
            SP1:
            next;
            mes "[Manager]";
            mes "^FF0000~What should the prize for winning be? Please input the ID.~^000000";
            input $jmp_item_id1;
            next;
            mes "[Manager]";
            mes "^FF0000~How many if this item should I give away?~^000000";
            input $jmp_item_amount1;
            next;
            mes "[Manager]";
            mes "^FF0000~So, the prize is^000000 ^008000"+ $jmp_item_amount1 +" "+ getitemname($jmp_item_id1) +"^000000? ^FF0000Great.~^000000";
            next;
            goto L_JumpAdmin;
    
            SP2:
            next;
            mes "[Manager]";
            mes "^FF0000~What should the prize for winning be? Please input the ID.~^000000";
            input $jmp_item_id2;
            next;
            mes "[Manager]";
            mes "^FF0000~How many if this item should I give away?~^000000";
            input $jmp_item_amount2;
            next;
            mes "[Manager]";
            mes "^FF0000~So, the prize is^000000 ^008000"+ $jmp_item_amount2 +" "+ getitemname($jmp_item_id2) +"^000000? ^FF0000Great.~^000000";
            next;
            goto L_JumpAdmin;
    
            SP3:
            next;
            mes "[Manager]";
            mes "^FF0000~What should the prize for winning be? Please input the ID.~^000000";
            input $jmp_item_id3;
            next;
            mes "[Manager]";
            mes "^FF0000~How many if this item should I give away?~^000000";
            input $jmp_item_amount3;
            next;
            mes "[Manager]";
            mes "^FF0000~So, the prize is^000000 ^008000"+ $jmp_item_amount3 +" "+ getitemname($jmp_item_id3) +"^000000? ^FF0000Great.~^000000";
            next;
            goto L_JumpAdmin;
    
            Case 3:
                next;
                mes "[Manager]";
                mes "Bye!!";
                close;
    
            }// End Admin Manager...
    
        OnClock0030:
        OnClock0130:
        OnClock0230:
        OnClock0330:
        OnClock0430:
        OnClock0530:
        OnClock0630:
        OnClock0730:
        OnClock0830:
        OnClock0930:
        OnClock1030:
        OnClock1130:
        L_StartJmp:
        announce "Jumper Event : will begin in 20 seconds",bc_blue;
        sleep2 5000;
        announce "Jumper Event : I'm Going to JUMP somewhere..!!",bc_blue;
        sleep2 5000;
        announce "Jumper Event : By the way I'm going to disguise into a random monster.!!",bc_blue;
        sleep2 10000;
        announce "Jumper Event : Last 10 seconds",bc_blue;
        sleep2 10000;
        set $@ran, rand(1,10);
        if ($@ran == 10) set $@jmpmap$,"hugel";
        if ($@ran == 9) set $@jmpmap$,"yuno";
        if ($@ran == 8) set $@jmpmap$,"comodo";
        if ($@ran == 7) set $@jmpmap$,"xmas";
        if ($@ran == 6) set $@jmpmap$,"aldebaran";
        if ($@ran == 5) set $@jmpmap$,"izlude";
        if ($@ran == 4) set $@jmpmap$,"payon";
        if ($@ran == 3) set $@jmpmap$,"geffen";
        if ($@ran == 2) set $@jmpmap$,"morocc";
        if ($@ran == 1) set $@jmpmap$,"prontera";
        announce "Jumper Event : Go Find me!! I'm here in "+$@jmpmap$+"!!!",bc_blue;
        set $@JmpRnd,10;
        goto OnStart;
    
        OnStart:
        if ($@JmpRnd == 0){
        stopnpctimer;
        set $@JumpStart,0;
        sleep2 3000;
        announce "Jumper Event : is now OVER!!",bc_blue;
        sleep2 15000;
        movenpc "Jumper"+$@ran+"",1,1; //move the NPC
        setnpcdisplay "Jumper"+$@ran+"",1002;
        end;
        }
        if ($@JmpRnd == 10){
        goto OnStart2;
        }
        stopnpctimer;
        sleep2 3000;
        announce "Jumper Event : Next Round will begin in 15 seconds...",bc_blue;
        sleep2 15000;
        setnpcdisplay "Jumper"+$@ran+"",1002;
        movenpc "Jumper"+$@ran+"",1,1; //move the NPC
        set $@ran, rand(1,10);
        if ($@ran == 10) set $@jmpmap$,"hugel";
        if ($@ran == 9) set $@jmpmap$,"yuno";
        if ($@ran == 8) set $@jmpmap$,"comodo";
        if ($@ran == 7) set $@jmpmap$,"xmas";
        if ($@ran == 6) set $@jmpmap$,"aldebaran";
        if ($@ran == 5) set $@jmpmap$,"izlude";
        if ($@ran == 4) set $@jmpmap$,"payon";
        if ($@ran == 3) set $@jmpmap$,"geffen";
        if ($@ran == 2) set $@jmpmap$,"morocc";
        if ($@ran == 1) set $@jmpmap$,"prontera";
        announce "Jumper Event : Go Find me!! I'm here in "+$@jmpmap$+"!!!",bc_blue;
        goto OnStart2;
    
        OnStart2:
        set $monster, rand(1001,1995);
        if($monster == 1003 || $monster == 1218 || $monster == 1006 || $monster == 1017 || $monster == 1021 || $monster == 1022 || $monster == 1027 || $monster == 1043 || $monster == 1006 || $monster == 1136 || $monster == 1137 || $monster == 1168 || $monster == 1171 || $monster == 1172 || $monster == 1173 || $monster == 1181 || $monster == 1210 || $monster == 1223 || $monster == 1284 || ($monster >= 1324 && $monster <= 1363) || $monster == 1006 || $monster == 1407 || $monster == 1411 || $monster == 1414 || $monster == 1496 || $monster == 1501 || $monster == 1900){ goto OnStart2; end; }
        while(1) { //Initiate an infinite loop
        set $@jx,rand(0,300); //Set a randon X coordinate
        set $@jy,rand(0,300); //Set a random Y coordinate
        if(checkcell(""+$@jmpmap$+"",$@jx,$@jy,cell_chkpass)) break; //If cell is walkable break out of the loop
        }
        initnpctimer;
        set $@JumpStart,1;
        movenpc "Jumper"+$@ran+"",$@jx,$@jy; //move the NPC
        setnpcdisplay "Jumper"+$@ran+"",$monster;
        set $@JmpRnd,$@JmpRnd-1;
        end;
    
        OnTimer60000:
        set $@JumpStart,0;
        announce "Jumper Event : WOW no One Found ME!! I'm here in "+$@jmpmap$+" "+$@jx+" "+$@jy+"!!",bc_blue;
        sleep2 3000;
        donpcevent "jumpevent::OnStart";
        end;
    
    }//End Script
    
    -    script    Jumper    -1,{
        if( $@JumpStart == 0 ){
        mes "[Jumper]";
        mes "I'm sorry, Someone Found me..";
        close;
        }
        set $@prize, rand(1,100);
        if ( $@prize <= 50 ){
        set $@JumpStart,0;
        getitem $jmp_item_id1,$jmp_item_amount1;
        announce "Jumper Event : "+strcharinfo(0)+" is the WINNER!! I'm here in "+$@jmpmap$+" "+$@jx+" "+$@jy+"!!",bc_blue;
        donpcevent "jumpevent::OnStart";
        mes "[Jumper]";
        mes "WOW you found me!!";
        mes "Take this as a REWARD!!";
        mes "You got ^008000"+ $jmp_item_amount1 +" "+ getitemname($jmp_item_id1) +"^000000";
        close;
        end;
        }
        set $@prize, rand(1,100);
        if ( $@prize <= 49 ){
        set $@JumpStart,0;
        getitem $jmp_item_id2,$jmp_item_amount2;
        announce "Jumper Event : "+strcharinfo(0)+" is the WINNER!! I'm here in "+$@jmpmap$+" "+$@jx+" "+$@jy+"!!",bc_blue;
        donpcevent "jumpevent::OnStart";
        mes "[Jumper]";
        mes "WOW you found me!!";
        mes "Take this as a REWARD!!";
        mes "You got ^008000"+ $jmp_item_amount2 +" "+ getitemname($jmp_item_id2) +"^000000";
        close;
        end;
        }
        set $@prize, rand(1,100);
        if ( $@prize <= 48 ){
        set $@JumpStart,0;
        getitem $jmp_item_id3,$jmp_item_amount3;
        announce "Jumper Event : "+strcharinfo(0)+" is the WINNER!! I'm here in "+$@jmpmap$+" "+$@jx+" "+$@jy+"!!",bc_blue;
        donpcevent "jumpevent::OnStart";
        mes "[Jumper]";
        mes "WOW you found me!!";
        mes "Take this as a REWARD!!";
        mes "You got ^008000"+ $jmp_item_amount3 +" "+ getitemname($jmp_item_id3) +"^000000";
        close;
        end;
        }
    }//End Script
    
    prontera,1,1,1    duplicate(Jumper)    Jumper1    1002
    morocc,1,1,1    duplicate(Jumper)    Jumper2    1002
    geffen,1,1,1    duplicate(Jumper)    Jumper3    1002
    payon,1,1,1    duplicate(Jumper)    Jumper4    1002
    izlude,1,1,1    duplicate(Jumper)    Jumper5    1002
    aldebaran,1,1,1    duplicate(Jumper)    Jumper6    1002
    xmas,1,1,1    duplicate(Jumper)    Jumper7    1002
    comodo,1,1,1    duplicate(Jumper)    Jumper8    1002
    yuno,1,1,1    duplicate(Jumper)    Jumper9    1002
    hugel,1,1,1    duplicate(Jumper)    Jumper10    1002
    

    thanks

    I want to make my event dont occur the other events

     

    example like this:

     

    poring catcher every 15 mins

    jumper every 30 mins

    disguise every 45 mins

    lucky pick every 60 mins

     

    poring catcher 0015

    jumper 0030

    disguise 0045

    luckypick 0100

     

    poring catcher 0115

    jumper 0130

    disguise 0145

    luckypick 0200

     

    etc

    etc

  6. i would like to mantain the timer in the event


     


    example like this:


     


    jumper will run every 30 mins


     


    00:30


    01:30


    02:30


    03:30


     


    etc etc how do i need to do that bcoz im new in scripting want to learn something

     

    which one is right

     

    OnClock0030:

    OnClock0130:

     

    or

    OnHour0030:

    OnHour0130:

     

    can you tell me the difference?

  7. bonus bLongAtkRate,30; - Increase LongRange Attack by 30%

     

    bonus2 bAddRace,7,30; - Increase Melee Damage by 30% to Demihuman Monster

     

    bonus2 bSubRace,7,30; - Reduce Melee Damage by 30% from Demihuman Monster

     

    press up if i help you

  8. optioninfo in my savedata

    CmdOnOffList["/notrade"] = 0
    CmdOnOffList["/noshift"] = 1
    CmdOnOffList["/noctrl"] = 1
    CmdOnOffList["/skillfail"] = 1
    CmdOnOffList["/notalkmsg"] = 0
    CmdOnOffList["/notalkmsg2"] = 0
    CmdOnOffList["/showname"] = 0
    CmdOnOffList["/fog"] = 0
    CmdOnOffList["/aura"] = 1
    CmdOnOffList["/window"] = 0
    CmdOnOffList["/miss"] = 1
    CmdOnOffList["/q1"] = 0
    CmdOnOffList["/q2"] = 0
    CmdOnOffList["/effect"] = 1
    CmdOnOffList["/bgm"] = 0
    CmdOnOffList["/sound"] = 0
    CmdOnOffList["/loginout"] = 1
    CmdOnOffList["/shopping"] = 1
    CmdOnOffList["/stateinfo"] = 1
    CmdOnOffList["/snap"] = 0
    CmdOnOffList["/itemsnap"] = 0
    CmdOnOffList["/skillsnap"] = 1
    CmdOnOffList["/hoai"] = 0
    CmdOnOffList["/merai"] = 0
    CmdOnOffList["/camera"] = 0
    CmdOnOffList["/lightmap"] = 0
    CmdOnOffList["/monsterhp"] = 1

    OptionInfoList["Trilinear"] = 0
    OptionInfoList["Bgm_Volume"] = 100
    OptionInfoList["Effect_Volume"] = 100
    OptionInfoList["AutoOpen1to1Window"] = 1
    OptionInfoList["AutoOpen1to1Window_Friend"] = 1
    OptionInfoList["PlaySound_Open1to1Window"] = 1
    OptionInfoList["Outdoor_ViewLatitude"] = -50.000000
    OptionInfoList["Outdoor_ViewDistance"] = 302.800049
    OptionInfoList["Indoor_ViewLatitude"] = -45.000000
    OptionInfoList["Indoor_ViewDistance"] = 300.000000
    OptionInfoList["SkinName"] = "<Basic Skin>"
    OptionInfoList["ChannelCopID"] = 0
    OptionInfoList["Window_XPos"] = 643
    OptionInfoList["Window_YPos"] = 2
    OptionInfoList["Simplicity_SkillList"] = 1
    OptionInfoList["Show_SkillDescript"] = 1
    OptionInfoList["ChangeChatMode"] = 1
    OptionInfoList["LockMouse"] = 0
    OptionInfoList["ShowBattleFieldIcon"] = 1
    OptionInfoList["MouseExclusive"] = 0
    OptionInfoList["ISFULLSCREENMODE"] = 0
    OptionInfoList["WIDTH"] = 1024
    OptionInfoList["HEIGHT"] = 768
    OptionInfoList["BITPERPIXEL"] = 16
    OptionInfoList["DEVICECNT"] = 3
    OptionInfoList["MODECNT"] = 2
    OptionInfoList["SPRITEMODE"] = 2
    OptionInfoList["TEXTUREMODE"] = 2
    OptionInfoList["bLockItemDropFromItemWnd"] = 0
     

    and optioninfo in my system

     

    CmdOnOffList = {

        ["/battlemode"] = 0,
        ["/notrade"] = 0,
        ["/noshift"] = 0,
        ["/noctrl"] = 1,
        ["/skillfail"] = 1,
        ["/notalkmsg"] = 0,
        ["/notalkmsg2"] = 0,
        ["/showname"] = 1,
        ["/fog"] = 1,
        ["/aura"] = 1,
        ["/window"] = 0,
        ["/miss"] = 1,
        ["/q1"] = 0,
        ["/q2"] = 0,
        ["/effect"] = 1,
        ["/bgm"] = 1,
        ["/sound"] = 1,
        ["/loginout"] = 1,
        ["/shopping"] = 1,
        ["/stateinfo"] = 1,
        ["/snap"] = 0,
        ["/itemsnap"] = 0,
        ["/skillsnap"] = 1,
        ["/hoai"] = 0,
        ["/merai"] = 0,
        ["/camera"] = 0,
        ["/btg"] = 1,
        ["/lightmap"] = 1
    }

    OptionInfoList = {

        ["Window_XPos"] = -1,
        ["Window_YPos"] = -1,
        ["Trilinear"] = 0,
        ["Bgm_Volume"] = 100,
        ["Effect_Volume"] = 100,
        ["AutoOpen1to1Window"] = 1,
        ["AutoOpen1to1Window_Friend"] = 1,
        ["PlaySound_Open1to1Window"] = 1,
        ["Simplicity_SkillList"] = 0,
        ["Show_SkillDescript"] = 0,
        ["ChangeChatMode"] = 1,
        ["LockMouse"] = 0,
        ["ChannelCopID"] = 0,
        ["Outdoor_ViewLatitude"] = -45,
        ["Outdoor_ViewDistance"] = 400,
        ["Indoor_ViewLatitude"] = -45,
        ["Indoor_ViewDistance"] = 300,
        ["SkinName"] = "<Basic Skin>",
        ["MouseExclusive"] = 1
    }



    you need 2 optioninfo so that the error will not occur anymore, press up botton for saying thanks.

  9. this script is not working 100% bcoz i tried it a few times

     

    and also i have a question in this script:

     

    why this script

     

    Your Premium Service will expire after " + callfunc("Time2Str",prmm)

     

    different in this script

     

    Your Premium Service will expire after " + callfunc("Time2Str",premium)

     

    and also the callfunc("Time2Str",premium)

     

    is different here

     

    function    script    getPremium

  10. i want when people use

    @guild

    they are allowed to add [ ®©¥¤™‡†™•… - _ ! @ ]

    this features not working anymore? i cant even add the guild name example AllianceRO™

×
×
  • Create New...