Warp Hit Delay

Dastgir

Core Developer
Messages
3,805
Points
0
Discord
Dastgir#1460
IRC Nickname
Dastgir
Github
dastgirp
Emulator
Client Version
2019-02-28 RE
thumb-9bf809c1139407b509eb6fde3370f136-screenhercules013.jpg


File Name: Warp Hit Delay

File Submitter: Dastgir

File Submitted: 12 Jan 2015

File Category: Plugins

It is warp delay plugin

Once you get a hit(not a miss) , you will be attached by a timer of x seconds, only after that you will be able to warp(be it be any wings,warp command,go command, npc or skill)

You can have a battle_config on any of the files in conf/battle/ with

Code:
warp_delay_mob: Seconds*1000warp_delay_pet: Seconds*1000warp_delay_homun: Seconds*1000warp_delay_merc: Seconds*1000warp_delay: Seconds*1000  //For Playerswarp_delay_others: Seconds*1000 //(For All Other Hits except mob/pet/homunc/merc)
Building Plugin for Linux: http://herc.ws/wiki/Building_HPM_Plugin_for_gcc

Building Plugin for Windows: http://herc.ws/wiki/Building_HPM_Plugin_for_MSVC

P.S: You need HPMHooking Enabled.

Click here to download this file

 
Last edited by a moderator:
Is it possible to make it monster different from player?

Like for example I want to set the time:

10 Sec if Player but 5 seconds only if monster?

 
Is it possible to make it monster different from player?

Like for example I want to set the time:

10 Sec if Player but 5 seconds only if monster?
Added the option in v1.1

You can have a battle_config on any of the files in conf/battle with "go_warp_delay: Seconds*1000". 5 Battle Configs: warp_delay warp_delay_mob warp_delay_pet warp_delay_homun warp_delay_merc Format same as mentioned above.
Or directly edit plugin

Code:
int64 warp_delay = 10000;	//Seconds*1000 (Second) Delay(For Player and Others).int64 warp_delay_mob = 10000;	//Seconds*1000 (Second) Delay(For Monster).int64 warp_delay_pet = 10000;	//Seconds*1000 (Second) Delay(For Pet).int64 warp_delay_homun = 10000;	//Seconds*1000 (Second) Delay(For Homunculus).int64 warp_delay_merc = 10000;	//Seconds*1000 (Second) Delay(For Mercenary).
 
Is it possible to make it monster different from player?

Like for example I want to set the time:

10 Sec if Player but 5 seconds only if monster?
Added the option in v1.1

You can have a battle_config on any of the files in conf/battle with "go_warp_delay: Seconds*1000". 5 Battle Configs: warp_delay warp_delay_mob warp_delay_pet warp_delay_homun warp_delay_merc Format same as mentioned above.
Or directly edit plugin

int64 warp_delay = 10000; //Seconds*1000 (Second) Delay(For Player and Others).int64 warp_delay_mob = 10000; //Seconds*1000 (Second) Delay(For Monster).int64 warp_delay_pet = 10000; //Seconds*1000 (Second) Delay(For Pet).int64 warp_delay_homun = 10000; //Seconds*1000 (Second) Delay(For Homunculus).int64 warp_delay_merc = 10000; //Seconds*1000 (Second) Delay(For Mercenary).
PERFECT

 
Is it possible to make it monster different from player?

Like for example I want to set the time:

10 Sec if Player but 5 seconds only if monster?
Added the option in v1.1

You can have a battle_config on any of the files in conf/battle with "go_warp_delay: Seconds*1000". 5 Battle Configs: warp_delay warp_delay_mob warp_delay_pet warp_delay_homun warp_delay_merc Format same as mentioned above.
Or directly edit plugin

int64 warp_delay = 10000; //Seconds*1000 (Second) Delay(For Player and Others).int64 warp_delay_mob = 10000; //Seconds*1000 (Second) Delay(For Monster).int64 warp_delay_pet = 10000; //Seconds*1000 (Second) Delay(For Pet).int64 warp_delay_homun = 10000; //Seconds*1000 (Second) Delay(For Homunculus).int64 warp_delay_merc = 10000; //Seconds*1000 (Second) Delay(For Mercenary).
PERFECT
Update:

If I will type @die The server will crash

 
Update:

The server will crash also if you kill monsters.


Two cause of error now are 
-@die
-Killing monsters

 
Update:

The server will crash also if you kill monsters.

Two cause of error now are 

-@die

-Killing monsters
I will update the plugin in few hours(~ 3 hours)
 
Update:

The server will crash also if you kill monsters.

Two cause of error now are 

-@die

-Killing monsters
Fixed the Crash by @die(killing monsters crash was the same reason as of @die, so both are fixed) in v1.1a

 
Last edited by a moderator:
When using Teleportation skill, u can stlll have a delay even if no one is hitting you..

 

screenSpoonFeedRO013.jpg

 
sir when i implemented it in my src ..
and make all

always say 
Awaiting maps from map-server.

 

 
sir when i implemented it in my src ..

and make all

always say 

Awaiting maps from map-server.
Run map-server separately and see what's the error
 
Is this include with monster? pet? humo? mercenary? I want for player delay only. How to config? Thanks man. Its a nice work!

 
Is this include with monster? pet? humo? mercenary? I want for player delay only. How to config? Thanks man. Its a nice work!
Setwarp_delay:

To the required delay

And all other to 0

 
Is this include with monster? pet? humo? mercenary? I want for player delay only. How to config? Thanks man. Its a nice work!
Setwarp_delay:

To the required delay

And all other to 0
like this?

Code:
int64 warp_delay = 5000;	//Seconds*1000 (Second) Delay(For Player and Others).int64 warp_delay_mob = 0;	//Seconds*1000 (Second) Delay(For Monster).int64 warp_delay_pet = 0;	//Seconds*1000 (Second) Delay(For Pet).int64 warp_delay_homun = 0;	//Seconds*1000 (Second) Delay(For Homunculus).int64 warp_delay_merc = 0;	//Seconds*1000 (Second) Delay(For Mercenary). 
 
Is this include with monster? pet? humo? mercenary? I want for player delay only. How to config? Thanks man. Its a nice work!
Setwarp_delay:

To the required delay

And all other to 0
 like this?

Code:
int64 warp_delay = 5000;	//Seconds*1000 (Second) Delay(For Player and Others).int64 warp_delay_mob = 0;	//Seconds*1000 (Second) Delay(For Monster).int64 warp_delay_pet = 0;	//Seconds*1000 (Second) Delay(For Pet).int64 warp_delay_homun = 0;	//Seconds*1000 (Second) Delay(For Homunculus).int64 warp_delay_merc = 0;	//Seconds*1000 (Second) Delay(For Mercenary). 
Exactly..
 
Back
Top