Jump to content

Dastgir

Script Developers
  • Content Count

    3803
  • Joined

  • Last visited

  • Days Won

    249

Posts posted by Dastgir


  1. @Suggestion

    Use bc_self so that output will be clearer..

    and

     

    if ( getguildname( .guild_id[.i] ) == "null" ) requestguildinfo .guild_id[.i];

    Other guild names become NULL when you restart your server.

     

     

       	 mes "Sending data...";        announce "Format: Data Based on "+gettime(5)+"Days/"+$AgitCount+" Castles",bc_self,0xff6622;        announce "[GuildName] - Breaks - Kills - Death - GuildPoints "+((getgmlevel()>=getvariableofnpc(.Config_UGR[4],"UltimateRanker#00"))?"- Active Partrticipant":"")+" ",bc_self,0xff6622;        announce "----------------------",bc_self,0xff6622;        for (.i=0; .i<getarraysize(.guild_id); .i++){        if ( getguildname( .guild_id[.i] ) == "null" ) requestguildinfo .guild_id[.i];            announce (.i+1) +". [ "+getguildname(.guild_id[.i])+" ] - "+.breaks[.i]+" - ^66D729"+.kills[.i]+" - "+.deaths[.i]+"0 - "+.percent[.i]+" "+((getgmlevel()>=getvariableofnpc(.Config_UGR[4],"UltimateRanker#00"))?"- "+.apart[.i]+"":"")+"",bc_self,0xff6622;        }        announce "----------------------",bc_self,0xff6622;

     

    @question

     

    What is this for?

     

    ((getgmlevel()>=getvariableofnpc(.Config_UGR[4],"UltimateRanker#00"))?" - Active Partrticipant":"")+" "

     

     

    if gm level is greater than or equals 3600 show "- Active Partrticipant" ? correct me if i am wrong. :D

    Seems like i messed away the getgmlevel Part, First i implemented these, than after seeing your comment here, i used [4] for time, and it messed away.

     

     

    Other guild names become NULL when you restart your server. 

    Never experienced this, but yet, i will implement your way.

     

    About bc_self,(I don't like announce, that's why i have chosen npc dialog...)


  2. 1. Whenever I @agitstart & @agitstop and @reloadnpc this executes set $AgitCount, $AgitCount + 1;. and may high percentage / guild points bug.

     

    2.

    [SQL]: DB error - Column 'percent' cannot be null[Debug]: at c:testsrcmapscript.c:14582 - UPDATE `ugr_guild_info` SET `percent`=( ((1/3*100)*20/100)+((`kills`/(`deaths`+1)*100)*10/100)+((`breaks`/1*100)*50/100)+((`APart`/(select count(*) FROM `guild` WHERE `guild`.`guild_id`=`ugr_guild_info`.`guild_id`)*100)*20/100)) WHERE `date`=201403[Debug]: Source (NPC): UltimateGuildRanker at prontera (153,181)

    break emperium and use @breakguild then check UGR npc.

     

     

    These are the problems I've encountered so far.. ^^

     

     

    1) & 2) I will fix it in next update. (you could have lowered the percent of agitcount too,  but anyways, included some options to prevent unnecessary increment of AgitCount)

    Added a new configuration .Config_UGR[4](set seconds here), if WoE Starts again within x seconds, then AgitCount will not increase.

     

     

    (you were using v1.0b, while v1.0c was out, anyways new version will be v1.0d, and will have these problems fixed.)


  3. ahh sprintf warning in new version, nah(impossible), I removed all sprintf functions. and only 1 sscanf function is there in Atcommand(That's an necessity)

     

    /usr/include/stdio.h:363: note: expected ‘const char * __restrict__’ but argument is of type ‘long unsigned int’

    Its not an plugin problem, see the include path, its your msvc stdio problem.

    While opt_flag was also fixed.

     

    So just get the new version, and its fixed.


  4. Make 4 Inivisible Trader NPC's

    then make 1 new npc with list

    prontera,150,150,5<tab>script<tab>Vote Shop<tab>,999,{mes "Select Category";switch(select("SHOP1:SHOP2")){    case 1:        openshop("Vote_SHOP1");        close;    case 2:        openshop("Vote_SHOP2");        close;}}-<tab>trader<tab>Vote_SHOP1<tab>-1,{//Some Stuff HERE}-<tab>trader<tab>Vote_SHOP2<tab>-1,{//Some Stuff HERE}

    Haven't tested, but should work.


  5. Maybe I am the only one who is given warning with sprintf (maybe bcoz i use MSVC++ for compiling.) 

    Changing it to sprintf,

    (anyways, it was just a warning and i guess it would have compilied, and ran properly._


  6.  

    Thank you hahah!

     

     

     

     

    What do u think is the reason of this?

     

     

    auraset.c: In function 'atcommand_aura':auraset.c:85: warning: implicit declaration of function 'sscanf_s'auraset.c:95: warning: implicit declaration of function 'sprintf_s'auraset.c: In function 'status_change_start_postAura':auraset.c:208: warning: unused variable 'tick_time'auraset.c:208: warning: unused variable 'val_flag'auraset.c: In function 'status_change_end_postAura':auraset.c:252: error: 'struct clif_interface' has no member named 'sendauras'auraset.c:231: warning: unused variable 'opt_flag'make[1]: *** [../../plugins/auraset.so] Error 1 

    Maybe I need too update again my trunk. 

     

    Maybe later hehe

     

     

    Fixed problems of tick_time,val_flag(Strange, my VC++ haven't given warning of unused variables)

    Fixed clif->sendauras(It was completely my fault for not checking in newly checkout'd Hercules)

     

    You don't need to update the trunk, it was the plugin problem ;) (Uploaded new version, let's wait till it gets approved_


  7.  

    I wrote this online web service, if it can help : http://www.robrowser.com/prototype/packet-keys/

    It's a tool to list the current brokens keys (and the working one), there is also a form to help generate new keys.

     

    All the tests are executed 100'000 times (it's enough and avoid to freeze your browser for a while since all tests are done client-side).

     

    Have fun~

     

    may i ask for the form to help generate new keys ?

     

    thanks

    you can type your keys in those forms and test it, it will show passed/Failed.

  8.  

    /*========================================== * @buffmanage *------------------------------------------*/ACMD(buffmanage){    nullpo_retr(-1,sd);    npc_event(sd,"Buff::OnBuffManage",0);    return 0;}
    I keep getting @buffmanage failed, but it still works. and my other custom commands.
    evilpuncker showed u an alternative..

    but , if still you want solution

    change

    return 0;

    To

    return true;


  9. Hello @ All

     

    I am not sure where this is suppose to be posted but, how do i increase the damage of all skills?

    my players are complaining about their dmg is to low and should be higher. they compare our server which is 50 50 25 to

    offical servers that are 1 1 1 and our dmg is way lower than theirs.

     

    mfg

    Snowflake

    Rates doesnt affect the damage, afaik, you can increase skill damages by map_zone_db.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.