Jump to content

han

Members
  • Content Count

    2
  • Joined

  • Last visited

Posts posted by han


  1.  

    okie2. thanks! i'll try it later then!

    yes, you should try it offline before put it in your online server

     @@Litro I did test it,and I got this error

     

    and when i did  place "//" mes .@rwd[.@i+1] + " x +"+.@rwd[.@i+2]" + getitemname(.@rwd[.@i]);

    nothing happen after talking to npc, no items given

    [Error]: script error in file 'npc/custom/fatero/npc/ipfreebies.txt' line 23 column 0    Unexpected newline at string.    20:    21:         for ( set .@i, 0; .@i < getarraysize(.@rwd); set .@i, .@i + 3 )    22:                 mes .@rwd[.@i+1] + " x +"+.@rwd[.@i+2]" + getitemname(.@rwd[.@i]);*   23:         close2;        ^    24:         set #NewbieGift, 1;    25:         setd "$" + .@lip$ + "_NG", getd("$" + .@lip$ + "_NG") + 1;    26:

     

    mes .@rwd[.@i+1] + " x +"+.@rwd[.@i+2]" + getitemname(.@rwd[.@i]);

    to

    mes .@rwd[.@i+1] + " x +"+.@rwd[.@i+2]+" "+ getitemname(.@rwd[.@i]);

    you forgot the + sign near "

     

     


  2. i guess that his invek map does exist, but like what dastgir said, the problem is the .town he ddn't change the value of it, it will work if he follows what dastgir recommended to do.

     

     

    using this script might help u in future when u decided to add extra/more maps less hassle.

    //=========== Town Invasion ==========//=========== Version: 1.0 ===========-	script	towninvasion	-1,{OnClock0800:OnClock1400:OnClock2000:OnClock0200:	.rand$ = .maps$[rand(getarraysize(.maps$))];	announce "A Boss is destroying our "+.rand$+" city! Help us!",bc_all,0x00FFFF;	sleep2 2000;	announce "Hurry before it dominate the whole "+.rand$+"!",bc_all,0x00FFFF;	sleep2 5000;	announce "This monster is quite elusive! So please beat it up!",bc_all,0x00FFFF;	monster .rand$,0,0,"Bring it on!",1502,1,"towninvasion::OnInvadeKill";	end;OnInvadeKill:	announce "Good job, for keeping our city safe!!",bc_all,0x00FFFF;	getitem 7227,10;	end;OnInit:	setarray .maps$[0],"invek"; // Maps	end;}
×
×
  • Create New...

Important Information

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