Jump to content

Emistry

Forum Moderator
  • Content Count

    9,392
  • Avg. Content Per Day

    3
  • Joined

  • Last visited

  • Days Won

    219

Emistry last won the day on June 23

Emistry had the most liked content!

Community Reputation

1,992 Excellent

About Emistry

  • Rank
    /me hate IPS4 Editor
  • Birthday July 20

Profile Information

  • Gender
    Male
  • Location
    Novice Ground
  • Server
    127.0.0.1
  • Github
    emistry
  • Interests
    Chit-chat ~

Contact Methods

Recent Profile Visitors

46,106 profile views
  1. refer to the value you have set in your lua files/datainfo/accessoryid.lub
  2. OnPCDieEvent: [email protected] = killerrid; if (strcharinfo(3) == .map$ && [email protected] != getcharid(3)) { [email protected]_gold_point = #GOLDPOINTS; #GOLDPOINTS = 0; dispbottom "You died, you lost all the points."; if (attachrid([email protected])) { #GOLDPOINTS += [email protected]_gold_point; dispbottom "You gained "[email protected]_gold_point+" gold points."; } } end;
  3. setarray [email protected],100,100,100,100,100,100,100,100,0,0,0,0,0,0,0,0,0,0,0,0; increase/decrease the value ..... (value / sum_of_value * 100%) = your rate
  4. [1234] = { Title = "Sample Quest", IconName = "ico_ep.bmp", Description = { "Go to <NAVI>[prontera]<INFO>prontera,155,181,0,101,0</INFO></NAVI>." }, Summary = "Sample Quest for navigation." }, edit your OnGoingQuestinfoList LUB file.
  5. set [email protected], 50 - $giveaway; mes [email protected] + " Items left."; change to mes "Give Away: "+ $giveaway;
  6. better formatting and readability for each fields.
  7. - script Guarda -1,{ OnInit: .map$ = "prtg_cas01"; .enable_if_woe_on = 1; setmapflag .map$, mf_loadevent; end; OnPCLoadMapEvent: if (strcharinfo(3) == .map$) { [email protected]_gid = getcastledata(.map$, 1); [email protected] = getcharid(2); if ([email protected]_gid && [email protected] == [email protected]_gid) { dispbottom "[Sala do Clã]: Seja bem vindo a Sala do Clã"; } else { dispbottom "[Sala do Clã]: Apenas os Guerreiros que conquistaram o Castelo de Kriemhild podem estar neste lugar!"; if (.enable_if_woe_on && (agitcheck() || agitcheck2() agitcheck3())) { // allow during woe if enabled. } else { warp "kalindor",146,169; } } } end; }
  8. change query_sql( "SELECT `login`.`account_id` FROM `login` INNER JOIN `char` ON `char`.`account_id` = `login`.`account_id` WHERE `last_ip` = '"+escape_sql( getcharip() )+"' AND `char`.`online` = 1 AND `login`.`account_id` NOT IN ( SELECT `account_id` FROM `autotrade_merchants` )",[email protected] ); to query_sql( "SELECT `login`.`account_id` FROM `login` INNER JOIN `char` ON `char`.`account_id` = `login`.`account_id` WHERE `last_ip` = '"+escape_sql( getcharip() )+"' AND `char`.`online` = 1 AND `login`.`account_id` NOT IN ( SELECT `account_id` FROM `vendings` )",[email protected] );
  9. There are 2 reasons: you didn't compiled it, or failed to compile it you compiled it but your antivirus removed the exe
  10. find the Go function and replace it.
  11. your script, just redundancy, and NPC may not show upon reloaded at certain hours. performance-wise, maybe its is lightly better, since it do much less computation than mine, but its too less to be notice.
  12. you should change those for(set .i,0; .i < getarraysize(.idc);set .i,.i+1){ for(set .x,1; .x <= 10;set .x,.x+1){ if(getequipid(.x) == .idc[.i]){ unequip .x; } } } into for(set [email protected],0; [email protected] < getarraysize(.idc);set [email protected],[email protected]+1){ for(set [email protected],1; [email protected] <= 10;set [email protected],[email protected]+1){ if(getequipid([email protected]) == .idc[[email protected]]){ unequip [email protected]; } } } anyway, i think you could try something like this, which should work too. OnPCLoginEvent: if (!getgmlevel()) { if (isequippedcnt(30267,30268,30269,30285,30286,30287,30282,30283,30284,30276,30277,30278,30264,30265,30266,30273,30274,30275,30270,30271,30272,30279,30280,30281,30289,30302,30316,30261,30262,30263,30310,30311,30312,30295,30296,30297,30305,30293,30290,30303,30299,30291,30300,30298,30292,30308,30309,30294,30063,30064,30065,30066,30067,30068,30301,30304,30288,30306,30307,30317,30314,30315,30313,30318,30319,30320,30321,30322,30323,30197,30198,30199,30200) > 0) { nude; } } end;
  13. OnInit: OnTimer1000: initnpctimer; delwaitingroom; waitingroom "Status: "+( (getmapusers(.yourmap$) == 0)?"No Player":"Having Player"),0; end; avoid using those infinite while(1) tricks... its not resource friendly...
  14. http://nemo.herc.ws/clients/#2018
  15. prontera,139,219,3 script NPC 99,{ mes "helo"; close; OnInit: OnMinute00: if ((gettime(DT_DAYOFWEEK) == SUNDAY && gettime(DT_HOUR) >= 18 && gettime(DT_HOUR) < 19) // Day A 1800~1900 || (gettime(DT_DAYOFWEEK) == MONDAY && gettime(DT_HOUR) >= 19 && gettime(DT_HOUR) < 20) // Day B 1900~2000 ) { hideoffnpc strnpcinfo(0); } else { hideonnpc strnpcinfo(0); } end; }
×
×
  • Create New...

Important Information

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