*movenpc "<NPC name>",<x>,<y>{,<dir>};
Sollte der command sein den du suchst.
movenpc "Eremes",214,47,3;
Wenn ich dir nen tipp geben kann, füg dem npc #irgendwas an, falls du irgendeinen anderen npc hast der so heißt würde es zu komplikationen führen.
Nenn ihn zb Eremes#erms1 oder so, ist dir überlassen.
Pre-Renewal official EDP behaviour:
Boosts damage of all skills but meteor assault and soul destroyer/breaker. Also boosts melee attacks by the same amount. It's an "on top" damage times X modifier you could say.
This includes:
Grimtooth, Sonic Blow....even throw sand is affected by EDP.
Grimtooth and Sonic Blow where one of the strongest skills in combination with EDP, 5k edp grimtooth def anyone?
It's possible when the person died multiple times, the EXP can go to 0 (if this is your question).
Lets say from level 93 to 94 you would need 200.000 EXP to gain a level.
The said player just leveled up and died 1-2 times.
Per Death the player will lose 1% of the CURRENT maximum EXP needed to gain a level, in this case 2000 exp.
Scenario:
Player levels up and has a rest of 2000 EXP left.
Dies 1 time and loses 1% of EXP which is 2000 exp.
2000 - 2000 = 0;
Mystery solved.
You mean if the player has for example 256 str,vit,agi,dex,int AND luk?
if (readparam(bStr) > 255 && readparam(bAgi) > 255 && readparam(bVit) > 255 && readparam(bInt) > 255 && readparam(Dex) > 255 && readparam(bLuk) > 255){
This would block the person when allstats are atleast at 256.
Also, you might want to add this line here below the announce part, otherwise this guy won't get disconnected:
atcommand "@kick "+strcharinfo(0);
when using
if (statement here)
the line below is only executed if above statement is true,
if you add other lines below it, they will be always read.
in this example
if(sd) -> if session_data is true -> run code below (player)
block asura for xx seconds
if(sd)
block asura -> checking if SD is true
block more stuff -> ignored the SD statement
When a monster uses body relocation aka snap, it will crash the server most likely.
You are misunderstanding the s1 / p1 part. This one is defined in the map_athena.conf & char_athena.conf. And this one is also defined in the login sql database.
Do you even have a SQL database setup?
EASYMODE*
After:
announce "Guess the Number: The event has started!",0;
enablenpc "guess";
Add
initnpctimer;
end;
OnTimer120000:
disablenpc "guess";
set .guessstart,0;
stopnpctimer;
announce "No one guessed the number! The event is over!",0;
end;
ALSO:
After:
getitem @prize,@amoun;
disablenpc "guess";
set .guessstart,0;
close2;
Add:
stopnpctimer "guessannouncer";
Otherwise the "No one guessed the number." will popup regardless if someone guessed it.
If you are using a later client above march 2012, the descriptions are stored in mainfolder/System/itemInfo.lub
You most likely need to download the decompiled file here
http://svn6.assembla.com/svn/ClientSide/Lua_Project/System/itemInfo.lua
Edit your item in there, and after that change the filename to itemInfo.lub
I would suggest you to just create a new quest inside the database and then let it check if the timer has run out.
You could also use the gettimetick(2) script command.
First you set the current time with when the "timer" should ~start.
set q_timer, gettimetick(2);
close;
set .@timer, gettimetick(2)-q_timer;
set .@wait, 600-.@timer;
if(.@timer < 600)
{
mes "[Rain]";
mes "Please come back in "+.@wait+" seconds, I need to concentrate.";
close;
}
else{
mes "[Rain]";
mes "Ah, c'est toi !";
next;
mes "[Rain]";
mes "Oh, it's you. Here it is.";
getitem 6090,1;
close;
}
q_timer = time when the variable was set
if(.@timer < 600) = if *current time* minus time when variable was set, is smaller than 600 seconds execute code below
else = if it's bigger than 600 seconds or more have passed
To change the time which is needed before you get the item. edit the 600 to whatever number you want.
set .@wait, 600-.@timer;
if(.@timer < 600)
Your map is outdated, patch up your client to get the new map.
Or check this out: -> http://rathena.org/board/files/file/2487-new-izlude-town-map-files-models/