Angelmelody
Members-
Content Count
772 -
Joined
-
Last visited
-
Days Won
23
Content Type
Profiles
Forums
Downloads
Staff Applications
Calendar
Everything posted by Angelmelody
-
[Suggestion] Add *getequipuniqueid script cmd
Angelmelody replied to Angelmelody's topic in Suggestions
@@AnnieRuru Calculating the unique ID isn't real-time updating into mysql ,it requires waiting server to save , so I think obtaining the unique ID via memory is better than mysql query -
@@AnnieRuru LOL, what a coincidence! i didn't know that some of the user here is already requesting. Wow, plugin~ Thank you for this Can i request a mapflag nightmap? Credits: Masao https://www.eathena.ws/board/index.php?act=attach&type=post&id=10131 already exist https://github.com/HerculesWS/Hercules/blob/master/npc/mapflag/night.txt
-
Hello, I would like to suggest adding this command getequipuniqueid into Herc emulator. Since we had implemented Unique ID system ,but don't have script cmd to get the Unique ID of equipped equipment,so here's hoping that devs can implement this cmd ,thx src - getequipuniqueid doc - getequipuniqueid
-
why not call a @at char and increase his Max HP for testing?
-
maybe same as this issue http://herc.ws/board/tracker/issue-8177-some-of-gettimestr-time-format-crash-map-server/
-
add this into the first line of afk.c #include "common/hercules.h"
-
wow~ nice, but you forgot herc emu dont have OnPCStatCalcEvent
-
case SC_FREEZE: sc_def = st->mdef*100; sc_def2 = st->luk*10 + SCDEF_LVL_DIFF(bl, src, 99, 10); tick_def = st->luk*25; tick_def2 = status_get_luk(src) * -10; //Caster can increase final duration with luk break; helllo! thanks for this but i haven't seen any mdef changes does mdef will still affect the freeze chance/freeze duration? sorry , I didn't read the topic well. If you want mdef not affect freeze status you can try to comment out this line 'sc_def = st->mdef*100;' , so it should look like case SC_FREEZE: //sc_def = st->mdef*100; sc_def2 = st->luk*10 + SCDEF_LVL_DIFF(bl, src, 99, 10); tick_def = st->luk*25; tick_def2 = status_get_luk(src) * -10; //Caster can increase final duration with luk break;
-
case SC_FREEZE: sc_def = st->mdef*100; sc_def2 = st->luk*10 + SCDEF_LVL_DIFF(bl, src, 99, 10); tick_def = st->luk*25; tick_def2 = status_get_luk(src) * -10; //Caster can increase final duration with luk break;
-
Ruru , I recommend you to use this kind of hyperlink which is with a git version ,why so ?it can always keep the correct line after tons of updates https://github.com/HerculesWS/Hercules/blob/bb3afb0/doc/script_commands.txt#L6105
-
this? skill_db.txt 405,7,6,1,0,0x1,0,1,1,no,0,0,3,magic,0, PF_SPIDERWEB,Fiber Lock
-
[Warning]: pc_authok: AnnieRuru (AID:2000000) logged in with unknown group id (100)! kicking...nope, the server kick me{ Id: 501 AegisName: "Red_Potion" Name: "Red Potion" Type: 0 Buy: 50 Weight: 70 Trade: { override: 99 nodrop: true notrade: true } Script: <" itemheal rand(45,65),0; ">},weird, I tested my GM99 can drop and trade items, but normal player can't Change gm level to 100 not group, and it will be bypassed. in hercules seems player's group cant be changed to 100 , read the 6th post of this thread I dont have tested before you tell me there are a lot of warnings(lazy XD) but tested now and don't have any warnings,server load item_db.conf successfully
-
@@Twiggy You can also use Regular Expressions to insert text 'override:99' in item_db.conf F: (Trade: {.*?rn) R: 1ttoverride:99rn F: (Nouse: {.*?rn) R: 1ttoverride:99rn
-
[Warning]: pc_authok: AnnieRuru (AID:2000000) logged in with unknown group id (100)! kicking...nope, the server kick me{ Id: 501 AegisName: "Red_Potion" Name: "Red Potion" Type: 0 Buy: 50 Weight: 70 Trade: { override: 99 nodrop: true notrade: true } Script: <" itemheal rand(45,65),0; ">},weird, I tested my GM99 can drop and trade items, but normal player can't I think that's normal coz 99 group player can by pass that limitation, if account group cant be changed to 100 and don't wanna edit src, insert all item the limitation with 'override: 99' is needed
-
An easier method , change your account group from 99 to 100
-
override: 99
-
I covert to hercules http://herc.ws/board/topic/7552-pk-area-error-while-compiling/ maybe some typo http://herc.ws/board/topic/8587-cell-pvp-pk-area-patch/
-
If player has item, warp back to savepoint
Angelmelody replied to msecastro's question in Script Requests
I recommend you learn Map Zone DB ,its better than running a while loop -
Make a suggestion in community suggestion? @@Mysterious is fast on responding those. Yeah, I don't mind looking at community suggestions http://herc.ws/board/topic/7764-gist-bbcode-support/
- 18 replies
-
prontera,140,140,5 script Restock 999,{ change into - script Restok -1,{
-
you can use charid2rid CMD to check whether the player is online or not if(charid2rid(.@char_id[.@i]))dispbottom "....";
-
find and add after if (!sd) return 0; if(map_flag_vs(sd->bl.m)) { clif->message(sd->fd, "command cant be used on pvp/gvg/bg maps"); return 0; }
-
Can someone teach me how to add custom mob in my server?
Angelmelody replied to DLSUD04's question in General Server Support
http://herc.ws/wiki/Custom_Mobs -
implicit declaration of function ‘itemdb_searchrandomid’
Angelmelody replied to Hakuryuu's question in Source Support
nameid = itemdb->searchrandomid(-nameid); -
maybe the event 'OnMyModDead' wasn't triggered when the monster died