-
Posts
75 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by GM Incarnation
-
-
Thanks Phantasm.
-
Hi
Can help me how to reduce asura strike to 50% thanks.
-
Hi Bro
Can try this http://www.mediafire...d8q6tdhis4d7a9l or u can try from here http://www.papa-sprite.com/forum/viewtopic.php?f=27&t=35
-
remove the "DBPATH" on "%s/"DBPATH"monster_block.txt", db_path);
Hi Rage
Can u explain more detail
Thanks
-
Hi Cretino
i got some error as per below pls advise thanks
-
Hi Rage
Still got error pls advise
Please adivse this error thanks.
-
Any senior pls advise
-
i'm still waiting for this source
-
Please advise.
Thanks
-
Hi Rage
Still got error pls advise
-
Hi Euphy
Here the error please advise
-
Hi MarkZD
what u mean by Here pls advise more detail because got error when i compile
Or u can help me to combine all in 1 script.
Thanks
Pls advise.
-
Hi to all senior
Please help me to block @monster command from GM.
The @monster only block Treasure Chest Monster and MVP.
Thanks.
Anyone can help me?
-
In src/map/atcommand.c:
Find:
/*========================================== * *------------------------------------------*/ ACMD_FUNC(monster) { char name[NAME_LENGTH]; char monster[NAME_LENGTH]; char eventname[EVENT_NAME_LENGTH] = ""; int mob_id; int number = 0;
Before add:
static int monsterBlock(int compareid){ FILE *fp; char line[1024]; int ln=0; int nameid; char filename[255]; snprintf(filename, 255, "%s/"DBPATH"monster_block.txt", db_path); if( (fp=fopen(filename,"r"))==NULL ){ ShowError("can't read %s\n", filename); return -1; } while(fgets(line, sizeof(line), fp)) { if(line[0] == '\n' || line[0] == '\r' || line[0] == ' ' || (line[0]=='/' && line[1]=='/')) continue; nameid = atoi(line); if(compareid == nameid) return 1; // Monster Blocked } fclose(fp); return 0; // Monster Accepted }
Within ACMD_FUNC(monster) find:
int mob_id;
Replace with:
int mob_id, mB = 0;
Find:
if (mob_id == MOBID_EMPERIUM) { clif_displaymessage(fd, msg_txt(83)); // Monster 'Emperium' cannot be spawned. return -1; }
After add:
if(pc_get_group_level(sd) < 99 && (mB = monsterBlock(mob_id))) if(mB == 1){ clif_displaymessage(fd, "Acess_Restriction: Administrator restricted this monster from being called by @monster direct command."); return -1; }
Go to db path and create a file called: monster_block.txt
Put into it ID from monsters you want to block, like this:
//Comments
1001 //Scorpion
1002
1003 //etc
--------------------------------------------------------------------------------------------------------
Admin level 99 can still summon any monster, if you don't want it change it:
if(pc_get_group_level(sd) < 99 && (mB = monsterBlock(mob_id)))
To:
if((mB = monsterBlock(mob_id)))
Hi MarkZD
Pls adivse where i must pu Before add:
thanks
-
Hi Jhedzkie
This problem already fix thanks for your kindly assist.
-
Hi Sir
I need double falcon like this http://www.eathena.ws/board/index.php?showtopic=204744&hl=falcon
Do u have it?
Thanks.
-
Hi all
anyone can share with me double falcon sprite thanks.
Anyone got the double falcon pls share with me.
Thanks
-
Sorry for the mention i will waiting a latest Script Monster Wiki Event
Thanks.
-
I dont know how to update const.txt. Pls advise
-
Oh.. I see Sorry about that.
-
Hi Sir
I already try Monster Wiki Event Version 3 but got more error here i post the error
-
Hi Emistry
Can u give me the example pc bonus script like what?
Thanks
-
Hi All
Pls help me to fix this error.
Thanks.
-
Hi Emistry
Noted. I will waiting the wiki event.
Skill Devotion Cannot use
in Database Support
Posted
Hi
Anyone can help me why my skill devotion cant use in party?
Pls adivise