View File
mapusers count Functions IP/GePard
You need at lest rAthena 10e7035bebdbc2ec25a392ee2cf14172ecf169e5 or above! (for old rAthena you should add the pr manually!)
SCRIPT HEADER (INFO)
//===== rAthena Script =======================================
//= getgpmapunits command
//= getipmapunits command
//===== By: ==================================================
//= Sader1992
//= Free!!
// https://rathena.org/board/profile/30766-sader1992/
//===== Current Version: =====================================
//= 1.0
//===== Compatible With: =====================================
//= rAthena Project
// https://github.com/sader1992/sader_scripts
//===== Description: =========================================
// getgpmapunits("map"); return the number of players with the same GePard id in the given map. (You must have GePard to work!)
// getipmapunits("map"); return the number of players with the same IP in the given map.
//============================================================
//==== please report any error you find
//============================================================
//============================================================
you should add the functions to your rAthena/npc/other/Global_Functions.txt to work (add it in that file where ever you like, no need for guide for that ?!)
Examples:
scenario ? >
you want a Warper NPC (or maybe event NPC) that allow only one player per IP in the map ?
//==============================================
//NPC EXAMPLE FOR IP FUNCTION
//==============================================
prontera,152,183,5 script Warper IP Test 446,{
if(getipmapunits("prontera") > 0){
mes "you already have a char inside this map";
}else{
warp "prontera",152,183;
}
end;
}
//==============================================
Same as above but per GePard ID not IP
//==============================================
//NPC EXAMPLE FOR GEPARD FUNCTION
//==============================================
prontera,155,183,5 script Warper GePard Test 446,{
if(getipmapunits("prontera") > 0){
mes "you already have a char inside this map";
}else{
warp "prontera",155,183;
}
end;
}
//==============================================
BONUS Test:
pvp warper
prontera,158,183,5 script PVP Warper IP Test 446,{
mes "would you like to teleport to the pvp map?";
if(select("yes:no") == 2)
close;
if(getipmapunits("pvp_n_1-1") > 0){
mes "there is another character with the same ip inside the map!";
mes "only 1 character per IP allowed in this map!";
}else{
warp "pvp_n_1-1",0,0;
}
end;
}
Submitter
sader1992
Submitted
10/29/2018
Category
Utilities
Video
Content Author
sader1992
short description
There are 3 different generations of laboratory monsters:
1. Egnigem, Wickebine, Laurell, Errende, Josephina, Kavach, Armeyer
2. Seyren, Eremes, Kathryne, Margaretha, Cecil, Howard
3. Randel, Gertie, Celia, Chen, Trentini, Alphoccio, Flamel
I collect them, correct mistakes, add every possible class to each monster,
recolor them in 3 official color sets and improve their aura.
As a basis, I took the logic of the first implemented sprites at lhz_dun01-03
If you compare the following kRO sprites with corrections in the changelog you will notice
that the logic has ceased to be respected and the sprites do not even have sounds!
LINK TO FILE:
https://mega.nz/file/tGFCxRSL#y5S8uLWw0cMCrLt059ycmZSeeFY1oLYTSVJwa0BoEWs
[DONE]
1st class
2nd class
advanced class
3rd class
3rd japan edition class
4th class
latest expanded classes
previous versions of some classes
custom extended classes
The total number of sprites in the pack: all classes from novice to 4th class (with different types of weapons) x 3 official color sets = 600 sprites
changelog:
(!) Below are the non-clean gifs recorded using GifCam.exe over the Act Editor (!)
So these can brake or accelerate and do not serve as an accurate image. These gifs are added just for reference
For clarity, the background of the laboratory is taken, and the sprites are shown in transparent blue 969F9EE7 and with improved aura
Seyren Windsor
Eremes Guile
Kathryne Keyron
Margaretha Sorin
Cecil Damon
Howard Alt-Eisen
Randel Lawrence
Gertie Wie
Celia Alde
Chen Lio
Trentini Ilaria
Alphoccio Basil
Flamel Emure
Egnigem Chenia
Wickebine Tres
Laurell Weinder
Errende Ebecee
Josephina
Kavach Icarus
Armeyer Dinze
@norecall/@nr : Don't be recalled by Emergency Call skill.
It's only a .diff file to Apply on your rAthena folder.
I made this free release starting of the idea of @YtalloNv here : https://rathena.org/board/topic/117304-i-need-to-add-the-norecall-command-on-my-server/#comment-353203
Go in your db/pre-re/skill_require_db.txt
46,0,0,12,0,0,0,11,1,1,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //AC_DOUBLE
Change 10th column to 2 like that :
46,0,0,12,0,0,0,11,1,2,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //AC_DOUBLE