Jump to content

  •  

purityz

Member Since 29 Apr 2013
Offline Last Active Nov 25 2015 04:37 PM
-----

Issues I've Posted

    lastest update make map crashing on battleground.

    Posted 23 Sep 2013

    run this
    - script test -1,{
    OnInit:
    $@team1= bg_create_team("prontera",36,39);
    $@team2 = bg_create_team("prontera",168,156);
    end;
    }
     
    


    crash at start up

    int bg_send_xy_timer(int tid, unsigned int tick, int id, intptr_t data) {
        //bg->team_db->foreach(bg->team_db, bg->send_xy_timer_sub, tick); << comment this line out stop mapserver from crashing
        return 0;
    }


    guild aura bug

    Posted 5 Sep 2013

    when Player A (Guild Master) attacks Player B(not guildmember). Player B will get str agi vit +5

    instance, mapserver-crashing

    Posted 18 Aug 2013

    morocc,175,47,3    script    test    1002,{
    set .@id,instance_create("Test",0, IOT_NONE);
    instance_attachmap("prontera", .@id,1,"mymap"+.count);
    instance_init .@id;
    instance_set_timeout(180000,180000,.@id);
    mes "Your Mapname is ^000FFF mymap"+.count;
    .count=.count+1;
    close;
    }





    how to reproduce
    1.click at npc it will created instance named "mymap0".
    2.click at npc again you will got another instance named "myname1".
    3.warp to "mymap0" using @warp or scriptcommand.
    4.map server will crash.



    ps.sometimes it wont crash but most time it do.

    bg mapflag + instance + reloadscript = mapserver crash

    Posted 11 Aug 2013

    if you're using reloadscript when they are a instance map that using battleground mapflag. mapserver will crash.

    bat_c01 mapflag battleground 2
     
    morocc,150,150,5    script    testtestsss    1002,{
    set .@id,instance_create("bg instance",0,IOT_NONE);
    instance_attachmap("bat_c01", .@id,1,"mymapname");
    instance_init .@id;
    warp "mymapname",0,0;
    }

    after clicking this npc, try to use @reloadscript then mapserver will crash.


    also, I dont know if is this a bug.
    I cannot creating IOT_NONE <OwnerType> instance without player attach to a script.
    if I do mapserver will report "script_rid2sd: fatal error ! player not attached".



    *****edit*****

    if you do it this way
    morocc,150,150,5    script    testtestsss    1002,{
    set .@id,instance_create("bg instance",0,IOT_NONE);
    instance_attachmap("bat_c01", .@id,1,"mymapname");
    instance_init .@id;
    
    //set mapflag here
    setmapflag "mymapname",mf_battleground,2;
    
    warp "mymapname",0,0;
    }
    


    it wont crash after @reloadscript

    unitskillusepos, unitskilluseid

    Posted 4 Aug 2013

    unitskillusepos and unitskilluseid do not working.

    using this script

    morocc,159,161,1 script testtesttest 111,{
    unitskillusepos getnpcid(0),"WZ_STORMGUST",10,159,161;
    end;
    }


    based on document, it should cast Storm Gust at 159,161.

    same as unitskilluseid,

    morocc,159,161,1 script testtesttest 111,{
    unitskilluseid getnpcid(0),"BA_POEMBRAGI",10;
    end;
    }