-
Posts
15 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by sinya
-
-
"Increase MaxHP, MaxSP per refine."
bonus bMaxHP,getrefine(); bonus bMaxSP,getrefine();
-
function script int__ { set .@num, atoi(""+getarg(0)); if ( .@num == 0 || .@num >= 2147483647 ) return getarg(0); set .@l, getstrlen(""+.@num); for ( set .@i,0; .@i < .@l; set .@i, .@i + 1 ) { set .@num$, .@num % pow(10,.@i+1) / pow(10,.@i) + .@num$; if ( (.@i+1) % 3 == 0 && .@i+1 != .@l ) set .@num$, ","+ .@num$; } return .@num$; }
Still got same error..
dunno the reason why you still have that debug warning
I don't have any warning on map console
-
Here?
status.c
#ifdef RENEWAL // renewal formulas
status->hit += level + status->dex + status->luk/3 + 175; //base level + ( every 1 dex = +1 hit ) + (every 3 luk = +1 hit) + 175
status->flee += level + status->agi + status->luk/5 + 100; //base level + ( every 1 agi = +1 flee ) + (every 5 luk = +1 flee) + 100
status->def2 += (int)(((float)level + status->vit)/2 + ((float)status->agi/5)); //base level + (every 2 vit = +1 def) + (every 5 agi = +1 def)
status->mdef2 += (int)(status->int_ + ((float)level/4) + ((float)status->dex/5) + ((float)status->vit/5)); //(every 4 base level = +1 mdef) + (every 1 int = +1 mdef) + (every 5 dex = +1 mdef) + (every 5 vit = +1 mdef)
-
to fix output file name
index.php find and edit the red part
// Copy Equip Sprite SPR/ACT Files To Output Folder
copy('Input_Data/Equip/'. $item_name .'.spr', $sprite_female .'/¿©_'. $item_name .'.spr');
copy('Input_Data/Equip/'. $item_name .'.act', $sprite_female .'/¿©_'. $item_name .'.act');
copy('Input_Data/Equip/'. $item_name .'.spr', $sprite_male .'/³²_'. $item_name .'.spr');
copy('Input_Data/Equip/'. $item_name .'.act', $sprite_male .'/³²_'. $item_name .'.act');
-
This happen when I click at NPC to summon monsters. It's same like above right?
yeah~ the debug message give you a hint: Function: getstrlen
so covert to string
set .@l, getstrlen(""+.@num);
-
Rathena not compatible.
if( (flag = pc_additem(sd, &it, 1)) ) { clif_additem(sd, 0, 0, flag); return 1; } clif_rental_time(sd->fd, nameid, seconds); pc_inventory_rental_add(sd, seconds); if( log_config.enable_logs&LOG_SCRIPT_TRANSACTIONS ) log_pick_pc(sd, "N", nameid, 1, NULL); return 0;
try this
if( (flag = pc_additem(sd, &it, 1, LOG_TYPE_SCRIPT)) ) { clif_additem(sd, 0, 0, flag); return 1; } clif_rental_time(sd->fd, nameid, seconds); pc_inventory_rental_add(sd, seconds); log_pick_pc(sd, LOG_TYPE_SCRIPT, nameid, 1, &it); return 0;
-
try to replace all getmapmobs("this") with mobcount("this","all")
Thanks for the concern..
After do like you said, the NPC can be use and can summon MVP. But on the map-server, got these debug :
inside function script int__ {
find
set .@num, atoi(getarg(0));
and replace with
set .@num, atoi(""+getarg(0));
-
BUMP..
I really need this script..
try to replace all getmapmobs("this") with mobcount("this","all")
-
If i finish doing those things, what should be the actual script for a certain item to block dispell?
bonus bIgnoreDispell,n; n -->any number
-
-
-
src/map/config/renewal.h
//#define RENEWAL_CAST
-
coz it happaens when u update mercenary_db by using @reloadmobdb command
but that coommand doesn't reload elemental_skilldb and read mercenary_skilldb
so you must use @reloadskilldb after @reloadmobdb
-
try to @reloadskilldb
Error
in Scripting Support
Posted
let me guess ... you are using eamod right?
pcblock ,0,1;